hppRC/defsent
DefSent: Sentence Embeddings using Definition Sentences
Leverages dictionary definition sentences as training signals to improve semantic understanding in BERT and RoBERTa models, enabling both sentence encoding and salient word prediction from input text. Provides multiple pooling strategies (CLS, mean, max) across base and large model variants, with pre-trained checkpoints available on Hugging Face. Integrates directly with PyTorch via a simple `encode()` API and benchmarks competitively on semantic similarity tasks (STS, SICK-R).
No commits in the last 6 months. Available on PyPI.
Stars
23
Forks
2
Language
Python
License
—
Category
Last pushed
Aug 05, 2021
Monthly downloads
26
Commits (30d)
0
Dependencies
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/hppRC/defsent"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.