Delete sentiment_classification
Browse files
sentiment_classification/README.md
DELETED
@@ -1,70 +0,0 @@
|
|
1 |
-
---
|
2 |
-
tags:
|
3 |
-
- generated_from_trainer
|
4 |
-
datasets:
|
5 |
-
- financial_phrasebank
|
6 |
-
metrics:
|
7 |
-
- accuracy
|
8 |
-
model-index:
|
9 |
-
- name: sentiment_classification
|
10 |
-
results:
|
11 |
-
- task:
|
12 |
-
name: Text Classification
|
13 |
-
type: text-classification
|
14 |
-
dataset:
|
15 |
-
name: financial_phrasebank
|
16 |
-
type: financial_phrasebank
|
17 |
-
config: sentences_66agree
|
18 |
-
split: train
|
19 |
-
args: sentences_66agree
|
20 |
-
metrics:
|
21 |
-
- name: Accuracy
|
22 |
-
type: accuracy
|
23 |
-
value: 0.9265402843601895
|
24 |
-
---
|
25 |
-
|
26 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
-
should probably proofread and complete it, then remove this comment. -->
|
28 |
-
|
29 |
-
# sentiment_classification
|
30 |
-
|
31 |
-
This model is a fine-tuned version of [SALT-NLP/FLANG-Roberta](https://huggingface.co/SALT-NLP/FLANG-Roberta) on the financial_phrasebank dataset.
|
32 |
-
It achieves the following results on the evaluation set:
|
33 |
-
- Loss: 0.4541
|
34 |
-
- Accuracy: 0.9265
|
35 |
-
|
36 |
-
## Model description
|
37 |
-
|
38 |
-
More information needed
|
39 |
-
|
40 |
-
## Intended uses & limitations
|
41 |
-
|
42 |
-
More information needed
|
43 |
-
|
44 |
-
## Training and evaluation data
|
45 |
-
|
46 |
-
More information needed
|
47 |
-
|
48 |
-
## Training procedure
|
49 |
-
|
50 |
-
### Training hyperparameters
|
51 |
-
|
52 |
-
The following hyperparameters were used during training:
|
53 |
-
- learning_rate: 5e-05
|
54 |
-
- train_batch_size: 8
|
55 |
-
- eval_batch_size: 8
|
56 |
-
- seed: 42
|
57 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
-
- lr_scheduler_type: linear
|
59 |
-
- num_epochs: 6
|
60 |
-
|
61 |
-
### Training results
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
### Framework versions
|
66 |
-
|
67 |
-
- Transformers 4.24.0
|
68 |
-
- Pytorch 1.12.1+cu113
|
69 |
-
- Datasets 2.7.1
|
70 |
-
- Tokenizers 0.13.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sentiment_classification/config.json
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "SALT-NLP/FLANG-Roberta",
|
3 |
-
"architectures": [
|
4 |
-
"RobertaForSequenceClassification"
|
5 |
-
],
|
6 |
-
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"bos_token_id": 0,
|
8 |
-
"classifier_dropout": null,
|
9 |
-
"eos_token_id": 2,
|
10 |
-
"gradient_checkpointing": false,
|
11 |
-
"hidden_act": "gelu",
|
12 |
-
"hidden_dropout_prob": 0.1,
|
13 |
-
"hidden_size": 768,
|
14 |
-
"id2label": {
|
15 |
-
"0": "LABEL_0",
|
16 |
-
"1": "LABEL_1",
|
17 |
-
"2": "LABEL_2"
|
18 |
-
},
|
19 |
-
"initializer_range": 0.02,
|
20 |
-
"intermediate_size": 3072,
|
21 |
-
"label2id": {
|
22 |
-
"LABEL_0": 0,
|
23 |
-
"LABEL_1": 1,
|
24 |
-
"LABEL_2": 2
|
25 |
-
},
|
26 |
-
"layer_norm_eps": 1e-05,
|
27 |
-
"max_position_embeddings": 130,
|
28 |
-
"model_type": "roberta",
|
29 |
-
"num_attention_heads": 12,
|
30 |
-
"num_hidden_layers": 12,
|
31 |
-
"pad_token_id": 1,
|
32 |
-
"position_embedding_type": "absolute",
|
33 |
-
"problem_type": "single_label_classification",
|
34 |
-
"tokenizer_class": "BertweetTokenizer",
|
35 |
-
"torch_dtype": "float32",
|
36 |
-
"transformers_version": "4.24.0",
|
37 |
-
"type_vocab_size": 1,
|
38 |
-
"use_cache": true,
|
39 |
-
"vocab_size": 64001
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sentiment_classification/pytorch_model.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9fd81fe0daa6e59fbbef7d16eedde0088bd9d0e5dcf9e515e97f136c8330d0e5
|
3 |
-
size 539677677
|
|
|
|
|
|
|
|
sentiment_classification/training_args.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:74b6cf616d4acd3f737dfb484a4d70d445c0dba80e35bc3fcbbc451f5b8eed91
|
3 |
-
size 3439
|
|
|
|
|
|
|
|