Comments (15)
I change it returns 4 variables,the progress can run normally but loss = nan and f1=0
from knowprompt.
maybe the true label is compeletly different from predicted labels, loss is very big
from knowprompt.
Thanks for your attention. Perhaps you can try starting with Chinese BERT and simultaneously check for any discrepancies between the logits and labels.
from knowprompt.
Thanks for your attention. Perhaps you can try starting with Chinese BERT and simultaneously check for any discrepancies between the logits and labels.
I have change the model but the loss is still nan,should I change the relation in the dataset into english
from knowprompt.
Change the relation in the dataset into English would result in a semantic mismatch. You can utilize the debug mode of an IDE to troubleshoot and identify the issue.
from knowprompt.
Change the relation in the dataset into English would result in a semantic mismatch. You can utilize the debug mode of an IDE to troubleshoot and identify the issue.
thank you for your reply, I fix the question which loss is nan but the best is only 40%
from knowprompt.
Hi, if you are using only few-shot samples, you should try to run experiment multiple times to obtain the average results, and the hyperparameter and data selection is is also very sensitive to the performance.
You can also try the code here https://github.com/zjunlp/LREBench, in which we have already tried the Chinese datasets.
from knowprompt.
thanks, I just download the LRE projects and run it , I found almost every epoch is f1=0.00ckpt, does your data appear this performance?
from knowprompt.
by the way ,the loss gets smaller and smaller,but eval_f1 is 0.00
from knowprompt.
Hello, what's the dataset and the dataset size you used? Maybe the dataset size is such small that the model can not study them well.
from knowprompt.
I use the same dataset as your readme refers
from knowprompt.
but train dataset is 6000 picked by your dataset
from knowprompt.
Can you provide which dataset you used and which script you ran?
from knowprompt.
Have you solved your issues?
from knowprompt.
Have you solved your issues?
sorry , I just see this email, I solve it , thank you very much
from knowprompt.
Related Issues (20)
- 关于预训练语言模型选择的问题 HOT 2
- paper中虚拟的type word是每个relation都一样吗? HOT 2
- experiment result HOT 1
- ValueError: too many values to unpack (expected 4) HOT 1
- Missing weighted average function for virtual answer word HOT 4
- 效果复现 HOT 2
- 运行报错 HOT 13
- Hi! How to run this code with BART model? Would you give an example of parameters setting? Thank you so much!! HOT 4
- 有关virtual type words的embedding的初始化问题 HOT 10
- 关于two-stage中的第一个阶段,论文中的描述是否和代码不一致 HOT 1
- pytorch_lightning.utilities.exceptions.MisconfigurationException: No `test_dataloader()` method defined to run `Trainer.test`. HOT 1
- code HOT 8
- configure_optimizers def HOT 1
- 跑代码报错:ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on. HOT 3
- 下载模型到本地后代码仍然报错:在main.py中更改了地址,仍然报错 HOT 2
- compute micro F1 in code and replicate the results in paper HOT 2
- python3.8 version is not compatible with pytorch1.8.1+cu111 HOT 2
- .ckpt FileNotFoundError HOT 7
- what is the difference between virtual type words and soft prompt 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 knowprompt.