sentence-transformers
Safetensors
English
nomic_bert
flash-attention
code-retrieval
nomic-bert
bf16
custom_code
Instructions to use handwoven8588/CodeRankEmbed-flash-attn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use handwoven8588/CodeRankEmbed-flash-attn with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("handwoven8588/CodeRankEmbed-flash-attn", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
CodeRankEmbed with native flash-attn varlen forward (derivative of nomic-ai/CodeRankEmbed; identical weights; flash-vs-fp32 parity cosine 0.99999, eager fallback bit-identical)
22d2b3c verified Download tokenizer.json from handwoven8588/CodeRankEmbed-flash-attn: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/handwoven8588/CodeRankEmbed-flash-attn/resolve/main/tokenizer.json
- Command line
-
hf download hf://handwoven8588/CodeRankEmbed-flash-attn/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/handwoven8588/CodeRankEmbed-flash-attn/resolve/main/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.