Update README.md
Browse files
README.md
CHANGED
|
@@ -29,12 +29,20 @@ Install MLX language tools:
|
|
| 29 |
```bash
|
| 30 |
pip install mlx-lm
|
| 31 |
```
|
| 32 |
-
|
| 33 |
-
## Usage
|
| 34 |
|
| 35 |
```bash
|
| 36 |
pip install mlx-lm huggingface_hub
|
| 37 |
export HF_TOKEN=hf_xxxxx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
git clone https://huggingface.co/umar141/Baro-mlx-mac-1.0
|
| 39 |
cd Baro-mlx-mac-1.0
|
| 40 |
mlx_lm.generate \
|
|
|
|
| 29 |
```bash
|
| 30 |
pip install mlx-lm
|
| 31 |
```
|
| 32 |
+
## Base model download(enter ur hf token):
|
|
|
|
| 33 |
|
| 34 |
```bash
|
| 35 |
pip install mlx-lm huggingface_hub
|
| 36 |
export HF_TOKEN=hf_xxxxx
|
| 37 |
+
mlx_lm.convert \
|
| 38 |
+
--hf-path google/gemma-3-1b-it \
|
| 39 |
+
--mlx-path gemma-1b-mlx
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
|
| 46 |
git clone https://huggingface.co/umar141/Baro-mlx-mac-1.0
|
| 47 |
cd Baro-mlx-mac-1.0
|
| 48 |
mlx_lm.generate \
|