MrFrijo commited on
Commit
37ae045
·
verified ·
1 Parent(s): d56382a

Upload model

Browse files
Files changed (4) hide show
  1. README.md +14 -14
  2. config.json +57 -62
  3. generation_config.json +16 -16
  4. model.safetensors +1 -1
README.md CHANGED
@@ -1,17 +1,17 @@
1
- ---
2
- license: mit
3
- language:
4
- - ln
5
- - fr
6
- metrics:
7
- - bleu
8
- base_model:
9
- - Helsinki-NLP/opus-mt-fr-en
10
- pipeline_tag: translation
11
- library_name: transformers
12
- tags:
13
- - traduction
14
- ---
15
 
16
  # Mon Modèle de Traduction
17
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - ln
5
+ - fr
6
+ metrics:
7
+ - bleu
8
+ base_model:
9
+ - Helsinki-NLP/opus-mt-fr-en
10
+ pipeline_tag: translation
11
+ library_name: transformers
12
+ tags:
13
+ - traduction
14
+ ---
15
 
16
  # Mon Modèle de Traduction
17
 
config.json CHANGED
@@ -1,62 +1,57 @@
1
- {
2
- "_name_or_path": "D:\\Traduction Automatique\\translation_fr_li_model",
3
- "_num_labels": 3,
4
- "activation_dropout": 0.0,
5
- "activation_function": "swish",
6
- "add_bias_logits": false,
7
- "add_final_layer_norm": false,
8
- "architectures": [
9
- "MarianMTModel"
10
- ],
11
- "attention_dropout": 0.0,
12
- "bad_words_ids": [
13
- [
14
- 59513
15
- ]
16
- ],
17
- "bos_token_id": 0,
18
- "classif_dropout": 0.0,
19
- "classifier_dropout": 0.0,
20
- "d_model": 512,
21
- "decoder_attention_heads": 8,
22
- "decoder_ffn_dim": 2048,
23
- "decoder_layerdrop": 0.0,
24
- "decoder_layers": 6,
25
- "decoder_start_token_id": 59513,
26
- "decoder_vocab_size": 59514,
27
- "dropout": 0.1,
28
- "encoder_attention_heads": 8,
29
- "encoder_ffn_dim": 2048,
30
- "encoder_layerdrop": 0.0,
31
- "encoder_layers": 6,
32
- "eos_token_id": 0,
33
- "forced_eos_token_id": 0,
34
- "gradient_checkpointing": false,
35
- "id2label": {
36
- "0": "LABEL_0",
37
- "1": "LABEL_1",
38
- "2": "LABEL_2"
39
- },
40
- "init_std": 0.02,
41
- "is_encoder_decoder": true,
42
- "label2id": {
43
- "LABEL_0": 0,
44
- "LABEL_1": 1,
45
- "LABEL_2": 2
46
- },
47
- "max_length": 512,
48
- "max_position_embeddings": 512,
49
- "model_type": "marian",
50
- "normalize_before": false,
51
- "normalize_embedding": false,
52
- "num_beams": 4,
53
- "num_hidden_layers": 6,
54
- "pad_token_id": 59513,
55
- "scale_embedding": true,
56
- "share_encoder_decoder_embeddings": true,
57
- "static_position_embeddings": true,
58
- "torch_dtype": "float32",
59
- "transformers_version": "4.38.2",
60
- "use_cache": true,
61
- "vocab_size": 59514
62
- }
 
1
+ {
2
+ "_name_or_path": "MrFrijo/LiAPI",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bos_token_id": 0,
13
+ "classif_dropout": 0.0,
14
+ "classifier_dropout": 0.0,
15
+ "d_model": 512,
16
+ "decoder_attention_heads": 8,
17
+ "decoder_ffn_dim": 2048,
18
+ "decoder_layerdrop": 0.0,
19
+ "decoder_layers": 6,
20
+ "decoder_start_token_id": 59513,
21
+ "decoder_vocab_size": 59514,
22
+ "dropout": 0.1,
23
+ "encoder_attention_heads": 8,
24
+ "encoder_ffn_dim": 2048,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "eos_token_id": 0,
28
+ "forced_eos_token_id": 0,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "max_length": null,
43
+ "max_position_embeddings": 512,
44
+ "model_type": "marian",
45
+ "normalize_before": false,
46
+ "normalize_embedding": false,
47
+ "num_beams": null,
48
+ "num_hidden_layers": 6,
49
+ "pad_token_id": 59513,
50
+ "scale_embedding": true,
51
+ "share_encoder_decoder_embeddings": true,
52
+ "static_position_embeddings": true,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.47.1",
55
+ "use_cache": true,
56
+ "vocab_size": 59514
57
+ }
 
 
 
 
 
generation_config.json CHANGED
@@ -1,16 +1,16 @@
1
- {
2
- "bad_words_ids": [
3
- [
4
- 59513
5
- ]
6
- ],
7
- "bos_token_id": 0,
8
- "decoder_start_token_id": 59513,
9
- "eos_token_id": 0,
10
- "forced_eos_token_id": 0,
11
- "max_length": 512,
12
- "num_beams": 4,
13
- "pad_token_id": 59513,
14
- "renormalize_logits": true,
15
- "transformers_version": "4.38.2"
16
- }
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 59513
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 59513,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 59513,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.47.1"
16
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:328507192af335b8c2cf5dac6a923ba034b672afe49246866f0a5167c2294dd2
3
  size 298705768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1946a136f1bc5c08c79954bdf1b9bc6b1771ad72df262aaf8c7e02179810c87c
3
  size 298705768