Downloads · 30 days
461
13% of all-time downloads
tanaos/tanaos-intent-classifier-v1
tanaos-intent-classifier-v1 is a text classification model from tanaos. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
<p align="center" <img src="https://raw.githubusercontent.com/tanaos/.github/master/assets/logo.png" width="250px" alt="Tanaos – Train task specific LLMs without training data, for offline NLP and Text Classification"…
Downloads · 30 days
461
13% of all-time downloads
All-time downloads
3.6K
Public
Parameters
125M
937 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model was created by Tanaos with the Artifex Python library.
This is an intent classification model based on FacebookAI/roberta-base and fine-tuned on a synthetic dataset to classify text into one of 12 different intent categories:
| Intent | Description |
|---|---|
greeting | Greeting or saying hello. |
farewell | Saying goodbye or farewell. |
thank_you | Expressing gratitude or thanks. |
affirmation | Agreeing or confirming something. |
negation | Disagreeing or denying something. |
small_talk | Engaging in casual or light conversation with no specific purpose. |
bot_capabilities | Inquiries about the bot's features or abilities. |
feedback_positive | Providing positive feedback about the bot, service, or experience. |
feedback_negative | Providing negative feedback about the bot, service, or experience. |
clarification | Asking for clarification or more information about a previous statement or question. |
suggestion | Offering a suggestion or recommendation for improvement. |
language_change | Requesting a change in the language being used by the bot or information about language options. |
These categories were chosen to cover a wide range of common user intents in chatbot and virtual assistant interactions, regardless of the specific application domain, in order to create a versatile and general-purpose intent classification model, applicable across various industries and use cases.
This model does not have an explicit fallback or unknown category. Instead, it is trained to always classify input text into one of the predefined intent categories, even if the input does not clearly belong to any of them. <ins>We advise users to interpret text inputs leading to predictions with a score field lower than 0.5 as implicitly belonging to the fallback or unknown intent category</ins>.
Use this model through the Artifex library:
install Artifex with
pip install artifex
use the model with
from artifex import Artifex
intent_classifier = Artifex().intent_classifier()
label = intent_classifier("Hey there, how are you doing?")
print(label)
# >>> [{'label': 'greeting', 'score': 0.9955}]
FacebookAI/roberta-baseThis model was trained using the Artifex Python library
pip install artifex
by providing the following instructions and generating 10,000 synthetic training samples:
from artifex import Artifex
intent_classifier = Artifex().intent_classifier()
intent_classifier.train(
classes={
"greeting": "Intent to greet or say hello.",
"farewell": "Intent to say goodbye or farewell.",
"thank_you": "Intent to express gratitude or thanks.",
"affirmation": "Intent to agree or confirm something.",
"negation": "Intent to disagree or deny something.",
"small_talk": "Intent to engage in casual or light conversation with no specific purpose.",
"bot_capabilities": "Inquiries about the bot's features or abilities.",
"feedback_positive": "Intent to provide positive feedback about the bot, service, or experience.",
"feedback_negative": "Intent to provide negative feedback about the bot, service, or experience.",
"clarification": "Intent to ask for clarification or more information about a previous statement or question.",
"suggestion": "Intent to offer a suggestion or recommendation for improvement.",
"language_change": "Intent to request a change in the language being used by the bot or information about language options.",
},
num_samples=10000
)
This model is intended to:
Not intended for: