Upload folder using huggingface_hub
Browse files- config.json +46 -0
- generation_config.json +6 -0
- onnx/model.onnx +3 -0
config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "hf-internal-testing/tiny-random-XLMWithLMHeadModel",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"XLMWithLMHeadModel"
|
| 6 |
+
],
|
| 7 |
+
"asm": false,
|
| 8 |
+
"attention_dropout": 0.1,
|
| 9 |
+
"bos_index": 0,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"causal": false,
|
| 12 |
+
"dropout": 0.1,
|
| 13 |
+
"emb_dim": 32,
|
| 14 |
+
"embed_init_std": 0.02209708691207961,
|
| 15 |
+
"end_n_top": 5,
|
| 16 |
+
"eos_index": 1,
|
| 17 |
+
"gelu_activation": true,
|
| 18 |
+
"init_std": 0.02,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"is_decoder": true,
|
| 21 |
+
"is_encoder": true,
|
| 22 |
+
"lang_id": 0,
|
| 23 |
+
"layer_norm_eps": 1e-12,
|
| 24 |
+
"mask_index": 5,
|
| 25 |
+
"mask_token_id": 5,
|
| 26 |
+
"max_position_embeddings": 512,
|
| 27 |
+
"model_type": "xlm",
|
| 28 |
+
"n_heads": 4,
|
| 29 |
+
"n_langs": 2,
|
| 30 |
+
"n_layers": 5,
|
| 31 |
+
"n_special": 0,
|
| 32 |
+
"pad_index": 2,
|
| 33 |
+
"pad_token_id": 2,
|
| 34 |
+
"sinusoidal_embeddings": false,
|
| 35 |
+
"start_n_top": 5,
|
| 36 |
+
"summary_activation": null,
|
| 37 |
+
"summary_first_dropout": 0.1,
|
| 38 |
+
"summary_proj_to_labels": true,
|
| 39 |
+
"summary_type": "last",
|
| 40 |
+
"summary_use_proj": true,
|
| 41 |
+
"transformers_version": "4.48.2",
|
| 42 |
+
"unk_index": 3,
|
| 43 |
+
"use_lang_emb": true,
|
| 44 |
+
"use_proj": true,
|
| 45 |
+
"vocab_size": 30145
|
| 46 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"pad_token_id": 2,
|
| 5 |
+
"transformers_version": "4.48.2"
|
| 6 |
+
}
|
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9019e12f9320e489889a4aba2bcb6aecfcb55a8f9d286ad61828ccd85992d454
|
| 3 |
+
size 4380338
|