We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
argument 'input' (position 1) must be Tensor, not str
The text was updated successfully, but these errors were encountered:
我也有这个问题 然后重新用conda install -c huggingface transformers语句安装了transformer之后运行还是这样报错 请问是我安装transformer的语句不对吗
Sorry, something went wrong.
_, pooled_output = self.bert(text_bert_indices, token_type_ids=bert_segments_ids, return_dict=False) you can write like this in bert_spc.py.
No branches or pull requests
argument 'input' (position 1) must be Tensor, not str
The text was updated successfully, but these errors were encountered: