Feature Extraction
sentence-transformers
PyTorch
Safetensors
Transformers
English
bert
Phrase Representation
String Matching
Fuzzy Join
Entity Retrieval
text-embeddings-inference
Instructions to use Lihuchen/pearl_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Lihuchen/pearl_small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Lihuchen/pearl_small") 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 Lihuchen/pearl_small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Lihuchen/pearl_small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Lihuchen/pearl_small") model = AutoModel.from_pretrained("Lihuchen/pearl_small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Integrate with Sentence Transformers
Tom Aarsen071e1bb
-
Update README.md
Verified signature220472f
-
Update README.md
Verified signature2d3ec97
-
Update README.md
Verified signature0d29fb4 -
Some tweaks at the wording (#1)
Verified signature- Some tweaks at the wording (b386fca18bdc910c447391f8a7bc42ee16712401) Co-authored-by: Gaël Varoquaux <GaelVaroquaux@users.noreply.huggingface.co>1ae6783 -
Update README.md
Verified signature2b02579
-
Update README.md
Verified signature6843106 -
Update README.md
Verified signaturea2eb078
-
Update README.md
Verified signature22002d6 -
Update README.md
Verified signaturef38e2df -
Update README.md
Verified signature58ba0da -
Update README.md
Verified signature0e052b6 -
Update README.md
Verified signature6046048 -
Update README.md
Verified signature3e844cc -
Update README.md
Verified signature3605b5f -
Update README.md
Verified signature4b31a74 -
Update README.md
Verified signaturec2bae01 -
Update README.md
Verified signatureec73b69
-
initial commit
Verified signature8c990a9