lewtun HF staff commited on
Commit
cdff18d
1 Parent(s): aeb451a

Switch model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
19
 
20
  # Load peft config for pre-trained checkpoint etc.
21
  device = "cuda" if torch.cuda.is_available() else "cpu"
22
- model_id = "HuggingFaceH4/llama-se-rl-ed"
23
  if device == "cpu":
24
  model = AutoModelForCausalLM.from_pretrained(model_id, low_cpu_mem_usage=True, use_auth_token=HF_TOKEN)
25
  else:
 
19
 
20
  # Load peft config for pre-trained checkpoint etc.
21
  device = "cuda" if torch.cuda.is_available() else "cpu"
22
+ model_id = "trl-lib/llama-se-rl-merged"
23
  if device == "cpu":
24
  model = AutoModelForCausalLM.from_pretrained(model_id, low_cpu_mem_usage=True, use_auth_token=HF_TOKEN)
25
  else: