Downloads · 30 days
256
86% of all-time downloads
wenzhouwu/YoungAi-DeepSeek-V4.1-Flash
YoungAi-DeepSeek-V4.1-Flash is a text generation model from wenzhouwu. Use it when you need the model to write or continue text. The card lists the license as mit.
v0.3.0-rc is out: <https://github.com/fodelf/YoungAi/releases/tag/v0.3.0-rc<br This is the last RC built on DeepSeek-V4.1-Flash. Download the package for your machine (linux-aarch64 for DGX Spark, darwin-arm64 for App…
Downloads · 30 days
256
86% of all-time downloads
All-time downloads
299
Public
Repo size
115 GB
Likes
14
Public
Click a slice to open those files.
.part01-of-402.8 GB · 2%
From the Hugging Face model README
<p align="center"> <img src="web/logo.jpg" width="96" alt="YoungAi logo"> </p> <h1 align="center">YoungAi</h1> <p align="center"> <b>A personal AI assistant that lives on your own machine.</b><br> Hold to talk. It remembers what you tell it, browses the web, writes Word/PDF/PowerPoint/Excel files, makes videos, keeps following up on a job, and hands the result to the next app on your phone. Model, memory and files all stay on the box. </p> <p align="center"> <a href="https://fodelf.github.io/YoungAi/"><b>Website · user guide</b></a> · <b>English</b> · <a href="https://github.com/fodelf/YoungAi/blob/restructure/README.zh-CN.md">中文</a> · <a href="https://huggingface.co/wenzhouwu/YoungAi-DeepSeek-V4.1-Flash">Hugging Face</a> · <a href="https://github.com/fodelf/YoungAi/blob/restructure/docs/TECHNICAL.md">Technical notes</a> </p>v0.3.0-rc is out: https://github.com/fodelf/YoungAi/releases/tag/v0.3.0-rc<br> This is the last RC built on DeepSeek-V4.1-Flash. Download the package for your machine (
linux-aarch64for DGX Spark,darwin-arm64for Apple Silicon), unpack it, run theds4-traininside, openhttp://<host>:8000/, and download the model from the Models page.

The model behind it is DeepSeek V4.1 Flash (510 GB as released), shrunk to 113.6 GB and running on a single 128 GB DGX Spark with a 1M-token context. Open source, MIT. Plain C99 + CUDA (Metal on Apple Silicon), one Makefile, no third-party libraries linked.
A request comes in, the assistant does the work in a sandbox, then hands the result on. The screenshot above is a real run: "find me the cheapest DGX Spark on the web" took 16 minutes, 12 rounds and 43 tool calls, all on the machine itself.
| You say | It does | You get |
|---|---|---|
| "Anything good to eat nearby?" (on a phone) | locate → nearby places → picks 3 with reasons | a Navigate button and an Open in Meituan / Ele.me button for each |
| "Turn this Word file into a PDF" (attachment) | converts it inside the sandbox | a file card: download, or share to WeChat / DingTalk |
| "Look into X and write it up for my colleague" | searches, reads the sources, writes a docx | the report plus the system share sheet |
| "Sum this table by month" | reads the csv, writes an xlsx with formulas | an Excel file whose numbers show on a phone |
| "Make a 30-second product video with narration" | writes an HTML animation, renders and encodes it frame by frame | a narrated mp4 any phone player can play |
| "Watch this price and tell me when it drops below X" | creates a task and decides itself when to look again | a push notification on your phone |
| "Remember I mostly live in Nanjing" | writes it to memory | trip plans start from Nanjing from then on |
The assistant's tools (this table is what the model sees; there is no scenario-specific prompt):
| Group | Tools | Notes |
|---|---|---|
| Memory | remember forget | only what you said yourself; plain text under ~/.ds4/assistant/memory/ you can edit |
| Files | read_file list_dir search_files write_file edit_file | the workspace by default; a path outside it shows a card asking you first |
| Programs | run | runs a command in the kernel sandbox: no network, writes only to the workspace; uses soffice / pandoc / python3 etc. if installed |
| Web | web_search visit_page | headless Firefox: search and page text |
| Office files | write_document write_xlsx | Markdown → docx / pdf / pptx; JSON → xlsx with formulas computed. All written in-house, no Office needed |
| Video | make_video | the model writes an HTML animation; our own H.264/AAC encoder turns it into an mp4, optionally narrated |
| Places | locate nearby | phone location + AMap nearby search (real places with an AMap key; a street-scoped web search without one) |
| To your phone | share copy_text navigate call open_url open_app read_clipboard pick_file | run on the device you are using; opens Douyin / WeChat / DingTalk / Alipay / Meituan / Ele.me |
| Follow-up | task_check_in task_done notify | a task picks its own next check; reminders and "done" notices go to your phone (Web Push) |
| Skills | use_skill | a folder with a SKILL.md teaches it how to do a kind of job (Agent Skills format, no scripts allowed) |
| Cloud phone | six phone_* tools | only in danger mode; see the disclaimer at the end |
Like WeChat: with the input box empty, the rightmost button is a microphone; tap it to get a "Hold to talk" bar, hold and speak, and let go to send right away. Slide up before letting go to cancel. The limit is 30 seconds. Speech recognition also runs on the machine's GPU, so the audio never leaves it.
The recognizer is moonshine-tiny-zh (27M parameters, 108 MB), run by this project's own C + GPU kernels (CUDA / Metal), with no Python or ONNX. On the Spark a 3.4-second utterance takes 51 ms to transcribe.
Chinese only. It is the smallest tier: the paper reports a 29–36% character error rate on hard test sets (crowd-sourced recordings, many accents). Speaking clearly into a phone does much better, but it is a notch below large models.
To turn it on, put the model's files in gguf/asr/moonshine-tiny-zh/ and load the model again on Models; a
microphone appears next to the input box. Without that folder the feature simply does not exist: no microphone, no error.
mkdir -p gguf/asr/moonshine-tiny-zh && cd gguf/asr/moonshine-tiny-zh
for f in config.json tokenizer.json model.safetensors LICENSE.txt; do
curl -fLO https://huggingface.co/moonshine-ai/moonshine-tiny-zh/resolve/main/$f
done
Browsers only grant the microphone over https or localhost; over http://<LAN-IP> there is no microphone, and the
rightmost button is just Send.
Status: transcripts on the Mac (Metal) and the Spark (CUDA) match the official reference implementation character for character, and the production server on the Spark passed a smoke test. A real phone has been tried on a few sentences (two wrong characters in three); the formal acceptance run (10 sentences on each of three phones) has not been done yet.
audit.jsonl), browsable on the Activity tab, where approvals can be revoked.You need a DGX Spark (Linux aarch64 with the CUDA 13 runtime, ~320 GB free SSD). The web tools need Firefox, which Ubuntu on the Spark ships.
git clone https://github.com/fodelf/YoungAi.git ~/ds4-main && cd ~/ds4-main
make cuda-spark
./ds4-train --host 0.0.0.0 --port 8000 # open http://<host>:8000/
~/.ds4/assistant/.SKILL.md (the repo ships one for slide decks: skills/pptx/).How every tab and every tool works, and what happens when something goes wrong: the user guide.
Train on your own data. One JSON object per line, in either of Unsloth's two shapes; drop the file on Data, press Start on Train. Nothing is mounted automatically: turn on the Post-train switch next to the chat box to use it. Full walk-through: technical notes §4.3.
{"messages":[{"role":"user","content":"What was the entry price?"},{"role":"assistant","content":"30.39"}],"context":"…the source document…"}
{"text":"Raw text, trained as-is (continued pretraining)."}
Use it as an API. /v1/chat/completions, /v1/completions, /v1/responses, /v1/messages (OpenAI / Anthropic
compatible). Create a key on the API tab and send Authorization: Bearer <key> (also from localhost; without it you get
401). "temperature": 0 gives byte-identical output every run. With the speech model installed there is also
/v1/audio/transcriptions: the request body is a 16 kHz mono WAV as-is (not OpenAI's multipart form) and the reply is
{"text":"…"}; other sample rates or formats get a 400 saying what arrived. API only, no Studio, no build:
curl -fsSLO https://huggingface.co/wenzhouwu/YoungAi-DeepSeek-V4.1-Flash/resolve/main/install.sh
bash install.sh # --domain law for another domain (default: code); --endpoint https://hf-mirror.com for a mirror
| Size | 510 GB as released → 113.6 GB base (8 weights vector-quantized together, ~1.6 bit/weight, no training data used) |
| Speed (DGX Spark) | reads 1,055 tokens/s (12.5k-token prompt); writes 45.5 tokens/s (a real 14k-token agent request, speculative decoding on) |
| Context | 1M tokens; the full KV cache is 0.89 GB |
| Domain sidecars | finance / code / law / medicine / science, ~40 MB each, switched from the chat box in under a second |
With a sidecar, how often our next token matches the original full-precision model's goes up 2.9–3.7 points (code: 78.6% → 82.3%). Method and full tables: technical notes §5.
On a Mac, make builds the Metal version; 126 GPU kernel tests pass on a real Apple GPU. The full model has not run on a
Mac yet (ours has 16 GB).
Settings has a Danger mode switch, off by default. Turning it on starts a virtual Android 13 phone on the host
(Linux only: the kernel needs binder; macOS cannot run it) and gives the model six phone_* tools: look at the screen,
tap, swipe, press keys, type, open apps. The workbench gets a Phone tab with the live screen (H.264 stream decoded by
your browser), and /api/phone/* is a plain REST API that the page, the model and your own scripts all share
(docs/assistant_phone.md). Read this before you flip the switch:
ds4-phone, ~600 lines of C, no Docker) boots directly; its one-time setup needs sudo once
(scripts/phone_prepare_linux.sh).localhost); over plain http://<LAN-IP> browsers
withhold WebCodecs and the tab falls back to one screenshot per second.Wenzhou Wu (吴文周) · [email protected]. Questions, reproduction reports and collaboration are welcome; bugs and pull requests go to GitHub.
YoungAi started as a fork of antirez/ds4 (DwarfStar, Salvatore Sanfilippo's DeepSeek V4
engine). GGUF, layouts such as q4_K and much kernel know-how come from llama.cpp and GGML;
the GGML copyright notice stays in LICENSE. The model is DeepSeek's; thanks for releasing the weights and the reference code.
Engine: MIT (LICENSE). The quantized weights derive from DeepSeek V4.1 Flash, also MIT
(LICENSE-DeepSeek).
Voice input is Powered by Moonshine AI. The moonshine-tiny-zh recognizer is not MIT; it is under the Moonshine AI Community License: free for research and non-commercial use; commercial use requires registering at moonshine.ai/community-license, the license ends automatically once you and your affiliates exceed US$1M in annual revenue, and its outputs may not be used to train foundation models. This repository does not ship its weights; using it is your call.