Instructions to use NAACL2022/spider-trivia-question-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NAACL2022/spider-trivia-question-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="NAACL2022/spider-trivia-question-encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("NAACL2022/spider-trivia-question-encoder") model = AutoModel.from_pretrained("NAACL2022/spider-trivia-question-encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from NAACL2022/spider-trivia-question-encoder: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/NAACL2022/spider-trivia-question-encoder/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://NAACL2022/spider-trivia-question-encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/NAACL2022/spider-trivia-question-encoder/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 0b73b7f45a64b2bf4cf2ba0373e66d81061f3089b8da257631458615d0800129
- Size of remote file:
- 438 MB
- SHA256:
- 876035136112d4157c64a809870be17d491507c7b02a27f6b3445fed81f30105
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.