GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE โ†’
Model Intelligence Sheet

cogni-x/nutrition-model-q4-gguf overview

๐Ÿฝ๏ธ Food Analyzer โ€” GGUF Q4 K M A quantized GGUF version of Ateeqq/food analysis https://huggingface.co/Ateeqq/food analysis , ready for local inference via llโ€ฆ

ggufvision-languagemultimodalfood-analysisqwenimage-to-jsonquantizedllama-cppimage-text-to-textendataset:Codatta/MM-Food-100Kbase_model:Ateeqq/food-analysisbase_model:quantized:Ateeqq/food-analysislicense:openrailendpoints_compatibleregion:usconversational

Runs locally from ~1.03 GB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
image-text-to-text
Author

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
food-analysis-q4.ggufGGUFQ41.03 GBDownload

Model Details

Model IDcogni-x/nutrition-model-q4-gguf
Authorcogni-x
Pipelineimage-text-to-text
Licenseopenrail
Base modelAteeqq/food-analysis,Qwen/Qwen3-VL-2B-Instruct
Last modified2026-08-21T10:04:39.000Z

Model README

---

license: openrail

language:

  • en

tags:

  • vision-language
  • multimodal
  • food-analysis
  • qwen
  • image-to-json
  • gguf
  • quantized
  • llama-cpp

base_model:

  • Ateeqq/food-analysis
  • Qwen/Qwen3-VL-2B-Instruct

datasets:

  • Codatta/MM-Food-100K

pipeline_tag: image-text-to-text

library_name: gguf

---

๐Ÿฝ๏ธ Food Analyzer โ€” GGUF Q4_K_M

A quantized GGUF version of Ateeqq/food-analysis, ready for local inference via llama.cpp.

This model analyzes food images and returns structured nutritional information as a JSON object โ€” including dish name, cooking method, calorie estimates, and macronutrient breakdown.

---

๐Ÿงฉ Model Details

| Property | Value |

|---|---|

| Base Model | Qwen/Qwen3-VL-2B-Instruct |

| Fine-tune Source | Ateeqq/food-analysis (LoRA) |

| Fine-tune Method | LoRA (merged & exported) |

| Quantization | Q4_K_M |

| Format | GGUF |

| File Size | ~1.05 GB |

| Original Size (F16) | ~3.4 GB |

| Modality | Image + Text |

| Output Format | JSON |

| License | openrail |

---

๐Ÿง  Capabilities

  • ๐Ÿ• Food Recognition โ€” Identifies dish name and meal type (homemade, restaurant, etc.)
  • ๐Ÿ”ฅ Calorie Estimation โ€” Predicts total calories per serving
  • ๐Ÿฅ— Macronutrient Breakdown โ€” Protein, carbohydrates, and fat in grams
  • ๐Ÿณ Cooking Method Detection โ€” Boiled, fried, grilled, baked, mixed, etc.
  • ๐Ÿ“ Portion Estimation โ€” Approximates ingredient quantities

---

๐Ÿ“ฆ Files

| File | Quantization | Size |

|---|---|---|

| food-analysis-q4.gguf | Q4_K_M | ~1.05 GB |

---

๐Ÿš€ Usage with llama.cpp

1. Download

huggingface-cli download cogni-x/nutrition-model-q4-gguf food-analysis-q4.gguf --local-dir .

2. Run inference

./llama-cli \
  -m food-analysis-q4.gguf \
  --image /path/to/food.jpg \
  -p "As a food-analyzer AI, analyze the image and return a single JSON object containing nutritional information. Respond with JSON only. No extra text." \
  -n 512

---

๐Ÿ“ค Example Output

{
  "dish_name": "Vegetable Bowl",
  "food_type": "Homemade food",
  "cooking_method": "boiled and mixed",
  "nutritional_summary": {
    "calories_kcal": 500,
    "protein_g": 20.0,
    "carbohydrate_g": 70.0,
    "fat_g": 15.0
  },
  "portion_size": {
    "quinoa": 200,
    "vegetables": 300,
    "sauce": 50
  }
}

---

โš™๏ธ Quantization Details

This model was quantized using llama.cpp:

# Step 1: Merge LoRA adapter with base model
python convert_hf_to_gguf.py ./food-analysis-merged --outfile food-analysis.gguf

# Step 2: Quantize to Q4_K_M
./llama-quantize food-analysis.gguf food-analysis-q4.gguf Q4_K_M

Q4_K_M uses 4-bit quantization with K-quants for higher accuracy on key weight matrices, providing a good balance between file size (~1 GB) and quality.

---

๐Ÿ”— Related

---

๐Ÿ“œ Citation

@misc{food_analyzer_qwen3_vl,
  author = {Muhammad Ateeq},
  title = {Food Analyzer Vision-Language Model},
  year = {2026},
  base_model = {Qwen3-VL-2B-Instruct}
}

Run cogni-x/nutrition-model-q4-gguf with guIDE

Download guIDE โ€” the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE โ†’ ยท Browse 524k+ models ยท Compare models

Source: Hugging Face ยท Compare models