Skip to content

Conversation

HERIUN
Copy link
Contributor

@HERIUN HERIUN commented Apr 2, 2025

Add Cot prompt argument. #8

cot prompt is appended after example.

        # Actual example
        content = example + cot_prompt if cot_prompt is not None else example

        if use_chat_template:
            examples.append({"role": "user", "content": content})
        else:
            examples.append(content)

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@NathanHB NathanHB merged commit f8ebe64 into huggingface:main Apr 8, 2025
3 checks passed
hynky1999 pushed a commit that referenced this pull request May 22, 2025
NathanHB pushed a commit that referenced this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants