Instructions to use phonghoccode/vilt-finetuned-cocoqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phonghoccode/vilt-finetuned-cocoqa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="phonghoccode/vilt-finetuned-cocoqa")# Load model directly from transformers import AutoProcessor, AutoModelForQuestionAnswering processor = AutoProcessor.from_pretrained("phonghoccode/vilt-finetuned-cocoqa") model = AutoModelForQuestionAnswering.from_pretrained("phonghoccode/vilt-finetuned-cocoqa") - Notebooks
- Google Colab
- Kaggle
Fine-tuned ViLT on COCO-QA dataset
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
"dtype": "float32",
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"CustomViltForQuestionAnswering"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
"dtype": "float32",
|