Downloads · 30 days
36
12% of all-time downloads
ndlanier/gutsignal-food-parser-tinyllama-1.1b
gutsignal-food-parser-tinyllama-1.1b is a machine learning model from ndlanier. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
Fine-tuned language model for parsing food descriptions into structured data, optimized for Apple Silicon.
Downloads · 30 days
36
12% of all-time downloads
All-time downloads
302
Public
Parameters
1.1B
2.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
Fine-tuned language model for parsing food descriptions into structured data, optimized for Apple Silicon.
This model is fine-tuned from TinyLlama/TinyLlama-1.1B-Chat-v1.0 to parse natural language food descriptions and extract:
This model is in Apple MLX format, optimized for on-device inference on Apple Silicon (M1/M2/M3/M4 chips) and iOS devices.
from mlx_lm import load, generate
model, tokenizer = load("ndlanier/gutsignal-food-parser-tinyllama-1.1b")
prompt = """### Instruction:
Parse the following food description and extract structured data.
### Input:
chicken salad with ranch dressing
### Output:
"""
response = generate(model, tokenizer, prompt=prompt, max_tokens=256)
print(response)
See iOS Integration Guide for using MLX models in iOS apps.
{
"ingredients": ["chicken", "lettuce", "ranch dressing"],
"categories": ["protein", "vegetables", "fats"],
"is_beverage": false,
"contains_dairy": true,
"estimated_calories": 450
}
dairy, grains, protein, vegetables, fruits, fats, sugars, beverages, spicy, fiber, processed, caffeine, alcohol, fermented, nuts, legumes, unknown
apache-2.0
@misc{gutsignal-food-parser-mlx,
author = {Nathan Lanier},
title = {GutSignal Food Parsing Model - MLX},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/ndlanier/gutsignal-food-parser-tinyllama-1.1b}}
}