Downloads · 30 days
70
15% of all-time downloads
anmoldhandhania93/ANMOLGPT-4B-v0.4
ANMOLGPT-4B-v0.4 is a text generation model from anmoldhandhania93. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
ANMOLGPT-4B-v0.4 is the fourth iteration of the ANMOLGPT open-source language model series.
Downloads · 30 days
70
15% of all-time downloads
All-time downloads
458
Public
Parameters
4.7B
9.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors9.3 GB · 100%
How the weights are stored.
BF164.7B · 100%
From the Hugging Face model README
ANMOLGPT-4B-v0.4 is the fourth iteration of the ANMOLGPT open-source language model series.
v0.4 is based on Qwen3.5-4B and was fine-tuned using the SlimOrca instruction dataset with parameter-efficient LoRA fine-tuning.
The goal of v0.4 was to improve general instruction following, knowledge, and reasoning capabilities while preserving the improvements achieved in previous ANMOLGPT versions.
An interesting result from this experiment was a significant improvement on TruthfulQA, despite TruthfulQA not being used as the v0.4 training dataset.
| Property | Value |
|---|---|
| Model | ANMOLGPT-4B-v0.4 |
| Base Model | Qwen3.5-4B |
| Fine-tuning Dataset | SlimOrca |
| Fine-tuning Method | LoRA |
| Training Framework | Unsloth |
| Model Framework | Hugging Face Transformers |
| Quantization | 4-bit |
| Parameters | Approximately 4B |
| Language | English |
| Developer | Anmol Dhandhania |
ANMOLGPT-4B-v0.4 was created by fine-tuning the Qwen3.5-4B base model on the SlimOrca instruction dataset.
The experiment was designed to investigate whether a high-quality instruction and reasoning dataset could improve general model performance without increasing the model's parameter count.
The model was trained using parameter-efficient fine-tuning rather than updating all model parameters.
ANMOLGPT-4B-v0.4 was evaluated using the EleutherAI LM Evaluation Harness.
The evaluation suite included:
Most benchmarks were evaluated using 0-shot configurations.
GSM8K was evaluated using its 5-shot configuration.
| Benchmark | Metric | Score |
|---|---|---|
| HellaSwag | Accuracy | 55.06% |
| HellaSwag | Accuracy (normalized) | 73.40% |
| PIQA | Accuracy | 77.86% |
| PIQA | Accuracy (normalized) | 78.29% |
| ARC-Easy | Accuracy | 83.75% |
| ARC-Easy | Accuracy (normalized) | 79.21% |
| Winogrande | Accuracy | 70.64% |
| TruthfulQA MC2 | Accuracy | 54.61% |
| MMLU | Accuracy | 73.58% |
| GSM8K | Flexible Extract | 54.36% |
| GSM8K | Strict Match | 46.85% |
GSM8K was evaluated using 5-shot prompting.
| Metric | Score | Standard Error |
|---|---|---|
| Flexible Extract | 54.36% | ±1.37% |
| Strict Match | 46.85% | ±1.37% |
The flexible-extract metric allows the evaluation harness to extract the final numerical answer from the model's generated response.
The strict-match metric requires the generated answer to satisfy the stricter answer-format criteria.
Overall MMLU accuracy:
73.58% ± 0.35%
| Category | Accuracy |
|---|---|
| Humanities | 66.14% |
| Other | 77.44% |
| Social Sciences | 82.94% |
| STEM | 71.74% |
| Subject | Accuracy |
|---|---|
| High School Government & Politics | 93.78% |
| Marketing | 92.31% |
| High School Psychology | 91.93% |
| High School Biology | 90.32% |
| High School Microeconomics | 90.76% |
| Sociology | 88.06% |
| High School World History | 86.08% |
| High School US History | 85.78% |
| Computer Security | 85.00% |
| High School European History | 84.85% |
| High School Geography | 86.87% |
| High School Computer Science | 82.00% |
| College Biology | 88.89% |
| Conceptual Physics | 83.83% |
| Astronomy | 82.89% |
Some areas remain challenging:
| Subject | Accuracy |
|---|---|
| Abstract Algebra | 52.00% |
| High School Mathematics | 50.37% |
| College Mathematics | 55.00% |
| College Physics | 56.86% |
| College Chemistry | 60.00% |
| Machine Learning | 62.50% |
| Elementary Mathematics | 64.55% |
These areas are potential targets for future training iterations.
v0.3 focused on targeted fine-tuning using TruthfulQA-oriented data.
v0.4 instead used SlimOrca to investigate improvements in general instruction following and reasoning.
| Benchmark | v0.3 | v0.4 | Change |
|---|---|---|---|
| HellaSwag | 54.58% | 55.06% | +0.48 |
| HellaSwag normalized | 72.80% | 73.40% | +0.60 |
| PIQA | 78.13% | 77.86% | -0.27 |
| PIQA normalized | 78.45% | 78.29% | -0.16 |
| ARC-Easy | 80.13% | 83.75% | +3.62 |
| ARC-Easy normalized | 76.52% | 79.21% | +2.69 |
| Winogrande | 70.56% | 70.64% | +0.08 |
| TruthfulQA MC2 | 45.85% | 54.61% | +8.76 |
| MMLU | 73.34% | 73.58% | +0.24 |
The results indicate that v0.4 improved several general reasoning and knowledge benchmarks while largely maintaining the performance achieved by v0.3.
The largest improvement was observed on TruthfulQA MC2:
45.85% → 54.61%
This is particularly interesting because TruthfulQA was not used as the v0.4 training dataset.
Further investigation is required to understand the source of this improvement and to rule out potential dataset overlap or contamination.
Primary focus:
Truthfulness and factuality
Training data included TruthfulQA-oriented examples.
Primary focus:
General instruction following and reasoning
Training dataset:
SlimOrca
The objective was to determine whether broader high-quality instruction data could produce improvements across multiple benchmarks.
ANMOLGPT-4B-v0.4 is primarily intended for research, experimentation, and development involving:
The model can also serve as a starting point for further fine-tuning.
ANMOLGPT-4B-v0.4 is an experimental open-source model.
It should not be considered a production-ready or safety-critical system.
The model may:
Benchmark performance should not be interpreted as a guarantee of real-world performance.
The model should not be used as the sole basis for medical, legal, financial, safety-critical, or other high-stakes decisions.
The model was evaluated using the EleutherAI LM Evaluation Harness.
Evaluation configuration:
| Benchmark | n-shot |
|---|---|
| HellaSwag | 0 |
| PIQA | 0 |
| ARC-Easy | 0 |
| Winogrande | 0 |
| TruthfulQA MC2 | 0 |
| MMLU | 0 |
| GSM8K | 5 |
GSM8K was evaluated using:
For reproducibility, evaluations should use the same task versions, evaluation harness configuration, model-loading configuration, and generation parameters.
Example using Hugging Face Transformers:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "anmoldhandhania93/ANMOLGPT-4B-v0.4"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto"
)
prompt = "Explain what machine learning is in simple terms."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.7,
do_sample=True
)
response = tokenizer.decode(
outputs[0],
skip_special_tokens=True
)
print(response)