Instructions to use Palak/google_electra-small-discriminator_squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Palak/google_electra-small-discriminator_squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Palak/google_electra-small-discriminator_squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Palak/google_electra-small-discriminator_squad") model = AutoModelForQuestionAnswering.from_pretrained("Palak/google_electra-small-discriminator_squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
cdb6713 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:01fa2b63a20382a2e83ea2e70ee67ed26f54ce5784699186a8ae62657e14e182
size 2991
|