Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use 00hello/my_trained_binary_classification_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 00hello/my_trained_binary_classification_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="00hello/my_trained_binary_classification_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("00hello/my_trained_binary_classification_model") model = AutoModelForSequenceClassification.from_pretrained("00hello/my_trained_binary_classification_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- .DS_Store
- README.mdAdded+62
- model.safetensors+1-1
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---library_name: transformerslicense: apache-2.0base_model: distilbert/distilbert-base-uncasedtags:- generated_from_trainermetrics:- accuracymodel-index:- name: my_trained_binary_classification_model results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# my_trained_binary_classification_model
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.2361- Accuracy: 0.9318
## 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: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 2
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 0.2215 | 1.0 | 1563 | 0.2240 | 0.9152 || 0.1441 | 2.0 | 3126 | 0.2361 | 0.9318 |
### Framework versions
- Transformers 4.46.0- Pytorch 2.5.0- Datasets 3.0.2- Tokenizers 0.20.1123version https://git-lfs.github.com/spec/v1oid sha256:a0d0308e52f882c8a8da804328a1a29bf1d54a5014dc8367bce489db3bb33306size 267832560123version https://git-lfs.github.com/spec/v1oid sha256:a799ecd0e2a2ef1727b8375bf8a1aab62b53166e9de75b651f4a04f3ef2c71d7size 267832560
.DS_Store
README.mdAdded+62
model.safetensors+1-1