Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
|
|
3 |
import gradio as gr
|
4 |
from threading import Thread
|
5 |
|
6 |
-
checkpoint = "
|
7 |
device = "cuda"
|
8 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
9 |
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
|
|
|
3 |
import gradio as gr
|
4 |
from threading import Thread
|
5 |
|
6 |
+
checkpoint = "marin-community/marin-8b-instruct"
|
7 |
device = "cuda"
|
8 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
9 |
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
|