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)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("modularStarEncoder/ModularStarEncoder", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ To enhance efficiency, we replaced the causal self-attention layers with bidirec
|
|
| 20 |
Finally, our implementation integrates FlashAttention V2 for faster inference.
|
| 21 |
|
| 22 |
|
| 23 |
-
- **Paper:** [
|
| 24 |
- **Languages:** 600+ Programming languages
|
| 25 |
|
| 26 |
|
|
@@ -86,8 +86,8 @@ The model is licensed under the BigCode OpenRAIL-M v1 license agreement. You can
|
|
| 86 |
|
| 87 |
# Citation
|
| 88 |
```
|
| 89 |
-
@article{
|
| 90 |
-
title={
|
| 91 |
author={Andrea Gurioli and Federico Pennino and João Monteiro and Maurizio Gabbrielli},
|
| 92 |
year={2025},
|
| 93 |
eprint={2503.03008},
|
|
|
|
| 20 |
Finally, our implementation integrates FlashAttention V2 for faster inference.
|
| 21 |
|
| 22 |
|
| 23 |
+
- **Paper:** [MoSE: Hierarchical Self-Distillation Enhances Early Layer Embeddings](https://arxiv.org/abs/2503.03008)
|
| 24 |
- **Languages:** 600+ Programming languages
|
| 25 |
|
| 26 |
|
|
|
|
| 86 |
|
| 87 |
# Citation
|
| 88 |
```
|
| 89 |
+
@article{gurioli2025mosehierarchicalselfdistillationenhances,
|
| 90 |
+
title={MoSE: Hierarchical Self-Distillation Enhances Early Layer Embeddings},
|
| 91 |
author={Andrea Gurioli and Federico Pennino and João Monteiro and Maurizio Gabbrielli},
|
| 92 |
year={2025},
|
| 93 |
eprint={2503.03008},
|