aymanosman
commited on
Commit
•
51048e3
1
Parent(s):
1d4108a
Upload model
Browse files- config.json +33 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hf-internal-testing/tiny-random-M2M100Model",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"M2M100Model"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"d_model": 16,
|
11 |
+
"decoder_attention_heads": 4,
|
12 |
+
"decoder_ffn_dim": 4,
|
13 |
+
"decoder_layerdrop": 0.0,
|
14 |
+
"decoder_layers": 2,
|
15 |
+
"decoder_start_token_id": 2,
|
16 |
+
"dropout": 0.1,
|
17 |
+
"encoder_attention_heads": 4,
|
18 |
+
"encoder_ffn_dim": 4,
|
19 |
+
"encoder_layerdrop": 0.0,
|
20 |
+
"encoder_layers": 2,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"init_std": 0.02,
|
23 |
+
"is_encoder_decoder": true,
|
24 |
+
"max_position_embeddings": 20,
|
25 |
+
"model_type": "m2m_100",
|
26 |
+
"num_hidden_layers": 2,
|
27 |
+
"pad_token_id": 1,
|
28 |
+
"scale_embedding": true,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.42.4",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 128112
|
33 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1060268de143397a920b10f29b6d2de7d8164e801d88612a3335bdbee569db51
|
3 |
+
size 8237992
|