glenn2 commited on
Commit
dff7a33
·
verified ·
1 Parent(s): 258a266

Reverting until I can test on my bigger machine

Browse files
Files changed (1) hide show
  1. README.md +10 -3
README.md CHANGED
@@ -38,20 +38,27 @@ Due to the size of the combined weights (~48 GB), LFG-1 requires substantial uni
38
 
39
  ## Install
40
 
41
- Install `mlx-vlm`:
42
 
43
  ```bash
44
  pip install mlx-vlm
 
 
 
45
  ```
46
 
47
  ## Usage
48
 
49
- LFG-1 loads natively in mlx-vlm as a Gemma 4 model.
50
 
51
  ```python
 
 
 
 
52
  from mlx_vlm import load, generate
53
- model, processor = load("glenn2/LFG-1")
54
 
 
55
 
56
  response = generate(
57
  model, processor,
 
38
 
39
  ## Install
40
 
41
+ Install `mlx-vlm`, then clone and install the LFG wrapper code:
42
 
43
  ```bash
44
  pip install mlx-vlm
45
+ git clone https://github.com/codemadeio/LFG-1.git
46
+ cd LFG-1
47
+ pip install -e
48
  ```
49
 
50
  ## Usage
51
 
52
+ LFG-1 is designed as a drop-in model type for `mlx-vlm`. Once the `lfg` module is registered, it can be loaded like any other Hugging Face model.
53
 
54
  ```python
55
+
56
+ from lfg import register
57
+ register()
58
+
59
  from mlx_vlm import load, generate
 
60
 
61
+ model, processor = load("glenn2/LFG-1")
62
 
63
  response = generate(
64
  model, processor,