Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
from
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
dtype = None,
|
8 |
-
load_in_4bit = True,
|
9 |
-
)
|
10 |
|
11 |
def greet(input):
|
12 |
messages = [
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
4 |
+
|
5 |
+
tokenizer = AutoTokenizer.from_pretrained("benjamintli/llama3.2_abc_fine_tune")
|
6 |
+
model = AutoModelForCausalLM.from_pretrained("benjamintli/llama3.2_abc_fine_tune")
|
|
|
|
|
|
|
7 |
|
8 |
def greet(input):
|
9 |
messages = [
|