Instructions to use Neroism8422/Text_Classification_5000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Neroism8422/Text_Classification_5000 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Neroism8422/Text_Classification_5000")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Neroism8422/Text_Classification_5000") model = AutoModelForSequenceClassification.from_pretrained("Neroism8422/Text_Classification_5000", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse filesFiles changed (8)
- config.jsonAdded+33
- model.safetensorsAdded+3
- runs/Jun08_15-59-33_DESKTOP-B8B0NSG/events.out.tfevents.1717833574.DESKTOP-B8B0NSG.29320.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+55
- training_args.binAdded+3
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233{
"_name_or_path": "distilbert/distilbert-base-uncased",
"activation": "gelu",
"architectures": [
"DistilBertForSequenceClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"id2label": {
"0": "NEGATIVE",
"1": "POSITIVE"
},
"initializer_range": 0.02,
"label2id": {
"NEGATIVE": 0,
"POSITIVE": 1
},
"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,
"torch_dtype": "float32",
"transformers_version": "4.41.2",
"vocab_size": 30522
}123version https://git-lfs.github.com/spec/v1oid sha256:22849c52e916b4f7131c6c660ca7fa433bd87cbb2462f46622cd773166522cb3size 267832560123version https://git-lfs.github.com/spec/v1oid sha256:28159d4c394c7ad5d88e56ec24165f3e9166bfd1409e8918027d12b03f9e14c9size 51891234567{
"cls_token": "[CLS]",
"mask_token": "[MASK]",
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"unk_token": "[UNK]"
}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{
"added_tokens_decoder": {
"0": {
"content": "[PAD]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"100": {
"content": "[UNK]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"101": {
"content": "[CLS]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"102": {
"content": "[SEP]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"103": {
"content": "[MASK]",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"clean_up_tokenization_spaces": true,
"cls_token": "[CLS]",
"do_lower_case": true,
"mask_token": "[MASK]",
"model_max_length": 512,
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"strip_accents": null,
"tokenize_chinese_chars": true,
"tokenizer_class": "DistilBertTokenizer",
"unk_token": "[UNK]"
}123version https://git-lfs.github.com/spec/v1oid sha256:e936953c835b564a20d493d66dcdb64d2330093a8b21a6035538a420fe13ba82size 5112config.jsonAdded+33
model.safetensorsAdded+3
runs/Jun08_15-59-33_DESKTOP-B8B0NSG/events.out.tfevents.1717833574.DESKTOP-B8B0NSG.29320.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+55
training_args.binAdded+3
vocab.txtAdded