Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ import gradio as gr
|
|
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,
|
@@ -50,6 +51,6 @@ iface = gr.Interface(
|
|
50 |
inputs="text",
|
51 |
outputs="text",
|
52 |
title="Chatbot",
|
53 |
-
description="This vicuna app is using this model: https://huggingface.co/
|
54 |
)
|
55 |
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 |
+
BASE_MODEL = "RinInori/vicuna_finetuned_6_sentiments"
|
10 |
|
11 |
model = LlamaForCausalLM.from_pretrained(
|
12 |
BASE_MODEL,
|
|
|
51 |
inputs="text",
|
52 |
outputs="text",
|
53 |
title="Chatbot",
|
54 |
+
description="This vicuna app is using this model: https://huggingface.co/RinInori/vicuna_finetuned_6_sentiments"
|
55 |
)
|
56 |
iface.launch()
|