BARTABSA
BARTABSA copied to clipboard
你好: 我参考你们的文章[A Unified Generative Framework for Aspect-Based Sentiment ](https://arxiv.org/abs/2106.04300),想用这个模型作中文的ABSA,于是我将原文的facebook/bart-base替换成fnlp/bart-base-chinese,但是我这里有以下几个问题: 1. 1:transformers在4.4.1版本加载模型时会报错:RuntimeError: Error(s) in loading state_dict for BartModel: size mismatch for encoder.embed_positions.weight: copying a param with shape torch.Size([514, 768]) from checkpoint,...
你好,我想用自己的中文数据集做测试,但是发现中文无法做bpe,能否不使用这一模块,让模型能正常训练中文的数据集? 
Hello, I'm following your instruction in the readme but when I try to launch _python train.py --dataset pengb/14lap_ I get this error. What could be the cause? ``` Traceback (most...
OSError
python train.py --dataset pengb/14lap 你好,我尝试运行你的代码然后遇到了这个问题,但是本地能正常运行,在服务器上就有这个问题,我以为是python版本太低,换了python3.8还是出现了这个问题。 OSError: libstdc++.so.6: cannot open shared object file: No such file or directory
您好,我使用fitlog观察指标发现只有metric的曲线,发现logs目录中loss.log是空文件,请问是为什么呢,如果想添加应该如何修改呢?此外best_metric参数能否在metric曲线上表示出来呢?期待早些回复,谢谢
以公开数据集合训练得到模型,接着在新的数据集上进行三元组任务(triplet)抽取,发现Invalid token的比例很大 是否有考虑过在encoder的embedding部分对词(word)进行编码,decoder部分的任务转换为预测词角标的,从而减少了invalid token的比例?
您好,请问在运行程序时需要对模型参数进行调整吗,比如学习率什么的,我没有对模型做任何修改的前提下,得到的结果(准确率、F1、Recall)和论文中得到的结果差异很大,请问这是为什么呢,希望能尽快得到您的答复!
Could you please upload the inference file?
I'm following your readme, while using train.py in the dataset pengb I had this error: ``` ` python train.py --dataset pengb/14lap Read cache from caches/data_facebook/bart-base_pengb/14lap_False.pt. The number of tokens in...
您好,训练好的模型怎么用来预测新的数据呢,新手一枚,捣鼓好几天也没搞定,还请指点,最好出一个专门用来预测新数据的文件,不胜感激!