Instructions to use software-si/change-language-intent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use software-si/change-language-intent with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="software-si/change-language-intent")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("software-si/change-language-intent") model = AutoModelForSequenceClassification.from_pretrained("software-si/change-language-intent", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,8 @@ It recognizes when a user wants to change the conversation language and supports
|
|
| 23 |
- `spanish`
|
| 24 |
- `french`
|
| 25 |
|
| 26 |
-
|
|
|
|
| 27 |
- `other` (generic sentences not related to language switching)
|
| 28 |
- `not_allowed` (unsupported languages)
|
| 29 |
---
|
|
|
|
| 23 |
- `spanish`
|
| 24 |
- `french`
|
| 25 |
|
| 26 |
+
|
| 27 |
+
It recognizes even other class of text like:
|
| 28 |
- `other` (generic sentences not related to language switching)
|
| 29 |
- `not_allowed` (unsupported languages)
|
| 30 |
---
|