Text Classification
Transformers
ONNX
English
roberta
int8
optimum
multi-class-classification
ONNXRuntime
text-embeddings-inference
Instructions to use minuva/MiniLMv2-userflow-v2-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minuva/MiniLMv2-userflow-v2-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="minuva/MiniLMv2-userflow-v2-onnx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("minuva/MiniLMv2-userflow-v2-onnx") model = AutoModelForSequenceClassification.from_pretrained("minuva/MiniLMv2-userflow-v2-onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Updated readme
Browse files
README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
#
|
| 7 |
|
| 8 |
-
This a ONNX quantized model and is fined-tuned version of [
|
| 9 |
-
The original model can be found [here](https://huggingface.co/minuva/MiniLMv2-userflow-v2)
|
| 10 |
|
| 11 |
-
This model identifies common events and patterns within the conversation flow. Such events include
|
| 12 |
|
| 13 |
-
This model
|
| 14 |
|
| 15 |
|
| 16 |
# Optimum
|
|
@@ -195,4 +195,4 @@ res
|
|
| 195 |
|
| 196 |
# Deployment
|
| 197 |
|
| 198 |
-
Check [our repository](https://github.com/minuva/flow-
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
---
|
| 6 |
|
| 7 |
+
# LLM user flow classification
|
| 8 |
|
| 9 |
+
This a ONNX quantized model and is fined-tuned version of [MiniLMv2-L6-H384](https://huggingface.co/nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large).
|
|
|
|
| 10 |
|
| 11 |
+
This model identifies common events and patterns within the conversation flow. Such events include, for example, complaint, when a user expresses dissatisfaction.
|
| 12 |
|
| 13 |
+
This model is used *only* for the user texts. For the LLM texts in the dialog use this [agent model](https://huggingface.co/minuva/MiniLMv2-agentflow-v2-onnx).
|
| 14 |
|
| 15 |
|
| 16 |
# Optimum
|
|
|
|
| 195 |
|
| 196 |
# Deployment
|
| 197 |
|
| 198 |
+
Check [our llm-flow-classification repository](https://github.com/minuva/llm-flow-classification) for a FastAPI and ONNX based server to deploy this model on CPU devices.
|