How to use from
llama.cpp
# Gated model: Login with a HF token with gated access permission
hf auth login
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Rumiii/LlamaTron-RS1-Rolex
# Run inference directly in the terminal:
llama cli -hf Rumiii/LlamaTron-RS1-Rolex
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Rumiii/LlamaTron-RS1-Rolex
# Run inference directly in the terminal:
llama cli -hf Rumiii/LlamaTron-RS1-Rolex
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf Rumiii/LlamaTron-RS1-Rolex
# Run inference directly in the terminal:
./llama-cli -hf Rumiii/LlamaTron-RS1-Rolex
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf Rumiii/LlamaTron-RS1-Rolex
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Rumiii/LlamaTron-RS1-Rolex
Use Docker
docker model run hf.co/Rumiii/LlamaTron-RS1-Rolex
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Fine Tuned Llama 3.2 1B Instruct on ReasonMed 370K (Largest Medical Reasoning Dataset)

Screenshot 2026-07-05 at 2.19.27 AM

This repository provides the merged weights and a GGUF file in FP16 format for efficient local inference.

Key Features

  • Parameter-efficient fine-tuning with LoRA (~0.1–0.3% of parameters updated)
  • Full support for ReasonMed chat-template conversations
  • Mixed-precision training (FP16)
  • Observable CoT medical reasoning
  • GGUF file in FP16 format for local inference (llama.cpp, Ollama, LM Studio, etc.)

Important Disclaimer

This model is for research, education, and prototyping purposes only.
It is not a medical device, diagnostic tool, or substitute for professional clinical judgment. Always consult qualified healthcare professionals for medical decisions.

Dataset

ReasonMed – the largest publicly available medical reasoning dataset (as of 2025)

Training Details

  • Base model: meta-llama/Llama-3.2-1B-Instruct
  • Method: LoRA (rank=8, alpha=16, dropout=0.05)
  • Target modules: q_proj, k_proj, v_proj, o_proj
  • Optimizer: Adafactor
  • Hyperparameters:
    • Epochs: 3
    • Global batch size: 16 (per-device 4 + gradient accumulation 4)
    • Learning rate: 2e-4
    • Warmup steps: 20
    • Max sequence length: 512
  • Hardware: NVIDIA H100 (rented via JarvisLabs.ai)

Post-Training Steps

  1. Merged LoRA adapters into base model
  2. Converted to GGUF (FP16)

Files in this Repository

  • llama3.2-1b-medical-reasonmed-fp16.gguf

Note: This is the FP16 GGUF file. Users can further quantize it locally using llama.cpp (e.g., to Q4_K_M, Q5_K_M, or Q8_0) for smaller file sizes and faster inference on lower-end hardware.

Inference Example (llama.cpp)

./llama.cpp/main \
  -m llama3.2-1b-medical-reasonmed-fp16.gguf \
  --color --temp 0.7 --top-p 0.9 \
  -p "A patient presents with fever, cough, and shortness of breath. What is the most appropriate initial investigation?\nA. ECG\nB. Chest X-ray\nC. Blood culture\nD. CT pulmonary angiogram"
Limitations

1B-parameter model → best for lightweight / edge use cases
Reasoning quality lags behind larger (7B–70B) medical models
No additional instruction-tuning or preference optimization (DPO/ORPO) yet

Future Work

DPO / ORPO alignment
Fine-tuning on larger bases (Llama-3.2-3B, Meditron, etc.)
Formal evaluation on MedQA, PubMedQA, MMLU-clinical

License

Code (training/merging scripts): MIT (see GitHub repo)
Base model: Meta Llama 3.2 Community License
Fine-tuned weights & GGUF files: Same as base model + ReasonMed dataset terms

Acknowledgments

ReasonMed authors (Yu Sun et al.)
Meta AI for Llama-3.2
JarvisLabs.ai for affordable H100 access
Hugging Face, PEFT, and llama.cpp contributors

For questions or collaboration, open an issue on the linked GitHub repository or reach out via LinkedIn.
Downloads last month
-
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Rumiii/LlamaTron-RS1-Rolex

Adapter
(657)
this model

Paper for Rumiii/LlamaTron-RS1-Rolex