Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds a new template for SailorLLM to the repository, which enhances the system's ability to format user and system inputs according to the SailorLLM format. This template uses the following structure:
<|im_start|>question\n{{content}}<|im_end|>\n<|im_start|>answer\n
<|im_start|>system\n{{content}}<|im_end|>\n
\n
["<|im_end|>"]
True
This addition is based on the SailorLLM's formatting style, as referenced from the SailorLLM repository.
SailorLLM is a suite of Open Language Models for South-East Asia (SEA), focusing on languages like Indonesian, Thai, Vietnamese, Malay, and Lao. Built on Qwen 1.5, Sailor models range from 0.5B to 14B parameters and are fine-tuned for SEA language tasks. Sailor models on Hugging Face. This template supports Sailor models of sizes 0.5B/1.8B/4B/7B/14B.
Fixes # (issue)
No specific issue is linked to this PR.
Before submitting