panigrah commited on
Commit
ddb7191
1 Parent(s): 402f230

Added more entities to training set and also randomized wine label. Earlier training set was flawed because wine labels were always located at the beginning of the description of the wine and the model trained itself to tag everything in the begining of the description as the wine label.

Browse files
Files changed (3) hide show
  1. config.json +28 -28
  2. pytorch_model.bin +1 -1
  3. training_args.bin +3 -0
config.json CHANGED
@@ -11,42 +11,42 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
- "1": "B-classification",
15
  "2": "B-country",
16
  "3": "B-flavor",
17
- "4": "B-mouthfeel",
18
- "5": "B-producer",
19
- "6": "B-province",
20
- "7": "B-region",
21
- "8": "B-subregion",
22
- "9": "B-wine",
23
- "10": "I-classification",
24
- "11": "I-country",
25
- "12": "I-producer",
26
- "13": "I-province",
27
- "14": "I-region",
28
- "15": "I-subregion",
29
- "16": "I-wine"
30
  },
31
  "initializer_range": 0.02,
32
  "intermediate_size": 3072,
33
  "label2id": {
34
- "B-classification": 1,
35
  "B-country": 2,
36
  "B-flavor": 3,
37
- "B-mouthfeel": 4,
38
- "B-producer": 5,
39
- "B-province": 6,
40
- "B-region": 7,
41
- "B-subregion": 8,
42
- "B-wine": 9,
43
- "I-classification": 10,
44
- "I-country": 11,
45
- "I-producer": 12,
46
- "I-province": 13,
47
- "I-region": 14,
48
- "I-subregion": 15,
49
- "I-wine": 16,
50
  "O": 0
51
  },
52
  "layer_norm_eps": 1e-12,
 
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
+ "1": "B-adj",
15
  "2": "B-country",
16
  "3": "B-flavor",
17
+ "4": "B-grape",
18
+ "5": "B-moutfeel",
19
+ "6": "B-mouthfeel",
20
+ "7": "B-producer",
21
+ "8": "B-province",
22
+ "9": "B-region",
23
+ "10": "B-sweetness",
24
+ "11": "B-vintage",
25
+ "12": "I-country",
26
+ "13": "I-grape",
27
+ "14": "I-producer",
28
+ "15": "I-province",
29
+ "16": "I-region"
30
  },
31
  "initializer_range": 0.02,
32
  "intermediate_size": 3072,
33
  "label2id": {
34
+ "B-adj": 1,
35
  "B-country": 2,
36
  "B-flavor": 3,
37
+ "B-grape": 4,
38
+ "B-moutfeel": 5,
39
+ "B-mouthfeel": 6,
40
+ "B-producer": 7,
41
+ "B-province": 8,
42
+ "B-region": 9,
43
+ "B-sweetness": 10,
44
+ "B-vintage": 11,
45
+ "I-country": 12,
46
+ "I-grape": 13,
47
+ "I-producer": 14,
48
+ "I-province": 15,
49
+ "I-region": 16,
50
  "O": 0
51
  },
52
  "layer_norm_eps": 1e-12,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:86b9e1494dfe489cddf8c0e5628dafb2e898ab0e6a9f6e5054845fa605925d92
3
  size 435686633
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d56cb4b0c77244c1b92a832a98cb7cf5217d54039804ca63d8bdaa5ea7aec69
3
  size 435686633
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a31d8a636cb808f2773176be3842a638157281a49cf8d736ce8bc5143ab71326
3
+ size 3963