ahishamm commited on
Commit
bfd5c07
·
verified ·
1 Parent(s): ff0ed14

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -7,15 +7,16 @@ base_model: ds4sd/SmolDocling-256M-preview
7
  pipeline_tag: image-text-to-text
8
  tags:
9
  - mlx
 
10
  ---
11
 
12
  # ahishamm/SmolDocling-256M-preview-mlx-fp16
13
  The Model [ahishamm/SmolDocling-256M-preview-mlx-fp16](https://huggingface.co/ahishamm/SmolDocling-256M-preview-mlx-fp16) was converted to MLX format from [ds4sd/SmolDocling-256M-preview](https://huggingface.co/ds4sd/SmolDocling-256M-preview)
14
- using mlx-lm version **unknown**.
15
 
16
  ## Use with mlx
17
  ```bash
18
- pip install mlx-lm
19
  ```
20
  ```python
21
  from mlx_lm import load, generate
@@ -27,4 +28,4 @@ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not
27
  messages, tokenize=False, add_generation_prompt=True
28
  )
29
  response = generate(model, tokenizer, prompt=prompt, verbose=True)
30
- ```
 
7
  pipeline_tag: image-text-to-text
8
  tags:
9
  - mlx
10
+ - mlxvlm
11
  ---
12
 
13
  # ahishamm/SmolDocling-256M-preview-mlx-fp16
14
  The Model [ahishamm/SmolDocling-256M-preview-mlx-fp16](https://huggingface.co/ahishamm/SmolDocling-256M-preview-mlx-fp16) was converted to MLX format from [ds4sd/SmolDocling-256M-preview](https://huggingface.co/ds4sd/SmolDocling-256M-preview)
15
+ using mlx-lm version **0.1.17**.
16
 
17
  ## Use with mlx
18
  ```bash
19
+ pip install mlx-vlm
20
  ```
21
  ```python
22
  from mlx_lm import load, generate
 
28
  messages, tokenize=False, add_generation_prompt=True
29
  )
30
  response = generate(model, tokenizer, prompt=prompt, verbose=True)
31
+ ```