Instructions to use NLP-Orange-Problem/AttentionSeekers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NLP-Orange-Problem/AttentionSeekers with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolVLM2-2.2B-Instruct") model = PeftModel.from_pretrained(base_model, "NLP-Orange-Problem/AttentionSeekers") - Notebooks
- Google Colab
- Kaggle
| { | |
| "image_processor": { | |
| "do_convert_rgb": true, | |
| "do_image_splitting": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "SmolVLMImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_image_size": { | |
| "longest_edge": 384 | |
| }, | |
| "resample": 1, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "longest_edge": 1536 | |
| }, | |
| "video_sampling": { | |
| "fps": 1, | |
| "max_frames": 64, | |
| "video_size": { | |
| "longest_edge": 384 | |
| } | |
| } | |
| }, | |
| "image_seq_len": 81, | |
| "processor_class": "SmolVLMProcessor", | |
| "video_processor": { | |
| "data_format": "channels_first", | |
| "default_to_square": true, | |
| "do_convert_rgb": true, | |
| "do_image_splitting": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_sample_frames": false, | |
| "fps": 1, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "SmolVLMImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_image_size": { | |
| "longest_edge": 384 | |
| }, | |
| "num_frames": 64, | |
| "resample": 1, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_metadata": false, | |
| "size": { | |
| "longest_edge": 1536 | |
| }, | |
| "video_processor_type": "SmolVLMVideoProcessor", | |
| "video_sampling": { | |
| "fps": 1, | |
| "max_frames": 64, | |
| "video_size": { | |
| "longest_edge": 1536 | |
| } | |
| } | |
| } | |
| } | |