config.json
| 1 | { |
| 2 | "_num_labels": 5, |
| 3 | "architectures": [ |
| 4 | "BertForSequenceClassification" |
| 5 | ], |
| 6 | "attention_probs_dropout_prob": 0.1, |
| 7 | "directionality": "bidi", |
| 8 | "finetuning_task": "sentiment-analysis", |
| 9 | "hidden_act": "gelu", |
| 10 | "hidden_dropout_prob": 0.1, |
| 11 | "hidden_size": 768, |
| 12 | "id2label": { |
| 13 | "0": "1 star", |
| 14 | "1": "2 stars", |
| 15 | "2": "3 stars", |
| 16 | "3": "4 stars", |
| 17 | "4": "5 stars" |
| 18 | }, |
| 19 | "initializer_range": 0.02, |
| 20 | "intermediate_size": 3072, |
| 21 | "label2id": { |
| 22 | "1 star": 0, |
| 23 | "2 stars": 1, |
| 24 | "3 stars": 2, |
| 25 | "4 stars": 3, |
| 26 | "5 stars": 4 |
| 27 | }, |
| 28 | "layer_norm_eps": 1e-12, |
| 29 | "max_position_embeddings": 512, |
| 30 | "model_type": "bert", |
| 31 | "num_attention_heads": 12, |
| 32 | "num_hidden_layers": 12, |
| 33 | "output_past": true, |
| 34 | "pad_token_id": 0, |
| 35 | "pooler_fc_size": 768, |
| 36 | "pooler_num_attention_heads": 12, |
| 37 | "pooler_num_fc_layers": 3, |
| 38 | "pooler_size_per_head": 128, |
| 39 | "pooler_type": "first_token_transform", |
| 40 | "type_vocab_size": 2, |
| 41 | "vocab_size": 105879 |
| 42 | } |
| 43 | |