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
Download data/wiki_text_8.json:Zone.Identifier from Backedman/TriviaAnsweringMachine: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/Backedman/TriviaAnsweringMachine/resolve/main/data/wiki_text_8.json%3AZone.Identifier
- Command line
-
hf download hf://Backedman/TriviaAnsweringMachine/data/wiki_text_8.json:Zone.Identifier
-
curl -L -o wiki_text_8.json:Zone.Identifier https://huggingface.co/Backedman/TriviaAnsweringMachine/resolve/main/data/wiki_text_8.json%3AZone.Identifier
243 Bytes
| [ZoneTransfer] | |
| ZoneId=3 | |
| HostUrl=https://drive.usercontent.google.com/download?id=1m9o06QZY4XBK6CLlku2JtOrVaB6kxY39&export=download&authuser=0&confirm=t&uuid=010674b3-5445-450f-b556-cb3e5953e196&at=APZUnTXusyABWC9XIgZvCE9b2uwB:1713977324520 | |