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")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Lihuchen/pearl_small") model = AutoModel.from_pretrained("Lihuchen/pearl_small") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 4fde7a0 verified
Update README.md 581e568 verified
Update README.md 5364bda verified
Update config.json 4b5fc7a verified
Update README.md 1f6ee60 verified
Update README.md 8cf2cc3 verified
Update README.md 220472f verified
Update README.md 2d3ec97 verified
Update README.md 0d29fb4 verified
Some tweaks at the wording (#1) 1ae6783 verified
Update README.md 2b02579 verified
Merge branch 'main' of hf.co:Lihuchen/pearl_small 24b3d94
lihu commited on
add model.bin 8693ee1
lihu commited on
Update README.md 6843106 verified
Update README.md a2eb078 verified
Update README.md 22002d6 verified
Update README.md f38e2df verified
Update README.md 58ba0da verified
Update README.md 0e052b6 verified
Update README.md 6046048 verified
delete sentence transformer config 40a5c25
lihu commited on
Merge branch 'main' of hf.co:Lihuchen/pearl_small 9c95ef0
lihu commited on
add sentence transformer config c51cdf5
lihu commited on
Update README.md 3e844cc verified
Update README.md 3605b5f verified
Update README.md 4b31a74 verified
Update README.md c2bae01 verified
Update README.md ec73b69 verified
add tensor 872ba1e
lihu commited on
remove tensor e99c2c7
lihu commited on
add tensor 5bf0298
lihu commited on
remove tensor 84aadfb
lihu commited on
add new model file 04018c5
lihu commited on
delete tensor file 34e39cc
lihu commited on
add tokenizer files d620c21
lihu commited on
first version fed280b
lihu commited on