Feature Extraction
sentence-transformers
Safetensors
Transformers
English
luxical-one
sentence-similarity
luxical
custom_code
Instructions to use DatologyAI/luxical-one with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use DatologyAI/luxical-one with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("DatologyAI/luxical-one", 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] - Transformers
How to use DatologyAI/luxical-one with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="DatologyAI/luxical-one", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DatologyAI/luxical-one", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,10 +13,13 @@ Luxical One includes a basic HuggingFace integration that supports model inferen
|
|
| 13 |
|
| 14 |
You must have the `luxical` package installed to run this model, and you must trust the remote code bundled with the model. Currently only cpython versions 3.11-3.13 and macos/linux operating systems are supported.
|
| 15 |
|
|
|
|
|
|
|
| 16 |
``` shell
|
| 17 |
pip install luxical
|
| 18 |
```
|
| 19 |
|
|
|
|
| 20 |
``` python
|
| 21 |
from transformers import AutoModel
|
| 22 |
from pathlib import Path
|
|
|
|
| 13 |
|
| 14 |
You must have the `luxical` package installed to run this model, and you must trust the remote code bundled with the model. Currently only cpython versions 3.11-3.13 and macos/linux operating systems are supported.
|
| 15 |
|
| 16 |
+
|
| 17 |
+
To install `luxical`:
|
| 18 |
``` shell
|
| 19 |
pip install luxical
|
| 20 |
```
|
| 21 |
|
| 22 |
+
To load and use the model in `transformers`:
|
| 23 |
``` python
|
| 24 |
from transformers import AutoModel
|
| 25 |
from pathlib import Path
|