convaiinnovations commited on
Commit
9aef76f
·
verified ·
1 Parent(s): 0194203

Upload Hindi CausalLM model

Browse files
Files changed (1) hide show
  1. config.json +40 -27
config.json CHANGED
@@ -14,32 +14,13 @@
14
  "cross_attention_hidden_size": null,
15
  "add_cross_attention": false,
16
  "tie_encoder_decoder": false,
17
- "max_length": 20,
18
- "min_length": 0,
19
- "do_sample": false,
20
- "early_stopping": false,
21
- "num_beams": 1,
22
- "num_beam_groups": 1,
23
- "diversity_penalty": 0.0,
24
  "temperature": 1.0,
25
  "top_k": 50,
26
  "top_p": 1.0,
27
- "typical_p": 1.0,
28
  "repetition_penalty": 1.0,
29
- "length_penalty": 1.0,
30
- "no_repeat_ngram_size": 0,
31
- "encoder_no_repeat_ngram_size": 0,
32
- "bad_words_ids": null,
33
- "num_return_sequences": 1,
34
- "output_scores": false,
35
- "return_dict_in_generate": false,
36
- "forced_bos_token_id": null,
37
- "forced_eos_token_id": null,
38
- "remove_invalid_values": false,
39
- "exponential_decay_length_penalty": null,
40
- "suppress_tokens": null,
41
- "begin_suppress_tokens": null,
42
- "architectures": null,
43
  "finetuning_task": null,
44
  "id2label": {
45
  "0": "LABEL_0",
@@ -51,12 +32,40 @@
51
  },
52
  "tokenizer_class": null,
53
  "prefix": null,
54
- "bos_token_id": null,
55
- "pad_token_id": null,
56
- "eos_token_id": null,
57
  "sep_token_id": null,
58
  "decoder_start_token_id": null,
59
- "task_specific_params": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  "problem_type": null,
61
  "_name_or_path": "",
62
  "_attn_implementation_autoset": true,
@@ -69,5 +78,9 @@
69
  "intermediate_size": 3072,
70
  "hidden_act": "silu",
71
  "max_position_embeddings": 512,
72
- "model_type": "convaicausallm"
 
 
 
 
73
  }
 
14
  "cross_attention_hidden_size": null,
15
  "add_cross_attention": false,
16
  "tie_encoder_decoder": false,
 
 
 
 
 
 
 
17
  "temperature": 1.0,
18
  "top_k": 50,
19
  "top_p": 1.0,
 
20
  "repetition_penalty": 1.0,
21
+ "architectures": [
22
+ "ConvaiCausalLM"
23
+ ],
 
 
 
 
 
 
 
 
 
 
 
24
  "finetuning_task": null,
25
  "id2label": {
26
  "0": "LABEL_0",
 
32
  },
33
  "tokenizer_class": null,
34
  "prefix": null,
35
+ "bos_token_id": 1,
36
+ "pad_token_id": 0,
37
+ "eos_token_id": 2,
38
  "sep_token_id": null,
39
  "decoder_start_token_id": null,
40
+ "task_specific_params": {
41
+ "text-generation": {
42
+ "max_length": 20,
43
+ "min_length": 0,
44
+ "do_sample": false,
45
+ "early_stopping": false,
46
+ "num_beams": 1,
47
+ "num_beam_groups": 1,
48
+ "diversity_penalty": 0.0,
49
+ "temperature": 1.0,
50
+ "top_k": 50,
51
+ "top_p": 1.0,
52
+ "typical_p": 1.0,
53
+ "repetition_penalty": 1.0,
54
+ "length_penalty": 1.0,
55
+ "no_repeat_ngram_size": 0,
56
+ "encoder_no_repeat_ngram_size": 0,
57
+ "bad_words_ids": null,
58
+ "num_return_sequences": 1,
59
+ "output_scores": false,
60
+ "return_dict_in_generate": false,
61
+ "forced_bos_token_id": null,
62
+ "forced_eos_token_id": null,
63
+ "remove_invalid_values": false,
64
+ "exponential_decay_length_penalty": null,
65
+ "suppress_tokens": null,
66
+ "begin_suppress_tokens": null
67
+ }
68
+ },
69
  "problem_type": null,
70
  "_name_or_path": "",
71
  "_attn_implementation_autoset": true,
 
78
  "intermediate_size": 3072,
79
  "hidden_act": "silu",
80
  "max_position_embeddings": 512,
81
+ "model_type": "convaicausallm",
82
+ "auto_map": {
83
+ "AutoConfig": "configuration_convaicausallm.ConvaiCausalLMConfig",
84
+ "AutoModelForCausalLM": "modeling_convaicausallm.ConvaiCausalLM"
85
+ }
86
  }