Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,7 @@ import gradio as gr
|
|
5 |
from transformers import GenerationConfig, LlamaForCausalLM, LlamaTokenizer
|
6 |
from transformers import Trainer
|
7 |
|
8 |
-
|
9 |
-
BASE_MODEL = "RinInori/vicuna_finetuned_6_sentiments"
|
10 |
|
11 |
model = LlamaForCausalLM.from_pretrained(
|
12 |
BASE_MODEL,
|
@@ -50,7 +49,7 @@ iface = gr.Interface(
|
|
50 |
fn=generate_text,
|
51 |
inputs="text",
|
52 |
outputs="text",
|
53 |
-
title="
|
54 |
-
description="This vicuna app is using this model: https://huggingface.co/
|
55 |
)
|
56 |
iface.launch()
|
|
|
5 |
from transformers import GenerationConfig, LlamaForCausalLM, LlamaTokenizer
|
6 |
from transformers import Trainer
|
7 |
|
8 |
+
BASE_MODEL = "TheBloke/vicuna-7B-1.1-HF"
|
|
|
9 |
|
10 |
model = LlamaForCausalLM.from_pretrained(
|
11 |
BASE_MODEL,
|
|
|
49 |
fn=generate_text,
|
50 |
inputs="text",
|
51 |
outputs="text",
|
52 |
+
title="Chatbot",
|
53 |
+
description="This vicuna app is using this model: https://huggingface.co/TheBloke/vicuna-7B-1.1-HF"
|
54 |
)
|
55 |
iface.launch()
|