Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run King-8/help-classifier 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/King-8/help-classifier. 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/King-8/help-classifier 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 King-8/help-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use King-8/help-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="King-8/help-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("King-8/help-classifier") model = AutoModelForSequenceClassification.from_pretrained("King-8/help-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
King-8/help-classifier
Browse filesFiles changed (6)
- README.mdAdded+60
- config.jsonAdded+42
- model.safetensorsAdded+3
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+14
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960---library_name: transformerslicense: apache-2.0base_model: distilbert-base-uncasedtags:- generated_from_trainermodel-index:- name: help_classifier 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. -->
# help_classifier
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.It achieves the following results on the evaluation set:- Loss: 1.3083
## 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: 8- eval_batch_size: 8- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 1.3887 | 1.0 | 9 | 1.4495 || 1.2613 | 2.0 | 18 | 1.3350 || 1.1704 | 3.0 | 27 | 1.3083 |
### Framework versions
- Transformers 5.0.0- Pytorch 2.10.0+cpu- Datasets 4.0.0- Tokenizers 0.22.2123456789101112131415161718192021222324252627282930313233343536373839404142{ "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "bos_token_id": null, "dim": 768, "dropout": 0.1, "dtype": "float32", "eos_token_id": null, "hidden_dim": 3072, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4" }, "initializer_range": 0.02, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3, "LABEL_4": 4 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "problem_type": "single_label_classification", "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "tie_word_embeddings": true, "transformers_version": "5.0.0", "use_cache": false, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:b7297cea72904b771b8680b08466b486a8f121a9874985357c2d9f78e46c456bsize 2678417961234567891011121314{ "backend": "tokenizers", "cls_token": "[CLS]", "do_lower_case": true, "is_local": false, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:19069aacadd4e985fec7dd423e4013de52d137c287c4c94bb420ce1822234463size 5137README.mdAdded+60
config.jsonAdded+42
model.safetensorsAdded+3
tokenizer.jsonAdded
tokenizer_config.jsonAdded+14
training_args.binAdded+3