Giter Site home page Giter Site logo

zero-shot-nerc's People

Contributors

raldir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pdsxsf marmg

zero-shot-nerc's Issues

请教GPU内存

您好,想请教下您用的8000显卡的内存是多少呢?
我用了2个P100,分别是32寸的,batch size设置为1了,在medmentions数据集上还是会爆显存,是因为内存不足吗?

Missing classes and methods

Hi,
I'm trying to run the test script as described in the documentation, but I notice that some classes/methods are missing in the repository:

error KeyError: 'T116,T123' while running generate_datasets.py to preprocess 'MedMentions' data

I am getting error KeyError: 'T116,T123' while running generate_datasets.py to preprocess MedMentions data.
Below is command I ran.

python generate_datasets.py --dataset medmentions --mode preprocess --input_path ./data/MedMentions --output_path /dccstor/dinesh/ZNER_baselines/formatted_data/corpus_pubtator.txt

I have downloaded MedMentions data from https://github.com/chanzuckerberg/MedMentions/tree/master/full/data.

The first mention in corpus_pubtator.txt is 25763772 0 5 DCTN4 T116,T123 C4308010 .

The error is because entity DCTN4 is linked to two semantic types: "Amino Acid, Peptide, or Protein" (T116) and "Biologically Active Substance" (T123). The current code does not handle cases where an entity has more than one semantic types.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.