Instructions to use badalsahani/oneAPI_QA_Model_kaggle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use badalsahani/oneAPI_QA_Model_kaggle with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="badalsahani/oneAPI_QA_Model_kaggle")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("badalsahani/oneAPI_QA_Model_kaggle") model = AutoModelForQuestionAnswering.from_pretrained("badalsahani/oneAPI_QA_Model_kaggle") - Notebooks
- Google Colab
- Kaggle
File size: 320 Bytes
549ad22 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"clean_up_tokenization_spaces": true,
"cls_token": "[CLS]",
"do_lower_case": true,
"mask_token": "[MASK]",
"model_max_length": 512,
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"strip_accents": null,
"tokenize_chinese_chars": true,
"tokenizer_class": "DistilBertTokenizer",
"unk_token": "[UNK]"
}
|