lukemerrick commited on
Commit
b309b5b
·
verified ·
1 Parent(s): 99622a8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -11
README.md CHANGED
@@ -4,9 +4,9 @@ language:
4
  license: apache-2.0
5
  ---
6
 
7
- # Luxical One
8
 
9
- This is a small lexical-dense text embedding model distilled for English-language symmetrical full-document text similarity and classification applications from [`Snowflake/snowflake-arctic-embed-m-v2.0`](https://huggingface.co/Snowflake/snowflake-arctic-embed-m-v2.0).
10
 
11
  ## Quickstart
12
 
@@ -23,14 +23,8 @@ pip install luxical
23
  To load and use the model in `transformers`:
24
  ``` python
25
  from transformers import AutoModel
26
- from pathlib import Path
27
 
28
- # Load from the Huggingface Hub.
29
- hub_model = AutoModel.from_pretrained(
30
- "datologyai/luxical-one",
31
- trust_remote_code=True,
32
- )
33
-
34
- # Embed some text.
35
- emb = local_model(["Luxical integrates with Huggingface."]).embeddings
36
  ```
 
4
  license: apache-2.0
5
  ---
6
 
7
+ # Luxical-One
8
 
9
+ Luxical-One is a small lexical-dense text embedding model distilled from [`Snowflake/snowflake-arctic-embed-m-v2.0`](https://huggingface.co/Snowflake/snowflake-arctic-embed-m-v2.0). It is optimized for high-throughput embedding without GPU acceleration, and it is trained for English-language symmetrical full-document text similarity and classification applications.
10
 
11
  ## Quickstart
12
 
 
23
  To load and use the model in `transformers`:
24
  ``` python
25
  from transformers import AutoModel
 
26
 
27
+ example_text = "Luxical integrates with Huggingface."
28
+ luxical_one = AutoModel.from_pretrained("datologyai/luxical-one", trust_remote_code=True)
29
+ embeddings = luxical_one([example_text]).embeddings
 
 
 
 
 
30
  ```