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

is:issue is:open Issue with bert compiling Q6A example #121

Open
ior308 opened this issue Jun 22, 2023 · 2 comments
Open

is:issue is:open Issue with bert compiling Q6A example #121

ior308 opened this issue Jun 22, 2023 · 2 comments

Comments

@ior308
Copy link

ior308 commented Jun 22, 2023

Hi Matteo,

compiling Q&A example I get the following error:

no required module provides package github.com/nlpodyssey/spago/pkg/nlp/transformers/bert; to add it:
go get github.com/nlpodyssey/spago/pkg/nlp/transformers/bert

Then, when I try to get it I get the following error:

go get github.com/nlpodyssey/spago/pkg/nlp/transformers/bert
go: module github.com/nlpodyssey/spago@upgrade found (v1.0.1), but does not contain package github.com/nlpodyssey/spago/pkg/nlp/transformers/bert

Any idea ?

Many thanks.

@matteo-grella
Copy link
Member

We moved the NLP functionalities into another project powered by SpaGO. Check out https://github.com/nlpodyssey/cybertron

@ior308
Copy link
Author

ior308 commented Jun 23, 2023

Great.

I did a test, but I got the following:

[email protected]]# GOARCH=amd64 CYBERTRON_MODEL=Helsinki-NLP/opus-mt-en-it CYBERTRON_MODELS_DIR=models go run ./examples/questionanswering/main.go
{"level":"debug","file":"models/Helsinki-NLP/opus-mt-en-it/config.json","time":"2023-06-23T14:26:57+02:00","message":"model file already exists, skipping download"}
{"level":"debug","file":"models/Helsinki-NLP/opus-mt-en-it/pytorch_model.bin","time":"2023-06-23T14:26:57+02:00","message":"model file already exists, skipping download"}
{"level":"debug","file":"models/Helsinki-NLP/opus-mt-en-it/vocab.json","time":"2023-06-23T14:26:57+02:00","message":"model file already exists, skipping download"}
{"level":"debug","file":"models/Helsinki-NLP/opus-mt-en-it/source.spm","time":"2023-06-23T14:26:57+02:00","message":"model file already exists, skipping download"}
{"level":"debug","file":"models/Helsinki-NLP/opus-mt-en-it/target.spm","time":"2023-06-23T14:26:57+02:00","message":"model file already exists, skipping download"}
{"level":"info","model":"models/Helsinki-NLP/opus-mt-en-it/spago_model.bin","time":"2023-06-23T14:26:57+02:00","message":"model file already exists, skipping conversion"}
{"level":"fatal","error":"model type "marian" doesn't support the question-answering task","time":"2023-06-23T14:26:57+02:00"}
exit status 1

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

2 participants