Comments (6)
The configuration of the paper is almost the same with the demo.train.config
, you can just change the iteration=1
to iteration=100
in your experiments.
You need first use the right data and tag scheme, as well as the pretrained word embeddings.
from ncrfpp.
this is the best dev F1 i got with 200 iterations:
I am using BIMS tag scheme and glove.100 word embeddings with 200 iterations. rest all remains the same as demo.train.config. Running code on AWS nvidia K80 instances (p2)
Epoch: 82 training finished. Time: 100.20s, speed: 149.57st/s, total loss: 879.6669143559411
Dev: time: 5.02s, speed: 700.19st/s; acc: 0.9851, p: 0.9309, r: 0.9251, f: 0.9280
Test: time: 4.79s, speed: 781.61st/s; acc: 0.9779, p: 0.8996, r: 0.8982, f: 0.8989
reproducing same results is important for my paper where I am adding word LM layer on top of your architecture.
from ncrfpp.
Can you give me the front log of your experiment? I need to check if you use the right data and configuration. Generally, the performance is various based on the running environment, but they are almost always larger than 91%. If your results is less than 90, there must exists problems in either the data and the configuration.
BTW, what do you mean the BIMS tag? It should be either BIO or BMES/BIOES.
from ncrfpp.
the more iterations i run , the more f1 keeps improving. I suspect this slowness in converging might be happening due to lr_decay.
but still in 1000 iterations, best I got yet is 90.3. Please find attached log and kindly check if you find some anomaly in parameters.
train.log
from ncrfpp.
@dhwajraj The first problem I find is that you set the ave_batch_loss=True
while the default setting is ave_batch_loss=False
, you can change this setting as False and run your experiment again.
I am not sure if there is any other problem in your experiment, you can run it first and update with me.
from ncrfpp.
@dhwajraj @jiesutd were you able to reproduce the results with this?
from ncrfpp.
Related Issues (20)
- Conll 使用内存大 HOT 2
- nbest score HOT 1
- Provision for Custom Features? HOT 1
- Bug in forward method when calling _viterbi_decode, mask is not provided
- about requirement HOT 1
- Can I just use the CRF layer? HOT 1
- 大神你好,请教一些关于报错的问题 HOT 1
- About "tcmalloc: large alloc" message and training aborted HOT 3
- Difference between main_parse.py and main.py HOT 1
- Different results on CPU versus GPU HOT 1
- Test Data Format for Chunking
- Experimenting with Transformer models? HOT 1
- Decode config parameter when not using CRF HOT 1
- Reading fasttext word embeddings HOT 2
- About MAX_SENTENCE_LENGTH parameter HOT 2
- Decode error with nbest=0 when not using CRF
- Resume model training from a checkpoint
- 训练一段时间后,f1为-1 HOT 2
- Unknown labels in decoding
- Support trained model serialization to ONNX format HOT 1
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 ncrfpp.