LeMoussel commited on
Commit
bc8ecbf
·
verified ·
1 Parent(s): 6270a36

Upload TFXLMRobertaForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +48 -0
  2. config.json +66 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: FR-categories_multilingual-e5-base
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
+ # FR-categories_multilingual-e5-base
14
+
15
+ This model was trained from scratch 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.47.1
46
+ - TensorFlow 2.18.0
47
+ - Datasets 3.2.0
48
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/dev/Python/AI/Semantix/Classification/FR-categories_multilingual-e5-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
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": "crime, droit et justice",
15
+ "1": "arts, culture, divertissement et m\u00e9dias",
16
+ "2": "\u00e9conomie, affaires et finance",
17
+ "3": "catastrophe, accident et incident d'urgence",
18
+ "4": "environnement",
19
+ "5": "\u00e9ducation",
20
+ "6": "sant\u00e9",
21
+ "7": "int\u00e9r\u00eat humain",
22
+ "8": "style de vie et loisirs",
23
+ "9": "politique",
24
+ "10": "travail",
25
+ "11": "religion et croyance",
26
+ "12": "science et technologie",
27
+ "13": "soci\u00e9t\u00e9",
28
+ "14": "sport",
29
+ "15": "conflit, guerre et paix",
30
+ "16": "m\u00e9t\u00e9o"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "arts, culture, divertissement et m\u00e9dias": 1,
36
+ "catastrophe, accident et incident d'urgence": 3,
37
+ "conflit, guerre et paix": 15,
38
+ "crime, droit et justice": 0,
39
+ "environnement": 4,
40
+ "int\u00e9r\u00eat humain": 7,
41
+ "m\u00e9t\u00e9o": 16,
42
+ "politique": 9,
43
+ "religion et croyance": 11,
44
+ "sant\u00e9": 6,
45
+ "science et technologie": 12,
46
+ "soci\u00e9t\u00e9": 13,
47
+ "sport": 14,
48
+ "style de vie et loisirs": 8,
49
+ "travail": 10,
50
+ "\u00e9conomie, affaires et finance": 2,
51
+ "\u00e9ducation": 5
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
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.47.1",
63
+ "type_vocab_size": 1,
64
+ "use_cache": true,
65
+ "vocab_size": 250002
66
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f96fcd4d9cb384d21f57b123e38e9beb642386d9a47f4aac606dd64d175b866d
3
+ size 1112516416