xlm-clm-enfr-1024 / config.json
system's picture
system HF staff
Update config.json
71a65ec
{
"architectures": [
"XLMWithLMHeadModel"
],
"asm": false,
"attention_dropout": 0.1,
"bos_index": 0,
"bos_token_id": 0,
"causal": false,
"dropout": 0.1,
"emb_dim": 1024,
"embed_init_std": 0.02209708691207961,
"end_n_top": 5,
"eos_index": 1,
"gelu_activation": true,
"id2lang": {
"0": "en",
"1": "fr"
},
"init_std": 0.02,
"is_encoder": true,
"lang2id": {
"en": 0,
"fr": 1
},
"lang_id": 0,
"layer_norm_eps": 1e-12,
"mask_index": 5,
"mask_token_id": 0,
"max_position_embeddings": 512,
"max_vocab": -1,
"min_count": 0,
"model_type": "xlm",
"n_heads": 8,
"n_langs": 2,
"n_layers": 6,
"pad_index": 2,
"pad_token_id": 2,
"same_enc_dec": true,
"share_inout_emb": true,
"sinusoidal_embeddings": false,
"start_n_top": 5,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "first",
"summary_use_proj": true,
"unk_index": 3,
"use_lang_emb": true,
"vocab_size": 64139
}