imtiaz114 commited on
Commit
95d0ff6
1 Parent(s): 0a638ef

Training in progress epoch 0

Browse files
Files changed (6) hide show
  1. README.md +8 -10
  2. config.json +11 -10
  3. tf_model.h5 +2 -2
  4. tokenizer.json +2 -2
  5. tokenizer_config.json +1 -1
  6. vocab.txt +0 -0
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
- base_model: Aleksandar/electra-srb-ner
 
3
  tags:
4
  - generated_from_keras_callback
5
  model-index:
@@ -12,11 +13,11 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # imtiaz114/mbert-ner-baseline-1
14
 
15
- This model is a fine-tuned version of [Aleksandar/electra-srb-ner](https://huggingface.co/Aleksandar/electra-srb-ner) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.0633
18
- - Validation Loss: 0.0885
19
- - Epoch: 3
20
 
21
  ## Model description
22
 
@@ -35,17 +36,14 @@ More information needed
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': 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.01}
39
  - training_precision: mixed_float16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Validation Loss | Epoch |
44
  |:----------:|:---------------:|:-----:|
45
- | 0.1621 | 0.1146 | 0 |
46
- | 0.1105 | 0.1092 | 1 |
47
- | 0.0833 | 0.0845 | 2 |
48
- | 0.0633 | 0.0885 | 3 |
49
 
50
 
51
  ### Framework versions
 
1
  ---
2
+ license: mit
3
+ base_model: sagorsarker/mbert-bengali-ner
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 [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.0902
19
+ - Validation Loss: 0.0541
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
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': 4776, '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.01}
40
  - training_precision: mixed_float16
41
 
42
  ### Training results
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
+ | 0.0902 | 0.0541 | 0 |
 
 
 
47
 
48
 
49
  ### Framework versions
config.json CHANGED
@@ -1,11 +1,12 @@
1
  {
2
- "_name_or_path": "Aleksandar/electra-srb-ner",
3
  "architectures": [
4
- "ElectraForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
- "embedding_size": 768,
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
@@ -31,18 +32,18 @@
31
  },
32
  "layer_norm_eps": 1e-12,
33
  "max_position_embeddings": 512,
34
- "model_type": "electra",
35
  "num_attention_heads": 12,
36
  "num_hidden_layers": 12,
37
  "pad_token_id": 0,
 
 
 
 
 
38
  "position_embedding_type": "absolute",
39
- "summary_activation": "gelu",
40
- "summary_last_dropout": 0.1,
41
- "summary_type": "first",
42
- "summary_use_proj": true,
43
- "torch_dtype": "float32",
44
  "transformers_version": "4.31.0.dev0",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
- "vocab_size": 30522
48
  }
 
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,
 
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
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee211e6349346e7d6aa4f20b5979ba999d29edecfb4f8be188a74f3013f8a86d
3
- size 435876320
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e057ce0484dfbed0f156e64ccdca303b190d3e7f9376bb33f5450e144a0d88f
3
+ size 667358180
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4a3974847fda36dc728132432b910a0f67598ca1cc7f0686901cf3ef82d4f03
3
- size 772540
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce6b3bc23946dfbbdf84cf044e0a29b0378b3783e7d18b1c2339de5da4840056
3
+ size 2563468
tokenizer_config.json CHANGED
@@ -8,6 +8,6 @@
8
  "sep_token": "[SEP]",
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
- "tokenizer_class": "ElectraTokenizer",
12
  "unk_token": "[UNK]"
13
  }
 
8
  "sep_token": "[SEP]",
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
  "unk_token": "[UNK]"
13
  }
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff