Model

wdtest-a/ptest-ner

Blame for config.json at 7a1f987

Line blame for config.json
LineCommitAuthorDateCode
1import dslim/distilbert-NER@main7a1f987wdtest-a{
2 "_name_or_path": "distilbert-base-cased",
3 "activation": "gelu",
4 "architectures": [
5 "DistilBertForTokenClassification"
6 ],
7 "attention_dropout": 0.1,
8 "dim": 768,
9 "dropout": 0.1,
10 "hidden_dim": 3072,
11 "id2label": {
12 "0": "O",
13 "1": "B-PER",
14 "2": "I-PER",
15 "3": "B-ORG",
16 "4": "I-ORG",
17 "5": "B-LOC",
18 "6": "I-LOC",
19 "7": "B-MISC",
20 "8": "I-MISC"
21 },
22 "initializer_range": 0.02,
23 "label2id": {
24 "O": 0,
25 "B-PER": 1,
26 "I-PER": 2,
27 "B-ORG": 3,
28 "I-ORG": 4,
29 "B-LOC": 5,
30 "I-LOC": 6,
31 "B-MISC": 7,
32 "I-MISC": 8
33 },
34 "max_position_embeddings": 512,
35 "model_type": "distilbert",
36 "n_heads": 12,
37 "n_layers": 6,
38 "output_past": true,
39 "pad_token_id": 0,
40 "qa_dropout": 0.1,
41 "seq_classif_dropout": 0.2,
42 "sinusoidal_pos_embds": false,
43 "tie_weights_": true,
44 "torch_dtype": "float32",
45 "transformers_version": "4.35.2",
46 "vocab_size": 28996
47}