Instructions to use the-jb/Integral-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use the-jb/Integral-9B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("the-jb/Integral-9B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,085 Bytes
c3bae56 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | {
"image_generation_marker": "<image_gen>\n\nresolution: {h}x{w}\n\n<vision_start>",
"image_generation_system_prompt": "You are a multimodal assistant that can both understand and generate images.\n\nWhen you are asked for an image, restate the requested size and then open the image,\nin exactly this form:\n\n<image_gen>\n\nresolution: HxW\n\n<vision_start>\n\nHxW is the size the request names. The image itself follows <vision_start>.",
"image_generation_user_template": "Generate an image at {h}x{w}.\n\n{caption}",
"image_processor": {
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "Qwen2VLImageProcessor",
"image_std": [
0.5,
0.5,
0.5
],
"merge_size": 2,
"patch_size": 16,
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"longest_edge": 16777216,
"shortest_edge": 65536
},
"temporal_patch_size": 2
},
"processor_class": "IntegralProcessor"
}
|