Instructions to use LoudlySoft/scibert_scivocab_uncased_squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LoudlySoft/scibert_scivocab_uncased_squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="LoudlySoft/scibert_scivocab_uncased_squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("LoudlySoft/scibert_scivocab_uncased_squad") model = AutoModelForQuestionAnswering.from_pretrained("LoudlySoft/scibert_scivocab_uncased_squad") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
AllenAI's scibert_scivocab_uncased fine-tuned on SQuAD 2.0 evaluated with F1 = 86.85
To load the model:
from transformers import BertTokenizerFast
from transformers import BertForQuestionAnswering
tokenizer = BertTokenizerFast.from_pretrained("LoudlySoft/scibert_scivocab_uncased_squad")
model = BertForQuestionAnswering.from_pretrained("LoudlySoft/scibert_scivocab_uncased_squad")
- Downloads last month
- 7