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="abyrne55/nuextract-1.5-tiny-mealie-ingredient-parser",
	filename="nuextract-1.5-tiny-finetuned-q8_0.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

NuExtract-1.5-tiny Fine-tuned for Mealie Ingredient Parsing

LoRA fine-tuned version of numind/NuExtract-1.5-tiny (Qwen2.5-0.5B) for structured ingredient extraction in mealie-llm-server.

Usage

Set MODEL_INGREDIENT_EXTRACTOR to the local GGUF path:

MODEL_INGREDIENT_EXTRACTOR=models/nuextract-1.5-tiny-finetuned-q8_0.gguf

The model expects the NuExtract 1.5 template format:

<|input|>
### Template:
{
    "quantity": "",
    "unit": "",
    "food": "",
    "note": ""
}
### Text:
1 cup arborio rice

<|output|>

Use constrained grammar during inference for best results.

Training

Downloads last month
5,459
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. ๐Ÿ™‹ Ask for provider support

Model tree for abyrne55/nuextract-1.5-tiny-mealie-ingredient-parser

Adapter
(2)
this model