shreyashub / bioflair Goto Github PK
View Code? Open in Web Editor NEWBioFLAIR: Pretrained Pooled Contextualized Embeddings for Biomedical Sequence Labeling Tasks
BioFLAIR: Pretrained Pooled Contextualized Embeddings for Biomedical Sequence Labeling Tasks
python fine_tune.py
2020-02-10 19:53:20,420 Reading data from data\ner\bc5dr
2020-02-10 19:53:20,421 Train: data\ner\bc5dr\train.txt
2020-02-10 19:53:20,421 Dev: data\ner\bc5dr\dev.txt
2020-02-10 19:53:20,421 Test: data\ner\bc5dr\test.txt
Traceback (most recent call last):
File ".\fine_tune.py", line 13, in
dev_file='dev.txt')
File "C:\myfiles\Flair\flr\lib\site-packages\flair\datasets.py", line 111, in init
document_separator_token=document_separator_token,
File "C:\myfiles\Flair\flr\lib\site-packages\flair\datasets.py", line 661, in init
assert path_to_column_file.exists()
AssertionError
python pre_train,py
File ".\pre_train.py", line 7, in
language_model = FlairEmbeddings('pubmed-forward').lm
File "C:\myfiles\Flair\flr\lib\site-packages\flair\embeddings.py", line 1988, in init
self.lm: LanguageModel = LanguageModel.load_language_model(model)
File "C:\myfiles\Flair\flr\lib\site-packages\flair\models\language_model.py", line 197, in load_language_model
state["dropout"],
File "C:\myfiles\Flair\flr\lib\site-packages\flair\models\language_model.py", line 61, in init
self.to(flair.device)
File "C:\myfiles\Flair\flr\lib\site-packages\torch\nn\modules\module.py", line 426, in to
return self._apply(convert)
File "C:\myfiles\Flair\flr\lib\site-packages\flair\models\language_model.py", line 394, in _apply
for info in torch.version.split('.'))
File "C:\myfiles\Flair\flr\lib\site-packages\flair\models\language_model.py", line 394, in
for info in torch.version.split('.'))
ValueError: invalid literal for int() with base 10: '1+cpu'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.