Instructions to use RyuKT/DefSentPlus-bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RyuKT/DefSentPlus-bert-base-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="RyuKT/DefSentPlus-bert-base-uncased")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("RyuKT/DefSentPlus-bert-base-uncased") model = AutoModel.from_pretrained("RyuKT/DefSentPlus-bert-base-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| BibTeX | |
| @misc{liu2024defsent, | |
| title={DefSent+: Improving sentence embeddings of language models by projecting definition sentences into a quasi-isotropic or isotropic vector space of unlimited dictionary entries}, | |
| author={Xiaodong Liu}, | |
| year={2024}, | |
| eprint={2405.16153}, | |
| archivePrefix={arXiv} | |
| } |