Update README.md
Browse files
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)
|