Request it for the seed queue, or get it now with pf download LocoreMind/LocoTrainer-4B-GGUF (CLI guide).
GGUF quantized version of LocoTrainer-4B model for local inference.
| Version | Size | Speed | Quality | Recommended For |
|---|---|---|---|---|
| F16 | 8.3GB | Fast | Highest | Baseline/Reference |
| Q8_0 | 4.4GB | Fast | Very High | High-quality inference |
| Q5_K_M | 3.0GB | Medium | High | Balanced approach |
| Q4_K_M | 2.6GB | Fast | Medium | Recommended |
| Q3_K_M | 2.1GB | Very Fast | Medium | Resource-constrained |
# Download model
wget https://huggingface.co/LocoreMind/LocoTrainer-4B-GGUF/resolve/main/LocoTrainer-4B-Q4_K_M.gguf
# Start server
./llama-server -m LocoTrainer-4B-Q4_K_M.gguf --port 8080 --ctx-size 32768
# Configure .env
export LOCOTRAINER_BASE_URL=http://localhost:8080/v1
export LOCOTRAINER_MODEL=LocoTrainer-4B
# Run
locotrainer run -q "What are the default LoRA settings in ms-swift?"
from llama_cpp import Llama
llm = Llama(
model_path="LocoTrainer-4B-Q4_K_M.gguf",
n_gpu_layers=99,
n_ctx=32768,
)
response = llm(
"What is MS-SWIFT?",
max_tokens=512,
)
print(response["choices"][0]["text"])
Tested on NVIDIA H100:
MIT
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo LocoreMind/LocoTrainer-4B-GGUF ./model-folderLocoreMind/LocoTrainer-4B