VallerIA 2B v0.2
VallerIA 2B v0.2 is an experimental compact language model developed by Andrea Vallera for the Vally project.
It is derived from Qwen3.5-2B-Base and fine-tuned to emphasize conversational behavior, transparent handling of actions and tool state, permissions, memory interactions, error handling and local-assistant use.
Release status
v0.2 is the frozen Golden baseline of the VallerIA project.
The weights in this repository are not an experimental Loop Transformer branch and must not be confused with later research variants.
Architecture
- Base model: Qwen/Qwen3.5-2B-Base
- Architecture: Qwen3_5ForCausalLM
- Parameters: 1,881,825,088
- Distribution dtype: BF16
- Vocabulary: 248,077 tokens
- Architectural maximum context: 262,144 tokens
- Validated VallerIA v0.2 runtime context: 8,192 tokens
Although the Qwen3.5 base architecture includes multimodal components, VallerIA v0.2 has primarily been fine-tuned and validated for text/conversational use.
Vision capabilities inherited from the base model have not been independently validated for this release.
Training
VallerIA v0.2 was produced through LoRA/PEFT fine-tuning followed by a safe merge into Qwen3.5-2B-Base.
Main LoRA configuration:
- rank: 16
- alpha: 32
- dropout: 0.05
- target modules: all-linear
- maximum training sequence length: 2048
- seed: 42
The promoted release candidate is derived from the VallerIA-2B-v0.2.3-balanced-s06 adapter.
Training data
The VallerIA dataset was developed specifically for this project.
The v0.2 functional dataset contains synthetic examples covering:
- identity
- Italian dialogue
- truthfulness
- tool routing
- permissions
- memory handling
- coding/project workflows
- error handling
Synthetic generation used Qwen3.8 27B as teacher.
NVIDIA Nemotron 3.5 Bolt was used for semantic dataset review.
Dataset construction also included deterministic validation gates, deduplication, validation-overlap prevention and human-review routing for borderline examples.
Intended use
VallerIA is intended primarily for:
- experimental local assistants;
- conversational applications;
- research into compact assistant models;
- local inference with Transformers, llama.cpp, Ollama or compatible runtimes;
- evaluation and community testing.
Limitations
VallerIA v0.2 is experimental.
The model can produce incorrect or fabricated information and should not be considered an authoritative source.
Tool execution, authorization, memory access, persistent actions and external state must be enforced by the surrounding application.
The model weights alone do not provide the deterministic Policy Layer used by the Vally application.
Do not use the model as the sole decision maker for high-impact medical, legal, financial, employment, security or safety decisions.
Context length
The underlying architecture declares a maximum context length of 262,144 tokens.
The frozen VallerIA v0.2 runtime and Golden Ollama benchmark were validated with a context window of 8,192 tokens.
Larger contexts have not been independently validated for this release.
Evaluation
See EVALUATION.md.
Golden Ollama v0.2 results:
| Benchmark | Score |
|---|---|
| ARC-Challenge | 78.328% |
| HellaSwag | 47.660% |
| WinoGrande | 54.065% |
| MMLU | 56.837% |
| TruthfulQA generative proxy | 41.616% |
| GSM8K | 20.318% |
TruthfulQA is an internal generative proxy and is not claimed to be directly equivalent to the standard leaderboard metric.
Transformers usage
See:
examples/inference_transformers.py
Recommended minimum tested software:
- Transformers 5.23.0
- PyTorch with BF16-capable inference environment
Optimized causal-conv and flash-linear-attention implementations are optional performance enhancements.
Ollama Golden configuration
The Golden local runtime used:
- Q4_K_M
- num_ctx 8192
- temperature 0.2
- top_p 0.9
Golden Q4 SHA256:
CB7740B2BB56E611B7DE2BD406AB1A843CAB84C77593E88D9DDD860D6B8BF85D
License
VallerIA 2B v0.2 is distributed under the Apache License 2.0, consistent with its Qwen3.5-2B-Base foundation.
See LICENSE and NOTICE.md.
Attribution
VallerIA project and fine-tuning methodology:
Andrea Vallera
Base model:
Qwen3.5-2B-Base - Qwen / Alibaba Cloud
Synthetic dataset teacher:
Qwen3.8 27B
Semantic dataset reviewer:
NVIDIA Nemotron 3.5 Bolt