Who it is forA researcher with a small dataset who needs better accuracy than the general model gives.
The problemTraining from scratch needs far more data than most projects have.
The outcomeA fine-tuned model built on the small, medium or large MACE-MP weights.
What you need first
- Python 3.11 or later and PyTorch 2.5 or later, installed first
- Install with `pip install mace-torch` (the PyPI package named MACE is unrelated)
- Training data as XYZ files; a CUDA GPU or Apple Silicon (mps) for practical training speed
Steps
- Install with
pip install mace-torch - Run mace_run_train with
--foundation_model="small"plus your --train_file, --valid_fraction and --test_file - Use the README settings such as --E0s="average", --lr=0.01, --batch_size=2 and --max_num_epochs=6 as a starting point
- Or pass a path with --foundation_model to fine-tune another model; its hyperparameters are extracted automatically
Prompt for your agent
Using ACEsuit/mace, fine-tune the small MACE-MP foundation model on <my dataset.xyz> with the README fine-tuning flags and compare test errors before and after.
Caveat. Downloaded models are cached in ~/.cache/mace unless XDG_CACHE_HOME is set.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ACEsuit/mace and "Fine-tune a MACE-MP foundation model on your system"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer