Skip to content
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

调用模型STSeqLabel参数不对 #189

Closed
mandobango opened this issue Jul 11, 2019 · 2 comments
Closed

调用模型STSeqLabel参数不对 #189

mandobango opened this issue Jul 11, 2019 · 2 comments

Comments

@mandobango
Copy link

调用README里面Usage下面的实例代码出现报错
model = STSeqLabel(vocab_size=10000, num_cls=50, emb_dim=300)
报错:TypeError: init() got an unexpected keyword argument 'vocab_size'
有人遇到同样的问题吗,怎么解决呢?

@xuyige
Copy link
Member

xuyige commented Jul 11, 2019

调用README里面Usage下面的实例代码出现报错
model = STSeqLabel(vocab_size=10000, num_cls=50, emb_dim=300)
报错:TypeError: init() got an unexpected keyword argument 'vocab_size'
有人遇到同样的问题吗,怎么解决呢?

Star-Transformer的代码在最新的版本当中已经做了修改,我们将在今明两天发布更新,请留意

@xuyige
Copy link
Member

xuyige commented Jul 12, 2019

#193
最新的Star-Transformer已经发布了,可以参考里面的内容

@yhcc yhcc closed this as completed Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants