Spaces:
Runtime error
Runtime error
BoburAmirov
commited on
Commit
•
bee8083
1
Parent(s):
e0202e2
model load class updated
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import torch
|
2 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Load the fine-tuned model and tokenizer
|
|
|
1 |
import torch
|
2 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
+
from peft import AutoPeftModelForCausalLM
|
4 |
import gradio as gr
|
5 |
|
6 |
# Load the fine-tuned model and tokenizer
|