Instructions to use SleepMastger/fruit-picking-lingbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SleepMastger/fruit-picking-lingbot with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SleepMastger/fruit-picking-lingbot", 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 training_code/shared_config.py from SleepMastger/fruit-picking-lingbot: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/SleepMastger/fruit-picking-lingbot/resolve/main/training_code/shared_config.py
- Command line
-
hf download hf://SleepMastger/fruit-picking-lingbot/training_code/shared_config.py
-
curl -L -o shared_config.py https://huggingface.co/SleepMastger/fruit-picking-lingbot/resolve/main/training_code/shared_config.py
359 Bytes
| # Copyright 2024-2025 The Robbyant Team Authors. All rights reserved. | |
| import torch | |
| from easydict import EasyDict | |
| va_shared_cfg = EasyDict() | |
| va_shared_cfg.host = '0.0.0.0' | |
| va_shared_cfg.port = 29536 | |
| va_shared_cfg.param_dtype = torch.bfloat16 | |
| va_shared_cfg.save_root = './train_out' | |
| va_shared_cfg.patch_size = (1, 2, 2) | |
| va_shared_cfg.enable_offload = False |