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

[wish] Release SAMPLE datasets #7

Open
twardoch opened this issue Sep 6, 2024 · 2 comments
Open

[wish] Release SAMPLE datasets #7

twardoch opened this issue Sep 6, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@twardoch
Copy link

twardoch commented Sep 6, 2024

Yi Coder 1.5b is potentially a great model for fine-tuning on one's own codebase. It'd be great if you could release some SAMPLE portions of the dataset used for base training & instruction tuning (and perhaps recipes), so that fine-tuning could be done in a compatible format.

I have an app that includes built-in Python scripting with an app-specific API, and would love to add a chatbot tuned on that API, so that users could get small scripts written from natural language prompts, or even written and executed, without the user ever needed to see the code.

@Haijian06
Copy link
Collaborator

Hi 👋 @twardoch, thank you so much 🙏. We've already forwarded the request regarding the example data for the Coder model. We also have some example datasets for fine-tuning available at https://github.com/01-ai/Yi/tree/main/finetune/yi_example_dataset/data. Although they are not directly related to code, the format is the same. Thanks again!

@Haijian06 Haijian06 added the help wanted Extra attention is needed label Sep 7, 2024
@nuoma
Copy link
Collaborator

nuoma commented Sep 9, 2024

Yi Coder 1.5b is potentially a great model for fine-tuning on one's own codebase. It'd be great if you could release some SAMPLE portions of the dataset used for base training & instruction tuning (and perhaps recipes), so that fine-tuning could be done in a compatible format.

I have an app that includes built-in Python scripting with an app-specific API, and would love to add a chatbot tuned on that API, so that users could get small scripts written from natural language prompts, or even written and executed, without the user ever needed to see the code.

Hi Twardoch,

Unfortunately we will not be releasing our data, but I'd be happy to provide some directions for your requirement.
For pertaining, check https://huggingface.co/datasets/bigcode/starcoderdata and https://huggingface.co/datasets/bigcode/the-stack-dedup .
For code SFT, check Code Feedback / CodeAlpaca / Evol-Instruct-code.
For library-specific SDK, start with library-specific SFT pairs mixed with general-purpose SFT first, continue train is very difficult to do correctly without performance loss, and python codes are not extremely hard to generalize. Just remember to keep your SFT pairs as diverse(both semantic-wise and task-wise) and as high-quality as possible.

Best Regards,
Nuo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants