Instructions to use togethercomputer/m2-bert-80M-8k-retrieval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use togethercomputer/m2-bert-80M-8k-retrieval with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("togethercomputer/m2-bert-80M-8k-retrieval", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
Verified signature90e0b28
-
Allow loading via AutoModel (#2)
Verified signature- Allow loading via AutoModel (cbdd8c4cdda4f27a7d1980af3968434074b6d075)7d69cb9 -
Allow loading via AutoTokenizer (#3)
Verified signature- Add bert-base-cased tokenizer with model_max_length: 8192 (fdd629a0b4b0d3543fd2cfe70db482ffdcfe95a7) - Remove AutoTokenizer from the config (7d7932ee225d71aadc1ba6d16b2fcadba10db703)3fabfd0 -
Allow loading via AutoModelForSequenceClassification (#1)
Verified signature- Allow loading via AutoModelForSequenceClassification (0d894e3effd5825106eb5eaedee17ca23077c4a9)cb4b136
-
Update config.json
66ea5d6 -
Update README.md
22c8a5b -
Model
Dan Fub41ae8b -
Merge branch 'main' of https://huggingface.co/togethercomputer/m2-bert-80M-8k-retrieval into main
Dan Fu2f1bc04 -
Rename
Dan Fu5e55bad -
Update README.md
c222ab1 -
Update README.md
f0677a6 -
Update README.md
f7b3330 -
Automodel support
Dan Fu03ef821
-
Update 8K model
Dan Fubea4c10
-
Update model weights
Dan Fu25b4ea7
-
Remove flashfft weights
Dan Fub406891
-
Update model weights
Dan Fu8ce62ff
-
8k retrieval
Dan Fua512f44 -
8k retrieval model
Dan Fu4f7610c -
initial commit
057a369