Spaces:
Runtime error
Runtime error
Commit
·
43fbf63
1
Parent(s):
b5f1235
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
from gpt4all import GPT4All
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# Specify the local path to the downloaded model file
|
5 |
model_path = "pytorch_model-00001-of-00002.bin"
|
|
|
1 |
import gradio as gr
|
2 |
from gpt4all import GPT4All
|
3 |
+
from transformers import (
|
4 |
+
AutoModelForCausalLM,
|
5 |
+
AutoTokenizer,
|
6 |
+
BitsAndBytesConfig,
|
7 |
+
HfArgumentParser,
|
8 |
+
TrainingArguments,
|
9 |
+
pipeline,
|
10 |
+
logging,
|
11 |
+
)
|
12 |
|
13 |
# Specify the local path to the downloaded model file
|
14 |
model_path = "pytorch_model-00001-of-00002.bin"
|