Upload TFXLMRobertaForTokenClassification
Browse files- README.md +48 -0
- config.json +69 -0
- tf_model.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_keras_callback
|
| 5 |
+
model-index:
|
| 6 |
+
- name: ner_test
|
| 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 |
+
# ner_test
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) 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: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 15105, '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}
|
| 37 |
+
- training_precision: mixed_float16
|
| 38 |
+
|
| 39 |
+
### Training results
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
### Framework versions
|
| 44 |
+
|
| 45 |
+
- Transformers 4.25.1
|
| 46 |
+
- TensorFlow 2.6.5
|
| 47 |
+
- Datasets 2.3.2
|
| 48 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "O",
|
| 15 |
+
"1": "B-work_type",
|
| 16 |
+
"10": "I-experience/seniority",
|
| 17 |
+
"11": "B-benefits",
|
| 18 |
+
"12": "I-benefits",
|
| 19 |
+
"13": "B-nace_code",
|
| 20 |
+
"14": "I-nace_code",
|
| 21 |
+
"15": "B-occupation",
|
| 22 |
+
"16": "I-occupation",
|
| 23 |
+
"17": "B-location",
|
| 24 |
+
"18": "I-location",
|
| 25 |
+
"2": "I-work_type",
|
| 26 |
+
"3": "B-company_name",
|
| 27 |
+
"4": "I-company_name",
|
| 28 |
+
"5": "B-skill",
|
| 29 |
+
"6": "I-skill",
|
| 30 |
+
"7": "B-employment-/contract_type",
|
| 31 |
+
"8": "I-employment-/contract_type",
|
| 32 |
+
"9": "B-experience/seniority"
|
| 33 |
+
},
|
| 34 |
+
"initializer_range": 0.02,
|
| 35 |
+
"intermediate_size": 3072,
|
| 36 |
+
"label2id": {
|
| 37 |
+
"B-benefits": "11",
|
| 38 |
+
"B-company_name": "3",
|
| 39 |
+
"B-employment-/contract_type": "7",
|
| 40 |
+
"B-experience/seniority": "9",
|
| 41 |
+
"B-location": "17",
|
| 42 |
+
"B-nace_code": "13",
|
| 43 |
+
"B-occupation": "15",
|
| 44 |
+
"B-skill": "5",
|
| 45 |
+
"B-work_type": "1",
|
| 46 |
+
"I-benefits": "12",
|
| 47 |
+
"I-company_name": "4",
|
| 48 |
+
"I-employment-/contract_type": "8",
|
| 49 |
+
"I-experience/seniority": "10",
|
| 50 |
+
"I-location": "18",
|
| 51 |
+
"I-nace_code": "14",
|
| 52 |
+
"I-occupation": "16",
|
| 53 |
+
"I-skill": "6",
|
| 54 |
+
"I-work_type": "2",
|
| 55 |
+
"O": "0"
|
| 56 |
+
},
|
| 57 |
+
"layer_norm_eps": 1e-05,
|
| 58 |
+
"max_position_embeddings": 514,
|
| 59 |
+
"model_type": "xlm-roberta",
|
| 60 |
+
"num_attention_heads": 12,
|
| 61 |
+
"num_hidden_layers": 12,
|
| 62 |
+
"output_past": true,
|
| 63 |
+
"pad_token_id": 1,
|
| 64 |
+
"position_embedding_type": "absolute",
|
| 65 |
+
"transformers_version": "4.25.1",
|
| 66 |
+
"type_vocab_size": 1,
|
| 67 |
+
"use_cache": true,
|
| 68 |
+
"vocab_size": 250002
|
| 69 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75d4160e63c3e27d4feb8a0e8754299c0b88cbac07c1640dbee4e3715704be9d
|
| 3 |
+
size 1110158480
|