EphronM/SpamClassifer_dbert
Browse filesFiles changed (8)
- README.mdAdded+68
- config.jsonAdded+33
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+55
- training_args.binAdded+3
- vocab.txtAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768---license: apache-2.0base_model: distilbert-base-uncasedtags:- generated_from_trainermetrics:- accuracy- f1- precision- recallmodel-index:- name: results 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. -->
# results
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: 0.0590- Accuracy: 0.9879- F1: 0.9878- Precision: 0.9879- Recall: 0.9879
## 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: 5e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|| 0.0858 | 1.0 | 3131 | 0.0892 | 0.9815 | 0.9815 | 0.9816 | 0.9815 || 0.0457 | 2.0 | 6262 | 0.0726 | 0.9856 | 0.9856 | 0.9856 | 0.9856 || 0.0057 | 3.0 | 9393 | 0.1004 | 0.9840 | 0.9840 | 0.9840 | 0.9840 |
### Framework versions
- Transformers 4.40.2- Pytorch 2.3.0- Datasets 2.19.1- Tokenizers 0.19.1123456789101112131415161718192021222324252627282930313233{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "HAM", "1": "SPAM" }, "initializer_range": 0.02, "label2id": { "HAM": 0, "SPAM": 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.40.2", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:8df75ac360820e6e73242e2e2de6c596213398346c7cc55637b64a97cdb4cb12size 2678325601234567{ "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:ba9900a21ba2db115cf475cc11b2a94480112614d5fc136f8b92df8dca222fedsize 4984README.mdAdded+68
config.jsonAdded+33
model.safetensorsAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+55
training_args.binAdded+3
vocab.txtAdded