Closed ior308 closed 9 months ago
For translating using that model use textgeneration
instead:
CYBERTRON_MODELS_DIR=models/ CYBERTRON_MODEL=Helsinki-NLP/opus-mt-it-en go run examples/textgeneration/main.go
Yes it works, but I need to test Q&A. How can I do ? I remember I succeed using old portal github, but with this new I don't.
Thank you.
Il giorno mar 27 giu 2023 alle ore 20:17 Marten Mooij < @.***> ha scritto:
For translating using that model use textgeneration instead: CYBERTRON_MODELS_DIR=models/ CYBERTRON_MODEL=Helsinki-NLP/opus-mt-it-en go run examples/textgeneration/main.go
— Reply to this email directly, view it on GitHub https://github.com/nlpodyssey/cybertron/issues/23#issuecomment-1610005248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7ZDKERJGWCKBESY7MGEVTXNMPSBANCNFSM6AAAAAAZV53OVQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Quando cambi il modo di guardare le cose, le cose che guardi cambieranno !! (Max Planck)
Hi @ior308, for Q&A you can run examples/questionanswering
Dear Matteo,
I simply try to compile q&a and I got this error:
cybertron@v0.1.2]# GOARCH=amd64 CYBERTRON_MODEL=Helsinki-NLP/opus-mt-en-it CYBERTRON_MODELS_DIR=models go run ./examples/questionanswering/ {"level":"debug","file":"models/Helsinki-NLP/opus-mt-en-it/config.json","time":"2023-06-27T19:40: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-27T19:40: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-27T19:40: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-27T19:40: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-27T19:40: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-27T19:40: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-27T19:40:57+02:00"} exit status 1