JuhaD2/sports-science-3b-gguf
Sports Science AI — Llama 3.2 3B Instruct (Q4KM GGUF)
A fine-tuned version of meta-llama/Llama-3.2-3B-Instruct specialised in sports science, trained to answer questions about HRV analysis, training load management, recovery science, biomechanics, and sports nutrition.
The model is quantized to Q4KM GGUF format for efficient on-device inference via llama.cpp and llama.rn (React Native).
Model Details
Files
Training Dataset
The model was fine-tuned on a custom instruction-response dataset derived from sports science research papers across 5 domains:
Source papers drawn from: International Journal of Sports Physiology and Performance, British Journal of Sports Medicine, Journal of Sports Sciences, Medicine & Science in Sports & Exercise, Sports Medicine.
Usage
llama.cpp (desktop/server)
./llama-cli \
-m model_q4km.gguf \
--gpu-layers 99 \
-n 300 \
-p "<|begin_of_text|><|start_header_id|>user<|end_header_id|>What is VO2max and how is it measured?<|eot_id|><|start_header_id|>assistant<|end_header_id|>"LM Studio
Load model_q4km.gguf directly from the Local Models tab.
llama.rn (React Native)
import { initLlama } from 'llama.rn';
import RNFS from 'react-native-fs';
const modelPath = `${RNFS.DocumentDirectoryPath}/model_q4km.gguf`;
// Download on first launch
await RNFS.downloadFile({
fromUrl: 'https://huggingface.co/JuhaD2/sports-science-3b-gguf/resolve/main/model_q4km.gguf',
toFile: modelPath,
}).promise;
// Load model
const context = await initLlama({
model: modelPath,
n_gpu_layers: 99,
});
// Run inference
const result = await context.completion({
messages: [{ role: 'user', content: 'How does training load affect recovery?' }],
n_predict: 300,
});
console.log(result.text);transformers (Python)
The adapter weights are not included here. For Python use, load the base model and apply the original LoRA adapter separately.
Intended Use
- Sports science question answering
- Athlete monitoring and load management guidance
- HRV interpretation assistance
- Recovery protocol recommendations
- Educational tool for coaches and sports scientists
Out of Scope
- Medical diagnosis or treatment
- General-purpose question answering outside sports science
- Real-time physiological monitoring
Limitations
- Responses are based on training data from academic papers up to early 2025
- Should not replace consultation with qualified sports medicine professionals
- Performance on highly specialised sub-topics may vary
License
Built on Llama 3.2 — subject to the Llama 3.2 Community License.
