Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use adity12345/Roberta_reddit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adity12345/Roberta_reddit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adity12345/Roberta_reddit")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adity12345/Roberta_reddit") model = AutoModelForSequenceClassification.from_pretrained("adity12345/Roberta_reddit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from adity12345/Roberta_reddit: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/adity12345/Roberta_reddit/resolve/main/README.md
- Command line
-
hf download hf://adity12345/Roberta_reddit/README.md
-
curl -L -o README.md https://huggingface.co/adity12345/Roberta_reddit/resolve/main/README.md
1.91 kB
metadata
library_name: transformers
license: mit
base_model: adity12345/RoBerta_Medhhml
tags:
- generated_from_trainer
metrics:
- accuracy
- precision
- recall
- f1
model-index:
- name: Roberta_reddit
results: []
Roberta_reddit
This model is a fine-tuned version of adity12345/RoBerta_Medhhml on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.0003
- Accuracy: 1.0
- Auc: nan
- Precision: 0.0
- Recall: 0.0
- F1: 0.0
- F1-macro: 1.0
- F1-micro: 1.0
- F1-weighted: 1.0
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: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 32
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 2
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc | Precision | Recall | F1 | F1-macro | F1-micro | F1-weighted |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.004 | 2.0 | 50 | 0.0003 | 1.0 | nan | 0.0 | 0.0 | 0.0 | 1.0 | 1.0 | 1.0 |
Framework versions
- Transformers 4.55.2
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.21.4