ahabb commited on
Commit
70ad4ca
·
verified ·
1 Parent(s): bf15a52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import T5ForConditionalGeneration, T5Tokenizer
3
  from textwrap import fill
4
 
5
  # Load the finetuned model and tokenizer
6
- last_checkpoint = "model/checkpoint-1000"
7
  finetuned_model = T5ForConditionalGeneration.from_pretrained(last_checkpoint)
8
  tokenizer = T5Tokenizer.from_pretrained(last_checkpoint)
9
 
 
3
  from textwrap import fill
4
 
5
  # Load the finetuned model and tokenizer
6
+ last_checkpoint = "model/out/kaggle/working/results/checkpoint-1000"
7
  finetuned_model = T5ForConditionalGeneration.from_pretrained(last_checkpoint)
8
  tokenizer = T5Tokenizer.from_pretrained(last_checkpoint)
9