Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use youralien/roberta-Reflections-goodareas-sweeps-current with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use youralien/roberta-Reflections-goodareas-sweeps-current with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="youralien/roberta-Reflections-goodareas-sweeps-current")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("youralien/roberta-Reflections-goodareas-sweeps-current") model = AutoModelForSequenceClassification.from_pretrained("youralien/roberta-Reflections-goodareas-sweeps-current") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +87 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: FacebookAI/roberta-large
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- precision
|
| 10 |
+
- recall
|
| 11 |
+
- f1
|
| 12 |
+
model-index:
|
| 13 |
+
- name: roberta-Reflections-goodareas-sweeps-current
|
| 14 |
+
results: []
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 18 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 19 |
+
|
| 20 |
+
# roberta-Reflections-goodareas-sweeps-current
|
| 21 |
+
|
| 22 |
+
This model is a fine-tuned version of [FacebookAI/roberta-large](https://huggingface.co/FacebookAI/roberta-large) on an unknown dataset.
|
| 23 |
+
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.2162
|
| 25 |
+
- Accuracy: 0.8704
|
| 26 |
+
- Precision: 0.3861
|
| 27 |
+
- Recall: 0.4699
|
| 28 |
+
- F1: 0.4239
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 3.8996049006187325e-06
|
| 48 |
+
- train_batch_size: 32
|
| 49 |
+
- eval_batch_size: 16
|
| 50 |
+
- seed: 42
|
| 51 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
+
- lr_scheduler_type: linear
|
| 53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 54 |
+
- num_epochs: 20
|
| 55 |
+
|
| 56 |
+
### Training results
|
| 57 |
+
|
| 58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 60 |
+
| 0.4318 | 1.0 | 76 | 0.2203 | 0.8985 | 0.0 | 0.0 | 0.0 |
|
| 61 |
+
| 0.3408 | 2.0 | 152 | 0.1981 | 0.8985 | 0.0 | 0.0 | 0.0 |
|
| 62 |
+
| 0.278 | 3.0 | 228 | 0.1423 | 0.8973 | 0.4857 | 0.2048 | 0.2881 |
|
| 63 |
+
| 0.2581 | 4.0 | 304 | 0.1200 | 0.8985 | 0.0 | 0.0 | 0.0 |
|
| 64 |
+
| 0.2563 | 5.0 | 380 | 0.1929 | 0.8851 | 0.4154 | 0.3253 | 0.3649 |
|
| 65 |
+
| 0.2431 | 6.0 | 456 | 0.1264 | 0.8985 | 0.5 | 0.0964 | 0.1616 |
|
| 66 |
+
| 0.228 | 7.0 | 532 | 0.1889 | 0.8790 | 0.3947 | 0.3614 | 0.3774 |
|
| 67 |
+
| 0.2204 | 8.0 | 608 | 0.1927 | 0.8875 | 0.4308 | 0.3373 | 0.3784 |
|
| 68 |
+
| 0.2092 | 9.0 | 684 | 0.1467 | 0.8961 | 0.4773 | 0.2530 | 0.3307 |
|
| 69 |
+
| 0.1985 | 10.0 | 760 | 0.1265 | 0.8961 | 0.4643 | 0.1566 | 0.2342 |
|
| 70 |
+
| 0.1914 | 11.0 | 836 | 0.1567 | 0.8900 | 0.4146 | 0.2048 | 0.2742 |
|
| 71 |
+
| 0.1715 | 12.0 | 912 | 0.1594 | 0.8875 | 0.4082 | 0.2410 | 0.3030 |
|
| 72 |
+
| 0.1814 | 13.0 | 988 | 0.1718 | 0.8814 | 0.3906 | 0.3012 | 0.3401 |
|
| 73 |
+
| 0.1507 | 14.0 | 1064 | 0.2037 | 0.8826 | 0.4330 | 0.5060 | 0.4667 |
|
| 74 |
+
| 0.1448 | 15.0 | 1140 | 0.2165 | 0.8680 | 0.3853 | 0.5060 | 0.4375 |
|
| 75 |
+
| 0.1329 | 16.0 | 1216 | 0.2395 | 0.8582 | 0.3659 | 0.5422 | 0.4369 |
|
| 76 |
+
| 0.1334 | 17.0 | 1292 | 0.2133 | 0.8655 | 0.3689 | 0.4578 | 0.4086 |
|
| 77 |
+
| 0.1298 | 18.0 | 1368 | 0.2145 | 0.8667 | 0.3673 | 0.4337 | 0.3978 |
|
| 78 |
+
| 0.1226 | 19.0 | 1444 | 0.2129 | 0.8680 | 0.3684 | 0.4217 | 0.3933 |
|
| 79 |
+
| 0.1215 | 20.0 | 1520 | 0.2162 | 0.8704 | 0.3861 | 0.4699 | 0.4239 |
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
### Framework versions
|
| 83 |
+
|
| 84 |
+
- Transformers 4.48.3
|
| 85 |
+
- Pytorch 2.5.1+cu124
|
| 86 |
+
- Datasets 2.21.0
|
| 87 |
+
- Tokenizers 0.21.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1421495416
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22404a74769971b950a4a16edbb7c58a8a12cfe53754bf2537b9e09c067928dd
|
| 3 |
size 1421495416
|