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
通过修改 examples/kbert/run_cls.sh 这个文件下的 label_enumerate_values 改变模型分类个数。 自己数据集一共是10种类别,值为0-9,但是运行会报错。 通过打印logits 的值发现,模型输出依然是二分类。logits形状为[batch_size,2] 如何改变分类类别?
The text was updated successfully, but these errors were encountered:
@ztl-35
Sorry, something went wrong.
No branches or pull requests
通过修改 examples/kbert/run_cls.sh 这个文件下的 label_enumerate_values 改变模型分类个数。
自己数据集一共是10种类别,值为0-9,但是运行会报错。
通过打印logits 的值发现,模型输出依然是二分类。logits形状为[batch_size,2]
如何改变分类类别?
The text was updated successfully, but these errors were encountered: