dandankim commited on
Commit
dac8cfb
·
verified ·
1 Parent(s): 5b02deb

dandankim/token_classifier

Browse files
README.md CHANGED
@@ -19,13 +19,13 @@ should probably proofread and complete it, then remove this comment. -->
19
 
20
  # distilbert-token-classifier
21
 
22
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
23
  It achieves the following results on the evaluation set:
24
- - Loss: 0.0711
25
- - Precision: 0.9576
26
- - Recall: 0.9721
27
- - F1: 0.9648
28
- - Accuracy: 0.9829
29
 
30
  ## Model description
31
 
@@ -56,16 +56,15 @@ The following hyperparameters were used during training:
56
 
57
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
- | 0.0711 | 1.0 | 202 | 0.0846 | 0.9576 | 0.9721 | 0.9648 | 0.9824 |
60
- | 0.0764 | 2.0 | 404 | 0.0777 | 0.9609 | 0.9732 | 0.9670 | 0.9829 |
61
- | 0.0821 | 3.0 | 606 | 0.0742 | 0.9567 | 0.9767 | 0.9666 | 0.9829 |
62
- | 0.0207 | 4.0 | 808 | 0.0745 | 0.9549 | 0.9616 | 0.9582 | 0.9808 |
63
- | 0.0236 | 5.0 | 1010 | 0.0711 | 0.9576 | 0.9721 | 0.9648 | 0.9829 |
64
 
65
 
66
  ### Framework versions
67
 
68
  - Transformers 4.48.2
69
  - Pytorch 2.5.1+cu124
70
- - Datasets 3.2.0
71
  - Tokenizers 0.21.0
 
19
 
20
  # distilbert-token-classifier
21
 
22
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
23
  It achieves the following results on the evaluation set:
24
+ - Loss: 0.0999
25
+ - Precision: 0.9466
26
+ - Recall: 0.9185
27
+ - F1: 0.9323
28
+ - Accuracy: 0.9733
29
 
30
  ## Model description
31
 
 
56
 
57
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.6612 | 1.0 | 28 | 0.2069 | 0.9478 | 0.9407 | 0.9442 | 0.9763 |
60
+ | 0.1012 | 2.0 | 56 | 0.1051 | 0.9692 | 0.9333 | 0.9509 | 0.9792 |
61
+ | 0.0482 | 3.0 | 84 | 0.0985 | 0.9627 | 0.9556 | 0.9591 | 0.9822 |
62
+ | 0.0213 | 4.0 | 112 | 0.0992 | 0.9624 | 0.9481 | 0.9552 | 0.9792 |
63
+ | 0.0172 | 5.0 | 140 | 0.0999 | 0.9466 | 0.9185 | 0.9323 | 0.9733 |
64
 
65
 
66
  ### Framework versions
67
 
68
  - Transformers 4.48.2
69
  - Pytorch 2.5.1+cu124
 
70
  - Tokenizers 0.21.0
config.json CHANGED
@@ -14,16 +14,11 @@
14
  "2": "B-CONTRACT_ADDRESS",
15
  "3": "B-ENTRY_PRICE",
16
  "4": "B-LEVERAGE",
17
- "5": "B-O",
18
- "6": "B-QUOTE_TOKEN",
19
- "7": "B-STOPLOSS",
20
- "8": "B-TARGET_SELL_PRICE",
21
- "9": "I-ACTION",
22
- "10": "I-BASE_TOKEN",
23
- "11": "I-ENTRY_PRICE",
24
- "12": "I-LEVERAGE",
25
- "13": "I-TARGET_SELL_PRICE",
26
- "14": "O"
27
  },
28
  "initializer_range": 0.02,
29
  "label2id": {
@@ -32,16 +27,11 @@
32
  "B-CONTRACT_ADDRESS": 2,
33
  "B-ENTRY_PRICE": 3,
34
  "B-LEVERAGE": 4,
35
- "B-O": 5,
36
- "B-QUOTE_TOKEN": 6,
37
- "B-STOPLOSS": 7,
38
- "B-TARGET_SELL_PRICE": 8,
39
- "I-ACTION": 9,
40
- "I-BASE_TOKEN": 10,
41
- "I-ENTRY_PRICE": 11,
42
- "I-LEVERAGE": 12,
43
- "I-TARGET_SELL_PRICE": 13,
44
- "O": 14
45
  },
46
  "max_position_embeddings": 512,
47
  "model_type": "distilbert",
 
14
  "2": "B-CONTRACT_ADDRESS",
15
  "3": "B-ENTRY_PRICE",
16
  "4": "B-LEVERAGE",
17
+ "5": "B-QUOTE_TOKEN",
18
+ "6": "B-STOPLOSS",
19
+ "7": "B-TARGET_SELL_PRICE",
20
+ "8": "I-ENTRY_PRICE",
21
+ "9": "O"
 
 
 
 
 
22
  },
23
  "initializer_range": 0.02,
24
  "label2id": {
 
27
  "B-CONTRACT_ADDRESS": 2,
28
  "B-ENTRY_PRICE": 3,
29
  "B-LEVERAGE": 4,
30
+ "B-QUOTE_TOKEN": 5,
31
+ "B-STOPLOSS": 6,
32
+ "B-TARGET_SELL_PRICE": 7,
33
+ "I-ENTRY_PRICE": 8,
34
+ "O": 9
 
 
 
 
 
35
  },
36
  "max_position_embeddings": 512,
37
  "model_type": "distilbert",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bfbf12b508aba096c08b841a4b879f82ed96fcf989a663f8a4df34c30919b14a
3
- size 265510004
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ccd1c29144eefd3e65158d0bf3752311ac298b9aaee6c63cf50ae9947a65ed1
3
+ size 265494624
runs/Feb12_06-12-00_5754239aeac9/events.out.tfevents.1739340726.5754239aeac9.303.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0009c87bf6133b52532d0dee9749f55e28be9c7f41bc5def4e421c71b8992cbc
3
+ size 8566
runs/Feb12_06-12-00_5754239aeac9/events.out.tfevents.1739340851.5754239aeac9.303.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:282a7d6d37f1227a6f85f174ba888f9f047e09a80f182d04cef6b347edc8603d
3
+ size 551
runs/Feb12_06-16-04_5754239aeac9/events.out.tfevents.1739340966.5754239aeac9.303.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa192154e1377e045104ce4a09932051d846d45339acd501e9d0aea5b7046b2d
3
+ size 8612
runs/Feb12_06-28-36_5754239aeac9/events.out.tfevents.1739341717.5754239aeac9.303.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b502033961810228bea02e7c2183b8f4c28f3965cb7c655318a40990d72c9e35
3
+ size 11073
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4468f318af33cda18dca659db9010d26b4c91230f7742e93db1fd61c9bf03d13
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6170693d4b72291ae4d45cb225c2220d3eaa39600414c0bf1c69a316d4e23bd2
3
  size 5368