- New `llm sentence-transformers register --trust-remote-code` option for installing models that require `trust_remote_code=True`. [14](https://github.com/simonw/llm-sentence-transformers/issues/14)
Here's how to install [nomic-embed-text-v1](https://huggingface.co/nomic-ai/nomic-embed-text-v1) using this option (which also requires an additional dependency, [einops](https://pypi.org/project/einops/)):
bash
llm install einops
llm sentence-transformers register nomic-ai/nomic-embed-text-v1 --trust-remote-code
Then use it to create embeddings for text like this:
bash
llm embed -m sentence-transformers/nomic-ai/nomic-embed-text-v1 -c 'hello'