Instructions to use scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.onnx from scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu: direct link, hf CLI and curl.
- Browser
- Download file 69.4 MB
-
https://huggingface.co/scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu/resolve/main/model.onnx
- Command line
-
hf download hf://scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu/model.onnx
-
curl -L -o model.onnx https://huggingface.co/scite/ms-marco-MiniLM-L-12-v2-onnx-optimized-gpu/resolve/main/model.onnx
69.4 MB
- Xet hash:
- c07022ec02e2436e1eebcba9311c545ec22a42a682165edd9a2f55a7ae29651e
- Size of remote file:
- 69.4 MB
- SHA256:
- f1cd0235e9ba6d10638e7a70290c23edad13fe78b9d0966aaf5dc1ac2c403346
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.