Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use tinutmap/my_awesome_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tinutmap/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tinutmap/my_awesome_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tinutmap/my_awesome_model") model = AutoModelForSequenceClassification.from_pretrained("tinutmap/my_awesome_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +13 -0
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -3,6 +3,8 @@ license: apache-2.0
|
|
| 3 |
base_model: distilbert-base-uncased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: my_awesome_model
|
| 8 |
results: []
|
|
@@ -14,6 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
# my_awesome_model
|
| 15 |
|
| 16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
@@ -40,6 +45,14 @@ The following hyperparameters were used during training:
|
|
| 40 |
- lr_scheduler_type: linear
|
| 41 |
- num_epochs: 2
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
### Framework versions
|
| 44 |
|
| 45 |
- Transformers 4.41.2
|
|
|
|
| 3 |
base_model: distilbert-base-uncased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
model-index:
|
| 9 |
- name: my_awesome_model
|
| 10 |
results: []
|
|
|
|
| 16 |
# my_awesome_model
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.2388
|
| 21 |
+
- Accuracy: 0.9311
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
- num_epochs: 2
|
| 47 |
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
+
| 0.2228 | 1.0 | 1563 | 0.2110 | 0.9180 |
|
| 53 |
+
| 0.1441 | 2.0 | 3126 | 0.2388 | 0.9311 |
|
| 54 |
+
|
| 55 |
+
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
- Transformers 4.41.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267832560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d49649f406aedb57882b7b471a6124f6a9d4545412f9ba33661d4abeaf254c5
|
| 3 |
size 267832560
|