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

关于 from allennlp.predictors.predictor import Predictor #19

Open
BD-MF opened this issue Jul 18, 2021 · 4 comments
Open

关于 from allennlp.predictors.predictor import Predictor #19

BD-MF opened this issue Jul 18, 2021 · 4 comments

Comments

@BD-MF
Copy link

BD-MF commented Jul 18, 2021

在使用 allennlp.predictors.predictor.Predictor 时出现以下报错信息:allennlp.common.checks.ConfigurationError: key "token_embedders" is required at location "model.text_field_embedder." 请问这个问题您遇到过吗? 或者有啥建议避坑么

使用的是:biaffine-dependency-parser-ptb-2018.08.23.tar.gz

@BD-MF
Copy link
Author

BD-MF commented Jul 18, 2021

跑您代码中的 data_preprocess_semeval.py 也报同样的错误

@posper98
Copy link

我也碰到了这个问题

@3philwang
Copy link

楼主解决了吗?

@Weirdo-zwhy
Copy link

楼主解决了吗,我用高版本的解析之后发现和原来的数据得到不太一样

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

4 participants