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

How to import T5_BiLD model in run_translation task. #3

Open
4 tasks
sufeidechabei opened this issue Apr 19, 2023 · 0 comments
Open
4 tasks

How to import T5_BiLD model in run_translation task. #3

sufeidechabei opened this issue Apr 19, 2023 · 0 comments

Comments

@sufeidechabei
Copy link

System Info

I try from transformers.models.t5.modeling_t5 import T5_BiLDModel, but it doesn't work. I build the library from transformer repo.

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

Just run the translation task. CUDA_VISIBLE_DEVICES=0 python run_bild_translation.py --model bild --small /nobackup/haozhang/BigLittleDecoder/models/smallmodel --large /nobackup/haozhang/BigLittleDecoder/models/bigmodel
--dataset_name iwslt2017 --dataset_config iwslt2017-de-en --source_lang de --target_lang en --bild_rollback 3 --bild_fallback 3

Expected behavior

It can not import the T5BiLDModel

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

1 participant