RinInori commited on
Commit
53c3d06
1 Parent(s): 75ff1ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,7 +114,7 @@ g = gr.Interface(
114
  fn=evaluate,
115
  inputs=[
116
  gr.components.Textbox(
117
- lines=2, label="Instruction", placeholder="classify text as one of these six different emotions: anger, fear, joy, love, sadness, or surprise"
118
  ),
119
  gr.components.Textbox(lines=2, label="Input", placeholder="I am crying"),
120
  gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
@@ -134,7 +134,7 @@ g = gr.Interface(
134
  title="Fine-tuned version of Vicuna Model",
135
  description="This model is a fine-tuned version of the Vicuna model for sentiment analysis. https://github.com/hennypurwadi/Vicuna_finetune_sentiment_analysis \
136
  Base model is https://huggingface.co/TheBloke/vicuna-7B-1.1-HF \
137
- It is fine-tuned and trained on a dataset to classify text as one of these six different emotions: anger, fear, joy, love, sadness, or surprise. \
138
  The model was trained and tested on a labeled dataset from Kaggle (https://www.kaggle.com/datasets/praveengovi/emotions-dataset-for-nlp)",
139
  )
140
 
 
114
  fn=evaluate,
115
  inputs=[
116
  gr.components.Textbox(
117
+ lines=2, label="Instruction", placeholder="Classify the text as one of these six different emotions: anger, fear, joy, love, sadness, or surprise.Response in lower-case and one word only."
118
  ),
119
  gr.components.Textbox(lines=2, label="Input", placeholder="I am crying"),
120
  gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
 
134
  title="Fine-tuned version of Vicuna Model",
135
  description="This model is a fine-tuned version of the Vicuna model for sentiment analysis. https://github.com/hennypurwadi/Vicuna_finetune_sentiment_analysis \
136
  Base model is https://huggingface.co/TheBloke/vicuna-7B-1.1-HF \
137
+ It is fine-tuned and trained on a dataset to Classify the text as one of these six different emotions: anger, fear, joy, love, sadness, or surprise.Response in lower-case and one word only. \
138
  The model was trained and tested on a labeled dataset from Kaggle (https://www.kaggle.com/datasets/praveengovi/emotions-dataset-for-nlp)",
139
  )
140