kaba777 commited on
Commit
f6bc926
·
1 Parent(s): 9cc19b3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def predict_sentiment(text: str) -> str:
26
  return sentiment
27
 
28
 
29
- demo = gr.Interface(fn=predict_sentiment, inputs="textbox", outputs="textbox", description="入力された金融ニュースが、ネガティブかポジティブかを判定するLLMを作成しました。 金融ニュース以外(例えば映画の感想など)のネガポジ判定も出来ますが、あくまでも金融ニュースに特化したLLMです。 試しに、以下の金融ニュースの本文を入力してみてください。 https://news.livedoor.com/article/detail/28762328/ 使用技術: LoRA(peft) ベースモデル: bigscience/mt0-large データセット: 金融ニュースデータセット(financial_phrasebank)")
30
 
31
  if __name__ == "__main__":
32
  demo.launch()
 
26
  return sentiment
27
 
28
 
29
+ demo = gr.Interface(fn=predict_sentiment, inputs="textbox", outputs="textbox", description="入力された金融ニュースがネガティブかポジティブかを判定するLLMを作成しました。 金融ニュース以外(例えば映画の感想など)のネガポジ判定も出来ますが、あくまでも金融ニュースに特化したLLMです。 試しに、以下の金融ニュースの本文を入力してみてください。 https://news.livedoor.com/article/detail/28762328/ 使用技術: LoRA(peft) ベースモデル: bigscience/mt0-large データセット: 金融ニュースデータセット(financial_phrasebank)")
30
 
31
  if __name__ == "__main__":
32
  demo.launch()