Instructions to use modularStarEncoder/ModularStarEncoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use modularStarEncoder/ModularStarEncoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="modularStarEncoder/ModularStarEncoder", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("modularStarEncoder/ModularStarEncoder", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files80 unmodified lines8182838480 unmodified lines|Multi-layer loss | yes |## LicenceThe model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can find the full agreement [here](https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement).80 unmodified lines81828384858687888990919293949596979880 unmodified lines|Multi-layer loss | yes |## LicenceThe model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can find the full agreement [here](https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement).# Citation```@article{gurioli2025modeltrainallhierarchical,title={One Model to Train them All: Hierarchical Self-Distillation for Enhanced Early Layer Embeddings},author={Andrea Gurioli and Federico Pennino and João Monteiro and Maurizio Gabbrielli},year={2025},eprint={2503.03008},archivePrefix={arXiv},primaryClass={cs.CL},url={https://arxiv.org/abs/2503.03008},}```
README.md+15-1