Text Generation
GGUF
English
code
How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="rahuldshetty/tinyllama-python-gguf",
	filename="tinyllama-python-unsloth.Q2_K.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

rahuldshetty/tinyllama-python-gguf

Quantized GGUF model files for tinyllama-python.

Name Quant method Size
tinyllama-python-unsloth.Q2_K.gguf fp16 432 MB

Prompt Format

### Instruction:
{instruction}

### Response:

Example

### Instruction:
Write a function to find cube of a number.

### Response:
Downloads last month
33
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train rahuldshetty/tinyllama-python-gguf