namelucky
namelucky
fastnlp目前只有文本分类这种单个文本输入的示例,对于文本匹配任务 这种有两个文本的输入,文档中并没有案例,我在网络上也没有搜到相关案例,希望能增加一个相关案例
请问一下,框架支持到cuda几呢,我cuda11.0,cuda11.3试过,都无法使用GPU,相同版本配置的pytorch+cuda是可以调用GPU的。
I downloaded the pretrained model you provided and loaded it.([https](https://drive.google.com/drive/folders/1iEEMr2DYofulK2F5pSErOPf5ggrEqtJt?usp=sharing) : [//drive.google.com/drive/folders/1iEEMr2DYofulK2F5pSErOPf5ggrEqtJt?usp=sharing](https://drive.google.com/drive/folders/1iEEMr2DYofulK2F5pSErOPf5ggrEqtJt?usp=sharing)) Why is the result random? ```python import torch from transformers import AutoModelForTokenClassification, AutoTokenizer pretrained_model ='./utils_fine_tune/word_piece_ner/' tokenizer = AutoTokenizer.from_pretrained(pretrained_model)...
试了大佬的baseline,代码并没有改,不知道为啥,提交时f1只有0.3几,近乎随机预测了,训练时,loss在0.6几乎不变,acc在0.6几,f1在0.4几