Instructions to use hf-internal-testing/tiny-bria-fibo2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-bria-fibo2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-bria-fibo2", 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
Upload folder using huggingface_hub
Browse files
text_encoder/config.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"max_position_embeddings": 128000,
|
| 17 |
"model_type": "qwen3_vl_text",
|
| 18 |
"num_attention_heads": 2,
|
| 19 |
-
"num_hidden_layers":
|
| 20 |
"num_key_value_heads": 2,
|
| 21 |
"pad_token_id": null,
|
| 22 |
"rms_norm_eps": 1e-06,
|
|
|
|
| 16 |
"max_position_embeddings": 128000,
|
| 17 |
"model_type": "qwen3_vl_text",
|
| 18 |
"num_attention_heads": 2,
|
| 19 |
+
"num_hidden_layers": 36,
|
| 20 |
"num_key_value_heads": 2,
|
| 21 |
"pad_token_id": null,
|
| 22 |
"rms_norm_eps": 1e-06,
|
text_encoder/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27e6e42f35800316ebcbc5ed7444f8fcc820f2e76c15382974d6c63433624472
|
| 3 |
+
size 20002048
|
transformer/config.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
128,
|
| 12 |
128
|
| 13 |
],
|
| 14 |
-
"cap_feat_dim":
|
| 15 |
"dim": 32,
|
| 16 |
"gist_max_text_len": 16,
|
| 17 |
"gist_min_text_len": 4,
|
|
|
|
| 11 |
128,
|
| 12 |
128
|
| 13 |
],
|
| 14 |
+
"cap_feat_dim": 48,
|
| 15 |
"dim": 32,
|
| 16 |
"gist_max_text_len": 16,
|
| 17 |
"gist_min_text_len": 4,
|
transformer/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:642fceba8017382d52cc3da6638faa6016a6933a6591657176d3d27df100cc08
|
| 3 |
+
size 1457116
|