pivovalera2012 commited on
Commit
eb684a2
1 Parent(s): 40680cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ MODEL_NAME = 'meta-llama/Llama-2-7b-chat-hf'
8
  ADAPTERS_NAME = 'pivovalera2012/Llama-2-7b-Dr-Hous-test'
9
 
10
  model_trained = AutoModelForCausalLM.from_pretrained(MODEL_NAME,
11
- HF_TOKEN)
12
 
13
  model_trained = PeftModel.from_pretrained(model_trained, ADAPTERS_NAME)
14
  model_trained = model_trained.merge_and_unload()
 
8
  ADAPTERS_NAME = 'pivovalera2012/Llama-2-7b-Dr-Hous-test'
9
 
10
  model_trained = AutoModelForCausalLM.from_pretrained(MODEL_NAME,
11
+ token=HF_TOKEN)
12
 
13
  model_trained = PeftModel.from_pretrained(model_trained, ADAPTERS_NAME)
14
  model_trained = model_trained.merge_and_unload()