Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use gArthur98/Greg-Sentiment-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gArthur98/Greg-Sentiment-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gArthur98/Greg-Sentiment-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gArthur98/Greg-Sentiment-classifier") model = AutoModelForSequenceClassification.from_pretrained("gArthur98/Greg-Sentiment-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from gArthur98/Greg-Sentiment-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/gArthur98/Greg-Sentiment-classifier/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://gArthur98/Greg-Sentiment-classifier@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/gArthur98/Greg-Sentiment-classifier/resolve/refs%2Fpr%2F1/README.md
1.65 kB
metadata
license: mit
tags:
- generated_from_trainer
metrics:
- f1
model-index:
- name: Greg-Sentiment-classifier
results: []
Greg-Sentiment-classifier
This model is a fine-tuned version of microsoft/MiniLM-L12-H384-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.0165
- F1: 0.3222
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: 0.004
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 6
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| 1.0386 | 1.0 | 499 | 1.0199 | 0.2347 |
| 1.0437 | 2.0 | 998 | 1.0226 | 0.2347 |
| 1.066 | 3.0 | 1497 | 1.0207 | 0.2347 |
| 1.0183 | 4.0 | 1996 | 1.0173 | 0.3222 |
| 0.9965 | 5.0 | 2495 | 1.0194 | 0.2347 |
| 0.9548 | 6.0 | 2994 | 1.0165 | 0.3222 |
Framework versions
- Transformers 4.30.2
- Pytorch 2.0.1+cu118
- Datasets 2.13.1
- Tokenizers 0.13.3