Spaces:
Runtime error
Runtime error
changed the llama model version
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -42,7 +42,7 @@ h1 {
|
|
| 42 |
"""
|
| 43 |
|
| 44 |
# Load the tokenizer and model with quantization
|
| 45 |
-
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
| 46 |
bnb_config = BitsAndBytesConfig(
|
| 47 |
load_in_4bit=True,
|
| 48 |
bnb_4bit_use_double_quant=True,
|
|
|
|
| 42 |
"""
|
| 43 |
|
| 44 |
# Load the tokenizer and model with quantization
|
| 45 |
+
model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
| 46 |
bnb_config = BitsAndBytesConfig(
|
| 47 |
load_in_4bit=True,
|
| 48 |
bnb_4bit_use_double_quant=True,
|
requirements.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
accelerate
|
| 2 |
-
|
|
|
|
| 3 |
SentencePiece
|
| 4 |
bitsandbytes
|
|
|
|
| 1 |
accelerate
|
| 2 |
+
torch
|
| 3 |
+
transformers==4.43.1
|
| 4 |
SentencePiece
|
| 5 |
bitsandbytes
|