Lamapi / next-4b

huggingface.co
Total runs: 861
24-hour runs: 0
7-day runs: -4
30-day runs: 12
Model's Last Updated: November 11 2025
image-text-to-text

Introduction of next-4b

Model Details of next-4b

🚀 Next 4B (s320)

Türkiye’s First Vision-Language Model — Efficient, Multimodal, and Reasoning-Focused

License: MIT Language: English HuggingFace


📖 Overview

Next 4B is a 4-billion parameter multimodal Vision-Language Model (VLM) based on Gemma 3 , fine-tuned to handle both text and images efficiently. It is Türkiye’s first open-source vision-language model , designed for:

  • Understanding and generating text and image descriptions .
  • Efficient reasoning and context-aware multimodal outputs.
  • Turkish support with multilingual capabilities.
  • Low-resource deployment using 8-bit quantization for consumer-grade GPUs.

This model is ideal for researchers, developers, and organizations who need a high-performance multimodal AI capable of visual understanding, reasoning, and creative generation .


Our Next 1B and Next 4B models are leading to all of the tiny models in benchmarks.

Model MMLU (5-shot) % MMLU-Pro % GSM8K % MATH %
Next 4B preview Version s325 84.6 66.9 82.7 70.5
Next 1B Version t327 87.3 69.2 90.5 70.1
Qwen 3 0.6B 52.81 37.6 60.7 20.5
Llama 3.2 1B 49.3 44.4 11.9 30.6
Kumru 7B not verified 30.7 28.6 15.38 6.4

Also, our Next Z1 model is leading to state-of-the-art models in some of the Benchmarks.

Model MMLU (5-shot) % MMLU-Pro % GSM8K % MATH %
Next Z1 Version l294 97.3 94.2 97.7 93.2
Next Z1 Version l294 (no tool) 94.7 90.1 94.5 88.7
GPT 5 92.5 87.0 98.4 96.0
Claude Opus 4.1 (Thinking) ~92.0 87.8 84.7 95.4

🚀 Installation & Usage
Use with vision:
from transformers import AutoTokenizer, AutoModelForCausalLM, AutoProcessor
from PIL import Image
import torch

model_id = "Lamapi/next-4b"

model = AutoModelForCausalLM.from_pretrained(model_id)
processor = AutoProcessor.from_pretrained(model_id) # For vision.
tokenizer = AutoTokenizer.from_pretrained(model_id)

# Read image
image = Image.open("image.jpg")

# Create a message in chat format
messages = [
  {"role": "system","content": [{"type": "text", "text": "You are Next-X1, a smart and concise AI assistant trained by Lamapi. Always respond in the user's language. Proudly made in Turkey."}]},

  {
      "role": "user","content": [{"type": "image", "image": image},
      {"type": "text", "text": "Who is in this image?"}
    ]
  }
]

# Prepare input with Tokenizer
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=prompt, images=[image], return_tensors="pt")

# Output from the model
output = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(output[0], skip_special_tokens=True))

Who is in this image?
The image shows Mustafa Kemal Atatürk , the founder and first President of the Republic of Turkey.
Use without vision:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_id = "Lamapi/next-4b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

# Chat message
messages = [
    {"role": "system", "content": "You are Next-X1, a smart and concise AI assistant trained by Lamapi. Always respond in the user's language. Proudly made in Turkey."},
    {"role": "user", "content": "Hello, how are you?"}
]

# Prepare input with Tokenizer
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt")

# Output from the model
output = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Hello, how are you?
I'm fine, thank you. How are you?

🎯 Goals
  1. Multimodal Intelligence: Understand and reason over images and text.
  2. Efficiency: Run on modest GPUs using 8-bit quantization.
  3. Accessibility: Open-source availability for research and applications.
  4. Cultural Relevance: Optimized for Turkish language and context while remaining multilingual.

✨ Key Features
Feature Description
🔋 Efficient Architecture Optimized for low VRAM; supports 8-bit quantization for consumer GPUs.
🖼️ Vision-Language Capable Understands images, captions them, and performs visual reasoning tasks.
🇹🇷 Multilingual & Turkish-Ready Handles complex Turkish text with high accuracy.
🧠 Advanced Reasoning Supports logical and analytical reasoning for both text and images.
📊 Consistent & Reliable Outputs Reproducible responses across multiple runs.
🌍 Open Source Transparent, community-driven, and research-friendly.

📐 Model Specifications
Specification Details
Base Model Gemma 3
Parameter Count 4 Billion
Architecture Transformer, causal LLM + Vision Encoder
Fine-Tuning Method Instruction & multimodal fine-tuning (SFT) on Turkish and multilingual datasets
Optimizations Q8_0, F16, F32 quantizations for low VRAM and high VRAM usage
Modalities Text & Image
Use Cases Image captioning, multimodal QA, text generation, reasoning, creative storytelling

📄 License

This project is licensed under the MIT License — free to use, modify, and distribute. Attribution is appreciated.


📞 Contact & Support

Next 4B — Türkiye’s first vision-language AI , combining multimodal understanding, reasoning, and efficiency .

Follow on HuggingFace

Runs of Lamapi next-4b on huggingface.co

861
Total runs
0
24-hour runs
0
3-day runs
-4
7-day runs
12
30-day runs

More Information About next-4b huggingface.co Model

More next-4b license Visit here:

https://choosealicense.com/licenses/mit

next-4b huggingface.co

next-4b huggingface.co is an AI model on huggingface.co that provides next-4b's model effect (), which can be used instantly with this Lamapi next-4b model. huggingface.co supports a free trial of the next-4b model, and also provides paid use of the next-4b. Support call next-4b model through api, including Node.js, Python, http.

next-4b huggingface.co Url

https://huggingface.co/Lamapi/next-4b

Lamapi next-4b online free

next-4b huggingface.co is an online trial and call api platform, which integrates next-4b's modeling effects, including api services, and provides a free online trial of next-4b, you can try next-4b online for free by clicking the link below.

Lamapi next-4b online free url in huggingface.co:

https://huggingface.co/Lamapi/next-4b

next-4b install

next-4b is an open source model from GitHub that offers a free installation service, and any user can find next-4b on GitHub to install. At the same time, huggingface.co provides the effect of next-4b install, users can directly use next-4b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

next-4b install url in huggingface.co:

https://huggingface.co/Lamapi/next-4b

Url of next-4b

next-4b huggingface.co Url

Provider of next-4b huggingface.co

Lamapi
ORGANIZATIONS

Other API from Lamapi

huggingface.co

Total runs: 15.1K
Run Growth: 11.4K
Growth Rate: 75.90%
Updated:November 15 2025
huggingface.co

Total runs: 3.8K
Run Growth: 793
Growth Rate: 20.84%
Updated:November 11 2025
huggingface.co

Total runs: 515
Run Growth: -1.6K
Growth Rate: -313.01%
Updated:November 11 2025
huggingface.co

Total runs: 431
Run Growth: 133
Growth Rate: 30.86%
Updated:November 11 2025
huggingface.co

Total runs: 98
Run Growth: 31
Growth Rate: 31.63%
Updated:November 30 2025
huggingface.co

Total runs: 93
Run Growth: 8
Growth Rate: 8.60%
Updated:December 06 2025
huggingface.co

Total runs: 81
Run Growth: 81
Growth Rate: 100.00%
Updated:November 10 2025
huggingface.co

Total runs: 73
Run Growth: 56
Growth Rate: 76.71%
Updated:November 30 2025
huggingface.co

Total runs: 39
Run Growth: 5
Growth Rate: 12.82%
Updated:November 28 2025
huggingface.co

Total runs: 35
Run Growth: 29
Growth Rate: 82.86%
Updated:November 28 2025
huggingface.co

Total runs: 13
Run Growth: 2
Growth Rate: 15.38%
Updated:November 13 2025
huggingface.co

Total runs: 2
Run Growth: -3
Growth Rate: -150.00%
Updated:March 22 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 20 2025