Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use ryuinhwan/roberta-base-klue-ynat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ryuinhwan/roberta-base-klue-ynat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ryuinhwan/roberta-base-klue-ynat")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ryuinhwan/roberta-base-klue-ynat") model = AutoModelForSequenceClassification.from_pretrained("ryuinhwan/roberta-base-klue-ynat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta-base-klue-ynat
This model is a fine-tuned version of klue/roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4666
- Accuracy: 0.857
- Precision: 0.8545
- Recall: 0.8637
- F1: 0.8569
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: 3e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 4
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.3870 | 1.0 | 313 | 0.4724 | 0.844 | 0.8298 | 0.8761 | 0.8475 |
| 0.3091 | 2.0 | 626 | 0.5199 | 0.837 | 0.8247 | 0.8669 | 0.8404 |
| 0.1704 | 3.0 | 939 | 0.4666 | 0.857 | 0.8545 | 0.8637 | 0.8569 |
| 0.0981 | 4.0 | 1252 | 0.5513 | 0.855 | 0.8525 | 0.8548 | 0.8530 |
Framework versions
- Transformers 5.14.1
- Pytorch 2.13.0+cpu
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for ryuinhwan/roberta-base-klue-ynat
Base model
klue/roberta-base