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 +7 -0
config.json
CHANGED
|
@@ -1,4 +1,11 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"model_type": "TFIDF-QA",
|
| 3 |
"torch_dtype": "float16",
|
| 4 |
"transformers_version": "4.40.1"
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"QBModelWrapper"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "QBModelConfig.QBModelConfig",
|
| 7 |
+
"AutoModelForQuestionAnswering": "QBModelWrapper.QBModelWrapper"
|
| 8 |
+
},
|
| 9 |
"model_type": "TFIDF-QA",
|
| 10 |
"torch_dtype": "float16",
|
| 11 |
"transformers_version": "4.40.1"
|