Cleanup chat template and tool calling docs

#4
by Rocketknight1 HF staff - opened

Hi! Since we've added support for tool calling in transformers, we've cleaned up the recommended API a little bit. This PR makes two changes:

  1. The two chat templates have been merged into a single template - we're trying to avoid separate tool_use templates in future, since a single template can just do {% if tools is not none %} instead.
  2. Cleaning up the README to avoid the need for tool_call_id. Since we found that most models don't use it, we don't recommend adding it by default anymore.
Cannot merge
This branch has merge conflicts in the following files:
  • tokenizer_config.json

Sign up or log in to comment