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:
- 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. - 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.