alan2saji commited on
Commit
87b47ac
1 Parent(s): fba8577

Upload IndicTransForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +44 -0
  2. generation_config.json +8 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ai4bharat/indictrans2-indic-en-1B",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "IndicTransForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "ai4bharat/indictrans2-indic-en-1B--configuration_indictrans.IndicTransConfig",
11
+ "AutoModelForSeq2SeqLM": "ai4bharat/indictrans2-indic-en-1B--modeling_indictrans.IndicTransForConditionalGeneration"
12
+ },
13
+ "bos_token_id": 0,
14
+ "decoder_attention_heads": 16,
15
+ "decoder_embed_dim": 1024,
16
+ "decoder_ffn_dim": 8192,
17
+ "decoder_layerdrop": 0,
18
+ "decoder_layers": 18,
19
+ "decoder_normalize_before": true,
20
+ "decoder_start_token_id": 2,
21
+ "decoder_vocab_size": 32296,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 16,
24
+ "encoder_embed_dim": 1024,
25
+ "encoder_ffn_dim": 8192,
26
+ "encoder_layerdrop": 0,
27
+ "encoder_layers": 18,
28
+ "encoder_normalize_before": true,
29
+ "encoder_vocab_size": 122706,
30
+ "eos_token_id": 2,
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "layernorm_embedding": false,
34
+ "max_source_positions": 256,
35
+ "max_target_positions": 256,
36
+ "model_type": "IndicTrans",
37
+ "num_hidden_layers": 18,
38
+ "pad_token_id": 1,
39
+ "scale_embedding": true,
40
+ "share_decoder_input_output_embed": false,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.33.2",
43
+ "use_cache": true
44
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.33.2"
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad45a91e1bee2e2aa0bc96baf5925268b04df1967368e1b4a73e013035a3f445
3
+ size 4103024925