Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply chat template in mergekit-evolve #508

Merged
merged 1 commit into from
Feb 8, 2025
Merged

Apply chat template in mergekit-evolve #508

merged 1 commit into from
Feb 8, 2025

Conversation

cg123
Copy link
Collaborator

@cg123 cg123 commented Feb 8, 2025

Minor update to allow passing apply_chat_template and fewshot_as_multiturn when running mergekit-evolve.

@cg123 cg123 changed the title mergekit-evolve: chat template options Apply chat template in mergekit-evolve Feb 8, 2025
@cg123 cg123 merged commit 39d9bd5 into main Feb 8, 2025
6 of 8 checks passed
@cg123 cg123 deleted the update-evo branch February 8, 2025 03:21
@Irennnne
Copy link

Irennnne commented Mar 13, 2025

Hi, I have a bug for these two arguments. Could you give me some advice?

I first encountered this problem TypeError: Qwen2ForCausalLM.__init__() got an unexpected keyword argument 'apply_chat_template' .

After I commented out all these relevant config in the code, I got a new issue

File "/opt/conda/envs/python10/lib/python3.10/site-packages/lm_eval/tasks/__init__.py", line 117, in _get_tasklist
   return self.task_index[name]["task"]
KeyError: 'mymodel_evolved'

How can I fix this problem? Thank you!

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.

2 participants