Instructions to use BAAI/llm-embedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/llm-embedder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BAAI/llm-embedder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("BAAI/llm-embedder") model = AutoModel.from_pretrained("BAAI/llm-embedder", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
a8ac505
-
Update README.md (#7)
- Update README.md (32cfcafcfdd5c16479bf9995da7e3db3d209630c) Co-authored-by: namespace-Pt <namespace-Pt@users.noreply.huggingface.co>b635676 -
Update README.md (#6)
- Update README.md (1661329696483c2d43fae5f241c862deaa8b9dc6) Co-authored-by: namespace-Pt <namespace-Pt@users.noreply.huggingface.co>31a500a
-
Update README.md (#4)
- Update README.md (c5a80429b472525af5f9bd6a5ff4f10ff4cf63b1) Co-authored-by: namespace-Pt <namespace-Pt@users.noreply.huggingface.co>f20d0dd
-
update
46636b5
-
upload
01fe9c0 -
initial commit
59ebfa5