Training in progress epoch 0
Browse files- README.md +54 -0
- config.json +87 -0
- logs/train/events.out.tfevents.1675250988.ccc0feeed819.6436.0.v2 +3 -0
- logs/validation/events.out.tfevents.1675252386.ccc0feeed819.6436.1.v2 +3 -0
- merges.txt +0 -0
- special_tokens_map.json +20 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +27 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: huynhdoo/flaubert_base_uncased-finetuned-CLS
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# huynhdoo/flaubert_base_uncased-finetuned-CLS
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [flaubert/flaubert_base_uncased](https://huggingface.co/flaubert/flaubert_base_uncased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.5561
|
18 |
+
- Validation Loss: 0.3184
|
19 |
+
- Train Accuracy: 0.8589
|
20 |
+
- Epoch: 0
|
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 |
+
- optimizer: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 669, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
|
40 |
+
- training_precision: float32
|
41 |
+
|
42 |
+
### Training results
|
43 |
+
|
44 |
+
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
45 |
+
|:----------:|:---------------:|:--------------:|:-----:|
|
46 |
+
| 0.5561 | 0.3184 | 0.8589 | 0 |
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.26.0
|
52 |
+
- TensorFlow 2.9.2
|
53 |
+
- Datasets 2.9.0
|
54 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "flaubert/flaubert_base_uncased",
|
3 |
+
"amp": 1,
|
4 |
+
"architectures": [
|
5 |
+
"FlaubertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"asm": false,
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_index": 0,
|
10 |
+
"bos_token_id": 0,
|
11 |
+
"bptt": 512,
|
12 |
+
"causal": false,
|
13 |
+
"clip_grad_norm": 5,
|
14 |
+
"dropout": 0.1,
|
15 |
+
"emb_dim": 768,
|
16 |
+
"embed_init_std": 0.02209708691207961,
|
17 |
+
"encoder_only": true,
|
18 |
+
"end_n_top": 5,
|
19 |
+
"eos_index": 1,
|
20 |
+
"fp16": true,
|
21 |
+
"gelu_activation": true,
|
22 |
+
"group_by_size": true,
|
23 |
+
"id2label": {
|
24 |
+
"0": "negative",
|
25 |
+
"1": "positive"
|
26 |
+
},
|
27 |
+
"id2lang": {
|
28 |
+
"0": "fr"
|
29 |
+
},
|
30 |
+
"init_std": 0.02,
|
31 |
+
"is_encoder": true,
|
32 |
+
"label2id": {
|
33 |
+
"negative": 0,
|
34 |
+
"positive": 1
|
35 |
+
},
|
36 |
+
"lang2id": {
|
37 |
+
"fr": 0
|
38 |
+
},
|
39 |
+
"lang_id": 0,
|
40 |
+
"langs": [
|
41 |
+
"fr"
|
42 |
+
],
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"layerdrop": 0.0,
|
45 |
+
"lg_sampling_factor": -1,
|
46 |
+
"lgs": "fr",
|
47 |
+
"mask_index": 5,
|
48 |
+
"mask_token_id": 0,
|
49 |
+
"max_batch_size": 0,
|
50 |
+
"max_position_embeddings": 512,
|
51 |
+
"max_vocab": -1,
|
52 |
+
"mlm_steps": [
|
53 |
+
[
|
54 |
+
"fr",
|
55 |
+
null
|
56 |
+
]
|
57 |
+
],
|
58 |
+
"model_type": "flaubert",
|
59 |
+
"n_heads": 12,
|
60 |
+
"n_langs": 1,
|
61 |
+
"n_layers": 12,
|
62 |
+
"pad_index": 2,
|
63 |
+
"pad_token_id": 2,
|
64 |
+
"pre_norm": false,
|
65 |
+
"sample_alpha": 0,
|
66 |
+
"share_inout_emb": true,
|
67 |
+
"sinusoidal_embeddings": false,
|
68 |
+
"start_n_top": 5,
|
69 |
+
"summary_activation": null,
|
70 |
+
"summary_first_dropout": 0.1,
|
71 |
+
"summary_proj_to_labels": true,
|
72 |
+
"summary_type": "first",
|
73 |
+
"summary_use_proj": true,
|
74 |
+
"tokens_per_batch": -1,
|
75 |
+
"transformers_version": "4.26.0",
|
76 |
+
"unk_index": 3,
|
77 |
+
"use_lang_emb": true,
|
78 |
+
"vocab_size": 67542,
|
79 |
+
"word_blank": 0,
|
80 |
+
"word_dropout": 0,
|
81 |
+
"word_keep": 0.1,
|
82 |
+
"word_mask": 0.8,
|
83 |
+
"word_mask_keep_rand": "0.8,0.1,0.1",
|
84 |
+
"word_pred": 0.15,
|
85 |
+
"word_rand": 0.1,
|
86 |
+
"word_shuffle": 0
|
87 |
+
}
|
logs/train/events.out.tfevents.1675250988.ccc0feeed819.6436.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b8b621649f6679aaab1c3cf05b8168ab59b9d905a0c1d25674688e8c1a4233e
|
3 |
+
size 2606025
|
logs/validation/events.out.tfevents.1675252386.ccc0feeed819.6436.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adbfd22b5b66b1daaf746f600ba9aadc1436b5880a07e3e03698f3053e2db4c2
|
3 |
+
size 194
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<special0>",
|
4 |
+
"<special1>",
|
5 |
+
"<special2>",
|
6 |
+
"<special3>",
|
7 |
+
"<special4>",
|
8 |
+
"<special5>",
|
9 |
+
"<special6>",
|
10 |
+
"<special7>",
|
11 |
+
"<special8>",
|
12 |
+
"<special9>"
|
13 |
+
],
|
14 |
+
"bos_token": "<s>",
|
15 |
+
"cls_token": "</s>",
|
16 |
+
"mask_token": "<special1>",
|
17 |
+
"pad_token": "<pad>",
|
18 |
+
"sep_token": "</s>",
|
19 |
+
"unk_token": "<unk>"
|
20 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80376a302861b0711517e7647bee7057f17944ba71f2098f6268369dee1447cd
|
3 |
+
size 549514736
|
tokenizer_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<special0>",
|
4 |
+
"<special1>",
|
5 |
+
"<special2>",
|
6 |
+
"<special3>",
|
7 |
+
"<special4>",
|
8 |
+
"<special5>",
|
9 |
+
"<special6>",
|
10 |
+
"<special7>",
|
11 |
+
"<special8>",
|
12 |
+
"<special9>"
|
13 |
+
],
|
14 |
+
"bos_token": "<s>",
|
15 |
+
"cls_token": "</s>",
|
16 |
+
"do_lower_case": true,
|
17 |
+
"id2lang": null,
|
18 |
+
"lang2id": null,
|
19 |
+
"mask_token": "<special1>",
|
20 |
+
"model_max_length": 512,
|
21 |
+
"name_or_path": "flaubert/flaubert_base_uncased",
|
22 |
+
"pad_token": "<pad>",
|
23 |
+
"sep_token": "</s>",
|
24 |
+
"special_tokens_map_file": null,
|
25 |
+
"tokenizer_class": "FlaubertTokenizer",
|
26 |
+
"unk_token": "<unk>"
|
27 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|