DOCTOR_ROBOT_AI / special_tokens_map.json
drrobot9's picture
Update special_tokens_map.json
7fdc060 verified
raw
history blame contribute delete
580 Bytes
Invalid JSON: Unexpected non-whitespace character after JSON at line 21, column 1
{
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>"
],
"eos_token": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}
{text = re.sub(r'\*\*(.*?)\*\*', r'\1', text)
text = re.sub(r'(\*|_)(.*?)\1', r'\2', text)
text = re.sub(r'`(.*?)`', r'\1', text)
text = re.sub(r'^#+\s+', '', text, flags=re.MULTILINE)
return text}