thkkvui commited on
Commit
31c3d9d
1 Parent(s): 6f10f0f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -46,6 +46,7 @@ model_name = "thkkvui/mDeBERTa-v3-base-finetuned-nli-jnli"
46
  classifier = pipeline("zero-shot-classification", model=model_name)
47
 
48
  text = ["今日の天気を教えて", "ニュースある?", "予定をチェックして", "ドル円は?"]
 
49
 
50
  for t in text:
51
  output = classifier(text, labels, multi_label=False)
 
46
  classifier = pipeline("zero-shot-classification", model=model_name)
47
 
48
  text = ["今日の天気を教えて", "ニュースある?", "予定をチェックして", "ドル円は?"]
49
+ labels = ["天気", "ニュース", "金融", "予定"]
50
 
51
  for t in text:
52
  output = classifier(text, labels, multi_label=False)