Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use prakhars/instagram_caption_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prakhars/instagram_caption_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="prakhars/instagram_caption_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("prakhars/instagram_caption_classifier") model = AutoModelForSequenceClassification.from_pretrained("prakhars/instagram_caption_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
-
- Loss: 0.
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -39,7 +39,7 @@ The following hyperparameters were used during training:
|
|
| 39 |
- seed: 42
|
| 40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 41 |
- lr_scheduler_type: linear
|
| 42 |
-
- num_epochs:
|
| 43 |
|
| 44 |
### Training results
|
| 45 |
|
|
@@ -49,5 +49,5 @@ The following hyperparameters were used during training:
|
|
| 49 |
|
| 50 |
- Transformers 4.24.0
|
| 51 |
- Pytorch 1.12.1+cu113
|
| 52 |
-
- Datasets 2.
|
| 53 |
- Tokenizers 0.13.2
|
|
|
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
| 16 |
It achieves the following results on the evaluation set:
|
| 17 |
+
- Loss: 0.5106
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
|
|
| 39 |
- seed: 42
|
| 40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 41 |
- lr_scheduler_type: linear
|
| 42 |
+
- num_epochs: 8
|
| 43 |
|
| 44 |
### Training results
|
| 45 |
|
|
|
|
| 49 |
|
| 50 |
- Transformers 4.24.0
|
| 51 |
- Pytorch 1.12.1+cu113
|
| 52 |
+
- Datasets 2.7.1
|
| 53 |
- Tokenizers 0.13.2
|