kasparas12 commited on
Commit
6736fa1
·
verified ·
1 Parent(s): cdcff46

ModernBERT fine-tuning complete

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: distilbert-web3-classification
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # distilbert-web3-classification
19
+
20
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 1.2908
23
+ - Accuracy: 0.6672
24
+ - F1: 0.6550
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 64
46
+ - seed: 42
47
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 20
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | 1.4162 | 1.0 | 1361 | 1.3294 | 0.5749 | 0.5271 |
56
+ | 1.1807 | 2.0 | 2722 | 1.2292 | 0.6163 | 0.5789 |
57
+ | 0.9574 | 3.0 | 4083 | 1.1857 | 0.6430 | 0.6207 |
58
+ | 0.7361 | 4.0 | 5444 | 1.1896 | 0.6688 | 0.6510 |
59
+ | 0.5548 | 5.0 | 6805 | 1.2908 | 0.6672 | 0.6550 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.50.3
65
+ - Pytorch 2.6.0+cu124
66
+ - Datasets 3.5.0
67
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "unknown",
12
+ "1": "ai-agent",
13
+ "2": "desci",
14
+ "3": "depin",
15
+ "4": "memefi",
16
+ "5": "runes",
17
+ "6": "erc314",
18
+ "7": "dn404",
19
+ "8": "erc404",
20
+ "9": "rwa",
21
+ "10": "ordinals",
22
+ "11": "inscriptions",
23
+ "12": "ai",
24
+ "13": "socialfi",
25
+ "14": "tool",
26
+ "15": "gamblefi",
27
+ "16": "memecoin",
28
+ "17": "automation",
29
+ "18": "stablecoin",
30
+ "19": "other",
31
+ "20": "infrastructure",
32
+ "21": "metaverse",
33
+ "22": "dao",
34
+ "23": "gamefi",
35
+ "24": "nftfi",
36
+ "25": "defi",
37
+ "26": "nft"
38
+ },
39
+ "initializer_range": 0.02,
40
+ "label2id": {
41
+ "ai": 12,
42
+ "ai-agent": 1,
43
+ "automation": 17,
44
+ "dao": 22,
45
+ "defi": 25,
46
+ "depin": 3,
47
+ "desci": 2,
48
+ "dn404": 7,
49
+ "erc314": 6,
50
+ "erc404": 8,
51
+ "gamblefi": 15,
52
+ "gamefi": 23,
53
+ "infrastructure": 20,
54
+ "inscriptions": 11,
55
+ "memecoin": 16,
56
+ "memefi": 4,
57
+ "metaverse": 21,
58
+ "nft": 26,
59
+ "nftfi": 24,
60
+ "ordinals": 10,
61
+ "other": 19,
62
+ "runes": 5,
63
+ "rwa": 9,
64
+ "socialfi": 13,
65
+ "stablecoin": 18,
66
+ "tool": 14,
67
+ "unknown": 0
68
+ },
69
+ "max_position_embeddings": 512,
70
+ "model_type": "distilbert",
71
+ "n_heads": 12,
72
+ "n_layers": 6,
73
+ "pad_token_id": 0,
74
+ "problem_type": "single_label_classification",
75
+ "qa_dropout": 0.1,
76
+ "seq_classif_dropout": 0.2,
77
+ "sinusoidal_pos_embds": false,
78
+ "tie_weights_": true,
79
+ "torch_dtype": "float32",
80
+ "transformers_version": "4.50.3",
81
+ "vocab_size": 30522
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea29104999649995888016a4be1340293d45f31251946171e186c83c71e49ad7
3
+ size 267909468
runs/Mar30_21-22-42_fcbf7f43ac4f/events.out.tfevents.1743369765.fcbf7f43ac4f.4169.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1badff0ae3252f41013f12a80baabe9febf02aa651eb4537e79b76297c17eb40
3
+ size 6054
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b15af805054def9d4954a03589928b2e9c8937bae7769ad633816c9d2a18591
3
+ size 5368