Run this model with HF Jobs

Run rahuldshetty/tinyllama-python 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/rahuldshetty/tinyllama-python. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

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

Evaluate on a benchmark

Use HF Jobs and Lighteval to evaluate https://huggingface.co/rahuldshetty/tinyllama-python. 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/rahuldshetty/tinyllama-python with Transformers and bitsandbytes. 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.
tinyllama-python / README.md
rahuldshetty's picture
Update README.md
9280fe1 verified
|
Raw History Blame Contribute Delete
1.11 kB
---
license: apache-2.0
datasets:
- iamtarun/python_code_instructions_18k_alpaca
language:
- en
pipeline_tag: text-generation
tags:
- code
widget:
- text: |-
### Instruction:
Write a function to find square of a number.
### Response:
- text: |-
### Instruction:
Write a function to calculate factorial.
### Response:
- text: |-
### Instruction:
Write a function to check whether a number is prime.
### Response:
---
# rahuldshetty/tinyllama-python-gguf
- Base model: [unsloth/tinyllama-bnb-4bit](https://huggingface.co/unsloth/tinyllama-bnb-4bit)
- Dataset: [iamtarun/python_code_instructions_18k_alpaca](https://huggingface.co/datasets/iamtarun/python_code_instructions_18k_alpaca)
- Training Script: [unslothai: Alpaca + TinyLlama + RoPE Scaling full example.ipynb](https://colab.research.google.com/drive/1AZghoNBQaMDgWJpi4RbffGM1h6raLUj9?usp=sharing)
## Prompt Format
```
### Instruction:
{instruction}
### Response:
```
## Example
```
### Instruction:
Write a function to find cube of a number.
### Response:
```