End of training
Browse files- README.md +62 -0
- config.json +63 -0
- generation_config.json +14 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Nov18_22-19-59_bd882ffc99aa/events.out.tfevents.1731968402.bd882ffc99aa.454.0 +3 -0
- runs/Nov18_22-19-59_bd882ffc99aa/events.out.tfevents.1731969310.bd882ffc99aa.454.1 +3 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +43 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/blenderbot_small-90M
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- eli5_category
|
9 |
+
model-index:
|
10 |
+
- name: text_model_blenderbot
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# text_model_blenderbot
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/blenderbot_small-90M](https://huggingface.co/facebook/blenderbot_small-90M) on the eli5_category dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0598
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 3.0
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 0.1209 | 1.0 | 1356 | 0.0663 |
|
53 |
+
| 0.0627 | 2.0 | 2712 | 0.0603 |
|
54 |
+
| 0.0623 | 3.0 | 4068 | 0.0598 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.46.2
|
60 |
+
- Pytorch 2.5.1+cu121
|
61 |
+
- Datasets 3.1.0
|
62 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/blenderbot_small-90M",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BlenderbotSmallForCausalLM"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 512,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_ffn_dim": 2048,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 8,
|
19 |
+
"decoder_start_token_id": 1,
|
20 |
+
"do_blenderbot_90_layernorm": true,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 16,
|
23 |
+
"encoder_ffn_dim": 2048,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 8,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"extra_pos_embeddings": 0,
|
28 |
+
"force_bos_token_to_be_generated": false,
|
29 |
+
"forced_eos_token_id": 2,
|
30 |
+
"gradient_checkpointing": false,
|
31 |
+
"id2label": {
|
32 |
+
"0": "LABEL_0",
|
33 |
+
"1": "LABEL_1",
|
34 |
+
"2": "LABEL_2"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"is_decoder": true,
|
38 |
+
"is_encoder_decoder": false,
|
39 |
+
"label2id": {
|
40 |
+
"LABEL_0": 0,
|
41 |
+
"LABEL_1": 1,
|
42 |
+
"LABEL_2": 2
|
43 |
+
},
|
44 |
+
"layernorm_variant": "xlm",
|
45 |
+
"length_penalty": null,
|
46 |
+
"max_length": null,
|
47 |
+
"max_position_embeddings": 512,
|
48 |
+
"min_length": null,
|
49 |
+
"model_type": "blenderbot-small",
|
50 |
+
"no_repeat_ngram_size": null,
|
51 |
+
"normalize_before": false,
|
52 |
+
"normalize_embedding": true,
|
53 |
+
"num_beams": null,
|
54 |
+
"num_hidden_layers": 8,
|
55 |
+
"pad_token_id": 0,
|
56 |
+
"scale_embedding": true,
|
57 |
+
"static_position_embeddings": false,
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.46.2",
|
60 |
+
"unk_token_id": 3,
|
61 |
+
"use_cache": true,
|
62 |
+
"vocab_size": 54944
|
63 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"decoder_start_token_id": 1,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"length_penalty": 0.65,
|
8 |
+
"max_length": 128,
|
9 |
+
"min_length": 20,
|
10 |
+
"no_repeat_ngram_size": 3,
|
11 |
+
"num_beams": 10,
|
12 |
+
"pad_token_id": 0,
|
13 |
+
"transformers_version": "4.46.2"
|
14 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e20e1ea6e841e2b487602ddae9740c5c8c8d9680b59f0145e63d8ea3a6d9eb8c
|
3 |
+
size 248131760
|
runs/Nov18_22-19-59_bd882ffc99aa/events.out.tfevents.1731968402.bd882ffc99aa.454.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d28ea991fc342a6454732156125b92093499c5e6ae1ddad584083e460c13a85e
|
3 |
+
size 8836
|
runs/Nov18_22-19-59_bd882ffc99aa/events.out.tfevents.1731969310.bd882ffc99aa.454.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:457133adf6839658daa93019332af27efb6aae190eb24d2ee2d59f5e8b3bccf6
|
3 |
+
size 359
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "__start__",
|
3 |
+
"eos_token": "__end__",
|
4 |
+
"pad_token": "__end__",
|
5 |
+
"unk_token": "__unk__"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "__null__",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "__start__",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "__end__",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "__unk__",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"bos_token": "__start__",
|
37 |
+
"clean_up_tokenization_spaces": false,
|
38 |
+
"eos_token": "__end__",
|
39 |
+
"model_max_length": 512,
|
40 |
+
"pad_token": "__end__",
|
41 |
+
"tokenizer_class": "BlenderbotSmallTokenizer",
|
42 |
+
"unk_token": "__unk__"
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26da6f434d14ddd9b72f06ed3d62059ce573730154a03d150be7a4551a2d99f1
|
3 |
+
size 5304
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|