Instructions to use spacemanidol/neuralmagic-bert-squad-12layer-0sparse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spacemanidol/neuralmagic-bert-squad-12layer-0sparse with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="spacemanidol/neuralmagic-bert-squad-12layer-0sparse")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("spacemanidol/neuralmagic-bert-squad-12layer-0sparse") model = AutoModelForQuestionAnswering.from_pretrained("spacemanidol/neuralmagic-bert-squad-12layer-0sparse") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
2a4c3c1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:17f5e07c403cae81fb93061ed38b9aa095e004f08178817ca078e14acf8f18f9
size 435579886
|