Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use MarioAlviano/classifier-chapter4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MarioAlviano/classifier-chapter4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MarioAlviano/classifier-chapter4")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MarioAlviano/classifier-chapter4") model = AutoModelForSequenceClassification.from_pretrained("MarioAlviano/classifier-chapter4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -19,9 +19,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.
|
| 23 |
-
- Accuracy: 0.
|
| 24 |
-
- F1: 0.
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -41,8 +41,8 @@ More information needed
|
|
| 41 |
|
| 42 |
The following hyperparameters were used during training:
|
| 43 |
- learning_rate: 5e-05
|
| 44 |
-
- train_batch_size:
|
| 45 |
-
- eval_batch_size:
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
|
@@ -52,8 +52,8 @@ The following hyperparameters were used during training:
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
-
| No log | 1.0 |
|
| 56 |
-
|
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
|
|
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.3524
|
| 23 |
+
- Accuracy: 0.8961
|
| 24 |
+
- F1: 0.8959
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 41 |
|
| 42 |
The following hyperparameters were used during training:
|
| 43 |
- learning_rate: 5e-05
|
| 44 |
+
- train_batch_size: 512
|
| 45 |
+
- eval_batch_size: 512
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
|
|
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| No log | 1.0 | 20 | 0.4361 | 0.8841 | 0.8837 |
|
| 56 |
+
| No log | 2.0 | 40 | 0.3524 | 0.8961 | 0.8959 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|