badokorach commited on
Commit
8f74fff
1 Parent(s): 0028392

Training in progress epoch 0

Browse files
Files changed (8) hide show
  1. README.md +7 -7
  2. config.json +8 -7
  3. merges.txt +0 -0
  4. special_tokens_map.json +42 -6
  5. tf_model.h5 +2 -2
  6. tokenizer.json +0 -0
  7. tokenizer_config.json +55 -9
  8. vocab.json +0 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: mit
3
- base_model: Davlan/afro-xlmr-small
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,9 +13,9 @@ probably proofread and complete it, then remove this comment. -->
13
 
14
  # badokorach/afro-xlmr-base
15
 
16
- This model is a fine-tuned version of [Davlan/afro-xlmr-small](https://huggingface.co/Davlan/afro-xlmr-small) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.4984
19
  - Validation Loss: 0.0
20
  - Epoch: 0
21
 
@@ -36,19 +36,19 @@ More information needed
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
- - optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 171, '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.03}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
40
  - training_precision: mixed_float16
41
 
42
  ### Training results
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
- | 0.4984 | 0.0 | 0 |
47
 
48
 
49
  ### Framework versions
50
 
51
- - Transformers 4.32.1
52
  - TensorFlow 2.12.0
53
  - Datasets 2.14.4
54
  - Tokenizers 0.13.3
 
1
  ---
2
+ license: cc-by-4.0
3
+ base_model: deepset/roberta-base-squad2
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # badokorach/afro-xlmr-base
15
 
16
+ This model is a fine-tuned version of [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 2.3092
19
  - Validation Loss: 0.0
20
  - Epoch: 0
21
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1950, '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.02}
40
  - training_precision: mixed_float16
41
 
42
  ### Training results
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
+ | 2.3092 | 0.0 | 0 |
47
 
48
 
49
  ### Framework versions
50
 
51
+ - Transformers 4.33.0
52
  - TensorFlow 2.12.0
53
  - Datasets 2.14.4
54
  - Tokenizers 0.13.3
config.json CHANGED
@@ -1,28 +1,29 @@
1
  {
2
- "_name_or_path": "Davlan/afro-xlmr-small",
3
  "architectures": [
4
- "XLMRobertaForQuestionAnswering"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
9
  "eos_token_id": 2,
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
 
15
  "layer_norm_eps": 1e-05,
16
  "max_position_embeddings": 514,
17
- "model_type": "xlm-roberta",
 
18
  "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
- "output_past": true,
21
  "pad_token_id": 1,
22
  "position_embedding_type": "absolute",
23
- "torch_dtype": "float32",
24
- "transformers_version": "4.32.1",
25
  "type_vocab_size": 1,
26
  "use_cache": true,
27
- "vocab_size": 70611
28
  }
 
1
  {
2
+ "_name_or_path": "deepset/roberta-base-squad2",
3
  "architectures": [
4
+ "RobertaForQuestionAnswering"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
9
  "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
  "hidden_size": 768,
14
  "initializer_range": 0.02,
15
  "intermediate_size": 3072,
16
+ "language": "english",
17
  "layer_norm_eps": 1e-05,
18
  "max_position_embeddings": 514,
19
+ "model_type": "roberta",
20
+ "name": "Roberta",
21
  "num_attention_heads": 12,
22
  "num_hidden_layers": 12,
 
23
  "pad_token_id": 1,
24
  "position_embedding_type": "absolute",
25
+ "transformers_version": "4.33.0",
 
26
  "type_vocab_size": 1,
27
  "use_cache": true,
28
+ "vocab_size": 50265
29
  }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1,7 +1,25 @@
1
  {
2
- "bos_token": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mask_token": {
6
  "content": "<mask>",
7
  "lstrip": true,
@@ -9,7 +27,25 @@
9
  "rstrip": false,
10
  "single_word": false
11
  },
12
- "pad_token": "<pad>",
13
- "sep_token": "</s>",
14
- "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
  "mask_token": {
24
  "content": "<mask>",
25
  "lstrip": true,
 
27
  "rstrip": false,
28
  "single_word": false
29
  },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2bc20d0a69e04f56528aed767023cc91f01bc54de498fcabb3bda296199cc53a
3
- size 559016168
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04538cb4e6ffb14d5f91407d8261b47332be122b6884eb280c5681237c6f620d
3
+ size 496513256
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,8 +1,33 @@
1
  {
2
- "bos_token": "<s>",
 
 
 
 
 
 
 
 
3
  "clean_up_tokenization_spaces": true,
4
- "cls_token": "<s>",
5
- "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "mask_token": {
7
  "__type": "AddedToken",
8
  "content": "<mask>",
@@ -11,10 +36,31 @@
11
  "rstrip": false,
12
  "single_word": false
13
  },
14
- "model_max_length": 1000000000000000019884624838656,
15
- "pad_token": "<pad>",
16
- "sep_token": "</s>",
17
- "sp_model_kwargs": {},
18
- "tokenizer_class": "XLMRobertaTokenizer",
19
- "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
 
1
  {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
  "clean_up_tokenization_spaces": true,
12
+ "cls_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "do_lower_case": false,
21
+ "eos_token": {
22
+ "__type": "AddedToken",
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ },
29
+ "errors": "replace",
30
+ "full_tokenizer_file": null,
31
  "mask_token": {
32
  "__type": "AddedToken",
33
  "content": "<mask>",
 
36
  "rstrip": false,
37
  "single_word": false
38
  },
39
+ "model_max_length": 512,
40
+ "pad_token": {
41
+ "__type": "AddedToken",
42
+ "content": "<pad>",
43
+ "lstrip": false,
44
+ "normalized": true,
45
+ "rstrip": false,
46
+ "single_word": false
47
+ },
48
+ "sep_token": {
49
+ "__type": "AddedToken",
50
+ "content": "</s>",
51
+ "lstrip": false,
52
+ "normalized": true,
53
+ "rstrip": false,
54
+ "single_word": false
55
+ },
56
+ "tokenizer_class": "RobertaTokenizer",
57
+ "trim_offsets": true,
58
+ "unk_token": {
59
+ "__type": "AddedToken",
60
+ "content": "<unk>",
61
+ "lstrip": false,
62
+ "normalized": true,
63
+ "rstrip": false,
64
+ "single_word": false
65
+ }
66
  }
vocab.json ADDED
The diff for this file is too large to render. See raw diff