Upload README.md
Browse files
README.md
CHANGED
|
@@ -133,7 +133,7 @@ You can then use the model to compute embeddings like this:
|
|
| 133 |
import { AutoModel, AutoTokenizer, matmul } from "@huggingface/transformers";
|
| 134 |
|
| 135 |
// Download from the 🤗 Hub
|
| 136 |
-
const model_id = "
|
| 137 |
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
|
| 138 |
const model = await AutoModel.from_pretrained(model_id, {
|
| 139 |
dtype: "fp32", // Options: "fp32" | "q8" | "q4"
|
|
|
|
| 133 |
import { AutoModel, AutoTokenizer, matmul } from "@huggingface/transformers";
|
| 134 |
|
| 135 |
// Download from the 🤗 Hub
|
| 136 |
+
const model_id = "MongoDB/mdbr-leaf-ir";
|
| 137 |
const tokenizer = await AutoTokenizer.from_pretrained(model_id);
|
| 138 |
const model = await AutoModel.from_pretrained(model_id, {
|
| 139 |
dtype: "fp32", // Options: "fp32" | "q8" | "q4"
|