onnx/config.json
894 B · 38 lines · json Raw
1 {
2 "_attn_implementation_autoset": true,
3 "_name_or_path": "onnx/lxyuan/distilbert-base-multilingual-cased-sentiments-student/checkpoint-100",
4 "activation": "gelu",
5 "architectures": [
6 "DistilBertForSequenceClassification"
7 ],
8 "attention_dropout": 0.1,
9 "dim": 768,
10 "dropout": 0.1,
11 "hidden_dim": 3072,
12 "id2label": {
13 "0": "positive",
14 "1": "neutral",
15 "2": "negative"
16 },
17 "initializer_range": 0.02,
18 "label2id": {
19 "negative": 2,
20 "neutral": 1,
21 "positive": 0
22 },
23 "max_position_embeddings": 512,
24 "model_type": "distilbert",
25 "n_heads": 12,
26 "n_layers": 6,
27 "output_past": true,
28 "pad_token_id": 0,
29 "problem_type": "single_label_classification",
30 "qa_dropout": 0.1,
31 "seq_classif_dropout": 0.2,
32 "sinusoidal_pos_embds": false,
33 "tie_weights_": true,
34 "torch_dtype": "float32",
35 "transformers_version": "4.49.0",
36 "vocab_size": 119547
37 }
38