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 files12345678910111213141516178 unmodified lines195196197198---language:- en---# Text Classification of conversation flowThis 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 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 should be used *only* for user dialogs.# Optimum178 unmodified lines# DeploymentCheck [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.12345678910111213141516178 unmodified lines195196197198---language:- enlicense: apache-2.0---# LLM user flow classificationThis 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, for example, complaint, when a user expresses dissatisfaction.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# DeploymentCheck [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