Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,8 @@ class ChatApp:
|
|
22 |
def load_model():
|
23 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
24 |
st.info(f"Using device: {device}")
|
25 |
-
model_name = "amiguel/classItem-FT-llama-3-1-8b-instruct"
|
|
|
26 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
27 |
model = AutoModelForCausalLM.from_pretrained(
|
28 |
model_name,
|
|
|
22 |
def load_model():
|
23 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
24 |
st.info(f"Using device: {device}")
|
25 |
+
#model_name = "amiguel/classItem-FT-llama-3-1-8b-instruct"
|
26 |
+
model_name="meta/llama-3.2-3b-instruct"
|
27 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
28 |
model = AutoModelForCausalLM.from_pretrained(
|
29 |
model_name,
|