Views
No views yet

[!TIP] Beetles are some of the most diverse and interesting creatures on Earth. They are found in every environment, from the deepest oceans to the highest mountains. They are also known for their ability to adapt to a wide range of habitats and lifestyles. They are small, fast and powerful!
mixedbread-ai/mxbai-embed-2d-large-v1, with PCA at 384 dimensions and (Zipf)^3 re-weighting. It outperforms the original M2V_base_output model in all tasks.pip install model2vecfrom_pretrained method:1from model2vec import StaticModel
2
3# Load a pretrained Model2Vec model
4model = StaticModel.from_pretrained("bhavnicksm/red-beetle-small-v1")
5
6# Compute text embeddings
7embeddings = model.encode(["Example sentence"])1@software{minishlab2024model2vec,
2 authors = {Stephan Tulkens, Thomas van Dongen},
3 title = {Model2Vec: Turn any Sentence Transformer into a Small Fast Model},
4 year = {2024},
5 url = {https://github.com/MinishLab/model2vec},
6}