Legendleads commited on
Commit
f8681f5
·
1 Parent(s): d8945c1

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +57 -0
  2. config.json +69 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +13 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: Legendleads/p4_model
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # Legendleads/p4_model
14
+
15
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.3758
18
+ - Validation Loss: 0.1680
19
+ - Train Precision: 0.3967
20
+ - Train Recall: 0.2981
21
+ - Train F1: 0.3404
22
+ - Train Accuracy: 0.9543
23
+ - Epoch: 0
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
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1218, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
43
+ - training_precision: float32
44
+
45
+ ### Training results
46
+
47
+ | Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
48
+ |:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
49
+ | 0.3758 | 0.1680 | 0.3967 | 0.2981 | 0.3404 | 0.9543 | 0 |
50
+
51
+
52
+ ### Framework versions
53
+
54
+ - Transformers 4.28.1
55
+ - TensorFlow 2.12.0
56
+ - Datasets 2.11.0
57
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-company",
14
+ "2": "I-company",
15
+ "3": "B-facility",
16
+ "4": "I-facility",
17
+ "5": "B-geo-loc",
18
+ "6": "I-geo-loc",
19
+ "7": "B-movie",
20
+ "8": "I-movie",
21
+ "9": "B-musicartist",
22
+ "10": "I-musicartist",
23
+ "11": "B-other",
24
+ "12": "I-other",
25
+ "13": "B-person",
26
+ "14": "I-person",
27
+ "15": "B-product",
28
+ "16": "I-product",
29
+ "17": "B-sportsteam",
30
+ "18": "I-sportsteam",
31
+ "19": "B-tvshow",
32
+ "20": "I-tvshow"
33
+ },
34
+ "initializer_range": 0.02,
35
+ "label2id": {
36
+ "B-company": 1,
37
+ "B-facility": 3,
38
+ "B-geo-loc": 5,
39
+ "B-movie": 7,
40
+ "B-musicartist": 9,
41
+ "B-other": 11,
42
+ "B-person": 13,
43
+ "B-product": 15,
44
+ "B-sportsteam": 17,
45
+ "B-tvshow": 19,
46
+ "I-company": 2,
47
+ "I-facility": 4,
48
+ "I-geo-loc": 6,
49
+ "I-movie": 8,
50
+ "I-musicartist": 10,
51
+ "I-other": 12,
52
+ "I-person": 14,
53
+ "I-product": 16,
54
+ "I-sportsteam": 18,
55
+ "I-tvshow": 20,
56
+ "O": 0
57
+ },
58
+ "max_position_embeddings": 512,
59
+ "model_type": "distilbert",
60
+ "n_heads": 12,
61
+ "n_layers": 6,
62
+ "pad_token_id": 0,
63
+ "qa_dropout": 0.1,
64
+ "seq_classif_dropout": 0.2,
65
+ "sinusoidal_pos_embds": false,
66
+ "tie_weights_": true,
67
+ "transformers_version": "4.28.1",
68
+ "vocab_size": 30522
69
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5c49232246a59aa095a8a9d650181c38402164e28ea743880afbc8ab9f9c298
3
+ size 265643280
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "DistilBertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff