GGUF
conversational
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="ChristianAzinn/tiny-json",
	filename="",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

TinyJSON

Trained on my json-training dataset, these are finetunes of the smallest state-of-the-art LLMs to output in structured JSON.

Where their base/instruct versions have so little clue how to output JSON that forcing it using techniques like grammars simply hangs forever, these little guys (mostly) work like a charm. (SmolLM 135M still sometimes babbles on. Set a maximum token limit.)

Training was done with Unsloth at 4bit (lmao), rank=8, alpha=8, for 3 epochs each. rev1 models were trained on the first revision (11.6k rows) of json-training, while rev2 models were trained on the second (20.6k rows).

Downloads last month
36
GGUF
Model size
0.5B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ 1 Ask for provider support