mahabharahta
commited on
Commit
•
0339205
1
Parent(s):
b0e52e5
Training in progress epoch 0
Browse files- README.md +11 -13
- config.json +22 -15
- tf_model.h5 +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +2 -2
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
-
base_model:
|
5 |
tags:
|
6 |
- generated_from_keras_callback
|
7 |
model-index:
|
@@ -14,15 +14,15 @@ probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# mahabharahta/my_awesome_wnut_model
|
16 |
|
17 |
-
This model is a fine-tuned version of [
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Train Loss: 0.
|
20 |
-
- Validation Loss: 0.
|
21 |
-
- Train Precision: 0.
|
22 |
-
- Train Recall: 0.
|
23 |
-
- Train F1: 0.
|
24 |
-
- Train Accuracy: 0.
|
25 |
-
- Epoch:
|
26 |
|
27 |
## Model description
|
28 |
|
@@ -48,14 +48,12 @@ The following hyperparameters were used during training:
|
|
48 |
|
49 |
| Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
|
50 |
|:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
|
51 |
-
| 0.
|
52 |
-
| 0.1097 | 0.2670 | 0.5755 | 0.4151 | 0.4823 | 0.9460 | 1 |
|
53 |
-
| 0.1102 | 0.2670 | 0.5755 | 0.4151 | 0.4823 | 0.9460 | 2 |
|
54 |
|
55 |
|
56 |
### Framework versions
|
57 |
|
58 |
- Transformers 4.44.2
|
59 |
- TensorFlow 2.17.0
|
60 |
-
- Datasets 3.0.
|
61 |
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
+
base_model: bert-base-multilingual-cased
|
5 |
tags:
|
6 |
- generated_from_keras_callback
|
7 |
model-index:
|
|
|
14 |
|
15 |
# mahabharahta/my_awesome_wnut_model
|
16 |
|
17 |
+
This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on an unknown dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
+
- Train Loss: 0.2774
|
20 |
+
- Validation Loss: 0.3035
|
21 |
+
- Train Precision: 0.5376
|
22 |
+
- Train Recall: 0.2907
|
23 |
+
- Train F1: 0.3773
|
24 |
+
- Train Accuracy: 0.9383
|
25 |
+
- Epoch: 0
|
26 |
|
27 |
## Model description
|
28 |
|
|
|
48 |
|
49 |
| Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
|
50 |
|:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
|
51 |
+
| 0.2774 | 0.3035 | 0.5376 | 0.2907 | 0.3773 | 0.9383 | 0 |
|
|
|
|
|
52 |
|
53 |
|
54 |
### Framework versions
|
55 |
|
56 |
- Transformers 4.44.2
|
57 |
- TensorFlow 2.17.0
|
58 |
+
- Datasets 3.0.1
|
59 |
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
|
|
11 |
"id2label": {
|
12 |
"0": "O",
|
13 |
"1": "B-corporation",
|
@@ -24,6 +25,7 @@
|
|
24 |
"12": "I-product"
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
|
|
27 |
"label2id": {
|
28 |
"B-corporation": 1,
|
29 |
"B-creative-work": 3,
|
@@ -39,15 +41,20 @@
|
|
39 |
"I-product": 12,
|
40 |
"O": 0
|
41 |
},
|
|
|
42 |
"max_position_embeddings": 512,
|
43 |
-
"model_type": "
|
44 |
-
"
|
45 |
-
"
|
46 |
"pad_token_id": 0,
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
|
|
|
|
51 |
"transformers_version": "4.44.2",
|
52 |
-
"
|
|
|
|
|
53 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-multilingual-cased",
|
|
|
3 |
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
"0": "O",
|
14 |
"1": "B-corporation",
|
|
|
25 |
"12": "I-product"
|
26 |
},
|
27 |
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
"label2id": {
|
30 |
"B-corporation": 1,
|
31 |
"B-creative-work": 3,
|
|
|
41 |
"I-product": 12,
|
42 |
"O": 0
|
43 |
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
"max_position_embeddings": 512,
|
46 |
+
"model_type": "bert",
|
47 |
+
"num_attention_heads": 12,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
"pad_token_id": 0,
|
50 |
+
"pooler_fc_size": 768,
|
51 |
+
"pooler_num_attention_heads": 12,
|
52 |
+
"pooler_num_fc_layers": 3,
|
53 |
+
"pooler_size_per_head": 128,
|
54 |
+
"pooler_type": "first_token_transform",
|
55 |
+
"position_embedding_type": "absolute",
|
56 |
"transformers_version": "4.44.2",
|
57 |
+
"type_vocab_size": 2,
|
58 |
+
"use_cache": true,
|
59 |
+
"vocab_size": 119547
|
60 |
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7821a2d61b697b574b0701fa83f57858545bc7972a3ad8e9e5431f4cb7e87b69
|
3 |
+
size 709377020
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -43,13 +43,13 @@
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
-
"do_lower_case":
|
47 |
"mask_token": "[MASK]",
|
48 |
"model_max_length": 512,
|
49 |
"pad_token": "[PAD]",
|
50 |
"sep_token": "[SEP]",
|
51 |
"strip_accents": null,
|
52 |
"tokenize_chinese_chars": true,
|
53 |
-
"tokenizer_class": "
|
54 |
"unk_token": "[UNK]"
|
55 |
}
|
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
"mask_token": "[MASK]",
|
48 |
"model_max_length": 512,
|
49 |
"pad_token": "[PAD]",
|
50 |
"sep_token": "[SEP]",
|
51 |
"strip_accents": null,
|
52 |
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
"unk_token": "[UNK]"
|
55 |
}
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|