Upload folder using huggingface_hub
Browse filesFiles changed (19)
- .gitattributes+1
- config.jsonAdded+44
- generation_config.jsonAdded+7
- model-00001-of-00012.safetensorsAdded+3
- model-00002-of-00012.safetensorsAdded+3
- model-00003-of-00012.safetensorsAdded+3
- model-00004-of-00012.safetensorsAdded+3
- model-00005-of-00012.safetensorsAdded+3
- model-00006-of-00012.safetensorsAdded+3
- model-00007-of-00012.safetensorsAdded+3
- model-00008-of-00012.safetensorsAdded+3
- model-00009-of-00012.safetensorsAdded+3
- model-00010-of-00012.safetensorsAdded+3
- model-00011-of-00012.safetensorsAdded+3
- model-00012-of-00012.safetensorsAdded+3
- model.safetensors.index.jsonAdded
- special_tokens_map.jsonAdded+17
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+330
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "_name_or_path": "/home/ubuntu/California-FileSystem/c4ai-command-r-plus", "architectures": [ "CohereForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 5, "eos_token_id": 255001, "hidden_act": "silu", "hidden_size": 12288, "initializer_range": 0.02, "intermediate_size": 33792, "layer_norm_eps": 1e-05, "logit_scale": 0.8333333333333334, "max_position_embeddings": 8192, "model_max_length": 131072, "model_type": "cohere", "num_attention_heads": 96, "num_hidden_layers": 64, "num_key_value_heads": 8, "pad_token_id": 0, "quantization_config": { "_load_in_4bit": true, "_load_in_8bit": false, "bnb_4bit_compute_dtype": "bfloat16", "bnb_4bit_quant_storage": "bfloat16", "bnb_4bit_quant_type": "nf4", "bnb_4bit_use_double_quant": true, "llm_int8_enable_fp32_cpu_offload": true, "llm_int8_has_fp16_weight": false, "llm_int8_skip_modules": null, "llm_int8_threshold": 6.0, "load_in_4bit": true, "load_in_8bit": false, "quant_method": "bitsandbytes" }, "rope_theta": 75000000.0, "torch_dtype": "bfloat16", "transformers_version": "4.44.2", "use_cache": true, "use_qk_norm": true, "vocab_size": 256000}1234567{ "_from_model_config": true, "bos_token_id": 5, "eos_token_id": 255001, "pad_token_id": 0, "transformers_version": "4.44.2"}123version https://git-lfs.github.com/spec/v1oid sha256:24556465c06abb47e07225bf653535e59081099da5319299a294a2cfa03e0af3size 6291456144123version https://git-lfs.github.com/spec/v1oid sha256:0a7f2488b5f4c0209b745292179e65401ea1c20d00db53a32e7a63ff3ca85ad8size 4959653143123version https://git-lfs.github.com/spec/v1oid sha256:376d939f4f0e74a9b52bf7df203832d01936c4aaebe406bc3c0b95b77b13d4b3size 4946640147123version https://git-lfs.github.com/spec/v1oid sha256:bdf7997b363d2cdb5d74651e84eda969f630a01892b17178ba22b856c252e787size 4868744719123version https://git-lfs.github.com/spec/v1oid sha256:86ef2234d3fef8561e8bf79b092aca296777633102abf3435b0339338d51984asize 4868744715123version https://git-lfs.github.com/spec/v1oid sha256:751a4ba6ea1990ff1276a8bc35b21ee306303a7c9965f11fe5dae81bd61d62aesize 4868744712123version https://git-lfs.github.com/spec/v1oid sha256:add58ae32b031d65522640abd05761deb6dd61ea8f0887f2fb0c1699a7a84270size 4868744721123version https://git-lfs.github.com/spec/v1oid sha256:e8ec0e2aa4d60ac30fb398c08737297355ba2ac9b55f7bd2a819c0fbf131599asize 4868744718123version https://git-lfs.github.com/spec/v1oid sha256:e28893c74f7a3ca6624ce170717797a56598188009c50aceed4b8bfddcf717b1size 4868744724123version https://git-lfs.github.com/spec/v1oid sha256:d3365791e2e684212a68bfcdf18f537ab21376636e4b962ec3899efca7fb8cd8size 4868744719123version https://git-lfs.github.com/spec/v1oid sha256:7a66d2dda512e5568c4ceb7e7286b88e735c25fe913ad7d99943cfee4860d31csize 4868744715123version https://git-lfs.github.com/spec/v1oid sha256:e88678fbeac444e007d79d66c6eb87e7ad8ede29fab9ab07c2e40b6309ab6740size 30770500921234567891011121314151617{ "bos_token": { "content": "<BOS_TOKEN>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|END_OF_TURN_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "<|END_OF_TURN_TOKEN|>"}123version https://git-lfs.github.com/spec/v1oid sha256:c69a7ea6c0927dfac8c349186ebcf0466a4723c21cbdb2e850cf559f0bee92b8size 12777433123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330{ "add_bos_token": true, "add_eos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<UNK>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "<CLS>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<SEP>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "<MASK_TOKEN>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "5": { "content": "<BOS_TOKEN>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "6": { "content": "<EOS_TOKEN>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "7": { "content": "<EOP_TOKEN>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "255000": { "content": "<|START_OF_TURN_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255001": { "content": "<|END_OF_TURN_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "255002": { "content": "<|YES_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255003": { "content": "<|NO_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255004": { "content": "<|GOOD_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255005": { "content": "<|BAD_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255006": { "content": "<|USER_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255007": { "content": "<|CHATBOT_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255008": { "content": "<|SYSTEM_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255009": { "content": "<|USER_0_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255010": { "content": "<|USER_1_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255011": { "content": "<|USER_2_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255012": { "content": "<|USER_3_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255013": { "content": "<|USER_4_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255014": { "content": "<|USER_5_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255015": { "content": "<|USER_6_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255016": { "content": "<|USER_7_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255017": { "content": "<|USER_8_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255018": { "content": "<|USER_9_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255019": { "content": "<|EXTRA_0_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255020": { "content": "<|EXTRA_1_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255021": { "content": "<|EXTRA_2_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255022": { "content": "<|EXTRA_3_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255023": { "content": "<|EXTRA_4_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255024": { "content": "<|EXTRA_5_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255025": { "content": "<|EXTRA_6_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255026": { "content": "<|EXTRA_7_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255027": { "content": "<|EXTRA_8_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "255028": { "content": "<|EXTRA_9_TOKEN|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "bos_token": "<BOS_TOKEN>", "chat_template": [ { "name": "default", "template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% elif false == true %}{% set loop_messages = messages %}{% set system_message = 'You are Command-R, a brilliant, sophisticated, AI-assistant trained to assist human users by providing thorough responses. You are trained by Cohere.' %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% if system_message != false %}{{ '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' + system_message + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|START_OF_TURN_TOKEN|><|USER_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% elif message['role'] == 'assistant' %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}{% endif %}" }, { "name": "tool_use", "template": "\n{%- macro json_to_python_type(json_spec) %}\n{%- set basic_type_map = {\n \"string\": \"str\",\n \"number\": \"float\",\n \"integer\": \"int\",\n \"boolean\": \"bool\"\n} %}\n\n{%- if basic_type_map[json_spec.type] is defined %}\n {{- basic_type_map[json_spec.type] }}\n{%- elif json_spec.type == \"array\" %}\n {{- \"List[\" + json_to_python_type(json_spec.items) + \"]\"}}\n{%- elif json_spec.type == \"object\" %}\n {{- \"Dict[str, \" + json_to_python_type(json_spec.additionalProperties) + ']'}}\n{%- elif json_spec.type is iterable %}\n {{- \"Union[\" }}\n {%- for t in json_spec.type %}\n {{- json_to_python_type({\"type\": t}) }}\n {%- if not loop.last %}\n {{- \",\" }} \n {%- endif %}\n {%- endfor %}\n {{- \"]\" }}\n{%- else %}\n {{- \"Any\" }}\n{%- endif %}\n{%- endmacro %}\n\n{%- macro old_tool_parser(tools) %}\n{%- for tool in tools %}\n {%- if loop.index0 != 0 %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- '```python\\ndef ' + tool.name + '(' }}\n {%- for param_name, param_fields in tool.parameter_definitions|items %}\n {%- if loop.index0 != 0 %}\n {{- ', '}}\n {%- endif %}\n {{- param_name + ': ' }}\n {%- if not param_fields.required %}\n {{- 'Optional[' + param_fields.type + '] = None'}}\n {%- else %}\n {{- param_fields.type }}\n {%- endif %}\n {%- endfor %}\n {{- ') -> List[Dict]:\\n \"\"\"'}}\n {{- tool.description }}\n {%- if tool.parameter_definitions|length != 0 %}\n {{- '\\n\\n Args:\\n '}}\n {%- for param_name, param_fields in tool.parameter_definitions|items %}\n {%- if loop.index0 != 0 %}\n {{- '\\n ' }}\n {%- endif %}\n {{- param_name + ' ('}}\n {%- if not param_fields.required %}\n {{- 'Optional[' + param_fields.type + ']'}}\n {%- else %}\n {{- param_fields.type }}\n {%- endif %}\n {{- '): ' + param_fields.description }}\n {%- endfor %}\n {%- endif %}\n {{- '\\n \"\"\"\\n pass\\n```' }}\n{%- endfor %}\n{%- endmacro %}\n\n{%- macro new_tool_parser(tools) %}\n{%- for tool in tools %}\n {%- if loop.index0 != 0 %}\n {{- '\\n\\n'}}\n {%- endif %}\n {%- if tool.function is defined %}\n {%- set tool = tool.function %}\n {%- endif %}\n {{-'```python\ndef ' + tool.name + '('}}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n {%- if loop.index0 != 0 %}\n {{- ', '}}\n {%- endif %}\n {{-param_name + \": \"}} \n {%- if not param_name in tool.parameters.required %}\n {{-'Optional[' + json_to_python_type(param_fields) + '] = None'}}\n {%- else %}\n {{- json_to_python_type(param_fields) }}\n {%- endif %}\n {%- endfor %}\n {{- ') -> List[Dict]:\n \"\"\"'}}\n {{- tool.description }}\n {%- if tool.parameters.properties|length != 0 %}\n {{- '\\n\\n Args:\\n '}}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n {%- if loop.index0 != 0 %}\n {{- '\\n ' }}\n {%- endif %}\n {{- param_name + ' ('}}\n {%- if not param_name in tool.parameters.required %}\n {{-'Optional[' + json_to_python_type(param_fields) + ']'}}\n {%- else %}\n {{- json_to_python_type(param_fields) }}\n {%- endif %}\n {{- '): ' + param_fields.description }}\n {%- endfor %}\n {%- endif %}\n {{- '\\n \"\"\"\\n pass\\n```' }}\n{%- endfor %}\n{%- endmacro %}\n\n{{- bos_token }}\n{%- if messages[0]['role'] == 'system' %}\n {%- set loop_messages = messages[1:] %}\n {%- set system_message = messages[0]['content'] %}\n{%- else %}\n {%- set loop_messages = messages %}\n {%- set system_message = '## Task and Context\\nYou help people answer their questions and other requests interactively. You will be asked a very wide array of requests on all kinds of topics. You will be equipped with a wide range of search engines or similar tools to help you, which you use to research your answer. You should focus on serving the user\\'s needs as best you can, which will be wide-ranging.\\n\\n## Style Guide\\nUnless the user asks for a different style of answer, you should answer in full sentences, using proper grammar and spelling.' %}\n{%- endif %}\n{{- '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' }}\n{{- '# Safety Preamble' }}\n{{- '\nThe instructions in this section override those in the task description and style guide sections. Don\\'t answer questions that are harmful or immoral.' }}\n{{- '\n\n# System Preamble' }}\n{{- '\n## Basic Rules' }}\n{{- '\nYou are a powerful conversational AI trained by Cohere to help people. You are augmented by a number of tools, and your job is to use and consume the output of these tools to best help the user. You will see a conversation history between yourself and a user, ending with an utterance from the user. You will then see a specific instruction instructing you what kind of response to generate. When you answer the user\\'s requests, you cite your sources in your answers, according to those instructions.' }}\n{{- '\n\n# User Preamble' }}\n{{- '\n' + system_message }}\n{{-'\n\n## Available Tools\nHere is a list of tools that you have available to you:\n\n'}}\n{%- set ns = namespace(new_tools=true) %}\n{%- for tool in tools %}\n {%- if tool.parameter_definitions is defined %}\n {%- set ns.new_tools = false %}\n {%- endif %}\n{%- endfor %}\n{%- if ns.new_tools %}\n {{- new_tool_parser(tools) }}\n{%- else %}\n {{- old_tool_parser(tools) }}\n{%- endif %}\n{{- '<|END_OF_TURN_TOKEN|>'}}\n{%- for message in loop_messages %}\n {%- set content = message['content'] %}\n {%- if message.role == 'user' %}\n {{- '<|START_OF_TURN_TOKEN|><|USER_TOKEN|>' + content|trim + '<|END_OF_TURN_TOKEN|>' }}\n {%- elif message.role == 'system' %}\n {{- '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' + content|trim + '<|END_OF_TURN_TOKEN|>' }}\n {%- elif message.role == 'assistant' and message.tool_calls is defined %}\n {{- '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}\n {%- if message.content is defined %}\n {{- message.content|trim }}\n {%- endif %}\n {{- '\\nAction:\\n```json\\n[\\n' }}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '{\\n'|indent(4, first=true) }}\n {{- '\"tool_name\": \"'|indent(8, first=true) + tool_call.name + '\",\\n' }}\n {{- '\"parameters\": '|indent(8, first=true) }}\n {%- if tool_call.arguments is defined and tool_call.arguments|length > 0 %} \n {{- tool_call.arguments|tojson(indent=4)|indent(8) }}\n {{- '\\n' }}\n {%- else %}\n {{- '{}\\n' }}\n {%- endif %}\n {{- '}'|indent(4, first=true) }}\n {%- if not loop.last %}\n {{- ',\\n' }}\n {%- endif %}\n {%- endfor %}\n {{- \"\\n]```\\n\" }}\n {%- elif message.role == 'assistant' %}\n {{- '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' + content|trim + '<|END_OF_TURN_TOKEN|>' }}\n {%- elif message.role == 'tool' %}\n {{- '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|><results>\\n' }}\n {{- message.content|trim }}\n {{- '</results><|END_OF_TURN_TOKEN|>' }}\n {%- endif %}\n{%- endfor %}\n{{-'<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>Write \\'Action:\\' followed by a json-formatted list of actions that you want to perform in order to produce a good response to the user\\'s last input. You can use any of the supplied tools any number of times, but you should aim to execute the minimum number of necessary actions for the input. You should use the `directly-answer` tool if calling the other tools is unnecessary. The list of actions you want to call should be formatted as a list of json objects, for example:\n```json\n[\n {\n \"tool_name\": title of the tool in the specification,\n \"parameters\": a dict of parameters to input into the tool as they are defined in the specs, or {} if it takes no parameters\n }\n]```<|END_OF_TURN_TOKEN|>'}}\n{%- if add_generation_prompt %}\n {{- '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}\n{%- endif %}\n" }, { "name": "rag", "template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = '## Task and Context\\nYou help people answer their questions and other requests interactively. You will be asked a very wide array of requests on all kinds of topics. You will be equipped with a wide range of search engines or similar tools to help you, which you use to research your answer. You should focus on serving the user\\'s needs as best you can, which will be wide-ranging.\\n\\n## Style Guide\\nUnless the user asks for a different style of answer, you should answer in full sentences, using proper grammar and spelling.' %}{% endif %}{{ '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' }}{{ '# Safety Preamble' }}{{ '\nThe instructions in this section override those in the task description and style guide sections. Don\\'t answer questions that are harmful or immoral.' }}{{ '\n\n# System Preamble' }}{{ '\n## Basic Rules' }}{{ '\nYou are a powerful conversational AI trained by Cohere to help people. You are augmented by a number of tools, and your job is to use and consume the output of these tools to best help the user. You will see a conversation history between yourself and a user, ending with an utterance from the user. You will then see a specific instruction instructing you what kind of response to generate. When you answer the user\\'s requests, you cite your sources in your answers, according to those instructions.' }}{{ '\n\n# User Preamble' }}{{ '\n' + system_message }}{{ '<|END_OF_TURN_TOKEN|>'}}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|START_OF_TURN_TOKEN|><|USER_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% elif message['role'] == 'system' %}{{ '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% elif message['role'] == 'assistant' %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% endfor %}{{ '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>'}}{{ '<results>' }}{% for document in documents %}{{ '\nDocument: ' }}{{ loop.index0 }}\n{% for key, value in document.items() %}{{ key }}: {{value}}\n{% endfor %}{% endfor %}{{ '</results>'}}{{ '<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' }}{{ 'Carefully perform the following instructions, in order, starting each with a new line.\n' }}{{ 'Firstly, Decide which of the retrieved documents are relevant to the user\\'s last input by writing \\'Relevant Documents:\\' followed by comma-separated list of document numbers. If none are relevant, you should instead write \\'None\\'.\n' }}{{ 'Secondly, Decide which of the retrieved documents contain facts that should be cited in a good answer to the user\\'s last input by writing \\'Cited Documents:\\' followed a comma-separated list of document numbers. If you dont want to cite any of them, you should instead write \\'None\\'.\n' }}{% if citation_mode=='accurate' %}{{ 'Thirdly, Write \\'Answer:\\' followed by a response to the user\\'s last input in high quality natural english. Use the retrieved documents to help you. Do not insert any citations or grounding markup.\n' }}{% endif %}{{ 'Finally, Write \\'Grounded answer:\\' followed by a response to the user\\'s last input in high quality natural english. Use the symbols <co: doc> and </co: doc> to indicate when a fact comes from a document in the search result, e.g <co: 0>my fact</co: 0> for a fact from document 0.' }}{{ '<|END_OF_TURN_TOKEN|>' }}{% if add_generation_prompt %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}{% endif %}" } ], "clean_up_tokenization_spaces": false, "eos_token": "<|END_OF_TURN_TOKEN|>", "legacy": true, "merges_file": null, "model_max_length": 1000000000000000019884624838656, "pad_token": "<|END_OF_TURN_TOKEN|>", "sp_model_kwargs": {}, "spaces_between_special_tokens": false, "tokenizer_class": "CohereTokenizer", "unk_token": null, "use_default_system_prompt": false, "vocab_file": null}.gitattributes+1
config.jsonAdded+44
generation_config.jsonAdded+7
model-00001-of-00012.safetensorsAdded+3
model-00002-of-00012.safetensorsAdded+3
model-00003-of-00012.safetensorsAdded+3
model-00004-of-00012.safetensorsAdded+3
model-00005-of-00012.safetensorsAdded+3
model-00006-of-00012.safetensorsAdded+3
model-00007-of-00012.safetensorsAdded+3
model-00008-of-00012.safetensorsAdded+3
model-00009-of-00012.safetensorsAdded+3
model-00010-of-00012.safetensorsAdded+3
model-00011-of-00012.safetensorsAdded+3
model-00012-of-00012.safetensorsAdded+3
model.safetensors.index.jsonAdded
special_tokens_map.jsonAdded+17
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+330