Downloads · 30 days
0
cocopuffeatemup/novamind-ai
novamind-ai is a machine learning model from cocopuffeatemup. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Your locally-trainable AI assistant — a complete full-stack AI app built from scratch:
Downloads · 30 days
0
Access
Public
Updated Sep 4, 2026
Repo size
5.5 MB
Likes
0
Public
Click a slice to open those files.
.pt5.5 MB · 84%
From the Hugging Face model README
Your locally-trainable AI assistant — a complete full-stack AI app built from scratch:
docker build -t novamind .
docker run -p 7860:7860 novamind
# open http://localhost:7860
The image builds the Next.js app (standalone) and boots the Python AI engine + app together.
npm install && npx prisma generate && npx prisma db push && npm run build
pip install torch --index-url https://download.pytorch.org/whl/cpu fastapi "uvicorn[standard]" pydantic numpy
python -m uvicorn engine.server:app --host 127.0.0.1 --port 3031 &
DATABASE_URL=file:$PWD/db/custom.db ENGINE_URL=http://127.0.0.1:3031 \
node .next/standalone/server.js
data/checkpoints/best.pt is a ~1.1M-parameter Transformer (128d · 4 layers · GQA) trained on the sample corpus with a matching byte-level BPE tokenizer (data/tokenizer/) — it generates simple text and demonstrates the full train → save → serve loop. Use the Training tab to train it further or swap in your own corpus (data/raw/).
Next.js 16 (App Router, TypeScript, Tailwind 4, shadcn/ui) · Prisma + SQLite · FastAPI + PyTorch (CPU) · z-ai-web-dev-sdk · from-scratch BPE tokenizer and Transformer.
This repo is Space-ready: Dockerfile + README metadata — duplicate this repo into a new Docker Space (requires HF PRO for dynamic Spaces), or run it on any Docker host.