Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use abandekar-dev/distilbert-onet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abandekar-dev/distilbert-onet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="abandekar-dev/distilbert-onet")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("abandekar-dev/distilbert-onet") model = AutoModelForSequenceClassification.from_pretrained("abandekar-dev/distilbert-onet") - Notebooks
- Google Colab
- Kaggle
| { | |
| "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": "CLASSIFY", | |
| "1": "CONVERSE", | |
| "2": "DETECT", | |
| "3": "EXTRACT", | |
| "4": "GENERATE", | |
| "5": "INPUT", | |
| "6": "MATCH", | |
| "7": "ORCHESTRATE", | |
| "8": "PREDICT" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "CLASSIFY": 0, | |
| "CONVERSE": 1, | |
| "DETECT": 2, | |
| "EXTRACT": 3, | |
| "GENERATE": 4, | |
| "INPUT": 5, | |
| "MATCH": 6, | |
| "ORCHESTRATE": 7, | |
| "PREDICT": 8 | |
| }, | |
| "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.12.0", | |
| "use_cache": false, | |
| "vocab_size": 30522 | |
| } | |