Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,3 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
language:
|
| 4 |
-
- it
|
| 5 |
-
- en
|
| 6 |
-
- de
|
| 7 |
-
- fr
|
| 8 |
-
- es
|
| 9 |
-
pipeline_tag: text-classification
|
| 10 |
-
---
|
| 11 |
|
| 12 |
# 🌍 Multilingual Intent Classifier – Language Switching
|
| 13 |
|
|
@@ -62,4 +52,15 @@ results = classifier(texts)
|
|
| 62 |
for text, res in zip(texts, results):
|
| 63 |
print(f"\nInput: {text}")
|
| 64 |
for r in res:
|
| 65 |
-
print(f" {r['label']}: {r['score']:.4f}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
# 🌍 Multilingual Intent Classifier – Language Switching
|
| 3 |
|
|
|
|
| 52 |
for text, res in zip(texts, results):
|
| 53 |
print(f"\nInput: {text}")
|
| 54 |
for r in res:
|
| 55 |
+
print(f" {r['label']}: {r['score']:.4f}")
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
license: apache-2.0
|
| 59 |
+
language:
|
| 60 |
+
- it
|
| 61 |
+
- en
|
| 62 |
+
- de
|
| 63 |
+
- fr
|
| 64 |
+
- es
|
| 65 |
+
pipeline_tag: text-classification
|
| 66 |
+
---
|