CoolFace
Modelpublic

noza-kit/safty-instruction-tuning-model

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes7downloads
tokenizer_config.json86 linesDownload Raw Back to root
1{2  "add_bos_token": true,3  "add_eos_token": false,4  "added_tokens_decoder": {5    "0": {6      "content": "<unk>",7      "lstrip": false,8      "normalized": false,9      "rstrip": false,10      "single_word": false,11      "special": true12    },13    "1": {14      "content": "<s>",15      "lstrip": false,16      "normalized": false,17      "rstrip": false,18      "single_word": false,19      "special": true20    },21    "2": {22      "content": "</s>",23      "lstrip": false,24      "normalized": false,25      "rstrip": false,26      "single_word": false,27      "special": true28    },29    "3": {30      "content": "<MASK|LLM-jp>",31      "lstrip": false,32      "normalized": false,33      "rstrip": false,34      "single_word": false,35      "special": true36    },37    "4": {38      "content": "<PAD|LLM-jp>",39      "lstrip": false,40      "normalized": false,41      "rstrip": false,42      "single_word": false,43      "special": true44    },45    "5": {46      "content": "<CLS|LLM-jp>",47      "lstrip": false,48      "normalized": false,49      "rstrip": false,50      "single_word": false,51      "special": true52    },53    "6": {54      "content": "<SEP|LLM-jp>",55      "lstrip": false,56      "normalized": false,57      "rstrip": false,58      "single_word": false,59      "special": true60    },61    "7": {62      "content": "<EOD|LLM-jp>",63      "lstrip": false,64      "normalized": false,65      "rstrip": false,66      "single_word": false,67      "special": true68    }69  },70  "bos_token": "<s>",71  "chat_template": "{{bos_token}}{% for message in messages %}{% if message['role'] == 'user' %}{{ '\\n\\n### 指示:\\n' + message['content'] }}{% elif message['role'] == 'system' %}{{ '以下は、タスクを説明する指示です。要求を適切に満たす応答を書きなさい。' }}{% elif message['role'] == 'assistant' %}{{ '\\n\\n### 応答:\\n' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '\\n\\n### 応答:\\n' }}{% endif %}{% endfor %}",72  "clean_up_tokenization_spaces": false,73  "cls_token": "<CLS|LLM-jp>",74  "eod_token": "</s>",75  "eos_token": "</s>",76  "extra_ids": 0,77  "extra_special_tokens": {},78  "mask_token": "<MASK|LLM-jp>",79  "model_max_length": 1000000000000000019884624838656,80  "pad_token": "<PAD|LLM-jp>",81  "sep_token": "<SEP|LLM-jp>",82  "sp_model_kwargs": {},83  "tokenizer_class": "PreTrainedTokenizer",84  "unk_token": "<unk>"85}86