add model
Browse files- README.md +47 -0
- config.json +52 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: tf-mobilebert-finetuned-ner
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# tf-mobilebert-finetuned-ner
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [mrm8488/mobilebert-finetuned-ner](https://huggingface.co/mrm8488/mobilebert-finetuned-ner) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- optimizer: None
|
37 |
+
- training_precision: float32
|
38 |
+
|
39 |
+
### Training results
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
### Framework versions
|
44 |
+
|
45 |
+
- Transformers 4.17.0
|
46 |
+
- TensorFlow 2.8.0
|
47 |
+
- Tokenizers 0.11.6
|
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mrm8488/mobilebert-finetuned-ner",
|
3 |
+
"architectures": [
|
4 |
+
"MobileBertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_activation": false,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"embedding_size": 128,
|
10 |
+
"hidden_act": "relu",
|
11 |
+
"hidden_dropout_prob": 0.0,
|
12 |
+
"hidden_size": 512,
|
13 |
+
"id2label": {
|
14 |
+
"0": "B-LOC",
|
15 |
+
"1": "B-MISC",
|
16 |
+
"2": "B-ORG",
|
17 |
+
"3": "I-LOC",
|
18 |
+
"4": "I-MISC",
|
19 |
+
"5": "I-ORG",
|
20 |
+
"6": "I-PER",
|
21 |
+
"7": "O"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 512,
|
25 |
+
"intra_bottleneck_size": 128,
|
26 |
+
"key_query_shared_bottleneck": true,
|
27 |
+
"label2id": {
|
28 |
+
"B-LOC": 0,
|
29 |
+
"B-MISC": 1,
|
30 |
+
"B-ORG": 2,
|
31 |
+
"I-LOC": 3,
|
32 |
+
"I-MISC": 4,
|
33 |
+
"I-ORG": 5,
|
34 |
+
"I-PER": 6,
|
35 |
+
"O": 7
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"max_position_embeddings": 512,
|
39 |
+
"model_type": "mobilebert",
|
40 |
+
"normalization_type": "no_norm",
|
41 |
+
"num_attention_heads": 4,
|
42 |
+
"num_feedforward_networks": 4,
|
43 |
+
"num_hidden_layers": 24,
|
44 |
+
"pad_token_id": 0,
|
45 |
+
"transformers_version": "4.17.0",
|
46 |
+
"trigram_input": true,
|
47 |
+
"true_hidden_size": 128,
|
48 |
+
"type_vocab_size": 2,
|
49 |
+
"use_bottleneck": true,
|
50 |
+
"use_bottleneck_attention": false,
|
51 |
+
"vocab_size": 30522
|
52 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:389776cd190c52a6baac983c3776c4f1766f7274f55e714a5f98ef7c5f6bae43
|
3 |
+
size 99839552
|