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
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"QBModelWrapper"
|
| 4 |
],
|
| 5 |
"auto_map": {
|
| 6 |
-
"AutoConfig": "QBModelConfig",
|
| 7 |
"AutoModelForQuestionAnswering": "QBModelWrapper.QBModelWrapper"
|
| 8 |
},
|
| 9 |
"model_type": "TFIDF-QA",
|
|
|
|
| 3 |
"QBModelWrapper"
|
| 4 |
],
|
| 5 |
"auto_map": {
|
| 6 |
+
"AutoConfig": "QBModelConfig.QBModelConfig",
|
| 7 |
"AutoModelForQuestionAnswering": "QBModelWrapper.QBModelWrapper"
|
| 8 |
},
|
| 9 |
"model_type": "TFIDF-QA",
|