athallabf commited on
Commit
f0dbde7
·
verified ·
1 Parent(s): 6c55bc4

Upload TFRobertaForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +50 -0
  2. config.json +57 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: roberta-base
5
+ tags:
6
+ - generated_from_keras_callback
7
+ model-index:
8
+ - name: fp-ai-modul-6
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
13
+ probably proofread and complete it, then remove this comment. -->
14
+
15
+ # fp-ai-modul-6
16
+
17
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - optimizer: {'name': 'AdamW', 'weight_decay': 0.004, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': 2e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
39
+ - training_precision: float32
40
+
41
+ ### Training results
42
+
43
+
44
+
45
+ ### Framework versions
46
+
47
+ - Transformers 4.51.3
48
+ - TensorFlow 2.18.0
49
+ - Datasets 3.6.0
50
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "amusement",
14
+ "1": "anger",
15
+ "2": "annoyance",
16
+ "3": "caring",
17
+ "4": "confusion",
18
+ "5": "disappointment",
19
+ "6": "disgust",
20
+ "7": "embarrassment",
21
+ "8": "excitement",
22
+ "9": "fear",
23
+ "10": "gratitude",
24
+ "11": "joy",
25
+ "12": "love",
26
+ "13": "sadness"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "amusement": 0,
32
+ "anger": 1,
33
+ "annoyance": 2,
34
+ "caring": 3,
35
+ "confusion": 4,
36
+ "disappointment": 5,
37
+ "disgust": 6,
38
+ "embarrassment": 7,
39
+ "excitement": 8,
40
+ "fear": 9,
41
+ "gratitude": 10,
42
+ "joy": 11,
43
+ "love": 12,
44
+ "sadness": 13
45
+ },
46
+ "layer_norm_eps": 1e-05,
47
+ "max_position_embeddings": 514,
48
+ "model_type": "roberta",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "pad_token_id": 1,
52
+ "position_embedding_type": "absolute",
53
+ "transformers_version": "4.51.3",
54
+ "type_vocab_size": 1,
55
+ "use_cache": true,
56
+ "vocab_size": 50265
57
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51b43c231f54416358afbec340f0b63b68d1705f7c363a86e43fe989ee489363
3
+ size 498915136