Comments (5)
just go with absolute paths.. extract the files and give absolute paths. this worked for me.
from att-chemdner.
You can find the eval_script in the "evaluation" folder. @JunhengH
from att-chemdner.
if CORPUS == "chem":
#{{{
opts.train="./chemdner_corpus/chemdner_training.ner.doc.token4.BIO_allfea";
opts.dev="./chemdner_corpus/chemdner_development.ner.doc.token4.BIO_allfea";
opts.test="./chemdner_corpus/chemdner_evaluation.ner.doc.token4.BIO_allfea";
opts.pre_emb="./word2vec_model/chemdner_pubmed_drug.word2vec_model_token4_d50";
ssplitTrainFName="./chemdner_corpus/training.ner.ssplit.token4.BIO";
ssplitDevFName="./chemdner_corpus/development.ner.ssplit.token4.BIO";
ssplitTestFName="./chemdner_corpus/evaluation.ner.ssplit.token4.BIO";
tagFilter=None;
#}}}
elif CORPUS == "CDR":
#{{{
opts.train="./cdr_corpus/cdr_training.ner.doc.token4.BIO_allfea_drug";
opts.dev="./chemdner_corpus/cdr_development.ner.doc.token4.BIO_allfea_drug";
opts.test="./chemdner_corpus/cdr_test.ner.doc.token4.BIO_allfea_drug";
opts.pre_emb="./word2vec_model/chemdner_pubmed_drug.word2vec_model_token4_d50";
ssplitTrainFName="./chemdner_corpus/cdr_training.ner.sen.token4.BIO_allfea_drug";
ssplitDevFName="./chemdner_corpus/cdr_development.ner.sen.token4.BIO_allfea_drug";
ssplitTestFName="./chemdner_corpus/cdr_dtest.ner.sen.token4.BIO_allfea_drug";
tagFilter=['Disease'];
#}}}
else:
assert 0,"unknown corpus";
I wonder how you set the folders and paths. It seems not working for me. Or could you provide some insights on how you organize your code and files? @lingluodlut
from att-chemdner.
These files can be obtained in data/cdr_corpus.rar and data/chemdner_corpus.rar. You can download and unzip them. Then set the paths of these files. @JunhengH
from att-chemdner.
I can definitely find the files from the zipped files but it does not seem that readable. Thanks for the help and I would consider this model later.
from att-chemdner.
Related Issues (14)
- 关于语料预处理的问题 HOT 5
- Dictionary feature HOT 1
- Updating model HOT 1
- chunk and lemma missing in model HOT 1
- TypeError: object of type 'TensorVariable' has no len() HOT 7
- request! HOT 1
- assertion error on training Bi-LSTM CRF HOT 2
- dataset preprocessing
- ImportError: No module named tensorflow_backend HOT 3
- 关于AttenTrain.py的代码 HOT 3
- ImportError: No module named tensorflow_backend HOT 1
- 参数“sentencesLevelLoss”的设定问题 HOT 2
- 关于对新文档进行预测标注 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from att-chemdner.