Text Classification
Transformers
Safetensors
English
lfm3_vl
feature-extraction
lfm3
decision
decision-model
classification
calibration
system-one
security
agent-guard
guardrails
custom_code
Instructions to use aidendle94/Scantron-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aidendle94/Scantron-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aidendle94/Scantron-Preview", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("aidendle94/Scantron-Preview", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from aidendle94/Scantron-Preview: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/aidendle94/Scantron-Preview/resolve/main/processor_config.json
- Command line
-
hf download hf://aidendle94/Scantron-Preview/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/aidendle94/Scantron-Preview/resolve/main/processor_config.json
1.25 kB
| { | |
| "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": "Lfm3VlImageProcessor", | |
| "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": "Lfm3VlProcessor", | |
| "video_processor": { | |
| "cap_pixels_per_frame": false, | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_sample_frames": true, | |
| "fps": 2.0, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "max_frames": 768, | |
| "max_video_tokens": 768, | |
| "merge_size": 2, | |
| "min_frames": 4, | |
| "patch_size": 16, | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "return_metadata": false, | |
| "size": { | |
| "longest_edge": 25165824, | |
| "shortest_edge": 4096 | |
| }, | |
| "temporal_patch_size": 2, | |
| "video_processor_type": "Lfm3VlVideoProcessor" | |
| } | |
| } | |