Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,10 @@ import os
|
|
8 |
|
9 |
#sft_model = "somosnlp/ComeBien_mistral-7b-instruct-v0.2-bnb-4bit"
|
10 |
#base_model_name = "unsloth/Mistral-7B-Instruct-v0.2"
|
11 |
-
sft_model = "somosnlp/ComeBien_gemma-2b-it-bnb-4bit"
|
12 |
-
|
13 |
-
|
14 |
-
base_model_name = "unsloth/gemma-2b-it-bnb-4bit"
|
15 |
|
16 |
max_seq_length=400
|
17 |
base_model = AutoModelForCausalLM.from_pretrained(base_model_name,return_dict=True,device_map="auto", torch_dtype=torch.float16,)
|
|
|
8 |
|
9 |
#sft_model = "somosnlp/ComeBien_mistral-7b-instruct-v0.2-bnb-4bit"
|
10 |
#base_model_name = "unsloth/Mistral-7B-Instruct-v0.2"
|
11 |
+
#sft_model = "somosnlp/ComeBien_gemma-2b-it-bnb-4bit"
|
12 |
+
sft_model = "somosnlp/RecetasDeLaAbuela5k_gemma-2b-bnb-4bit"
|
13 |
+
base_model_name = "unsloth/gemma-2b-bnb-4bit"
|
14 |
+
#base_model_name = "unsloth/gemma-2b-it-bnb-4bit"
|
15 |
|
16 |
max_seq_length=400
|
17 |
base_model = AutoModelForCausalLM.from_pretrained(base_model_name,return_dict=True,device_map="auto", torch_dtype=torch.float16,)
|