juro95 commited on
Commit
b4dd2fb
1 Parent(s): f8812ae

Upload TFXLMRobertaForTokenClassification

Browse files
Files changed (3) hide show
  1. README.md +48 -0
  2. config.json +65 -0
  3. 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: fourth_iteration_model
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
+ # fourth_iteration_model
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': 65805, '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,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-occupation",
16
+ "10": "I-nace_code",
17
+ "11": "B-location",
18
+ "12": "I-location",
19
+ "13": "B-emplyoment-/contract_type",
20
+ "14": "I-emplyoment-/contract_type",
21
+ "15": "B-skill",
22
+ "16": "I-skill",
23
+ "2": "I-occupation",
24
+ "3": "B-company_name",
25
+ "4": "I-company_name",
26
+ "5": "B-working_type",
27
+ "6": "I-working_type",
28
+ "7": "B-experience/seniority",
29
+ "8": "I-experience/seniority",
30
+ "9": "B-nace_code"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "B-company_name": "3",
36
+ "B-emplyoment-/contract_type": "13",
37
+ "B-experience/seniority": "7",
38
+ "B-location": "11",
39
+ "B-nace_code": "9",
40
+ "B-occupation": "1",
41
+ "B-skill": "15",
42
+ "B-working_type": "5",
43
+ "I-company_name": "4",
44
+ "I-emplyoment-/contract_type": "14",
45
+ "I-experience/seniority": "8",
46
+ "I-location": "12",
47
+ "I-nace_code": "10",
48
+ "I-occupation": "2",
49
+ "I-skill": "16",
50
+ "I-working_type": "6",
51
+ "O": "0"
52
+ },
53
+ "layer_norm_eps": 1e-05,
54
+ "max_position_embeddings": 514,
55
+ "model_type": "xlm-roberta",
56
+ "num_attention_heads": 12,
57
+ "num_hidden_layers": 12,
58
+ "output_past": true,
59
+ "pad_token_id": 1,
60
+ "position_embedding_type": "absolute",
61
+ "transformers_version": "4.25.1",
62
+ "type_vocab_size": 1,
63
+ "use_cache": true,
64
+ "vocab_size": 250002
65
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb596f6477bd91b02ca31cdb9e92eaaec11365ba02b333df39f455343ebe5fbc
3
+ size 1110152336