End of training
Browse files- README.md +68 -0
- config.json +43 -0
- model.safetensors +3 -0
- runs/Apr22_14-02-05_6d1c6b346db0/events.out.tfevents.1713794527.6d1c6b346db0.674.1 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: r1char9/rubert-base-cased-russian-sentiment
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: ru_sentiment_classification_model
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# ru_sentiment_classification_model
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [r1char9/rubert-base-cased-russian-sentiment](https://huggingface.co/r1char9/rubert-base-cased-russian-sentiment) on an unknown dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.8975
|
| 24 |
+
- Accuracy: 0.72
|
| 25 |
+
- Precision: 0.7047
|
| 26 |
+
- Recall: 0.72
|
| 27 |
+
- F1: 0.7086
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 5e-05
|
| 47 |
+
- train_batch_size: 8
|
| 48 |
+
- eval_batch_size: 8
|
| 49 |
+
- seed: 42
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- num_epochs: 3.0
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 58 |
+
| No log | 1.0 | 13 | 0.6573 | 0.7 | 0.6577 | 0.7 | 0.6561 |
|
| 59 |
+
| No log | 2.0 | 26 | 0.8104 | 0.71 | 0.6912 | 0.71 | 0.6956 |
|
| 60 |
+
| No log | 3.0 | 39 | 0.8975 | 0.72 | 0.7047 | 0.72 | 0.7086 |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
### Framework versions
|
| 64 |
+
|
| 65 |
+
- Transformers 4.38.2
|
| 66 |
+
- Pytorch 2.2.1+cu121
|
| 67 |
+
- Datasets 2.19.0
|
| 68 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "r1char9/rubert-base-cased-russian-sentiment",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "neutral",
|
| 14 |
+
"1": "positive",
|
| 15 |
+
"2": "negative"
|
| 16 |
+
},
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 3072,
|
| 19 |
+
"label2id": {
|
| 20 |
+
"negative": 2,
|
| 21 |
+
"neutral": 0,
|
| 22 |
+
"positive": 1
|
| 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 |
+
"output_past": true,
|
| 30 |
+
"pad_token_id": 0,
|
| 31 |
+
"pooler_fc_size": 768,
|
| 32 |
+
"pooler_num_attention_heads": 12,
|
| 33 |
+
"pooler_num_fc_layers": 3,
|
| 34 |
+
"pooler_size_per_head": 128,
|
| 35 |
+
"pooler_type": "first_token_transform",
|
| 36 |
+
"position_embedding_type": "absolute",
|
| 37 |
+
"problem_type": "single_label_classification",
|
| 38 |
+
"torch_dtype": "float32",
|
| 39 |
+
"transformers_version": "4.38.2",
|
| 40 |
+
"type_vocab_size": 2,
|
| 41 |
+
"use_cache": true,
|
| 42 |
+
"vocab_size": 119547
|
| 43 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60632ec1c444339c4d60065f0bc3053b9ce90d4f4c72e7631c3c0e7125e1eb1a
|
| 3 |
+
size 711446532
|
runs/Apr22_14-02-05_6d1c6b346db0/events.out.tfevents.1713794527.6d1c6b346db0.674.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54b3021d0387d2c8dc12e6de0ac761a1a4739bfda194e82c833593420c075eff
|
| 3 |
+
size 6797
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23f628581c7b1e4689d4c9b490c028be5c432782129bc09b165718e89be00b2a
|
| 3 |
+
size 4920
|