Image-to-Text
Transformers
PyTorch
TensorBoard
git
image-text-to-text
Generated from Trainer
vision
image-captioning
Instructions to use Fireworks12/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Fireworks12/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="Fireworks12/git-base-pokemon")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Fireworks12/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("Fireworks12/git-base-pokemon") - Notebooks
- Google Colab
- Kaggle
Commit ·
6e2f5dd
1
Parent(s): a2c5119
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -94,7 +94,7 @@
|
|
| 94 |
"tf_legacy_loss": false,
|
| 95 |
"tie_encoder_decoder": false,
|
| 96 |
"tie_word_embeddings": true,
|
| 97 |
-
"tokenizer_class":
|
| 98 |
"top_k": 50,
|
| 99 |
"top_p": 1.0,
|
| 100 |
"torch_dtype": null,
|
|
|
|
| 94 |
"tf_legacy_loss": false,
|
| 95 |
"tie_encoder_decoder": false,
|
| 96 |
"tie_word_embeddings": true,
|
| 97 |
+
"tokenizer_class": null,
|
| 98 |
"top_k": 50,
|
| 99 |
"top_p": 1.0,
|
| 100 |
"torch_dtype": null,
|