Instructions to use allenai/aspire-biencoder-compsci-spec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/aspire-biencoder-compsci-spec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="allenai/aspire-biencoder-compsci-spec")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("allenai/aspire-biencoder-compsci-spec") model = AutoModel.from_pretrained("allenai/aspire-biencoder-compsci-spec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub (#1)
- Upload README.md with huggingface_hub (d149dd7bc08e801e8afcc391ccc781527752b396) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>8456a52
-
Usage instructions update.
Sheshera Mysore00f38c1
-
Small changes
Sheshera Mysore53c0932 -
Update readme.
Sheshera Mysore340d0f5 -
Initial model commit.
Sheshera Mysoreee9a10f -
initial commit
84cc3a2