Instructions to use Backedman/TriviaAnsweringMachine with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Backedman/TriviaAnsweringMachine 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="Backedman/TriviaAnsweringMachine", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForQuestionAnswering model = AutoModelForQuestionAnswering.from_pretrained("Backedman/TriviaAnsweringMachine", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
Verified signature8f336f8 -
Update QBModelWrapper.py
Verified signature318e687 -
Update config.json
Verified signature24d39d3 -
Update config.json
Verified signaturec47066c -
Update config.json
Verified signature20b8860 -
Create QBModelWrapper.py
Verified signatureee65d6d -
Rename QBModel.py to QBModelConfig.py
Verified signatureeb71611 -
Create QBModel.py
Verified signaturedae96df -
Create config.json
Verified signaturee853cfa -
Create custom_tokenizer.py
Verified signaturec8dfeef -
Update README.md
Verified signaturee84ce90 -
Upload folder using huggingface_hub
Verified signature35f7605 -
Upload folder using huggingface_hub
Verified signature5a2a37c -
Create folder/
Verified signature6933130 -
init
Verified signaturea3fa0c8 -
Create README.md
Verified signature38bb85a -
initial commit
Verified signaturebbf1ede