AfterRain007
commited on
Commit
·
b51eb01
1
Parent(s):
96d9e89
cryptobertRefined
Browse files- README.md +72 -0
- config.json +39 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ElKulako/cryptobert
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: results
|
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 |
+
# results
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [ElKulako/cryptobert](https://huggingface.co/ElKulako/cryptobert) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.8983
|
23 |
+
- Accuracy: 0.6433
|
24 |
+
- Precision: 0.6614
|
25 |
+
- Recall: 0.6433
|
26 |
+
- F1: 0.6461
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 3.5e-05
|
46 |
+
- train_batch_size: 32
|
47 |
+
- eval_batch_size: 32
|
48 |
+
- seed: 69420
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_steps: 500
|
52 |
+
- num_epochs: 5
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
58 |
+
| 0.9586 | 0.19 | 100 | 0.8746 | 0.6033 | 0.5990 | 0.6033 | 0.5944 |
|
59 |
+
| 0.7362 | 0.38 | 200 | 0.8187 | 0.63 | 0.6322 | 0.63 | 0.6232 |
|
60 |
+
| 0.577 | 0.57 | 300 | 0.8065 | 0.6767 | 0.6821 | 0.6767 | 0.6761 |
|
61 |
+
| 0.4632 | 0.76 | 400 | 0.8437 | 0.63 | 0.6411 | 0.63 | 0.6321 |
|
62 |
+
| 0.3243 | 0.95 | 500 | 0.8983 | 0.6433 | 0.6614 | 0.6433 | 0.6461 |
|
63 |
+
| 0.2257 | 1.14 | 600 | 1.3704 | 0.6033 | 0.6863 | 0.6033 | 0.6046 |
|
64 |
+
| 0.1333 | 1.33 | 700 | 1.2951 | 0.6033 | 0.6201 | 0.6033 | 0.6052 |
|
65 |
+
| 0.0574 | 1.52 | 800 | 1.5119 | 0.6333 | 0.6331 | 0.6333 | 0.6309 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.35.2
|
71 |
+
- Pytorch 2.1.0+cu118
|
72 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ElKulako/cryptobert",
|
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": "Bearish",
|
16 |
+
"1": "Neutral",
|
17 |
+
"2": "Bullish"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"Bearish": 0,
|
23 |
+
"Bullish": 2,
|
24 |
+
"Neutral": 1
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"max_position_embeddings": 514,
|
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 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.35.2",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50414
|
39 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:487aaa0fcb01e6cd53220d550de02291576acd98af25863f9b92aaa086ec18f3
|
3 |
+
size 499073628
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b2a260ff67d8f2963077a1016f76ce32d4aaa23d7d788ac51376f8ed11072b9
|
3 |
+
size 4536
|