reasonwang
commited on
Commit
•
725671b
1
Parent(s):
cc1c93f
Update README.md
Browse files
README.md
CHANGED
@@ -12,7 +12,7 @@ Usage:
|
|
12 |
import transformers
|
13 |
from peft import PeftModel
|
14 |
|
15 |
-
model_name = "google/flan-t5-
|
16 |
tokenizer = transformers.AutoTokenizer.from_pretrained(model_name)
|
17 |
base_model = transformers.AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
18 |
peft_model = PeftModel.from_pretrained(base_model, peft_model_id)
|
|
|
12 |
import transformers
|
13 |
from peft import PeftModel
|
14 |
|
15 |
+
model_name = "google/flan-t5-xl"; peft_model_id = "reasonwang/flan-gpteacher-lora-xl"
|
16 |
tokenizer = transformers.AutoTokenizer.from_pretrained(model_name)
|
17 |
base_model = transformers.AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
18 |
peft_model = PeftModel.from_pretrained(base_model, peft_model_id)
|