Skip to content

Add "perfectblend" prebaked dataset and "ultrachat" alias - #3060

Open
kylesayrs wants to merge 1 commit into
mainfrom
add-perfectblend-prebaked-dataset
Open

Add "perfectblend" prebaked dataset and "ultrachat" alias#3060
kylesayrs wants to merge 1 commit into
mainfrom
add-perfectblend-prebaked-dataset

Conversation

@kylesayrs

Copy link
Copy Markdown
Collaborator

Summary

  • Add "perfectblend" as a registered prebaked dataset pointing to mlabonne/open-perfectblend, enabling oneshot(model, dataset="perfectblend"). Handles ShareGPT format conversion (from/valuerole/content) and role mapping (humanuser, gptassistant) automatically.
  • Add "ultrachat" as a convenience alias for the existing "ultrachat_200k" dataset.

Test plan

  • Verified registry resolves "perfectblend", "ultrachat", and "ultrachat_200k" correctly
  • Run oneshot(model, dataset="perfectblend", ...) end-to-end with a small model
  • Run oneshot(model, dataset="ultrachat", ...) end-to-end with a small model

🤖 Generated with Claude Code

Add "perfectblend" as a registered dataset pointing to mlabonne/open-perfectblend,
enabling `oneshot(model, dataset="perfectblend")`. Also add "ultrachat" as an alias
for the existing "ultrachat_200k" dataset for convenience.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kylesayrs
kylesayrs requested a review from dsikka as a code owner August 19, 2026 21:55
@github-actions

Copy link
Copy Markdown

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed.

@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a85fc472-7caf-47ec-899b-86646ef39c02

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mergify

mergify Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 1 of 1 protections blocking · waiting on 👀 reviews

Protection Waiting on
🔴 Require one maintainer review 👀 reviews

🔴 Require one maintainer review

Waiting for any of

  • approved-reviews-by=HDCharles
  • approved-reviews-by=brian-dellabetta
  • approved-reviews-by=dsikka
  • approved-reviews-by=kylesayrs
  • approved-reviews-by=yiliu30
This rule is failing.

All PRs must have at least one approving review from a maintainer before merging.

  • any of:
    • approved-reviews-by=HDCharles
    • approved-reviews-by=brian-dellabetta
    • approved-reviews-by=dsikka
    • approved-reviews-by=kylesayrs
    • approved-reviews-by=yiliu30
  • #changes-requested-reviews-by = 0

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the PerfectBlendDataset class to support the mlabonne/open-perfectblend dataset and adds an alias to the UltraChatDataset registration. The review feedback suggests stacking @register decorators instead of using the alias keyword argument to ensure compatibility, and recommends adopting defensive programming in PerfectBlendDataset.dataset_template to safely handle missing or null conversations keys.

Comment thread src/llmcompressor/transformers/data/ultrachat_200k.py
Comment thread src/llmcompressor/transformers/data/perfectblend.py
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