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 from transformers import pipeline pipe = pipeline("question-answering", model="Backedman/TriviaAnsweringMachine", trust_remote_code=True)# Load model directly from transformers import AutoModelForQuestionAnswering model = AutoModelForQuestionAnswering.from_pretrained("Backedman/TriviaAnsweringMachine", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"AutoConfig": "QBModelConfig.QBModelConfig",
|
| 7 |
"AutoModelForQuestionAnswering": "QBModelWrapper.QBModelWrapper"
|
| 8 |
},
|
| 9 |
-
"model_type": "
|
| 10 |
"torch_dtype": "float16",
|
| 11 |
"transformers_version": "4.40.1"
|
| 12 |
}
|
|
|
|
| 6 |
"AutoConfig": "QBModelConfig.QBModelConfig",
|
| 7 |
"AutoModelForQuestionAnswering": "QBModelWrapper.QBModelWrapper"
|
| 8 |
},
|
| 9 |
+
"model_type": "QA-umd-quizbowl",
|
| 10 |
"torch_dtype": "float16",
|
| 11 |
"transformers_version": "4.40.1"
|
| 12 |
}
|