Instructions to use Kate-lf/rag-qa-base-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kate-lf/rag-qa-base-bert with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="Kate-lf/rag-qa-base-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Kate-lf/rag-qa-base-bert") model = AutoModelForQuestionAnswering.from_pretrained("Kate-lf/rag-qa-base-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureded2b26
-
Update metadata with huggingface_hub
Verified signature02d4a1a -
Training complete
Verified signature6c383dc -
Upload tokenizer
Verified signature9a2f9f0 -
Upload BertForQuestionAnswering
Verified signature9617edb -
initial commit
Verified signaturedf5375b