w601sxs commited on
Commit
d46ec3c
·
1 Parent(s): 0308ed5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
5
  from datasets import load_dataset
6
  from trl import SFTTrainer
7
 
8
- ref_model = AutoModelForCausalLM.from_pretrained("EleutherAI/pythia-70m-deduped-v0", torch_dtype=torch.bfloat16)
9
- peft_model_id = "w601sxs/pythia-70m-instruct-orca-chkpt-1245000"
10
 
11
  config = PeftConfig.from_pretrained(peft_model_id)
12
  model = PeftModel.from_pretrained(ref_model, peft_model_id)
 
5
  from datasets import load_dataset
6
  from trl import SFTTrainer
7
 
8
+ ref_model = AutoModelForCausalLM.from_pretrained("w601sxs/b1ade-1b", torch_dtype=torch.bfloat16)
9
+ peft_model_id = "w601sxs/b1ade-1b-orca-chkpt-230k"
10
 
11
  config = PeftConfig.from_pretrained(peft_model_id)
12
  model = PeftModel.from_pretrained(ref_model, peft_model_id)