Comments (10)
What is your batch size; att_dim; entity type count?
please try batch size=1, lower your att_dim to 192/128/64.
If your entity type is too much (over 50), it is hard to use triaffine based model.
from triaffine-nested-ner.
Thanks a lot for your quick reply,
I used the same batch size i.e 1. entity type count is 86. I used att_dim = 320 (same as yours).
I'll check reducing it down. Because my entity type count is 86, I cannot use this model at all ?? or is there any other recommendation ?
from triaffine-nested-ner.
Maybe try att_dim=128/64 and apply fp16/bf16 for training.
from triaffine-nested-ner.
sure I'll try with 128 att_dim, and how to apply fp16/bf16 ?
from triaffine-nested-ner.
Please refer to this https://pytorch.org/blog/accelerating-training-on-nvidia-gpus-with-pytorch-automatic-mixed-precision
Our code does not implement it
from triaffine-nested-ner.
thanks for that. I am able to train the model with att_dim = 128 (consuming only 13gb) , 192(also requires more than 45gb GPU). I haven't implemented that fp16/bf16 assuming it is only for improving performance of gpu.
My dataset is a low resourse dataset so it doesn't have pos, ltokens, rtokens and relations.
can I know if it can be a cause for reduction in fscore ?? I still got a decent score of 65
from triaffine-nested-ner.
Without pos Lorien rtoken will reduce your performance, for ace dateset it will downgrade 1-2 f point approximately.
from triaffine-nested-ner.
Thank you so much for your quick responses and your help. I really appreciate it. I just have 1 last question , does the size of att_dim affect the f1score ?? or is it just for performance of GPU ?
from triaffine-nested-ner.
I think it does effect F1, while we do not experiment it.
from triaffine-nested-ner.
ok thank you very much for you informative answers and help
from triaffine-nested-ner.
Related Issues (7)
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 triaffine-nested-ner.