Instructions to use togethercomputer/m2-bert-80M-32k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use togethercomputer/m2-bert-80M-32k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="togethercomputer/m2-bert-80M-32k", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("togethercomputer/m2-bert-80M-32k", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add MTEB numbers to model card to show up in leaderboard
#1
by dhruv-anand-aintech - opened
Would be good to do this, similar to https://huggingface.co/WhereIsAI/UAE-Large-V1
so that the model shows up in the leaderboard https://mteb.info
I guess this is meant for the retrieval finetuned one: https://huggingface.co/togethercomputer/m2-bert-80M-32k-retrieval