Run this model with HF Jobs

Run LegionIntel/yurts-python-code-gen-30-sparse 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/LegionIntel/yurts-python-code-gen-30-sparse. 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/LegionIntel/yurts-python-code-gen-30-sparse 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/LegionIntel/yurts-python-code-gen-30-sparse. 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/LegionIntel/yurts-python-code-gen-30-sparse. 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.
How to use from
Docker Model Runner
docker model run hf.co/LegionIntel/yurts-python-code-gen-30-sparse
Quick Links

Maverick (Yurt's Python Code Generation Model)

Model description

This code generation model was fine-tuned on Python code from a generic multi-language code generation model. This model was then pushed to 30% sparsity using Yurts' in-house technology without performance loss. In this specific instance, the class representation for the network is still dense. This particular model has 350M trainable parameters.

Training data

This model was tuned on a subset of the Python data available in the BigQuery open-source Github dataset.

How to use

The model is great at autocompleting based off of partially generated function signatures and class signatures. It is also decent at generating code base based off of natural language prompts with a comment. If you find something cool you can do with the model, be sure to share it with us!

Check out our colab notebook to see how to invoke the model and try it out.

Feedback and Questions

Have any questions or feedback? Find us on Discord.

Downloads last month
503
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using LegionIntel/yurts-python-code-gen-30-sparse 3