Rrrrrrrita/Custom_Sentiment
Browse files- README.md +56 -0
- config.json +37 -0
- model.safetensors +3 -0
- runs/May18_14-06-51_58e6634e61d9/events.out.tfevents.1716041212.58e6634e61d9.460.0 +3 -0
- runs/May18_14-06-51_58e6634e61d9/events.out.tfevents.1716041238.58e6634e61d9.460.1 +3 -0
- runs/May18_14-07-33_58e6634e61d9/events.out.tfevents.1716041253.58e6634e61d9.460.2 +3 -0
- runs/May18_14-07-33_58e6634e61d9/events.out.tfevents.1716041275.58e6634e61d9.460.3 +3 -0
- runs/May18_14-08-21_58e6634e61d9/events.out.tfevents.1716041302.58e6634e61d9.460.4 +3 -0
- runs/May18_14-08-21_58e6634e61d9/events.out.tfevents.1716041323.58e6634e61d9.460.5 +3 -0
- runs/May18_14-09-36_58e6634e61d9/events.out.tfevents.1716041377.58e6634e61d9.460.6 +3 -0
- runs/May18_14-09-36_58e6634e61d9/events.out.tfevents.1716041396.58e6634e61d9.460.7 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: ProsusAI/finbert
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: output
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# output
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [ProsusAI/finbert](https://huggingface.co/ProsusAI/finbert) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.3113
|
| 20 |
+
- Accuracy: 0.8812
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
+
- train_batch_size: 8
|
| 41 |
+
- eval_batch_size: 8
|
| 42 |
+
- seed: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 1
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
### Framework versions
|
| 52 |
+
|
| 53 |
+
- Transformers 4.40.2
|
| 54 |
+
- Pytorch 2.2.1+cu121
|
| 55 |
+
- Datasets 2.19.1
|
| 56 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "ProsusAI/finbert",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "positive",
|
| 14 |
+
"1": "negative",
|
| 15 |
+
"2": "neutral"
|
| 16 |
+
},
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 3072,
|
| 19 |
+
"label2id": {
|
| 20 |
+
"negative": 1,
|
| 21 |
+
"neutral": 2,
|
| 22 |
+
"positive": 0
|
| 23 |
+
},
|
| 24 |
+
"layer_norm_eps": 1e-12,
|
| 25 |
+
"max_position_embeddings": 512,
|
| 26 |
+
"model_type": "bert",
|
| 27 |
+
"num_attention_heads": 12,
|
| 28 |
+
"num_hidden_layers": 12,
|
| 29 |
+
"pad_token_id": 0,
|
| 30 |
+
"position_embedding_type": "absolute",
|
| 31 |
+
"problem_type": "single_label_classification",
|
| 32 |
+
"torch_dtype": "float32",
|
| 33 |
+
"transformers_version": "4.40.2",
|
| 34 |
+
"type_vocab_size": 2,
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"vocab_size": 30522
|
| 37 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:627a86cf09f51232e8f8d24cdd55c43d868c76d56ed091c58df1aad5817433ab
|
| 3 |
+
size 437961724
|
runs/May18_14-06-51_58e6634e61d9/events.out.tfevents.1716041212.58e6634e61d9.460.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9112fe9f9e520f3c1e700d09744174e5ffe36f4aaf25d126d30c87c5b0521bd3
|
| 3 |
+
size 5242
|
runs/May18_14-06-51_58e6634e61d9/events.out.tfevents.1716041238.58e6634e61d9.460.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49ddbdd363eb93e7b2324b3b7a62667ff56f1dfd969511264b92b33575c27e32
|
| 3 |
+
size 405
|
runs/May18_14-07-33_58e6634e61d9/events.out.tfevents.1716041253.58e6634e61d9.460.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19901d69cca2b916093eaa0859fbe8f34d97176918410485d13f4f23ebd96c08
|
| 3 |
+
size 5256
|
runs/May18_14-07-33_58e6634e61d9/events.out.tfevents.1716041275.58e6634e61d9.460.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a76bab8dc2794d4a8d863430383c803cc0cfab0490663bd39709ad06d6bac6de
|
| 3 |
+
size 405
|
runs/May18_14-08-21_58e6634e61d9/events.out.tfevents.1716041302.58e6634e61d9.460.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b22d724de57cbf16143b25ff155c9acc3bccd4ad6fc96e38c8a3908cefb4015
|
| 3 |
+
size 5148
|
runs/May18_14-08-21_58e6634e61d9/events.out.tfevents.1716041323.58e6634e61d9.460.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d22ab80932b2fd548526bee3a6b1b4a988c37f46aacdd0b7d105569a9310ff4
|
| 3 |
+
size 405
|
runs/May18_14-09-36_58e6634e61d9/events.out.tfevents.1716041377.58e6634e61d9.460.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4839e3c05d984ddab8d6f8faca12ba52d18b97ce62afbf8849d1e9186ccf9693
|
| 3 |
+
size 5148
|
runs/May18_14-09-36_58e6634e61d9/events.out.tfevents.1716041396.58e6634e61d9.460.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:754b5b511a6c9e631b476cd9305df12baf55216ed7c594ee91a4ba01f1db9be7
|
| 3 |
+
size 405
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8c36dc2421bc751496c3282f1e5b0c97376330728d9d71bd38f3d215016c821
|
| 3 |
+
size 4984
|