Files changed (1) hide show
  1. MAIN.PY +5 -0
MAIN.PY ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Load model directly
2
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
3
+
4
+ tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-small")
5
+ model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-small")