The `safety_mode` parameter?

#3
by jukofyork - opened

https://docs.cohere.com/docs/safety-modes

Is this just something sent to the official Cohere API, or is it something we can control using the Transformers version in this repo via the preemble in the system message?

Also the "Chat Annotation Style Guide: Model Output" link is gated on that page.

Good question, wondering the same, I'm trying to disable it.

I found some clues in chat_template within tokenizer_config.json, it starts with:

{{ '# Safety Preamble' }}{{ '\nThe instructions in this section override those in the task description and style guide sections............

That lead me to believe that it might be part of the system prompt, though I haven't looked into it deep enough.

Curious to know what the default is considering it's only defined at "name": "tool_use", and "name": "rag", but not at "name": "default",.

Cohere For AI org

Hi @jukofyork , the safety mode is only available through the API for now. Hope that helps!

alexrs changed discussion status to closed

Sign up or log in to comment