b3x0m commited on
Commit
61cff74
·
verified ·
1 Parent(s): 597de1d

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +57 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "chi-vi/hirashiba-mt-tiny-zh-vi",
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": 256,
16
+ "decoder_attention_heads": 4,
17
+ "decoder_ffn_dim": 1024,
18
+ "decoder_layerdrop": 0.0,
19
+ "decoder_layers": 4,
20
+ "decoder_start_token_id": 29066,
21
+ "decoder_vocab_size": 29067,
22
+ "dropout": 0.1,
23
+ "encoder_attention_heads": 4,
24
+ "encoder_ffn_dim": 1024,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 4,
27
+ "eos_token_id": 0,
28
+ "extra_pos_embeddings": 29067,
29
+ "forced_eos_token_id": 0,
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": 4,
49
+ "pad_token_id": 29066,
50
+ "scale_embedding": true,
51
+ "share_encoder_decoder_embeddings": true,
52
+ "static_position_embeddings": true,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.49.0",
55
+ "use_cache": true,
56
+ "vocab_size": 29067
57
+ }