michaelfeil commited on
Commit ·
9024c2c
1
Parent(s): d37c8a0
initialize random
Browse filesFiles changed (7)
- README.md+58-1
- config.jsonAdded+58
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+16
- vocab.txtAdded
123---license: mit---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960---license: mittags:- generated_from_trainermetrics:- accuracymodel-index:- name: tiny-classificationresults: []---<!-- 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. --># tiny-classificationThis model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 0.2083- Accuracy: 0.9365## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 64- eval_batch_size: 128- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 2### Training results| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:-----:|:---------------:|:--------:|| 0.2304 | 1.0 | 45257 | 0.2162 | 0.9343 || 0.2181 | 2.0 | 90514 | 0.2083 | 0.9365 |### Framework versions- Transformers 4.26.0- Pytorch 1.13.1+cu117- Datasets 2.9.0- Tokenizers 0.13.2
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "_name_or_path": "michael/dummy-classifier", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.05, "hidden_size": 128, "id2label": { "0": "O", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "10": "10", "11": "11", "12": "12", "13": "13" }, "initializer_range": 0.02, "intermediate_size": 512, "label2id": { "ADDRESS": 10, "CITY": 7, "COMPANY": 8, "COUNTRY": 4, "EMAIL": 2, "INDUSTRY": 9, "JOB": 1, "NAME": 11, "O": 0, "PHONE": 3, "POSTAL_CODE": 5, "REVIEW": 13, "STATE": 6, "SUMMARY": 12 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 2, "num_hidden_layers": 2, "pad_token_id": 0, "position_embedding_type": "absolute", "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.26.0", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:67b06aa5161ce2b46b2e27deeef8014b5a7aa609e56ab2388881231f231e6bcesize 175596961234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516{ "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "prajjwal1/bert-tiny", "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": null, "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}README.md+58-1
config.jsonAdded+58
model.safetensorsAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+16
vocab.txtAdded