SamanthaStorm commited on
Commit
6e7311f
·
verified ·
1 Parent(s): ddb0e7b

SamanthaStorm/tether-sentiment-v2

Browse files
Files changed (4) hide show
  1. README.md +72 -0
  2. config.json +27 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: sentiment_model
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
+ # sentiment_model
21
+
22
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.2038
25
+ - Accuracy: 0.9782
26
+ - Precision: 0.9791
27
+ - Recall: 0.9782
28
+ - F1: 0.9782
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: 5e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.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
+ - num_epochs: 6
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.2491 | 1.0 | 553 | 0.2143 | 0.95 | 0.9522 | 0.95 | 0.9499 |
60
+ | 0.1334 | 2.0 | 1106 | 0.1648 | 0.9679 | 0.9699 | 0.9679 | 0.9679 |
61
+ | 0.0002 | 3.0 | 1659 | 0.1815 | 0.9756 | 0.9768 | 0.9756 | 0.9756 |
62
+ | 0.0002 | 4.0 | 2212 | 0.2997 | 0.9615 | 0.9643 | 0.9615 | 0.9615 |
63
+ | 0.0001 | 5.0 | 2765 | 0.2159 | 0.9769 | 0.9779 | 0.9769 | 0.9769 |
64
+ | 0.0001 | 6.0 | 3318 | 0.2038 | 0.9782 | 0.9791 | 0.9782 | 0.9782 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.52.2
70
+ - Pytorch 2.6.0+cu124
71
+ - Datasets 2.14.4
72
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 514,
16
+ "model_type": "roberta",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 1,
20
+ "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.52.2",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 50265
27
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f163373e897bf4d1d923aeb6d72be239626bee93a8a272543f8da8052950b5a7
3
+ size 498612824
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3b0ac2c2d0d026d7202a5bad41841b32ab90b71dc0e50c5d7fab0f2a30c6716
3
+ size 5240