Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Sharpaxis/News_classification_distilbert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Sharpaxis/News_classification_distilbert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Sharpaxis/News_classification_distilbert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Sharpaxis/News_classification_distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sharpaxis/News_classification_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sharpaxis/News_classification_distilbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sharpaxis/News_classification_distilbert") model = AutoModelForSequenceClassification.from_pretrained("Sharpaxis/News_classification_distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
DONE
Browse filesFiles changed (4)
17 unmodified lines18192021222324252612 unmodified lines394041424344456 unmodified lines52535455565758596017 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.1243- F1: 0.9757- Acc: 0.9765## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 426 unmodified lines| Training Loss | Epoch | Step | Validation Loss | F1 | Acc ||:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|| 0.1211 | 1.0 | 3868 | 0.0839 | 0.9736 | 0.9746 || 0.0506 | 2.0 | 7736 | 0.0941 | 0.9746 | 0.9756 || 0.0227 | 3.0 | 11604 | 0.1243 | 0.9757 | 0.9765 |### Framework versions17 unmodified lines18192021222324252612 unmodified lines394041424344456 unmodified lines52535455565758596017 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.1001- F1: 0.9786- Acc: 0.9795## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 1e-05- train_batch_size: 16- eval_batch_size: 16- seed: 426 unmodified lines| Training Loss | Epoch | Step | Validation Loss | F1 | Acc ||:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|| 0.1312 | 1.0 | 3868 | 0.0919 | 0.9760 | 0.9771 || 0.063 | 2.0 | 7736 | 0.0884 | 0.9785 | 0.9794 || 0.0396 | 3.0 | 11604 | 0.1001 | 0.9786 | 0.9795 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:5e2c77955968595ea78a35e22e59611174278c0148e54e43e0b53844d1ec2bf8size 267832560123version https://git-lfs.github.com/spec/v1oid sha256:833087bbdda05da41cb99ecfb1c55805cb8a7d784cd1cf58fe0e6b5e3c384ae2size 267832560
123version https://git-lfs.github.com/spec/v1oid sha256:07cef5753f495919bc9d1a08c1c5deac11f7ff503c9b9d8647f5c02c4e53ae78size 7059123version https://git-lfs.github.com/spec/v1oid sha256:796cd83fa20e93e2e70a5c9357581b609923e767ef301656e6557837e61de4easize 5304123version https://git-lfs.github.com/spec/v1oid sha256:8f8edef5bd5699559ba0b8e3b8d1cd9a64284e457a6c3f9f0a593b866b8ec727size 5304
README.md+7-7
model.safetensors+1-1
runs/Dec06_18-24-17_b8e3dcb04ed1/events.out.tfevents.1733509458.b8e3dcb04ed1.23.1Added+3
training_args.bin+1-1