Instructions to use lea97338/LouV5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lea97338/LouV5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lea97338/LouV5", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download text_encoder/config.json from lea97338/LouV5: direct link, hf CLI and curl.
- Browser
- Download file 573 Bytes
-
https://huggingface.co/lea97338/LouV5/resolve/main/text_encoder/config.json
- Command line
-
hf download hf://lea97338/LouV5/text_encoder/config.json
-
curl -L -o config.json https://huggingface.co/lea97338/LouV5/resolve/main/text_encoder/config.json
573 Bytes
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertModel" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": null, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "hidden_dim": 3072, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.16.1", | |
| "vocab_size": 30522 | |
| } | |