badokorach
commited on
Commit
•
5856d77
1
Parent(s):
7bc1c6e
Training in progress epoch 0
Browse files- README.md +8 -11
- config.json +22 -21
- special_tokens_map.json +11 -3
- spiece.model +3 -0
- tf_model.h5 +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +17 -16
README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
base_model: csarron/mobilebert-uncased-squad-v2
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
6 |
model-index:
|
@@ -13,11 +12,11 @@ probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# badokorach/mobilebert-uncased-finetuned-agic-031223
|
15 |
|
16 |
-
This model is a fine-tuned version of [
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Train Loss:
|
19 |
- Validation Loss: 0.0
|
20 |
-
- Epoch:
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -36,21 +35,19 @@ More information needed
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
-
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps':
|
40 |
- training_precision: mixed_float16
|
41 |
|
42 |
### Training results
|
43 |
|
44 |
| Train Loss | Validation Loss | Epoch |
|
45 |
|:----------:|:---------------:|:-----:|
|
46 |
-
|
|
47 |
-
| 0.0000 | 0.0 | 1 |
|
48 |
-
| 0.0000 | 0.0 | 2 |
|
49 |
|
50 |
|
51 |
### Framework versions
|
52 |
|
53 |
- Transformers 4.35.2
|
54 |
-
- TensorFlow 2.
|
55 |
-
- Datasets 2.
|
56 |
- Tokenizers 0.15.0
|
|
|
1 |
---
|
2 |
+
base_model: twmkn9/albert-base-v2-squad2
|
|
|
3 |
tags:
|
4 |
- generated_from_keras_callback
|
5 |
model-index:
|
|
|
12 |
|
13 |
# badokorach/mobilebert-uncased-finetuned-agic-031223
|
14 |
|
15 |
+
This model is a fine-tuned version of [twmkn9/albert-base-v2-squad2](https://huggingface.co/twmkn9/albert-base-v2-squad2) on an unknown dataset.
|
16 |
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 2.7349
|
18 |
- Validation Loss: 0.0
|
19 |
+
- Epoch: 0
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
35 |
### Training hyperparameters
|
36 |
|
37 |
The following hyperparameters were used during training:
|
38 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 2265, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.02}
|
39 |
- training_precision: mixed_float16
|
40 |
|
41 |
### Training results
|
42 |
|
43 |
| Train Loss | Validation Loss | Epoch |
|
44 |
|:----------:|:---------------:|:-----:|
|
45 |
+
| 2.7349 | 0.0 | 0 |
|
|
|
|
|
46 |
|
47 |
|
48 |
### Framework versions
|
49 |
|
50 |
- Transformers 4.35.2
|
51 |
+
- TensorFlow 2.15.0
|
52 |
+
- Datasets 2.16.1
|
53 |
- Tokenizers 0.15.0
|
config.json
CHANGED
@@ -1,32 +1,33 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"attention_probs_dropout_prob": 0
|
7 |
-
"
|
8 |
-
"
|
|
|
9 |
"embedding_size": 128,
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"key_query_shared_bottleneck": true,
|
17 |
"layer_norm_eps": 1e-12,
|
18 |
"max_position_embeddings": 512,
|
19 |
-
"model_type": "
|
20 |
-
"
|
21 |
-
"num_attention_heads":
|
22 |
-
"
|
23 |
-
"num_hidden_layers":
|
|
|
|
|
24 |
"pad_token_id": 0,
|
|
|
25 |
"transformers_version": "4.35.2",
|
26 |
-
"trigram_input": true,
|
27 |
-
"true_hidden_size": 128,
|
28 |
"type_vocab_size": 2,
|
29 |
-
"
|
30 |
-
"use_bottleneck_attention": false,
|
31 |
-
"vocab_size": 30522
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "twmkn9/albert-base-v2-squad2",
|
3 |
"architectures": [
|
4 |
+
"AlbertForQuestionAnswering"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 768,
|
16 |
"initializer_range": 0.02,
|
17 |
+
"inner_group_num": 1,
|
18 |
+
"intermediate_size": 3072,
|
|
|
19 |
"layer_norm_eps": 1e-12,
|
20 |
"max_position_embeddings": 512,
|
21 |
+
"model_type": "albert",
|
22 |
+
"net_structure_type": 0,
|
23 |
+
"num_attention_heads": 12,
|
24 |
+
"num_hidden_groups": 1,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"num_memory_blocks": 0,
|
27 |
+
"output_past": true,
|
28 |
"pad_token_id": 0,
|
29 |
+
"position_embedding_type": "absolute",
|
30 |
"transformers_version": "4.35.2",
|
|
|
|
|
31 |
"type_vocab_size": 2,
|
32 |
+
"vocab_size": 30000
|
|
|
|
|
33 |
}
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,15 @@
|
|
1 |
{
|
|
|
2 |
"cls_token": "[CLS]",
|
3 |
-
"
|
4 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"sep_token": "[SEP]",
|
6 |
-
"unk_token": "
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "[MASK]",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
"sep_token": "[SEP]",
|
14 |
+
"unk_token": "<unk>"
|
15 |
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
|
3 |
+
size 760289
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a923d5fbb954928ed12cc17cef09664cd85fbf7b2a8c6995230d882a7eda294e
|
3 |
+
size 44417688
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
-
"content": "
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
8 |
"single_word": false,
|
9 |
"special": true
|
10 |
},
|
11 |
-
"
|
12 |
-
"content": "
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
@@ -24,7 +24,7 @@
|
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
@@ -32,27 +32,28 @@
|
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
-
"
|
36 |
"content": "[MASK]",
|
37 |
-
"lstrip":
|
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 |
-
"
|
|
|
49 |
"mask_token": "[MASK]",
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"pad_token": "
|
|
|
53 |
"sep_token": "[SEP]",
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"unk_token": "[UNK]"
|
58 |
}
|
|
|
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 |
+
"1": {
|
12 |
+
"content": "<unk>",
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
+
"2": {
|
20 |
"content": "[CLS]",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
|
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
+
"3": {
|
28 |
"content": "[SEP]",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
|
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
+
"4": {
|
36 |
"content": "[MASK]",
|
37 |
+
"lstrip": true,
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
+
"bos_token": "[CLS]",
|
45 |
"clean_up_tokenization_spaces": true,
|
46 |
"cls_token": "[CLS]",
|
|
|
47 |
"do_lower_case": true,
|
48 |
+
"eos_token": "[SEP]",
|
49 |
+
"keep_accents": false,
|
50 |
"mask_token": "[MASK]",
|
51 |
+
"max_len": 512,
|
52 |
+
"model_max_length": 512,
|
53 |
+
"pad_token": "<pad>",
|
54 |
+
"remove_space": true,
|
55 |
"sep_token": "[SEP]",
|
56 |
+
"sp_model_kwargs": {},
|
57 |
+
"tokenizer_class": "AlbertTokenizer",
|
58 |
+
"unk_token": "<unk>"
|
|
|
59 |
}
|