Update README.md
Browse files
README.md
CHANGED
@@ -88,7 +88,7 @@ library_name: sentence-transformers
|
|
88 |
|
89 |
# mlx-community/ModernBERT-base-embed-4bit
|
90 |
|
91 |
-
The Model [mlx-community/ModernBERT-base-embed-4bit](https://huggingface.co/mlx-community/ModernBERT-base-embed-4bit) was converted to MLX format from [tasksource/ModernBERT-base-embed](https://huggingface.co/tasksource/ModernBERT-base-embed) using mlx-lm version **0.0.3**.
|
92 |
|
93 |
## Use with mlx
|
94 |
|
@@ -100,7 +100,7 @@ pip install mlx-embeddings
|
|
100 |
from mlx_embeddings import load, generate
|
101 |
import mlx.core as mx
|
102 |
|
103 |
-
model, tokenizer = load("mlx-community/ModernBERT-base-embed-4bit")
|
104 |
|
105 |
# For text embeddings
|
106 |
output = generate(model, processor, texts=["I like grapes", "I like fruits"])
|
|
|
88 |
|
89 |
# mlx-community/ModernBERT-base-embed-4bit
|
90 |
|
91 |
+
The Model [mlx-community/tasksource-ModernBERT-base-embed-4bit](https://huggingface.co/mlx-community/tasksource-ModernBERT-base-embed-4bit) was converted to MLX format from [tasksource/ModernBERT-base-embed](https://huggingface.co/tasksource/ModernBERT-base-embed) using mlx-lm version **0.0.3**.
|
92 |
|
93 |
## Use with mlx
|
94 |
|
|
|
100 |
from mlx_embeddings import load, generate
|
101 |
import mlx.core as mx
|
102 |
|
103 |
+
model, tokenizer = load("mlx-community/tasksource-ModernBERT-base-embed-4bit")
|
104 |
|
105 |
# For text embeddings
|
106 |
output = generate(model, processor, texts=["I like grapes", "I like fruits"])
|