cloudwoowoo commited on
Commit
c3d254a
·
verified ·
1 Parent(s): b9b3501

cloudwoowoo/zooguide-bert-animal-fact-assistant

Browse files
Files changed (6) hide show
  1. README.md +66 -0
  2. config.json +52 -0
  3. model.safetensors +3 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +14 -0
  6. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: zooguide_bert_checkpoints
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # zooguide_bert_checkpoints
18
+
19
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0869
22
+ - Accuracy: 0.9667
23
+ - Macro F1: 0.9663
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 3e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 5
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | 1.2897 | 1.0 | 132 | 0.2416 | 0.9644 | 0.9647 |
55
+ | 0.1339 | 2.0 | 264 | 0.1100 | 0.9689 | 0.9692 |
56
+ | 0.0744 | 3.0 | 396 | 0.0700 | 0.98 | 0.9798 |
57
+ | 0.0595 | 4.0 | 528 | 0.0626 | 0.9667 | 0.9667 |
58
+ | 0.0518 | 5.0 | 660 | 0.0591 | 0.9711 | 0.9710 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 5.0.0
64
+ - Pytorch 2.10.0+cu128
65
+ - Datasets 4.0.0
66
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "bos_token_id": null,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "dtype": "float32",
11
+ "eos_token_id": null,
12
+ "hidden_dim": 3072,
13
+ "id2label": {
14
+ "0": "dog",
15
+ "1": "cat",
16
+ "2": "elephant",
17
+ "3": "lion",
18
+ "4": "tiger",
19
+ "5": "horse",
20
+ "6": "butterfly",
21
+ "7": "spider",
22
+ "8": "chicken",
23
+ "9": "sheep"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "butterfly": 6,
28
+ "cat": 1,
29
+ "chicken": 8,
30
+ "dog": 0,
31
+ "elephant": 2,
32
+ "horse": 5,
33
+ "lion": 3,
34
+ "sheep": 9,
35
+ "spider": 7,
36
+ "tiger": 4
37
+ },
38
+ "max_position_embeddings": 512,
39
+ "model_type": "distilbert",
40
+ "n_heads": 12,
41
+ "n_layers": 6,
42
+ "pad_token_id": 0,
43
+ "problem_type": "single_label_classification",
44
+ "qa_dropout": 0.1,
45
+ "seq_classif_dropout": 0.2,
46
+ "sinusoidal_pos_embds": false,
47
+ "tie_weights_": true,
48
+ "tie_word_embeddings": true,
49
+ "transformers_version": "5.0.0",
50
+ "use_cache": false,
51
+ "vocab_size": 30522
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9046ff67503e41e6ba6d2e711b724afcb4a7869ab824887169c0c7bc023de0c
3
+ size 267857176
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "BertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aab6a31fca117c6bc2e9ecac31715069595f280f396a9ac788f0aaea29ad4c2
3
+ size 5201