harveenchadha
commited on
Commit
•
91d3c1e
1
Parent(s):
19b270e
Adding IndicTrans model
Browse files- config.json +33 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"M2M100ForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"d_model": 1536,
|
10 |
+
"decoder_attention_heads": 16,
|
11 |
+
"decoder_ffn_dim": 4096,
|
12 |
+
"decoder_layerdrop": 0,
|
13 |
+
"decoder_layers": 6,
|
14 |
+
"decoder_start_token_id": 2,
|
15 |
+
"dropout": 0.2,
|
16 |
+
"encoder_attention_heads": 16,
|
17 |
+
"encoder_ffn_dim": 4096,
|
18 |
+
"encoder_layerdrop": 0,
|
19 |
+
"encoder_layers": 6,
|
20 |
+
"eos_token_id": 2,
|
21 |
+
"gradient_checkpointing": false,
|
22 |
+
"init_std": 0.02,
|
23 |
+
"is_encoder_decoder": true,
|
24 |
+
"max_position_embeddings": 1024,
|
25 |
+
"model_type": "m2m_100",
|
26 |
+
"num_hidden_layers": 6,
|
27 |
+
"pad_token_id": 1,
|
28 |
+
"scale_embedding": true,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.9.1",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 44840
|
33 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fa428017d4c89b6aa1d4925a8d8935d49b497e91cd1bbd44330c4a5987717e8
|
3 |
+
size 1560141631
|