Instructions to use fgheorghe/terrain-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fgheorghe/terrain-generator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fgheorghe/terrain-generator", 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 checkpoint-2000/optimizer.bin from fgheorghe/terrain-generator: direct link, hf CLI and curl.
- Browser
- Download file 910 MB
-
https://huggingface.co/fgheorghe/terrain-generator/resolve/main/checkpoint-2000/optimizer.bin
- Command line
-
hf download hf://fgheorghe/terrain-generator/checkpoint-2000/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/fgheorghe/terrain-generator/resolve/main/checkpoint-2000/optimizer.bin
910 MB
- Xet hash:
- d0608bdc5c80b10292a27191b7ab9daf824ed9cb2238ba5a5a673c12d6562611
- Size of remote file:
- 910 MB
- SHA256:
- 2188f82f382c705c4c151832e3fed4c8cd07f030bdc621838c40fcd0118a770d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.