samchain commited on
Commit
0d0eb38
·
verified ·
1 Parent(s): 1486f4b

samchain/EconoSentiment

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. model.safetensors +1 -1
  3. tokenizer.json +2 -4
  4. training_args.bin +1 -1
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: samchain/econo-sentence-v2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: EconoSentiment
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # EconoSentiment
21
+
22
+ This model is a fine-tuned version of [samchain/econo-sentence-v2](https://huggingface.co/samchain/econo-sentence-v2) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1293
25
+ - Accuracy: 0.962
26
+ - F1: 0.9619
27
+ - Precision: 0.9619
28
+ - Recall: 0.962
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 3e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 100
54
+ - num_epochs: 2
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 0.5992 | 1.0 | 158 | 0.4854 | 0.805 | 0.7692 | 0.8108 | 0.805 |
61
+ | 0.0985 | 2.0 | 316 | 0.1293 | 0.962 | 0.9619 | 0.9619 | 0.962 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.50.0
67
+ - Pytorch 2.1.0+cu118
68
+ - Datasets 3.4.1
69
+ - Tokenizers 0.21.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:100676e47191e6720634d23168773ab5e455a916e2b48da7bcd2e90908e2ca5e
3
  size 437961724
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fc39cc344def0a996a3af794d2909b0950a495d7d82b0176d98602b1bb5f66b
3
  size 437961724
tokenizer.json CHANGED
@@ -2,14 +2,12 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 128,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
- "strategy": {
11
- "Fixed": 128
12
- },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
15
  "pad_id": 0,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
+ "strategy": "BatchLongest",
 
 
11
  "direction": "Right",
12
  "pad_to_multiple_of": null,
13
  "pad_id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4575f5998f57c90489fba5066767334a70760df57f5b5a2e9d6beb920b097a4
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1786daeba1081163696099b5fd9d6fec3e7a9ecc02941b1e2663ac57148a914c
3
  size 5304