cino
cino copied to clipboard
error with TCNN example
Some weights of XLMRobertaModel were not initialized from the model checkpoint at model/ and are newly initialized: ['roberta.pooler.dense.weight', 'roberta.pooler.dense.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Traceback (most recent call last):
File "tncc_finetune.py", line 175, in t >= 0 && t < n_classes
failed.
torch等版本的要求也是一致的: sacremoses==0.0.53 scikit-learn==0.24.2 scipy==1.7.3 sentencepiece==0.1.97 six @ file:///tmp/build/80754af9/six_1644875935023/work threadpoolctl==3.1.0 tokenizers==0.8.1rc2 torch==1.7.1 torchaudio==0.12.1 torchvision==0.13.1 tqdm==4.64.1 transformers==3.1.0
请问怎么处理?