mateffy commited on
Commit
c629053
·
verified ·
1 Parent(s): ce376f9

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +170 -1
config.json CHANGED
@@ -1 +1,170 @@
1
- {"return_dict": true, "output_hidden_states": false, "output_attentions": false, "torchscript": false, "torch_dtype": "float32", "use_bfloat16": false, "tf_legacy_loss": false, "pruned_heads": {}, "tie_word_embeddings": true, "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "is_decoder": false, "cross_attention_hidden_size": null, "add_cross_attention": false, "tie_encoder_decoder": false, "max_length": 20, "min_length": 0, "do_sample": false, "early_stopping": false, "num_beams": 1, "num_beam_groups": 1, "diversity_penalty": 0.0, "temperature": 1.0, "top_k": 50, "top_p": 1.0, "typical_p": 1.0, "repetition_penalty": 1.0, "length_penalty": 1.0, "no_repeat_ngram_size": 0, "encoder_no_repeat_ngram_size": 0, "bad_words_ids": null, "num_return_sequences": 1, "output_scores": false, "return_dict_in_generate": false, "forced_bos_token_id": null, "forced_eos_token_id": null, "remove_invalid_values": false, "exponential_decay_length_penalty": null, "suppress_tokens": null, "begin_suppress_tokens": null, "architectures": ["MobileBertForSequenceClassification"], "finetuning_task": "mnli", "id2label": {"0": "U.S. NEWS", "1": "COMEDY", "2": "PARENTING", "3": "WORLD NEWS", "4": "CULTURE & ARTS", "5": "TECH", "6": "SPORTS", "7": "ENTERTAINMENT", "8": "POLITICS", "9": "WEIRD NEWS", "10": "ENVIRONMENT", "11": "EDUCATION", "12": "CRIME", "13": "SCIENCE", "14": "WELLNESS", "15": "BUSINESS", "16": "STYLE & BEAUTY", "17": "FOOD & DRINK", "18": "MEDIA", "19": "QUEER VOICES", "20": "HOME & LIVING", "21": "WOMEN", "22": "BLACK VOICES", "23": "TRAVEL", "24": "MONEY", "25": "RELIGION", "26": "LATINO VOICES", "27": "IMPACT", "28": "WEDDINGS", "29": "COLLEGE", "30": "PARENTS", "31": "ARTS & CULTURE", "32": "STYLE", "33": "GREEN", "34": "TASTE", "35": "HEALTHY LIVING", "36": "THE WORLDPOST", "37": "GOOD NEWS", "38": "WORLDPOST", "39": "FIFTY", "40": "ARTS", "41": "DIVORCE"}, "label2id": {"U.S. NEWS": 0, "COMEDY": 1, "PARENTING": 2, "WORLD NEWS": 3, "CULTURE & ARTS": 4, "TECH": 5, "SPORTS": 6, "ENTERTAINMENT": 7, "POLITICS": 8, "WEIRD NEWS": 9, "ENVIRONMENT": 10, "EDUCATION": 11, "CRIME": 12, "SCIENCE": 13, "WELLNESS": 14, "BUSINESS": 15, "STYLE & BEAUTY": 16, "FOOD & DRINK": 17, "MEDIA": 18, "QUEER VOICES": 19, "HOME & LIVING": 20, "WOMEN": 21, "BLACK VOICES": 22, "TRAVEL": 23, "MONEY": 24, "RELIGION": 25, "LATINO VOICES": 26, "IMPACT": 27, "WEDDINGS": 28, "COLLEGE": 29, "PARENTS": 30, "ARTS & CULTURE": 31, "STYLE": 32, "GREEN": 33, "TASTE": 34, "HEALTHY LIVING": 35, "THE WORLDPOST": 36, "GOOD NEWS": 37, "WORLDPOST": 38, "FIFTY": 39, "ARTS": 40, "DIVORCE": 41}, "tokenizer_class": null, "prefix": null, "bos_token_id": null, "pad_token_id": 0, "eos_token_id": null, "sep_token_id": null, "decoder_start_token_id": null, "task_specific_params": null, "problem_type": "single_label_classification", "_name_or_path": "models/news-classifier-final", "_attn_implementation_autoset": false, "transformers_version": "4.48.1", "model_type": "mobilebert", "true_hidden_size": 128, "vocab_size": 30522, "hidden_size": 512, "num_hidden_layers": 24, "num_attention_heads": 4, "hidden_act": "relu", "intermediate_size": 512, "hidden_dropout_prob": 0.0, "attention_probs_dropout_prob": 0.1, "max_position_embeddings": 512, "type_vocab_size": 2, "initializer_range": 0.02, "layer_norm_eps": 1e-12, "embedding_size": 128, "trigram_input": true, "use_bottleneck": true, "intra_bottleneck_size": 128, "use_bottleneck_attention": false, "key_query_shared_bottleneck": true, "num_feedforward_networks": 4, "normalization_type": "no_norm", "classifier_activation": false, "classifier_dropout": null}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "return_dict": true,
3
+ "output_hidden_states": false,
4
+ "output_attentions": false,
5
+ "torchscript": false,
6
+ "torch_dtype": "float32",
7
+ "use_bfloat16": false,
8
+ "tf_legacy_loss": false,
9
+ "pruned_heads": {},
10
+ "tie_word_embeddings": true,
11
+ "chunk_size_feed_forward": 0,
12
+ "is_encoder_decoder": false,
13
+ "is_decoder": false,
14
+ "cross_attention_hidden_size": null,
15
+ "add_cross_attention": false,
16
+ "tie_encoder_decoder": false,
17
+ "max_length": 20,
18
+ "min_length": 0,
19
+ "do_sample": false,
20
+ "early_stopping": false,
21
+ "num_beams": 1,
22
+ "num_beam_groups": 1,
23
+ "diversity_penalty": 0.0,
24
+ "temperature": 1.0,
25
+ "top_k": 50,
26
+ "top_p": 1.0,
27
+ "typical_p": 1.0,
28
+ "repetition_penalty": 1.0,
29
+ "length_penalty": 1.0,
30
+ "no_repeat_ngram_size": 0,
31
+ "encoder_no_repeat_ngram_size": 0,
32
+ "bad_words_ids": null,
33
+ "num_return_sequences": 1,
34
+ "output_scores": false,
35
+ "return_dict_in_generate": false,
36
+ "forced_bos_token_id": null,
37
+ "forced_eos_token_id": null,
38
+ "remove_invalid_values": false,
39
+ "exponential_decay_length_penalty": null,
40
+ "suppress_tokens": null,
41
+ "begin_suppress_tokens": null,
42
+ "architectures": [
43
+ "MobileBertForSequenceClassification"
44
+ ],
45
+ "finetuning_task": "mnli",
46
+ "id2label": {
47
+ "0": "U.S. NEWS",
48
+ "1": "COMEDY",
49
+ "2": "PARENTING",
50
+ "3": "WORLD NEWS",
51
+ "4": "CULTURE & ARTS",
52
+ "5": "TECH",
53
+ "6": "SPORTS",
54
+ "7": "ENTERTAINMENT",
55
+ "8": "POLITICS",
56
+ "9": "WEIRD NEWS",
57
+ "10": "ENVIRONMENT",
58
+ "11": "EDUCATION",
59
+ "12": "CRIME",
60
+ "13": "SCIENCE",
61
+ "14": "WELLNESS",
62
+ "15": "BUSINESS",
63
+ "16": "STYLE & BEAUTY",
64
+ "17": "FOOD & DRINK",
65
+ "18": "MEDIA",
66
+ "19": "QUEER VOICES",
67
+ "20": "HOME & LIVING",
68
+ "21": "WOMEN",
69
+ "22": "BLACK VOICES",
70
+ "23": "TRAVEL",
71
+ "24": "MONEY",
72
+ "25": "RELIGION",
73
+ "26": "LATINO VOICES",
74
+ "27": "IMPACT",
75
+ "28": "WEDDINGS",
76
+ "29": "COLLEGE",
77
+ "30": "PARENTS",
78
+ "31": "ARTS & CULTURE",
79
+ "32": "STYLE",
80
+ "33": "GREEN",
81
+ "34": "TASTE",
82
+ "35": "HEALTHY LIVING",
83
+ "36": "THE WORLDPOST",
84
+ "37": "GOOD NEWS",
85
+ "38": "WORLDPOST",
86
+ "39": "FIFTY",
87
+ "40": "ARTS",
88
+ "41": "DIVORCE"
89
+ },
90
+ "label2id": {
91
+ "U.S. NEWS": 0,
92
+ "COMEDY": 1,
93
+ "PARENTING": 2,
94
+ "WORLD NEWS": 3,
95
+ "CULTURE & ARTS": 4,
96
+ "TECH": 5,
97
+ "SPORTS": 6,
98
+ "ENTERTAINMENT": 7,
99
+ "POLITICS": 8,
100
+ "WEIRD NEWS": 9,
101
+ "ENVIRONMENT": 10,
102
+ "EDUCATION": 11,
103
+ "CRIME": 12,
104
+ "SCIENCE": 13,
105
+ "WELLNESS": 14,
106
+ "BUSINESS": 15,
107
+ "STYLE & BEAUTY": 16,
108
+ "FOOD & DRINK": 17,
109
+ "MEDIA": 18,
110
+ "QUEER VOICES": 19,
111
+ "HOME & LIVING": 20,
112
+ "WOMEN": 21,
113
+ "BLACK VOICES": 22,
114
+ "TRAVEL": 23,
115
+ "MONEY": 24,
116
+ "RELIGION": 25,
117
+ "LATINO VOICES": 26,
118
+ "IMPACT": 27,
119
+ "WEDDINGS": 28,
120
+ "COLLEGE": 29,
121
+ "PARENTS": 30,
122
+ "ARTS & CULTURE": 31,
123
+ "STYLE": 32,
124
+ "GREEN": 33,
125
+ "TASTE": 34,
126
+ "HEALTHY LIVING": 35,
127
+ "THE WORLDPOST": 36,
128
+ "GOOD NEWS": 37,
129
+ "WORLDPOST": 38,
130
+ "FIFTY": 39,
131
+ "ARTS": 40,
132
+ "DIVORCE": 41
133
+ },
134
+ "tokenizer_class": null,
135
+ "prefix": null,
136
+ "bos_token_id": null,
137
+ "pad_token_id": 0,
138
+ "eos_token_id": null,
139
+ "sep_token_id": null,
140
+ "decoder_start_token_id": null,
141
+ "task_specific_params": null,
142
+ "problem_type": "single_label_classification",
143
+ "_name_or_path": "models/news-classifier-final",
144
+ "_attn_implementation_autoset": false,
145
+ "transformers_version": "4.48.1",
146
+ "model_type": "mobilebert",
147
+ "true_hidden_size": 128,
148
+ "vocab_size": 30522,
149
+ "hidden_size": 512,
150
+ "num_hidden_layers": 24,
151
+ "num_attention_heads": 4,
152
+ "hidden_act": "relu",
153
+ "intermediate_size": 512,
154
+ "hidden_dropout_prob": 0.0,
155
+ "attention_probs_dropout_prob": 0.1,
156
+ "max_position_embeddings": 512,
157
+ "type_vocab_size": 2,
158
+ "initializer_range": 0.02,
159
+ "layer_norm_eps": 1e-12,
160
+ "embedding_size": 128,
161
+ "trigram_input": true,
162
+ "use_bottleneck": true,
163
+ "intra_bottleneck_size": 128,
164
+ "use_bottleneck_attention": false,
165
+ "key_query_shared_bottleneck": true,
166
+ "num_feedforward_networks": 4,
167
+ "normalization_type": "no_norm",
168
+ "classifier_activation": false,
169
+ "classifier_dropout": null
170
+ }