fmasterpro27 commited on
Commit
fe4eb17
·
verified ·
1 Parent(s): 7a05d18

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -25
README.md CHANGED
@@ -6,30 +6,6 @@ pipeline_tag: image-text-to-text
6
  base_model: google/gemma-4-31B-it
7
  tags:
8
  - mlx
 
9
  ---
10
 
11
- # fmasterpro27/gemma-4-31B-it-mlx-4Bit
12
-
13
- The Model [fmasterpro27/gemma-4-31B-it-mlx-4Bit](https://huggingface.co/fmasterpro27/gemma-4-31B-it-mlx-4Bit) was converted to MLX format from [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it) using mlx-lm version **0.31.2**.
14
-
15
- ## Use with mlx
16
-
17
- ```bash
18
- pip install mlx-lm
19
- ```
20
-
21
- ```python
22
- from mlx_lm import load, generate
23
-
24
- model, tokenizer = load("fmasterpro27/gemma-4-31B-it-mlx-4Bit")
25
-
26
- prompt="hello"
27
-
28
- if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
29
- messages = [{"role": "user", "content": prompt}]
30
- prompt = tokenizer.apply_chat_template(
31
- messages, tokenize=False, add_generation_prompt=True
32
- )
33
-
34
- response = generate(model, tokenizer, prompt=prompt, verbose=True)
35
- ```
 
6
  base_model: google/gemma-4-31B-it
7
  tags:
8
  - mlx
9
+ - open4bits
10
  ---
11