CompiwerAI's picture
Update README.md
f2d9d9c verified
|
Raw History Blame Contribute Delete
4.75 kB
---
language:
- en
- ar
license: apache-2.0
library_name: diffsynth
tags:
- image-generation
- text-to-image
- image-generation-model
- lora
- adapter
- hidream
- hidream-o1
- hidream-o1-image
- uit
- mtrini
- compiwer-ai
base_model: HiDream-ai/HiDream-O1-Image-Dev
pipeline_tag: text-to-image
---
# ๐ŸŽจ Mtrini-Imagine-1.0-7B
> ๐Ÿง  **An image-generation experiment by Compiwer AI.**
>
> โœจ **Building AI For Everyone.**
Welcome to **Mtrini-Imagine-1.0-7B** โ€” Compiwer AI's first Mtrini image-generation release! ๐Ÿš€
This repository contains the **LoRA Adapter** version of Mtrini-Imagine.
Instead of shipping the entire model, this release contains the learned Mtrini-Imagine updates that can be applied to the compatible **HiDream-O1-Image** base model.
That means a **tiny ~98 MB adapter** can bring the Mtrini-Imagine modifications to the base model. ๐Ÿช„
---
## ๐ŸŒŸ What's inside?
| ๐Ÿ”ง | Details |
|---|---|
| ๐Ÿค– Model | Mtrini-Imagine-1.0-7B |
| ๐Ÿงฉ Type | LoRA Adapter |
| ๐Ÿ—๏ธ Base | HiDream-O1-Image-Dev |
| ๐Ÿง  Architecture | HiDream-O1 / UiT |
| โšก Framework | DiffSynth-Studio |
| ๐Ÿ“ LoRA Rank | 16 |
| ๐Ÿ”ข LoRA Alpha | 32 |
| ๐Ÿงฎ Precision | BF16 |
| ๐Ÿ–ผ๏ธ Training Examples | 4,993 |
| ๐Ÿ’พ Adapter Size | ~98 MB |
---
## ๐ŸŽจ What is Mtrini-Imagine?
Mtrini-Imagine is Compiwer AI's experiment in **open image generation**.
The goal is simple:
> ๐Ÿ’ก **Take powerful open image-generation architectures and experiment with making them our own.**
Mtrini-Imagine 1.0 was trained as a LoRA adapter on top of HiDream-O1-Image.
The result is a compact adapter that can be distributed separately from the massive base model. ๐Ÿ“ฆ
---
## ๐Ÿงช Training
Mtrini-Imagine-1.0-7B was trained using **DiffSynth-Studio** with a LoRA-based training setup.
### โš™๏ธ Configuration
- ๐Ÿ—๏ธ Base: HiDream-O1-Image
- ๐Ÿงฉ Method: LoRA
- ๐Ÿ“ Rank: 16
- ๐Ÿ”ข Alpha: 32
- ๐Ÿงฎ Precision: BF16
- ๐Ÿ–ผ๏ธ Examples: 4,993
- ๐Ÿ› ๏ธ Framework: DiffSynth-Studio
The adapter contains the learned parameter updates rather than a complete copy of the original model.
---
## ๐Ÿš€ Why use the Adapter?
The adapter is perfect if you:
- ๐Ÿง‘โ€๐Ÿ’ป Already have HiDream-O1-Image
- ๐Ÿ’พ Want a much smaller download
- ๐Ÿงช Want to experiment with LoRA
- ๐Ÿ”ง Work directly with DiffSynth-Studio
- ๐Ÿง  Want to study the Mtrini-Imagine modifications
### ๐Ÿ“ฆ Download size
**~98 MB**
Compared with the full model, that's tiny. ๐Ÿ˜Ž
---
## ๐Ÿ› ๏ธ Usage
Load the compatible HiDream-O1-Image base model and apply the Mtrini-Imagine adapter using DiffSynth-Studio.
```python
import torch
from diffsynth import ModelConfig
from diffsynth.pipelines.hidream_o1_image import HiDreamO1ImagePipeline
pipe = HiDreamO1ImagePipeline.from_pretrained(
torch_dtype=torch.bfloat16,
device="cuda",
model_configs=[
ModelConfig(
path="PATH_TO_HIDREAM_MODEL"
)
]
)
pipe.load_lora(
pipe.dit,
"Mtrini-Imagine-1.0-7B.safetensors",
alpha=1.0
)
```
โš ๏ธ Exact loading configuration can vary between DiffSynth-Studio versions.
---
## ๐Ÿง  Model Capabilities
Mtrini-Imagine is designed for experimentation with:
๐ŸŽจ Creative image generation
๐Ÿ–ผ๏ธ Text-to-image generation
๐Ÿงช Image-model research
๐Ÿค– Multimodal AI experimentation
๐Ÿ’ป Local inference
๐Ÿ”ฌ Open model development
---
## โš ๏ธ Known Limitations
Like basically every image model, Mtrini-Imagine isn't perfect. ๐Ÿ˜…
You may encounter:
- โœ๏ธ Incorrect text inside images
- ๐Ÿ”ค Misspelled words
- ๐Ÿงฉ Strange object relationships
- ๐ŸŽจ Unexpected visual artifacts
- ๐Ÿง  Prompt interpretation errors
- ๐Ÿ” Inconsistent small details
**Text rendering can be especially challenging.**
We're continuing to experiment with future Mtrini-Imagine versions. ๐Ÿš€
---
## ๐Ÿ›ก๏ธ Safety
Please use Mtrini-Imagine responsibly.
Do not use the model to create illegal, harmful, deceptive, or abusive content.
Users are responsible for ensuring their generated content follows applicable laws and platform policies.
---
## ๐Ÿ“œ License
This adapter is released under **Apache-2.0**, subject to the licensing conditions of the underlying HiDream-O1-Image model.
Please review the original model's license before commercial use.
---
## โค๏ธ Credits
Built by **Compiwer AI** ๐Ÿ‡ฒ๐Ÿ‡ฆ
**Model family:** Mtrini
**Model:** Mtrini-Imagine-1.0-7B
**Base:** HiDream-O1-Image
**Framework:** DiffSynth-Studio
---
## ๐Ÿ”— Explore
๐Ÿ  **Compiwer AI**
๐Ÿค— **More Mtrini models**
๐Ÿงช **More experiments coming soon**
---
# ๐Ÿš€ Mtrini-Imagine-1.0-7B
### ๐ŸŽจ Imagine more. Build more. Ship more.
**Compiwer AI โ€” Building AI For Everyone.**