Text Generation
Transformers
Safetensors
English
mistral
text-generation-inference

Run this model with HF Jobs

Run instruction-pretrain/instruction-synthesizer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/instruction-pretrain/instruction-synthesizer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/instruction-pretrain/instruction-synthesizer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/instruction-pretrain/instruction-synthesizer. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/instruction-pretrain/instruction-synthesizer. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Can you share the training code for the instruction synthesizer?

#2
by chenff35 - opened

Can you share the training code for the instruction synthesizer?

Thanks for your interest. We plan to share the training code soon. In the meantime, could you specify the problems you encountered when training the synthesizer yourself? We may be able to help you quickly before the code release.

Once the dataset in generated can you share the code for pretraining

Okay, we will try to release the code as soon as possible.

hello, any progress?

Sorry for the late response. We provide guidance on data formulation and loss calculation in ft-instruction-synthesizer-collection. Beyond that, our fine-tuning process is the same as regular fine-tuning of language models. Therefore, we recommend using popular open-source code like Llama-factory for fine-tuning, which might be even easier to use than our own code.

If you still encounter implementation difficulties, please don't hesitate to contact us.

Sign up or log in to comment