Image-Text-to-Text
Transformers.js
florence2
vision
text-generation
text2text-generation
image-to-text
Instructions to use TrumpMcDonaldz/x with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use TrumpMcDonaldz/x with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'TrumpMcDonaldz/x');
Download generation_config.json from TrumpMcDonaldz/x: direct link, hf CLI and curl.
- Browser
- Download file 62 Bytes
-
https://huggingface.co/TrumpMcDonaldz/x/resolve/main/generation_config.json
- Command line
-
hf download hf://TrumpMcDonaldz/x/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/TrumpMcDonaldz/x/resolve/main/generation_config.json
62 Bytes
| { | |
| "num_beams": 3, | |
| "transformers_version": "4.42.0.dev0" | |
| } | |