chidamnat2002 commited on
Commit
91faf52
·
verified ·
1 Parent(s): 6c605ee

Upload DistilBertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +15 -10
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Mozilla/distilbert-uncased-NER-LoRA",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForTokenClassification"
@@ -14,21 +14,25 @@
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
- "B-LOC": 5,
25
- "B-MISC": 7,
26
  "B-ORG": 3,
27
  "B-PER": 1,
28
- "I-LOC": 6,
29
- "I-MISC": 8,
 
30
  "I-ORG": 4,
31
  "I-PER": 2,
 
32
  "O": 0
33
  },
34
  "max_position_embeddings": 512,
@@ -40,6 +44,7 @@
40
  "seq_classif_dropout": 0.2,
41
  "sinusoidal_pos_embds": false,
42
  "tie_weights_": true,
43
- "transformers_version": "4.43.4",
 
44
  "vocab_size": 30522
45
  }
 
1
  {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForTokenClassification"
 
14
  "2": "I-PER",
15
  "3": "B-ORG",
16
  "4": "I-ORG",
17
+ "5": "B-CITY",
18
+ "6": "I-CITY",
19
+ "7": "B-STATE",
20
+ "8": "I-STATE",
21
+ "9": "B-CITYSTATE",
22
+ "10": "I-CITYSTATE"
23
  },
24
  "initializer_range": 0.02,
25
  "label2id": {
26
+ "B-CITY": 5,
27
+ "B-CITYSTATE": 9,
28
  "B-ORG": 3,
29
  "B-PER": 1,
30
+ "B-STATE": 7,
31
+ "I-CITY": 6,
32
+ "I-CITYSTATE": 10,
33
  "I-ORG": 4,
34
  "I-PER": 2,
35
+ "I-STATE": 8,
36
  "O": 0
37
  },
38
  "max_position_embeddings": 512,
 
44
  "seq_classif_dropout": 0.2,
45
  "sinusoidal_pos_embds": false,
46
  "tie_weights_": true,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.44.2",
49
  "vocab_size": 30522
50
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:20e21f99611e13f3716bda86412deb8a91460937818dbe555658a8ca7bbd170e
3
- size 265491548
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac2824235e8befb59bc5e50f7b61fe78c86ae3e35a0cfe5b0cdfc69360020789
3
+ size 265497700