Skip to content

Commit

Permalink
use small bart model (#3309)
Browse files Browse the repository at this point in the history
  • Loading branch information
CloseChoice committed Oct 5, 2023
1 parent a8efcc8 commit 4a15b1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/explainers/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def basic_translation_scenario():
# Use a *tiny* tokenizer model, to keep tests running as fast as possible.
# Nb. At time of writing, this pretrained model requires "protobuf==3.20.3".
# name = "mesolitica/finetune-translation-t5-super-super-tiny-standard-bahasa-cased"
name = "Helsinki-NLP/opus-mt-en-es"
# name = "Helsinki-NLP/opus-mt-en-es"
name = "hf-internal-testing/tiny-random-BartModel"
tokenizer = AutoTokenizer.from_pretrained(name)
model = AutoModelForSeq2SeqLM.from_pretrained(name)

Expand Down

0 comments on commit 4a15b1c

Please sign in to comment.