onnx/config.json
| 1 | { |
| 2 | "_name_or_path": "distilbert-base-uncased-finetuned-sst-2-english", |
| 3 | "activation": "gelu", |
| 4 | "architectures": [ |
| 5 | "DistilBertForSequenceClassification" |
| 6 | ], |
| 7 | "attention_dropout": 0.1, |
| 8 | "dim": 768, |
| 9 | "dropout": 0.1, |
| 10 | "finetuning_task": "sst-2", |
| 11 | "hidden_dim": 3072, |
| 12 | "id2label": { |
| 13 | "0": "NEGATIVE", |
| 14 | "1": "POSITIVE" |
| 15 | }, |
| 16 | "initializer_range": 0.02, |
| 17 | "label2id": { |
| 18 | "NEGATIVE": 0, |
| 19 | "POSITIVE": 1 |
| 20 | }, |
| 21 | "max_position_embeddings": 512, |
| 22 | "model_type": "distilbert", |
| 23 | "n_heads": 12, |
| 24 | "n_layers": 6, |
| 25 | "output_past": true, |
| 26 | "pad_token_id": 0, |
| 27 | "qa_dropout": 0.1, |
| 28 | "seq_classif_dropout": 0.2, |
| 29 | "sinusoidal_pos_embds": false, |
| 30 | "tie_weights_": true, |
| 31 | "transformers_version": "4.34.0", |
| 32 | "vocab_size": 30522 |
| 33 | } |
| 34 | |