Instructions to use raphaelsty/sparsembed-max with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use raphaelsty/sparsembed-max with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="raphaelsty/sparsembed-max")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("raphaelsty/sparsembed-max") model = AutoModelForMaskedLM.from_pretrained("raphaelsty/sparsembed-max", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#3)
Verified signature- Adding `safetensors` variant of this model (86a687242c39cf2f3c337e26c0362f7f147a3414) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>5335a1c
-
Update README.md
Verified signature1f917b6
-
upload
Raphael SourtyUnverified signature51e0330 -
initial commit
b0d33be