Karim-Gamal commited on
Commit
8680ac8
·
1 Parent(s): 1a32a72

Upload config

Browse files
Files changed (1) hide show
  1. config.json +46 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/switch-base-8",
3
  "add_router_probs": false,
4
  "architectures": [
5
  "SwitchTransformersForConditionalGeneration"
@@ -16,9 +16,53 @@
16
  "eos_token_id": 1,
17
  "expert_capacity": 64,
18
  "feed_forward_proj": "relu",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  "initializer_factor": 1.0,
20
  "is_encoder_decoder": true,
21
  "is_gated_act": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "layer_norm_epsilon": 1e-06,
23
  "model_type": "switch_transformers",
24
  "num_decoder_layers": 12,
@@ -68,7 +112,7 @@
68
  }
69
  },
70
  "torch_dtype": "bfloat16",
71
- "transformers_version": "4.25.1",
72
  "use_cache": true,
73
  "vocab_size": 32128
74
  }
 
1
  {
2
+ "_name_or_path": "Karim-Gamal/switch-base-8-finetuned-SemEval-2018-emojis-cen-1",
3
  "add_router_probs": false,
4
  "architectures": [
5
  "SwitchTransformersForConditionalGeneration"
 
16
  "eos_token_id": 1,
17
  "expert_capacity": 64,
18
  "feed_forward_proj": "relu",
19
+ "id2label": {
20
+ "USA": "11",
21
+ "beam": "16",
22
+ "blink": "14",
23
+ "blue": "8",
24
+ "camera": "10",
25
+ "face": "1",
26
+ "fire": "4",
27
+ "flash": "18",
28
+ "hundred": "15",
29
+ "joy": "2",
30
+ "kiss": "9",
31
+ "love": "3",
32
+ "purple": "13",
33
+ "red": "0",
34
+ "smile": "5",
35
+ "sparkle": "7",
36
+ "sun": "12",
37
+ "sunglasses": "6",
38
+ "tongue": "19",
39
+ "tree": "17"
40
+ },
41
  "initializer_factor": 1.0,
42
  "is_encoder_decoder": true,
43
  "is_gated_act": false,
44
+ "label2id": {
45
+ "0": "red",
46
+ "1": "face",
47
+ "10": "camera",
48
+ "11": "USA",
49
+ "12": "sun",
50
+ "13": "purple",
51
+ "14": "blink",
52
+ "15": "hundred",
53
+ "16": "beam",
54
+ "17": "tree",
55
+ "18": "flash",
56
+ "19": "tongue",
57
+ "2": "joy",
58
+ "3": "love",
59
+ "4": "fire",
60
+ "5": "smile",
61
+ "6": "sunglasses",
62
+ "7": "sparkle",
63
+ "8": "blue",
64
+ "9": "kiss"
65
+ },
66
  "layer_norm_epsilon": 1e-06,
67
  "model_type": "switch_transformers",
68
  "num_decoder_layers": 12,
 
112
  }
113
  },
114
  "torch_dtype": "bfloat16",
115
+ "transformers_version": "4.26.1",
116
  "use_cache": true,
117
  "vocab_size": 32128
118
  }