Instructions to use Backedman/TriviaAnsweringMachineREAL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Backedman/TriviaAnsweringMachineREAL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Backedman/TriviaAnsweringMachineREAL", trust_remote_code=True)# Load model directly from transformers import AutoModelForQuestionAnswering model = AutoModelForQuestionAnswering.from_pretrained("Backedman/TriviaAnsweringMachineREAL", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
},
|
| 9 |
"custom_pipelines": {
|
| 10 |
"IFIDF-QA": {
|
| 11 |
-
"impl": "QAPipeline.
|
| 12 |
"pt": [
|
| 13 |
"AutoModelForQuestionAnswering"
|
| 14 |
],
|
|
|
|
| 8 |
},
|
| 9 |
"custom_pipelines": {
|
| 10 |
"IFIDF-QA": {
|
| 11 |
+
"impl": "QAPipeline.QApipeline",
|
| 12 |
"pt": [
|
| 13 |
"AutoModelForQuestionAnswering"
|
| 14 |
],
|