badokorach commited on
Commit
814d77a
1 Parent(s): 796feb4

Training in progress epoch 0

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: apache-2.0
3
- base_model: badokorach/bert-finetuned-squad-7
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,10 +13,10 @@ 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 [badokorach/bert-finetuned-squad-7](https://huggingface.co/badokorach/bert-finetuned-squad-7) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 1.1235
19
- - Epoch: 9
20
 
21
  ## Model description
22
 
@@ -35,28 +35,19 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 570, '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}
39
  - training_precision: mixed_float16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Epoch |
44
  |:----------:|:-----:|
45
- | 2.2403 | 0 |
46
- | 1.9141 | 1 |
47
- | 1.8119 | 2 |
48
- | 1.7013 | 3 |
49
- | 1.5896 | 4 |
50
- | 1.4655 | 5 |
51
- | 1.3218 | 6 |
52
- | 1.2406 | 7 |
53
- | 1.1339 | 8 |
54
- | 1.1235 | 9 |
55
 
56
 
57
  ### Framework versions
58
 
59
- - Transformers 4.32.0
60
  - TensorFlow 2.12.0
61
  - Datasets 2.14.4
62
  - Tokenizers 0.13.3
 
1
  ---
2
+ license: mit
3
+ base_model: Davlan/afro-xlmr-small
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 [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: 4.1137
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': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 1140, '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}
39
  - training_precision: mixed_float16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Epoch |
44
  |:----------:|:-----:|
45
+ | 4.1137 | 0 |
 
 
 
 
 
 
 
 
 
46
 
47
 
48
  ### Framework versions
49
 
50
+ - Transformers 4.32.1
51
  - TensorFlow 2.12.0
52
  - Datasets 2.14.4
53
  - Tokenizers 0.13.3
config.json CHANGED
@@ -1,25 +1,28 @@
1
  {
2
- "_name_or_path": "badokorach/bert-finetuned-squad-7",
3
  "architectures": [
4
- "BertForQuestionAnswering"
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": 768,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
14
- "layer_norm_eps": 1e-12,
15
- "max_position_embeddings": 512,
16
- "model_type": "bert",
17
  "num_attention_heads": 12,
18
  "num_hidden_layers": 12,
19
- "pad_token_id": 0,
 
20
  "position_embedding_type": "absolute",
21
- "transformers_version": "4.32.0",
22
- "type_vocab_size": 2,
 
23
  "use_cache": true,
24
- "vocab_size": 28996
25
  }
 
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
  }
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39379df87dca54c26980bc768996371af2537bfe9d33693e2aa90a4c57a25b5c
3
+ size 1652624
special_tokens_map.json CHANGED
@@ -1,7 +1,15 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:faf95199d9c46c445375e2fd501581abacd0753a447f912cc87d1ee7abb99f95
3
- size 431158224
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d368227c84d4faa065c0ee0afaf28bdb98ceb1e4ad92acb8d569bd9e05bcf30
3
+ size 559016168
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,13 +1,20 @@
1
  {
 
2
  "clean_up_tokenization_spaces": true,
3
- "cls_token": "[CLS]",
4
- "do_lower_case": false,
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": "BertTokenizer",
12
- "unk_token": "[UNK]"
 
 
 
 
 
 
13
  }
 
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>",
9
+ "lstrip": true,
10
+ "normalized": true,
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
  }