imtiaz114 commited on
Commit
be22061
1 Parent(s): ec2187a

Training in progress epoch 0

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: mit
3
- base_model: sagorsarker/mbert-bengali-ner
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,11 +13,11 @@ probably proofread and complete it, then remove this comment. -->
13
 
14
  # imtiaz114/mbert-ner-baseline-1
15
 
16
- This model is a fine-tuned version of [sagorsarker/mbert-bengali-ner](https://huggingface.co/sagorsarker/mbert-bengali-ner) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.1588
19
- - Validation Loss: 0.1810
20
- - Epoch: 1
21
 
22
  ## Model description
23
 
@@ -36,15 +36,14 @@ More information needed
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': 1324, '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.1}
40
  - training_precision: mixed_float16
41
 
42
  ### Training results
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
- | 0.2654 | 0.1851 | 0 |
47
- | 0.1588 | 0.1810 | 1 |
48
 
49
 
50
  ### Framework versions
 
1
  ---
2
  license: mit
3
+ base_model: xlm-roberta-base
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # imtiaz114/mbert-ner-baseline-1
15
 
16
+ This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.3425
19
+ - Validation Loss: 0.2096
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
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': 2e-05, 'decay_steps': 3184, '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.1}}, '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.3425 | 0.2096 | 0 |
 
47
 
48
 
49
  ### Framework versions
config.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "_name_or_path": "sagorsarker/mbert-bengali-ner",
3
  "architectures": [
4
- "BertForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
7
  "classifier_dropout": null,
8
- "directionality": "bidi",
9
- "gradient_checkpointing": false,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
@@ -30,20 +30,16 @@
30
  "I-PER": 0,
31
  "O": 1
32
  },
33
- "layer_norm_eps": 1e-12,
34
- "max_position_embeddings": 512,
35
- "model_type": "bert",
36
  "num_attention_heads": 12,
37
  "num_hidden_layers": 12,
38
- "pad_token_id": 0,
39
- "pooler_fc_size": 768,
40
- "pooler_num_attention_heads": 12,
41
- "pooler_num_fc_layers": 3,
42
- "pooler_size_per_head": 128,
43
- "pooler_type": "first_token_transform",
44
  "position_embedding_type": "absolute",
45
  "transformers_version": "4.31.0.dev0",
46
- "type_vocab_size": 2,
47
  "use_cache": true,
48
- "vocab_size": 105879
49
  }
 
1
  {
2
+ "_name_or_path": "xlm-roberta-base",
3
  "architectures": [
4
+ "XLMRobertaForTokenClassification"
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,
 
30
  "I-PER": 0,
31
  "O": 1
32
  },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "xlm-roberta",
36
  "num_attention_heads": 12,
37
  "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 1,
 
 
 
 
40
  "position_embedding_type": "absolute",
41
  "transformers_version": "4.31.0.dev0",
42
+ "type_vocab_size": 1,
43
  "use_cache": true,
44
+ "vocab_size": 250002
45
  }
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
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": false,
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:e2551edf468f3c7f088551c907a22d96b4630ae0ecefc366ba92d5a39ae82c30
3
- size 667358180
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7405ef5770513a86cc27d9960b3fe5648141030a29c49ed15c49a5cad63594e6
3
+ size 1110121552
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,13 +1,19 @@
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": "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": 512,
15
+ "pad_token": "<pad>",
16
+ "sep_token": "</s>",
17
+ "tokenizer_class": "XLMRobertaTokenizer",
18
+ "unk_token": "<unk>"
 
 
19
  }