|
--- |
|
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. |
|
|
|
|
|
- text: |- |
|
### Instruction: |
|
Write a function to calculate factorial. |
|
|
|
|
|
- text: |- |
|
### Instruction: |
|
Write a function to check whether a number is prime. |
|
|
|
|
|
--- |
|
|
|
# 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: |
|
``` |
|
|
|
|