chat.py provides a sample inference script.chat_full.py provides a sample inference script with history and conversation management.1# Install required tools
2pip install huggingface_hub
3
4# Install Git LFS (Large File Support)
5# macOS with Homebrew:
6brew install git-lfs
7# Or Ubuntu/Debian:
8# sudo apt-get install git-lfs
9
10# Initialize Git LFS
11git lfs install
12
13# Clone the repository with model files
14git clone https://huggingface.co/anemll/anemll-DeepSeekR1-8B-ctx1024_0.1.11# Navigate to cloned directory
2cd anemll-DeepSeekR1-8B-ctx1024_0.1.1
3
4# Pull LFS files (model weights)
5git lfs pull
6
7# Extract CoreML model files
8find . -type f -name "*.zip" -exec unzip {} \;pip install coremltools transformerspython chat.py --meta ./meta.yamlpython chat_full.py --meta ./meta.yamlNote: The first time the model loads, macOS will take some time to place it on the device. Subsequent loads will be instantaneous. Use Ctrl-D to exit, Ctrl-C to interrupt inference.