Spaces:
Sleeping
Sleeping
Commit ·
eee058e
1
Parent(s): 044f5c8
Update app.py (#1)
Browse files- Update app.py (7cb353cb9cce1c165415372cd6a5ef6206619360)
Co-authored-by: Tumaini Lyimo <lyimo@users.noreply.huggingface.co>
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from transformers import StoppingCriteria, StoppingCriteriaList
|
|
| 12 |
# Load the Llama model and setup the conversation pipeline
|
| 13 |
model_id = 'meta-llama/Llama-2-7b-chat-hf'
|
| 14 |
# Add your authentication token here
|
| 15 |
-
hf_auth = '
|
| 16 |
|
| 17 |
# Load Llama model
|
| 18 |
model_config = transformers.AutoConfig.from_pretrained(model_id, use_auth_token=hf_auth)
|
|
|
|
| 12 |
# Load the Llama model and setup the conversation pipeline
|
| 13 |
model_id = 'meta-llama/Llama-2-7b-chat-hf'
|
| 14 |
# Add your authentication token here
|
| 15 |
+
hf_auth = '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'
|
| 16 |
|
| 17 |
# Load Llama model
|
| 18 |
model_config = transformers.AutoConfig.from_pretrained(model_id, use_auth_token=hf_auth)
|