merge: develop → main
This commit is contained in:
commit
ab216aabc1
2 files changed
+21
-2
No files matched your search
@@ -111,7 +111,16 @@ hf download mlx-community/gemma-4-e2b-it-4bit --local-dir ./Models/gemma-4-e2b-i
|
||||
|
||||
**方案 C — 同时打包 E2B + E4B**
|
||||
|
||||
同上,两个模型目录都下载,并把两个 folder reference 都加回 `Copy Bundle Resources`。
|
||||
下载两个模型:
|
||||
|
||||
```bash
|
||||
brew install hf
|
||||
mkdir -p ./Models/gemma-4-e2b-it-4bit ./Models/gemma-4-e4b-it-4bit
|
||||
hf download mlx-community/gemma-4-e2b-it-4bit --local-dir ./Models/gemma-4-e2b-it-4bit
|
||||
hf download mlx-community/gemma-4-e4b-it-4bit --local-dir ./Models/gemma-4-e4b-it-4bit
|
||||
```
|
||||
|
||||
然后把两个模型 folder reference 都加回 Xcode 的 `Copy Bundle Resources`。
|
||||
|
||||
### 4. 打开工程
|
||||
|
||||
|
||||
+11
-1
@@ -208,7 +208,17 @@ By default, the project no longer bundles anything from `Models/` into the app.
|
||||
|
||||
### Option C — Both E2B and E4B
|
||||
|
||||
Keep both directories, then manually add both folder references back into `Copy Bundle Resources`. Users can switch in the app's model settings page.
|
||||
Download both models:
|
||||
|
||||
```bash
|
||||
brew install hf
|
||||
mkdir -p ./Models/gemma-4-e2b-it-4bit ./Models/gemma-4-e4b-it-4bit
|
||||
hf download mlx-community/gemma-4-e2b-it-4bit --local-dir ./Models/gemma-4-e2b-it-4bit
|
||||
hf download mlx-community/gemma-4-e4b-it-4bit --local-dir ./Models/gemma-4-e4b-it-4bit
|
||||
```
|
||||
|
||||
Then add both folder references back into Xcode's `Copy Bundle Resources`.
|
||||
|
||||
|
||||
## Adding Custom Skills
|
||||
|
||||
|
||||
Reference in new issue
Block a user