Git Product home page Git Product logo

fewshot-biomedical-names's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fewshot-biomedical-names's Issues

error coming while trying to run the code

I was trying to run the code with given below arguments on colab---->
!python main.py --fasttext pub2fast.bin --outfile out1.txt --gpu 1
but the error is coming given below----->
Initializing encoder...
Traceback (most recent call last):
File "main.py", line 41, in
gpu_index=args.gpu,
File "/content/drive/MyDrive/fewshot-biomedical-names/encoder.py", line 22, in init
super().init(**kwargs)
File "/content/drive/MyDrive/fewshot-biomedical-names/encoder_base.py", line 138, in init
super().init(**kwargs)
TypeError: init() got an unexpected keyword argument 'triplet_margin'

while trying to fix this ,i commented out the line 35 in main.py but then error was it was not able to create object for fast text

Instruction for using SNOMED as training data

Can you please provide instruction how to train the model with SNOMED training data and how to do continual learning i.e. how to train from SNOMED-CD to ICD-10 and vice versa.
and how to use pretrained name representation that got from BioBERT model and BNE Model as it is mentioned in the paper and in repository by only using fast text ,training has been done.

Results

Using ICD-10
I used FastText embedding and 15 shots and I didn't got exactly as same result as you mentioned in the paper as you can see in the screenshot
15 shots_icd10
5 shots results for UMNSRS and EHR-RelB are better as you can in following screenshot
5 shots_icd10

And you Didn't mentioned in the paper how to use BNE and BioBert pretrainded Embedding and how to do continual
learning from SNOMED-CT to ICD-10
I want to know the instructions to see the results that is mentioned in your pape

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.