tmartinez commited on
Commit
6cd7a90
1 Parent(s): 2851462

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -9,11 +9,13 @@ from huggingface_hub import login
9
  login('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')
10
 
11
  # Model name in Hugging Face docs
12
- model = "meta-llama/Llama-2-7b-chat-hf"
13
- #'klyang/MentaLLaMA-chat-7B'
 
14
 
15
- tokenizer = AutoTokenizer.from_pretrained(model, use_auth_token=True)
16
 
 
 
17
 
18
  llama_pipeline = pipeline(
19
  "text-generation", # LLM task
 
9
  login('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')
10
 
11
  # Model name in Hugging Face docs
12
+ model = 'klyang/MentaLLaMA-chat-7B'
13
+
14
+ #"meta-llama/Llama-2-7b-chat-hf"
15
 
 
16
 
17
+ tokenizer = AutoTokenizer.from_pretrained(model, use_auth_token=True)
18
+ #llama_pipeline = AutoModelForCausalLM.from_pretrained(model)
19
 
20
  llama_pipeline = pipeline(
21
  "text-generation", # LLM task