Instructions to use Capreolus/electra-base-msmarco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Capreolus/electra-base-msmarco with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Capreolus/electra-base-msmarco")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Capreolus/electra-base-msmarco") model = AutoModelForSequenceClassification.from_pretrained("Capreolus/electra-base-msmarco", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update tokenizer_config.json
a973d29 -
Update pytorch_model.bin
6dd3022 -
Update config.json
ffe310e -
Update README.md
343022e -
Update tf_model.h5
8f9f32e -
Update special_tokens_map.json
449a356 -
Update vocab.txt
bc858c8 -
initial commit
8e02640