Update README.md
Browse files
README.md
CHANGED
@@ -86,9 +86,9 @@ pipeline_tag: sentence-similarity
|
|
86 |
library_name: sentence-transformers
|
87 |
---
|
88 |
|
89 |
-
# mlx-community/ModernBERT-base-embed-bf16
|
90 |
|
91 |
-
The Model [mlx-community/ModernBERT-base-embed-bf16](https://huggingface.co/mlx-community/ModernBERT-base-embed-bf16) 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-bf16")
|
104 |
|
105 |
# For text embeddings
|
106 |
output = generate(model, processor, texts=["I like grapes", "I like fruits"])
|
|
|
86 |
library_name: sentence-transformers
|
87 |
---
|
88 |
|
89 |
+
# mlx-community/tasksource-ModernBERT-base-embed-bf16
|
90 |
|
91 |
+
The Model [mlx-community/tasksource-ModernBERT-base-embed-bf16](https://huggingface.co/mlx-community/tasksource-ModernBERT-base-embed-bf16) 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-bf16")
|
104 |
|
105 |
# For text embeddings
|
106 |
output = generate(model, processor, texts=["I like grapes", "I like fruits"])
|