Downloads · 30 days
43
7% of all-time downloads
JuhaD2/sports-science-3b-gguf
sports-science-3b-gguf is a text generation model from JuhaD2. Use it when you need the model to write or continue text. The card lists the license as llama3.2.
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.
Downloads · 30 days
43
7% of all-time downloads
All-time downloads
599
Public
Repo size
2 GB
Likes
2
Public
Click a slice to open those files.
.gguf2 GB · 99%
From the Hugging Face model README
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 Q4_K_M GGUF format for efficient on-device inference via llama.cpp and llama.rn (React Native).
| Property | Value |
|---|---|
| Base model | meta-llama/Llama-3.2-3B-Instruct |
| Fine-tuning method | QLoRA (PEFT) |
| LoRA rank (r) | 16 |
| LoRA alpha | 32 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Training epochs | 2 |
| Training pairs | 22,068 |
| Validation pairs | 2,453 |
| Learning rate | 2e-4 (cosine schedule) |
| Quantization | Q4_K_M (llama.cpp) |
| File size | ~1.9 GB |
| File | Size | Description |
|---|---|---|
model_q4km.gguf | ~1.9 GB | Q4_K_M quantized model — use this for inference |
tokenizer.json | ~16 MB | Tokenizer vocabulary |
tokenizer_config.json | small | Tokenizer settings |
special_tokens_map.json | small | Special token definitions |
The model was fine-tuned on a custom instruction-response dataset derived from sports science research papers across 5 domains:
| Domain | Pairs | % |
|---|---|---|
| HRV Analysis | ~7,700 | 35% |
| Training Load | ~5,100 | 23% |
| Recovery Science | ~3,900 | 18% |
| Biomechanics | ~2,600 | 12% |
| Nutrition & Performance | ~2,600 | 12% |
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.
./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|>"
Load model_q4km.gguf directly from the Local Models tab.
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);
The adapter weights are not included here. For Python use, load the base model and apply the original LoRA adapter separately.
Built on Llama 3.2 — subject to the Llama 3.2 Community License.