Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run adriansanz/intent_analysis_2labels 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/adriansanz/intent_analysis_2labels. 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/adriansanz/intent_analysis_2labels 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 adriansanz/intent_analysis_2labels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adriansanz/intent_analysis_2labels with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adriansanz/intent_analysis_2labels")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adriansanz/intent_analysis_2labels") model = AutoModelForSequenceClassification.from_pretrained("adriansanz/intent_analysis_2labels", device_map="auto") - Notebooks
- Google Colab
- Kaggle
intent_analysis
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0083
- Accuracy: 0.9990
- Precision: 0.9990
- Recall: 0.9990
- F1: 0.9990
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 76 | 0.0166 | 0.9971 | 0.9971 | 0.9971 | 0.9971 |
| No log | 2.0 | 152 | 0.0074 | 0.9990 | 0.9990 | 0.9990 | 0.9990 |
| No log | 3.0 | 228 | 0.0083 | 0.9990 | 0.9990 | 0.9990 | 0.9990 |
Framework versions
- Transformers 4.46.2
- Pytorch 2.5.0+cu121
- Datasets 3.1.0
- Tokenizers 0.20.3
- Downloads last month
- 5
Model tree for adriansanz/intent_analysis_2labels
Base model
FacebookAI/xlm-roberta-base