File size: 1,357 Bytes
25bb766
 
 
 
 
 
 
 
 
 
 
e446aa3
 
 
 
 
 
 
 
 
 
 
25bb766
 
 
 
 
 
 
9fa9de1
 
 
 
 
fae38e0
25bb766
00e12ce
e446aa3
 
947ed52
37b3b5d
fae38e0
9fa9de1
00e12ce
 
 
 
 
 
ea6eb33
e446aa3
37b3b5d
9fa9de1
3124064
37b3b5d
 
 
 
3124064
e446aa3
25bb766
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
license: apache-2.0
base_model:
- google/gemma-3-1b-it
library_name: mlx
tags:
- mlx
- lora
- emotional-support
- macos
---
# Baro 1.0 (MLX – Mac)

Baro is a presence-based emotional companion.
It does not give advice, motivation, or solutions.
It responds with calm reassurance and emotional presence.

## Requirements
- Apple Silicon Mac
- Python 3.10+
- mlx-lm installed

## Installation

Make sure you have Python 3.10 or newer.

Install MLX language tools:

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> ~/.zprofile                                      
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"
brew install git git-lfs
python3 -m pip install mlx-lm huggingface_hub
```
## Base model download(enter ur hf token):

```bash
export HF_TOKEN=hf_xxxxx
git clone https://huggingface.co/umar141/Baro-mlx-mac-1.0 
cd Baro-mlx-mac-1.0
git lfs pull
mlx_lm.convert \
  --hf-path google/gemma-3-1b-it \
  --mlx-path gemma-1b-mlx
```
## Usage
```bash
mlx_lm.generate \
  --model gemma-1b-mlx \
  --adapter-path baro_1.0 \
  --system-prompt system_prompt.txt \
  --max-tokens 130 \
  --temp 0.6 \
  --top-p 0.9 \
  --top-k 40 \
  --min-p 0.05 \
  --extra-eos-token "\n\n" \
  --prompt "I feel empty and tired lately."
```