Instructions to use prakod/codemix-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prakod/codemix-test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("prakod/codemix-test") model = AutoModelForSeq2SeqLM.from_pretrained("prakod/codemix-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +8 -6
- generation_config.json +35 -4
- model.safetensors +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +12 -173
- training_args.bin +2 -2
config.json
CHANGED
|
@@ -5,31 +5,33 @@
|
|
| 5 |
"MBartForConditionalGeneration"
|
| 6 |
],
|
| 7 |
"attention_dropout": 0.1,
|
| 8 |
-
"bos_token_id":
|
| 9 |
"classifier_dropout": 0.0,
|
| 10 |
"d_model": 1024,
|
| 11 |
"decoder_attention_heads": 16,
|
| 12 |
"decoder_ffn_dim": 4096,
|
| 13 |
"decoder_layerdrop": 0.0,
|
| 14 |
"decoder_layers": 6,
|
|
|
|
| 15 |
"dropout": 0.1,
|
|
|
|
| 16 |
"encoder_attention_heads": 16,
|
| 17 |
"encoder_ffn_dim": 4096,
|
| 18 |
"encoder_layerdrop": 0.0,
|
| 19 |
"encoder_layers": 6,
|
| 20 |
-
"eos_token_id":
|
| 21 |
"forced_eos_token_id": 2,
|
| 22 |
"gradient_checkpointing": false,
|
| 23 |
"init_std": 0.02,
|
|
|
|
| 24 |
"is_encoder_decoder": true,
|
| 25 |
"max_position_embeddings": 1024,
|
| 26 |
"model_type": "mbart",
|
| 27 |
-
"num_hidden_layers": 6,
|
| 28 |
"pad_token_id": 0,
|
| 29 |
"scale_embedding": false,
|
|
|
|
| 30 |
"tokenizer_class": "AlbertTokenizer",
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"use_cache": true,
|
| 34 |
"vocab_size": 64014
|
| 35 |
}
|
|
|
|
| 5 |
"MBartForConditionalGeneration"
|
| 6 |
],
|
| 7 |
"attention_dropout": 0.1,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
"classifier_dropout": 0.0,
|
| 10 |
"d_model": 1024,
|
| 11 |
"decoder_attention_heads": 16,
|
| 12 |
"decoder_ffn_dim": 4096,
|
| 13 |
"decoder_layerdrop": 0.0,
|
| 14 |
"decoder_layers": 6,
|
| 15 |
+
"decoder_start_token_id": null,
|
| 16 |
"dropout": 0.1,
|
| 17 |
+
"dtype": "float32",
|
| 18 |
"encoder_attention_heads": 16,
|
| 19 |
"encoder_ffn_dim": 4096,
|
| 20 |
"encoder_layerdrop": 0.0,
|
| 21 |
"encoder_layers": 6,
|
| 22 |
+
"eos_token_id": 3,
|
| 23 |
"forced_eos_token_id": 2,
|
| 24 |
"gradient_checkpointing": false,
|
| 25 |
"init_std": 0.02,
|
| 26 |
+
"is_decoder": false,
|
| 27 |
"is_encoder_decoder": true,
|
| 28 |
"max_position_embeddings": 1024,
|
| 29 |
"model_type": "mbart",
|
|
|
|
| 30 |
"pad_token_id": 0,
|
| 31 |
"scale_embedding": false,
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
"tokenizer_class": "AlbertTokenizer",
|
| 34 |
+
"transformers_version": "5.13.1",
|
| 35 |
+
"use_cache": false,
|
|
|
|
| 36 |
"vocab_size": 64014
|
| 37 |
}
|
generation_config.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"pad_token_id": 0,
|
| 6 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_from_model_config": false,
|
| 3 |
+
"assistant_confidence_threshold": 0.4,
|
| 4 |
+
"assistant_lookbehind": 10,
|
| 5 |
+
"bos_token_id": 2,
|
| 6 |
+
"diversity_penalty": 0.0,
|
| 7 |
+
"do_sample": false,
|
| 8 |
+
"early_stopping": false,
|
| 9 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 10 |
+
"encoder_repetition_penalty": 1.0,
|
| 11 |
+
"eos_token_id": [
|
| 12 |
+
3,
|
| 13 |
+
64001
|
| 14 |
+
],
|
| 15 |
+
"epsilon_cutoff": 0.0,
|
| 16 |
+
"eta_cutoff": 0.0,
|
| 17 |
+
"length_penalty": 1.0,
|
| 18 |
+
"max_length": 20,
|
| 19 |
+
"min_length": 0,
|
| 20 |
+
"no_repeat_ngram_size": 0,
|
| 21 |
+
"num_assistant_tokens": 20,
|
| 22 |
+
"num_assistant_tokens_schedule": "constant",
|
| 23 |
+
"num_beam_groups": 1,
|
| 24 |
+
"num_beams": 1,
|
| 25 |
+
"num_return_sequences": 1,
|
| 26 |
+
"output_scores": false,
|
| 27 |
"pad_token_id": 0,
|
| 28 |
+
"remove_invalid_values": false,
|
| 29 |
+
"repetition_penalty": 1.0,
|
| 30 |
+
"return_dict_in_generate": false,
|
| 31 |
+
"target_lookbehind": 10,
|
| 32 |
+
"temperature": 1.0,
|
| 33 |
+
"top_k": 50,
|
| 34 |
+
"top_p": 1.0,
|
| 35 |
+
"transformers_version": "5.13.1",
|
| 36 |
+
"typical_p": 1.0,
|
| 37 |
+
"use_cache": true
|
| 38 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 976355336
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d6524fab2076643537a00d3bf5c6567e9e56cd4af3aa04e3e3db504d9fa3d8d
|
| 3 |
size 976355336
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -1,188 +1,27 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
"content": "<pad>",
|
| 5 |
-
"lstrip": false,
|
| 6 |
-
"normalized": false,
|
| 7 |
-
"rstrip": false,
|
| 8 |
-
"single_word": false,
|
| 9 |
-
"special": true
|
| 10 |
-
},
|
| 11 |
-
"1": {
|
| 12 |
-
"content": "<unk>",
|
| 13 |
-
"lstrip": false,
|
| 14 |
-
"normalized": false,
|
| 15 |
-
"rstrip": false,
|
| 16 |
-
"single_word": false,
|
| 17 |
-
"special": true
|
| 18 |
-
},
|
| 19 |
-
"2": {
|
| 20 |
-
"content": "[CLS]",
|
| 21 |
-
"lstrip": false,
|
| 22 |
-
"normalized": false,
|
| 23 |
-
"rstrip": false,
|
| 24 |
-
"single_word": false,
|
| 25 |
-
"special": false
|
| 26 |
-
},
|
| 27 |
-
"3": {
|
| 28 |
-
"content": "[SEP]",
|
| 29 |
-
"lstrip": false,
|
| 30 |
-
"normalized": false,
|
| 31 |
-
"rstrip": false,
|
| 32 |
-
"single_word": false,
|
| 33 |
-
"special": false
|
| 34 |
-
},
|
| 35 |
-
"4": {
|
| 36 |
-
"content": "[MASK]",
|
| 37 |
-
"lstrip": true,
|
| 38 |
-
"normalized": true,
|
| 39 |
-
"rstrip": false,
|
| 40 |
-
"single_word": false,
|
| 41 |
-
"special": true
|
| 42 |
-
},
|
| 43 |
-
"64000": {
|
| 44 |
-
"content": "<s>",
|
| 45 |
-
"lstrip": false,
|
| 46 |
-
"normalized": false,
|
| 47 |
-
"rstrip": false,
|
| 48 |
-
"single_word": false,
|
| 49 |
-
"special": true
|
| 50 |
-
},
|
| 51 |
-
"64001": {
|
| 52 |
-
"content": "</s>",
|
| 53 |
-
"lstrip": false,
|
| 54 |
-
"normalized": false,
|
| 55 |
-
"rstrip": false,
|
| 56 |
-
"single_word": false,
|
| 57 |
-
"special": true
|
| 58 |
-
},
|
| 59 |
-
"64002": {
|
| 60 |
-
"content": "<2as>",
|
| 61 |
-
"lstrip": false,
|
| 62 |
-
"normalized": false,
|
| 63 |
-
"rstrip": false,
|
| 64 |
-
"single_word": false,
|
| 65 |
-
"special": true
|
| 66 |
-
},
|
| 67 |
-
"64003": {
|
| 68 |
-
"content": "<2bn>",
|
| 69 |
-
"lstrip": false,
|
| 70 |
-
"normalized": false,
|
| 71 |
-
"rstrip": false,
|
| 72 |
-
"single_word": false,
|
| 73 |
-
"special": true
|
| 74 |
-
},
|
| 75 |
-
"64004": {
|
| 76 |
-
"content": "<2en>",
|
| 77 |
-
"lstrip": false,
|
| 78 |
-
"normalized": false,
|
| 79 |
-
"rstrip": false,
|
| 80 |
-
"single_word": false,
|
| 81 |
-
"special": true
|
| 82 |
-
},
|
| 83 |
-
"64005": {
|
| 84 |
-
"content": "<2gu>",
|
| 85 |
-
"lstrip": false,
|
| 86 |
-
"normalized": false,
|
| 87 |
-
"rstrip": false,
|
| 88 |
-
"single_word": false,
|
| 89 |
-
"special": true
|
| 90 |
-
},
|
| 91 |
-
"64006": {
|
| 92 |
-
"content": "<2hi>",
|
| 93 |
-
"lstrip": false,
|
| 94 |
-
"normalized": false,
|
| 95 |
-
"rstrip": false,
|
| 96 |
-
"single_word": false,
|
| 97 |
-
"special": true
|
| 98 |
-
},
|
| 99 |
-
"64007": {
|
| 100 |
-
"content": "<2kn>",
|
| 101 |
-
"lstrip": false,
|
| 102 |
-
"normalized": false,
|
| 103 |
-
"rstrip": false,
|
| 104 |
-
"single_word": false,
|
| 105 |
-
"special": true
|
| 106 |
-
},
|
| 107 |
-
"64008": {
|
| 108 |
-
"content": "<2ml>",
|
| 109 |
-
"lstrip": false,
|
| 110 |
-
"normalized": false,
|
| 111 |
-
"rstrip": false,
|
| 112 |
-
"single_word": false,
|
| 113 |
-
"special": true
|
| 114 |
-
},
|
| 115 |
-
"64009": {
|
| 116 |
-
"content": "<2mr>",
|
| 117 |
-
"lstrip": false,
|
| 118 |
-
"normalized": false,
|
| 119 |
-
"rstrip": false,
|
| 120 |
-
"single_word": false,
|
| 121 |
-
"special": true
|
| 122 |
-
},
|
| 123 |
-
"64010": {
|
| 124 |
-
"content": "<2or>",
|
| 125 |
-
"lstrip": false,
|
| 126 |
-
"normalized": false,
|
| 127 |
-
"rstrip": false,
|
| 128 |
-
"single_word": false,
|
| 129 |
-
"special": true
|
| 130 |
-
},
|
| 131 |
-
"64011": {
|
| 132 |
-
"content": "<2pa>",
|
| 133 |
-
"lstrip": false,
|
| 134 |
-
"normalized": false,
|
| 135 |
-
"rstrip": false,
|
| 136 |
-
"single_word": false,
|
| 137 |
-
"special": true
|
| 138 |
-
},
|
| 139 |
-
"64012": {
|
| 140 |
-
"content": "<2ta>",
|
| 141 |
-
"lstrip": false,
|
| 142 |
-
"normalized": false,
|
| 143 |
-
"rstrip": false,
|
| 144 |
-
"single_word": false,
|
| 145 |
-
"special": true
|
| 146 |
-
},
|
| 147 |
-
"64013": {
|
| 148 |
-
"content": "<2te>",
|
| 149 |
-
"lstrip": false,
|
| 150 |
-
"normalized": false,
|
| 151 |
-
"rstrip": false,
|
| 152 |
-
"single_word": false,
|
| 153 |
-
"special": true
|
| 154 |
-
}
|
| 155 |
-
},
|
| 156 |
-
"additional_special_tokens": [
|
| 157 |
-
"<s>",
|
| 158 |
-
"</s>",
|
| 159 |
-
"<2as>",
|
| 160 |
-
"<2bn>",
|
| 161 |
-
"<2en>",
|
| 162 |
-
"<2gu>",
|
| 163 |
-
"<2hi>",
|
| 164 |
-
"<2kn>",
|
| 165 |
-
"<2ml>",
|
| 166 |
-
"<2mr>",
|
| 167 |
-
"<2or>",
|
| 168 |
-
"<2pa>",
|
| 169 |
-
"<2ta>",
|
| 170 |
-
"<2te>"
|
| 171 |
-
],
|
| 172 |
"bos_token": "[CLS]",
|
| 173 |
-
"clean_up_tokenization_spaces": false,
|
| 174 |
"cls_token": "[CLS]",
|
| 175 |
"do_lower_case": false,
|
| 176 |
"eos_token": "[SEP]",
|
| 177 |
-
"extra_special_tokens":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
"keep_accents": true,
|
|
|
|
| 179 |
"mask_token": "[MASK]",
|
| 180 |
"model_max_length": 1000000000000000019884624838656,
|
| 181 |
"pad_token": "<pad>",
|
| 182 |
"remove_space": true,
|
| 183 |
"sep_token": "[SEP]",
|
| 184 |
-
"sp_model_kwargs": {},
|
| 185 |
"tokenizer_class": "AlbertTokenizer",
|
|
|
|
|
|
|
| 186 |
"unk_token": "<unk>",
|
| 187 |
"use_fast": false
|
| 188 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"add_prefix_space": true,
|
| 3 |
+
"backend": "tokenizers",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"bos_token": "[CLS]",
|
|
|
|
| 5 |
"cls_token": "[CLS]",
|
| 6 |
"do_lower_case": false,
|
| 7 |
"eos_token": "[SEP]",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<pad>",
|
| 10 |
+
"[CLS]",
|
| 11 |
+
"[SEP]",
|
| 12 |
+
"[MASK]"
|
| 13 |
+
],
|
| 14 |
+
"is_local": false,
|
| 15 |
"keep_accents": true,
|
| 16 |
+
"local_files_only": false,
|
| 17 |
"mask_token": "[MASK]",
|
| 18 |
"model_max_length": 1000000000000000019884624838656,
|
| 19 |
"pad_token": "<pad>",
|
| 20 |
"remove_space": true,
|
| 21 |
"sep_token": "[SEP]",
|
|
|
|
| 22 |
"tokenizer_class": "AlbertTokenizer",
|
| 23 |
+
"trim_offsets": true,
|
| 24 |
+
"unk_id": 1,
|
| 25 |
"unk_token": "<unk>",
|
| 26 |
"use_fast": false
|
| 27 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cb8e5cf40c6c77b282837190a4878d79321bfda9d3063df7f6a230aec12a1f2
|
| 3 |
+
size 5329
|