Feature Extraction
Safetensors
Transformers
English
hierarchy-transformers
mpnet
hierarchy-encoding
subsumption-relationships
text-embeddings-inference
Instructions to use Hierarchy-Transformers/HiT-MPNet-WordNetNoun with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hierarchy-Transformers/HiT-MPNet-WordNetNoun with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Hierarchy-Transformers/HiT-MPNet-WordNetNoun")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Hierarchy-Transformers/HiT-MPNet-WordNetNoun") model = AutoModel.from_pretrained("Hierarchy-Transformers/HiT-MPNet-WordNetNoun", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ HiT-MPNet-WordNetNoun is a HiT model trained on WordNet's noun hierarchy with ra
|
|
| 26 |
- **Model type:** Hierarchy Transformer Encoder (HiT)
|
| 27 |
- **License:** Apache license 2.0
|
| 28 |
- **Hierarchy**: WordNet (Noun)
|
| 29 |
-
- **Dataset**: Download `wordnet.zip` from
|
| 30 |
- **Pre-trained model:** [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2)
|
| 31 |
- **Training Objectives**: Jointly optimised on *hyperbolic clustering* and *hyperbolic centripetal* losses
|
| 32 |
|
|
|
|
| 26 |
- **Model type:** Hierarchy Transformer Encoder (HiT)
|
| 27 |
- **License:** Apache license 2.0
|
| 28 |
- **Hierarchy**: WordNet (Noun)
|
| 29 |
+
- **Training Dataset**: Download `wordnet.zip` from [Datasets for HiTs on Zenodo](https://zenodo.org/doi/10.5281/zenodo.10511042)
|
| 30 |
- **Pre-trained model:** [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2)
|
| 31 |
- **Training Objectives**: Jointly optimised on *hyperbolic clustering* and *hyperbolic centripetal* losses
|
| 32 |
|