jesusoctavioas commited on
Commit
be438b7
Β·
1 Parent(s): 2912422

docs: add README front page (quick start + file map)

Browse files
Files changed (2) hide show
  1. AGENTS.md +1 -0
  2. README.md +44 -0
AGENTS.md CHANGED
@@ -108,6 +108,7 @@ flag-combo spot checks (see session history in `CONVERSATION.md`).
108
  - Git: commit per logical change, tag stable releases (`v6-stable` etc.)
109
 
110
  ## Related docs
 
111
  - `GUIDE.md` β€” human step-by-step guide
112
  - `CONVERSATION.md` β€” full decision history of this project
113
  - `SETUP.md` β€” setup, dependencies, API keys
 
108
  - Git: commit per logical change, tag stable releases (`v6-stable` etc.)
109
 
110
  ## Related docs
111
+ - `README.md` β€” front page (quick start + file map)
112
  - `GUIDE.md` β€” human step-by-step guide
113
  - `CONVERSATION.md` β€” full decision history of this project
114
  - `SETUP.md` β€” setup, dependencies, API keys
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # mlxtorepo
2
+
3
+ Convert **any Hugging Face model to MLX format** on your Mac and publish it as a
4
+ public repo under your own HF account β€” one script, one command.
5
+
6
+ ```bash
7
+ ./convert_and_upload.sh # interactive (prompts: model repo + quant)
8
+ ./convert_and_upload.sh --model Qwen/Qwen3-8B --quant q8
9
+ ./convert_and_upload.sh --dry-run # preview the full plan, touch nothing
10
+ ```
11
+
12
+ Produces e.g. `jesusoctavioas/<ModelName>-mlx-q4` on the Hub.
13
+
14
+ ## What it does (v6)
15
+ 1. Creates + activates a venv (`~/mlxtorepo/.venv`)
16
+ 2. Installs `huggingface_hub[cli]`, `hf-transfer`, `mlx-lm`
17
+ 3. Authenticates (reuses `~/.cache/huggingface/token`, or prompts inside the script)
18
+ 4. Checks disk space (230 GB fresh / 100 GB when reusing a download)
19
+ 5. Downloads the model (hf-transfer, resumable, reuses existing)
20
+ 6. Converts to MLX (`-q --q-bits N`, or fp16) β€” quant 2–8
21
+ 7. Writes a README card (`base_model`, tags, usage snippet)
22
+ 8. Uploads to your namespace (overwrites if the repo exists)
23
+ 9. Shows where files live + interactive cleanup menu (keep-all by default)
24
+
25
+ ## Files
26
+ | File | What |
27
+ |---|---|
28
+ | `convert_and_upload.sh` | the pipeline (v1–v6 changelog in its header) |
29
+ | `AGENTS.md` | **start here** if you're an agent β€” commands, rules, gotchas |
30
+ | `PROMPTS.md` | 11 reusable prompt templates from real sessions |
31
+ | `SETUP.md` | setup, dependencies, API keys, disk budget |
32
+ | `RETROSPECTIVE.md` | lessons learned, issues + fixes, decisions |
33
+ | `CONVERSATION.md` | full decision history of the project |
34
+ | `GUIDE.md` | human step-by-step guide |
35
+
36
+ ## Requirements
37
+ - macOS (Apple Silicon), `python3`, ~100–230 GB free disk
38
+ - Hugging Face account + write token (the script prompts for it if missing)
39
+ - mlx-lm supports quant **q2–q8 + fp16**; model archs up to what mlx-lm supports
40
+ (e.g. `qwen4_exp` is not supported by mlx-lm yet β€” see `RETROSPECTIVE.md`)
41
+
42
+ ## Stable release
43
+ Tag `v6-stable` β€” current. Check the banner the script prints on every run:
44
+ `convert_and_upload.sh β€” version: 6`