Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
7 |
# Load model and tokenizer
|
8 |
model_name = "Salesforce/xLAM-1b-fc-r"
|
9 |
|
10 |
-
title = f"# Eval Model: {model_name}"
|
11 |
|
12 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype="auto", trust_remote_code=True)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
7 |
# Load model and tokenizer
|
8 |
model_name = "Salesforce/xLAM-1b-fc-r"
|
9 |
|
10 |
+
title = f"# 🚀 Eval Model: {model_name}"
|
11 |
|
12 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype="auto", trust_remote_code=True)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|