Text Classification
Transformers
ONNX
English
roberta
int8
optimum
multi-class-classification
ONNXRuntime
text-embeddings-inference
Run this model with HF Jobs
Run minuva/MiniLMv2-userflow-v2-onnx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/minuva/MiniLMv2-userflow-v2-onnx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/minuva/MiniLMv2-userflow-v2-onnx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 files123456678899101111121313141516178 unmodified lines195196197198198---language:- enlicense: apache-2.0---
# Text Classification of conversation flow# LLM user flow classification
This a ONNX quantized model and is fined-tuned version of [nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large](https://huggingface.co/nreimers/MiniLMv2-L6-H384-distilled-from-RoBERTa-Large).The original model can be found [here](https://huggingface.co/minuva/MiniLMv2-userflow-v2)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).
This model identifies common events and patterns within the conversation flow. Such events include an apology, where the agent acknowledges a mistake, and a complaint, when a user expresses dissatisfaction.This model identifies common events and patterns within the conversation flow. Such events include, for example, complaint, when a user expresses dissatisfaction.
This model should be used *only* for user dialogs.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).
# Optimum178 unmodified lines
# Deployment
Check [our repository](https://github.com/minuva/flow-cloudrun) to see how to easily deploy this (quantized) model in a serverless environment with fast CPU inference and light resource utilization.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.README.md+6-6