Veya 4B

Created by NotRIK

Veya 4B is a fine-tuned language model based on Qwen3-4B-Base.

It is not trained from scratch. It is designed as the language-model component of the Veya local AI assistant project.

Model details

Property Details
Model Veya 4B
Creator NotRIK
Base model Qwen3-4B-Base
Architecture Qwen3 dense
Parameters Approximately 4 billion
Fine-tuning QLoRA
Training GPU Google Colab NVIDIA T4
Base quantization during training 4-bit NF4
Compute precision FP16 on T4
LoRA rank 16
LoRA alpha 32
LoRA dropout 0.05
Maximum sequence length 1,024
Configured epochs 3
Learning rate 2e-4
Random seed 42

Training

The model was fine-tuned using:

  • PyTorch
  • Hugging Face Transformers
  • PEFT
  • bitsandbytes
  • QLoRA with NF4
  • Gradient checkpointing
  • Paged 8-bit AdamW optimizer
  • Early stopping and checkpoint restoration

The LoRA adapter was merged into the FP16 base model.

The training notebook includes dataset validation and a held-out 28-item automatic evaluation benchmark.

The bundled dataset is a small seed dataset intended for pipeline validation. No claim of large-scale training or benchmark-proven improvement is made here.

Thinking mode

Veya uses a hybrid thinking policy.

Reasoning, mathematics and planning examples use thinking blocks. Other responses use an empty thinking block.

Structured tool protocol

Veya can generate structured requests for an external agent runtime, including:

  • Tool calls
  • MCP tool calls
  • Skill requests
  • Memory requests
  • Clarification requests
  • Error responses

The model does not execute device actions by itself. A separate runtime must interpret requests, enforce permissions and execute approved actions.

GGUF downloads

Quantized GGUF files are being published in this repository.

File Status
Veya-4B-Q4_K_M.gguf Q4 quantization produced
Veya-4B-Q5_K_M.gguf Pending
Veya-4B-Q8_0.gguf Pending

Q4_K_M is approximately 2.33 GiB in the current export.

Usage

Use a compatible llama.cpp-based runtime to load a GGUF file.

Example:

llama-cli \
  -m Veya-4B-Q4_K_M.gguf \
  -p "Hello, introduce yourself."

Use the matching tokenizer and ChatML conversation format when integrating the model into an application.

Limitations

  • Responses can contain incorrect or outdated information.
  • Structured tool requests require a separate runtime.
  • Tool execution must be permission-controlled.
  • Android speed, RAM usage and thermal performance have not yet been benchmarked.
  • The small evaluation benchmark is indicative only.

Credits and attribution

Creator and fine-tuning: NotRIK

Base model: Qwen3-4B-Base, developed by the Qwen team at Alibaba Cloud.

This model is a fine-tune of the upstream Qwen model. It is not an independent model trained from scratch.

The upstream model's license and attribution requirements continue to apply.

License

Apache License 2.0, subject to the upstream model's license terms and notices.

Downloads last month
88
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for NotRIK/Veya-4B-GGUF

Quantized
(64)
this model