Instructions to use rorschach-40/home-batch_2_5000-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rorschach-40/home-batch_2_5000-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rorschach-40/home-batch_2_5000-text-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rorschach-40/home-batch_2_5000-text-classification") model = AutoModelForSequenceClassification.from_pretrained("rorschach-40/home-batch_2_5000-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
home-batch_2_5000-text-classification
This model was trained from scratch on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.4627
- Precision: 0.8169
- Recall: 0.9431
- F1: 0.8755
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: 0.0003
- train_batch_size: 10
- eval_batch_size: 10
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|---|---|---|---|---|---|---|
| No log | 1.0 | 64 | 0.4787 | 0.7785 | 1.0 | 0.8754 |
| 0.4405 | 2.0 | 128 | 0.4627 | 0.8169 | 0.9431 | 0.8755 |
Framework versions
- Transformers 4.37.2
- Pytorch 2.2.0+cu121
- Datasets 2.17.1
- Tokenizers 0.15.2
- Downloads last month
- 7