Addaci commited on
Commit
d885415
1 Parent(s): 333cd91

Updated app.py to include transformers

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
3
 
4
  # Load your fine-tuned mT5 model
5
- model_name = "MarineLives/mT5-small-experiment-13" # Replace with your model name or path
6
  tokenizer = AutoTokenizer.from_pretrained(model_name)
7
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
8
 
 
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
3
 
4
  # Load your fine-tuned mT5 model
5
+ model_name = "Addaci/mT5-small-experiment-13-checkpoint-2790"
6
  tokenizer = AutoTokenizer.from_pretrained(model_name)
7
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
8