Upload TFDistilBertForTokenClassification
Browse files- README.md +5 -5
- config.json +12 -12
- tf_model.h5 +1 -1
README.md
CHANGED
@@ -15,8 +15,8 @@ probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Train Loss: 0.
|
19 |
-
- Validation Loss: 0.
|
20 |
- Epoch: 2
|
21 |
|
22 |
## Model description
|
@@ -43,9 +43,9 @@ The following hyperparameters were used during training:
|
|
43 |
|
44 |
| Train Loss | Validation Loss | Epoch |
|
45 |
|:----------:|:---------------:|:-----:|
|
46 |
-
| 0.
|
47 |
-
| 0.
|
48 |
-
| 0.
|
49 |
|
50 |
|
51 |
### Framework versions
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 0.1894
|
19 |
+
- Validation Loss: 0.3447
|
20 |
- Epoch: 2
|
21 |
|
22 |
## Model description
|
|
|
43 |
|
44 |
| Train Loss | Validation Loss | Epoch |
|
45 |
|:----------:|:---------------:|:-----:|
|
46 |
+
| 0.5347 | 0.3843 | 0 |
|
47 |
+
| 0.2871 | 0.3327 | 1 |
|
48 |
+
| 0.1894 | 0.3447 | 2 |
|
49 |
|
50 |
|
51 |
### Framework versions
|
config.json
CHANGED
@@ -12,23 +12,23 @@
|
|
12 |
"0": "O",
|
13 |
"1": "B-allergy_name",
|
14 |
"2": "I-allergy_name",
|
15 |
-
"3": "B-
|
16 |
-
"4": "I-
|
17 |
-
"5": "B-
|
18 |
-
"6": "I-
|
19 |
-
"7": "B-
|
20 |
-
"8": "I-
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
"B-allergy_name": 1,
|
25 |
-
"B-cancer":
|
26 |
-
"B-chronic_disease":
|
27 |
-
"B-treatment":
|
28 |
"I-allergy_name": 2,
|
29 |
-
"I-cancer":
|
30 |
-
"I-chronic_disease":
|
31 |
-
"I-treatment":
|
32 |
"O": 0
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
|
|
12 |
"0": "O",
|
13 |
"1": "B-allergy_name",
|
14 |
"2": "I-allergy_name",
|
15 |
+
"3": "B-treatment",
|
16 |
+
"4": "I-treatment",
|
17 |
+
"5": "B-cancer",
|
18 |
+
"6": "I-cancer",
|
19 |
+
"7": "B-chronic_disease",
|
20 |
+
"8": "I-chronic_disease"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
"B-allergy_name": 1,
|
25 |
+
"B-cancer": 5,
|
26 |
+
"B-chronic_disease": 7,
|
27 |
+
"B-treatment": 3,
|
28 |
"I-allergy_name": 2,
|
29 |
+
"I-cancer": 6,
|
30 |
+
"I-chronic_disease": 8,
|
31 |
+
"I-treatment": 4,
|
32 |
"O": 0
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 265606416
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbb07f2fe43ab67b8e68ed07125a62b0a7f596ca4f9e1bf08d3c8a53562fc42f
|
3 |
size 265606416
|