Instructions to use FerrellSyntheticIntelligence/fsi-anomaly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use FerrellSyntheticIntelligence/fsi-anomaly with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf FerrellSyntheticIntelligence/fsi-anomaly # Run inference directly in the terminal: llama cli -hf FerrellSyntheticIntelligence/fsi-anomaly
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FerrellSyntheticIntelligence/fsi-anomaly # Run inference directly in the terminal: llama cli -hf FerrellSyntheticIntelligence/fsi-anomaly
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf FerrellSyntheticIntelligence/fsi-anomaly # Run inference directly in the terminal: ./llama-cli -hf FerrellSyntheticIntelligence/fsi-anomaly
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf FerrellSyntheticIntelligence/fsi-anomaly # Run inference directly in the terminal: ./build/bin/llama-cli -hf FerrellSyntheticIntelligence/fsi-anomaly
Use Docker
docker model run hf.co/FerrellSyntheticIntelligence/fsi-anomaly
- LM Studio
- Jan
- Ollama
How to use FerrellSyntheticIntelligence/fsi-anomaly with Ollama:
ollama run hf.co/FerrellSyntheticIntelligence/fsi-anomaly
- Unsloth Desktop
- Docker Model Runner
How to use FerrellSyntheticIntelligence/fsi-anomaly with Docker Model Runner:
docker model run hf.co/FerrellSyntheticIntelligence/fsi-anomaly
- Lemonade
How to use FerrellSyntheticIntelligence/fsi-anomaly with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FerrellSyntheticIntelligence/fsi-anomaly
Run and chat with the model
lemonade run user.fsi-anomaly-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
| # Stage-A orchestration: wait for continue-pretrain to exit, baseline eval, then SFT. | |
| set -u | |
| cd "$(dirname "$0")" | |
| export PYTHONPATH="$PWD" | |
| BASE_CKPT=ckpt/tiny18m2/model_best.pt | |
| EVAL_LOG=logs/baseline_eval_tiny18m2.log | |
| SFT_LOG=logs/stage_a_sft.log | |
| SFT_DIR=ckpt/tiny18m2_sft_a | |
| echo "[stage_a] $(date) waiting for continue-pretrain (train_lm.py on tiny18m2) to exit..." | |
| while pgrep -f "train/train_lm.py --resume ckpt/tiny18m2" >/dev/null 2>&1; do | |
| sleep 60 | |
| done | |
| echo "[stage_a] $(date) training exited; last train log tail:" | |
| tail -3 logs/train_phase2b_r3.log 2>/dev/null || true | |
| # refresh best.pt pointer | |
| BASE=$(ls -t ckpt/tiny18m2/model_best.pt 2>/dev/null || echo "$BASE_CKPT") | |
| echo "[stage_a] $(date) baseline eval on $BASE -> $EVAL_LOG" | |
| .venv/bin/python research/eval.py --ckpt "$BASE" --probes data/eval_probes.jsonl > "$EVAL_LOG" 2>&1 | |
| echo "=== probes_researcher ===" >> "$EVAL_LOG" | |
| .venv/bin/python research/eval.py --ckpt "$BASE" --probes data/probes_researcher.jsonl >> "$EVAL_LOG" 2>&1 | |
| echo "[stage_a] $(date) baseline eval done (floor to beat)." | |
| if [ -s "$SFT_LOG" ] && [ -d "$SFT_DIR" ]; then | |
| echo "[stage_a] $(date) Stage-A already started (sentinel present); not relaunching." | |
| echo " resuming/continuing manually; see $SFT_LOG" | |
| exit 0 | |
| fi | |
| echo "[stage_a] $(date) launching Stage-A SFT (conservative, KL-anchored) -> $SFT_LOG" | |
| nohup .venv/bin/python train/train_sft_v4.py \ | |
| --base "$BASE" \ | |
| --data data/stage_a_gold.jsonl \ | |
| --tok data/tokenizer.json \ | |
| --ckpt "$SFT_DIR" \ | |
| --val-bin data/valid_mix.bin \ | |
| --epochs 3 --batch 4 --seq 512 --lr 8e-6 \ | |
| --kl 0.05 --train-scope last2 --threads 8 \ | |
| > "$SFT_LOG" 2>&1 & | |
| echo "[stage_a] $(date) SFT pid $! logged to $SFT_LOG" | |