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

Is the chat template alpaca? #9

Open
ldknight opened this issue Jan 20, 2025 · 3 comments
Open

Is the chat template alpaca? #9

ldknight opened this issue Jan 20, 2025 · 3 comments

Comments

@ldknight
Copy link

It's nice to be able to see your outstanding work, is the chat template alpaca?

@btyu
Copy link
Collaborator

btyu commented Jan 20, 2025

No, we use the templates of the base models. See

def generate(self, input_text, batch_size=1, max_input_tokens=512, max_new_tokens=1024, canonicalize_smiles=True, print_out=False, **generation_settings):
for details.

Thank you for your interest.

@ldknight
Copy link
Author

Thanks for your reply! You mean that the model being trained is a foundation model, not a conversation model, right?

@btyu
Copy link
Collaborator

btyu commented Jan 23, 2025

No. I meant we followed the chat template of the base model. For example, LlaSMol_Mistral uses the chat template of Mistral. The file above provides the generation function (i.e., given input, how to feed into our models), you could check it for the details.

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

No branches or pull requests

2 participants