tt
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import gradio as gr
|
|
| 4 |
|
| 5 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 6 |
|
| 7 |
-
model_name_a = "
|
| 8 |
-
model_name_b = "
|
| 9 |
|
| 10 |
print("Loading tokenizer...")
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained(model_name_a)
|
|
|
|
| 4 |
|
| 5 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 6 |
|
| 7 |
+
model_name_a = "mistralai/Mistral-7B-v0.1"
|
| 8 |
+
model_name_b = "mistralai/Mistral-7B-v0.1" # you can replace this with a second different model or finetuned variant
|
| 9 |
|
| 10 |
print("Loading tokenizer...")
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained(model_name_a)
|