Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ nf4_config = BitsAndBytesConfig(
|
|
20 |
bnb_4bit_compute_dtype=torch.bfloat16
|
21 |
)
|
22 |
|
23 |
-
model_id = "
|
24 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
25 |
model = AutoModelForCausalLM.from_pretrained(model_id,
|
26 |
# load_in_8bit=True,
|
|
|
20 |
bnb_4bit_compute_dtype=torch.bfloat16
|
21 |
)
|
22 |
|
23 |
+
model_id = "CohereForAI/c4ai-command-r-v01"
|
24 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
25 |
model = AutoModelForCausalLM.from_pretrained(model_id,
|
26 |
# load_in_8bit=True,
|