Instructions to use cabdru/calyx-embedders with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cabdru/calyx-embedders with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cabdru/calyx-embedders") 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
| license: other | |
| library_name: calyx | |
| tags: | |
| - calyx | |
| - embeddings | |
| - onnx | |
| - sentence-transformers | |
| - multimodal | |
| # Calyx Embedder Pack (private) | |
| A self-contained bundle of **42 commissioned Calyx lenses (embedders)** plus the | |
| registry that wires them in. Download, extract, run the installer β they plug | |
| into any Calyx install. | |
| ## Download | |
| ```bash | |
| hf download cabdru/calyx-embedders calyx-embedders.tar.gz --repo-type model --local-dir . | |
| # (older CLI: huggingface-cli download cabdru/calyx-embedders calyx-embedders.tar.gz --local-dir .) | |
| ``` | |
| ## Install | |
| ```bash | |
| tar -xf calyx-embedders.tar.gz | |
| cd calyx-embedders | |
| CALYX_HOME=/path/to/your/calyx ./install.sh # defaults to $HOME/calyx | |
| calyx lens list # should show 42 lenses | |
| ``` | |
| The installer copies `lenses/` into your `CALYX_HOME` and rewrites all absolute | |
| paths to your machine. Full details + the per-lens list are in the bundle's | |
| `README.md` and `INVENTORY.txt`. | |
| ## Coverage (42 lenses) | |
| - **text β 28**: clinical (pubmedbert, medcpt, biolord), scientific (scibert, scincl), finance (finbert), legal (modernbert), code (jina-code), general/multilingual (bge, gte, nomic, jina, mxbai, e5, minilm, embeddinggemma, qwen3, potion), ColBERT Γ3, SPLADE/bge-m3 sparse. | |
| - **image β 6**, **audio β 5**, **molecule β 1**, **dna β 1**, **protein β 1**. | |
| ## Requirements to run a lens | |
| - ONNX GPU lenses: a CUDA ONNX Runtime built for your GPU arch (`ORT_DYLIB_PATH`). | |
| - `*-tei` lenses: a local Text-Embeddings-Inference server at the lens `endpoint`. | |
| - adapter lenses (image/audio/dna/protein/molecule): a Python helper + venv. | |
| ## β οΈ Licensing | |
| This is a **private** repo. Each lens keeps its upstream model's license (see | |
| each `lensforge.manifest.json`). Several are **non-commercial / restricted** β | |
| **BioLORD** (CC-BY-NC), **MedCPT** (restricted), **EmbeddingGemma** (Gemma | |
| license), **jina-colbert-v2** (CC-BY-NC). Anyone you share this with must honor | |
| each model's original terms. This pack does not relicense any model. | |