Run this model with HF Jobs
Run Snapmap/diffcheckstuffiused on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Snapmap/diffcheckstuffiused. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Snapmap/diffcheckstuffiused on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Snapmap/diffcheckstuffiused with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Snapmap/diffcheckstuffiused with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Snapmap/diffcheckstuffiused", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download LLM/Florence-2-base/preprocessor_config.json from Snapmap/diffcheckstuffiused: direct link, hf CLI and curl.
- Browser
- Download file 806 Bytes
-
https://huggingface.co/Snapmap/diffcheckstuffiused/resolve/main/LLM/Florence-2-base/preprocessor_config.json
- Command line
-
hf download hf://Snapmap/diffcheckstuffiused/LLM/Florence-2-base/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Snapmap/diffcheckstuffiused/resolve/main/LLM/Florence-2-base/preprocessor_config.json
806 Bytes
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_florence2.Florence2Processor" | |
| }, | |
| "_valid_processor_keys": [ | |
| "images", | |
| "do_resize", | |
| "size", | |
| "resample", | |
| "do_rescale", | |
| "rescale_factor", | |
| "do_normalize", | |
| "image_mean", | |
| "image_std", | |
| "return_tensors", | |
| "data_format", | |
| "input_data_format", | |
| "do_convert_rgb" | |
| ], | |
| "do_convert_rgb": null, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_center_crop": false, | |
| "image_processor_type": "CLIPImageProcessor", | |
| "image_seq_length": 577, | |
| "image_mean": [0.485, 0.456, 0.406], | |
| "image_std": [0.229, 0.224, 0.225], | |
| "processor_class": "Florence2Processor", | |
| "resample": 3, | |
| "size": { | |
| "height": 768, | |
| "width":768 | |
| }, | |
| "crop_size": { | |
| "height": 768, | |
| "width": 768 | |
| } | |
| } |