-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABOut the code #1
Comments
原始Transformer是指在用于NMT任务的Transformer吗? |
嗯呢,有几个问题: |
1、BertForSequenceClassification、BertTokenizer、RobertaForSequenceClassification、RobertaTokenizer是import自huggingface-transformer,分别是用于句子分类的BERT模型、BERT分词器、用于句子分类的RoBERTa模型、RoBERTa分词器,具体代码,请参见 https://github.com/huggingface/transformers/tree/v2.5.1 ,本repo测试的transformer版本是2.5.1; |
我想问问有没有原始transformer求flop的代码
The text was updated successfully, but these errors were encountered: