Skip to content

Adds ability to pass chat_template_path argument into MaxText SFT, loading a separate chat_template from the tokenizer that's provided.#3675

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_900245511
Open

Adds ability to pass chat_template_path argument into MaxText SFT, loading a separate chat_template from the tokenizer that's provided.#3675
copybara-service[bot] wants to merge 1 commit intomainfrom
test_900245511

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

@copybara-service copybara-service Bot commented Apr 15, 2026

Adds ability to pass chat_template_path argument into MaxText SFT, loading a separate chat_template from the tokenizer that's provided.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

❌ Patch coverage is 68.18182% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...text/input_pipeline/instruction_data_processing.py 75.00% 3 Missing and 2 partials ⚠️
src/maxtext/input_pipeline/hf_data_processing.py 0.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

…loading a separate chat_template from the tokenizer that's provided.

PiperOrigin-RevId: 900245511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant