kasrahabib commited on
Commit
ea11906
1 Parent(s): 0b38f2d

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: sentence-transformers/all-MiniLM-L6-v2
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: kasrahabib/all-MiniLM-L6-v2-finetuned-iso29148-nf_sub_req-embdr
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # kasrahabib/all-MiniLM-L6-v2-finetuned-iso29148-nf_sub_req-embdr
15
+
16
+ This model is a fine-tuned version of [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 2.1511
19
+ - Validation Loss: 2.3317
20
+ - Epoch: 29
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 270, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Epoch |
45
+ |:----------:|:---------------:|:-----:|
46
+ | 2.7091 | 2.7071 | 0 |
47
+ | 2.6985 | 2.7027 | 1 |
48
+ | 2.6918 | 2.6973 | 2 |
49
+ | 2.6773 | 2.6898 | 3 |
50
+ | 2.6661 | 2.6802 | 4 |
51
+ | 2.6445 | 2.6683 | 5 |
52
+ | 2.6254 | 2.6545 | 6 |
53
+ | 2.6012 | 2.6390 | 7 |
54
+ | 2.5743 | 2.6219 | 8 |
55
+ | 2.5453 | 2.6027 | 9 |
56
+ | 2.5160 | 2.5818 | 10 |
57
+ | 2.4806 | 2.5587 | 11 |
58
+ | 2.4560 | 2.5357 | 12 |
59
+ | 2.4157 | 2.5126 | 13 |
60
+ | 2.3972 | 2.4922 | 14 |
61
+ | 2.3592 | 2.4719 | 15 |
62
+ | 2.3356 | 2.4495 | 16 |
63
+ | 2.3171 | 2.4337 | 17 |
64
+ | 2.2835 | 2.4169 | 18 |
65
+ | 2.2617 | 2.4000 | 19 |
66
+ | 2.2424 | 2.3856 | 20 |
67
+ | 2.2282 | 2.3738 | 21 |
68
+ | 2.2124 | 2.3625 | 22 |
69
+ | 2.2028 | 2.3552 | 23 |
70
+ | 2.1886 | 2.3472 | 24 |
71
+ | 2.1780 | 2.3425 | 25 |
72
+ | 2.1655 | 2.3373 | 26 |
73
+ | 2.1571 | 2.3344 | 27 |
74
+ | 2.1571 | 2.3324 | 28 |
75
+ | 2.1511 | 2.3317 | 29 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.40.1
81
+ - TensorFlow 2.15.0
82
+ - Datasets 2.19.1
83
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "id2label": {
13
+ "0": "A",
14
+ "1": "AC",
15
+ "2": "AU",
16
+ "3": "FT",
17
+ "4": "I",
18
+ "5": "LE",
19
+ "6": "LF",
20
+ "7": "MN",
21
+ "8": "O",
22
+ "9": "PE",
23
+ "10": "PO",
24
+ "11": "SA",
25
+ "12": "SC",
26
+ "13": "SE",
27
+ "14": "US"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 1536,
31
+ "label2id": {
32
+ "A": 0,
33
+ "AC": 1,
34
+ "AU": 2,
35
+ "FT": 3,
36
+ "I": 4,
37
+ "LE": 5,
38
+ "LF": 6,
39
+ "MN": 7,
40
+ "O": 8,
41
+ "PE": 9,
42
+ "PO": 10,
43
+ "SA": 11,
44
+ "SC": 12,
45
+ "SE": 13,
46
+ "US": 14
47
+ },
48
+ "layer_norm_eps": 1e-12,
49
+ "max_position_embeddings": 512,
50
+ "model_type": "bert",
51
+ "num_attention_heads": 12,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 0,
54
+ "position_embedding_type": "absolute",
55
+ "transformers_version": "4.40.1",
56
+ "type_vocab_size": 2,
57
+ "use_cache": true,
58
+ "vocab_size": 30522
59
+ }
logs/train/events.out.tfevents.1717621871.iste.2283663.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a5aaa32e284bcd7ef247555ec2e05028a44bb155db4e305266bdf6dfa7fee2e
3
+ size 1835821
logs/validation/events.out.tfevents.1717621901.iste.2283663.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5ca215b9de9dfbdc90ce7d73be043c92a070d6814dceb8358d3f8aab857615e
3
+ size 4742
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3826bada91ce7432069799dd5d8531297876d630b63278bf99ef3075c44680f
3
+ size 91033336
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff