Instructions to use hxu612/infuse-oft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hxu612/infuse-oft with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForVision2Seq model = AutoModelForVision2Seq.from_pretrained("hxu612/infuse-oft", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from hxu612/infuse-oft: direct link, hf CLI and curl.
- Browser
- Download file 130 Bytes
-
https://huggingface.co/hxu612/infuse-oft/resolve/main/processor_config.json
- Command line
-
hf download hf://hxu612/infuse-oft/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/hxu612/infuse-oft/resolve/main/processor_config.json
130 Bytes
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_prismatic.PrismaticProcessor" | |
| }, | |
| "processor_class": "PrismaticProcessor" | |
| } | |