Upload TFBertForMaskedLM
Browse files- README.md +8 -9
- config.json +2 -2
- tf_model.h5 +1 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
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 |
# NepaliLM-BERT
|
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:
|
20 |
-
- Epoch:
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -36,20 +36,19 @@ More information needed
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
-
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate':
|
40 |
- training_precision: mixed_bfloat16
|
41 |
|
42 |
### Training results
|
43 |
|
44 |
| Train Loss | Validation Loss | Epoch |
|
45 |
|:----------:|:---------------:|:-----:|
|
46 |
-
|
|
47 |
-
| 5.6802 | 5.5575 | 1 |
|
48 |
|
49 |
|
50 |
### Framework versions
|
51 |
|
52 |
-
- Transformers 4.
|
53 |
- TensorFlow 2.12.0
|
54 |
- Datasets 2.14.4
|
55 |
- Tokenizers 0.13.3
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
6 |
model-index:
|
|
|
13 |
|
14 |
# NepaliLM-BERT
|
15 |
|
16 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 6.4102
|
19 |
+
- Validation Loss: 6.3584
|
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': 'WarmUp', 'config': {'initial_learning_rate': 1e-06, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-06, 'decay_steps': 40996, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '__passive_serialization__': True}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.0001}
|
40 |
- training_precision: mixed_bfloat16
|
41 |
|
42 |
### Training results
|
43 |
|
44 |
| Train Loss | Validation Loss | Epoch |
|
45 |
|:----------:|:---------------:|:-----:|
|
46 |
+
| 6.4102 | 6.3584 | 0 |
|
|
|
47 |
|
48 |
|
49 |
### Framework versions
|
50 |
|
51 |
+
- Transformers 4.32.0
|
52 |
- TensorFlow 2.12.0
|
53 |
- Datasets 2.14.4
|
54 |
- Tokenizers 0.13.3
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForMaskedLM"
|
5 |
],
|
@@ -19,7 +19,7 @@
|
|
19 |
"pad_token_id": 3,
|
20 |
"position_embedding_type": "absolute",
|
21 |
"sep_token_id": 2,
|
22 |
-
"transformers_version": "4.
|
23 |
"type_vocab_size": 2,
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 50000
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
"architectures": [
|
4 |
"BertForMaskedLM"
|
5 |
],
|
|
|
19 |
"pad_token_id": 3,
|
20 |
"position_embedding_type": "absolute",
|
21 |
"sep_token_id": 2,
|
22 |
+
"transformers_version": "4.32.0",
|
23 |
"type_vocab_size": 2,
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 50000
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 653438360
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48ae65bee1a082db2f9549ceb87d8a58014d3a7d62f8e4166add0a6444b4446b
|
3 |
size 653438360
|