The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: UnicodeDecodeError
Message: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4675, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2885, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3095, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2600, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/text/text.py", line 98, in _generate_tables
batch = f.read(self.config.chunksize)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 838, in read_with_retries
out = read(*args, **kwargs)
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byteNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Lin: a MOSS-Image character LoRA
The lin character LoRA for MOSS-Image, the 10 image and caption pairs it trained on, and 16 renders from it with the exact prompt, seed and settings behind each one. The LoRA was trained and the renders made locally in OmniChar.
Provenance: lin is a fictional character, not a real person. The 10 training photos were AI-generated on OmniChar Cloud.
Contents
data/ the training set
metadata.jsonl one row per image: file_name + text, for the dataset viewer
0000.png 0000.txt
...
0009.png 0009.txt
lora/
lin.safetensors the trained LoRA (149MB)
outputs/ renders from the trained LoRA
metadata.jsonl prompt, seed and settings for every render
lin-01.jpg ... lin-15.jpg, lin-06b.jpg
Each NNNN.png has a matching NNNN.txt caption, the sidecar convention OmniChar, ComfyUI and kohya all read. Images are full resolution (2048×2048 and 1776×2368); the trainer centre-crops and resizes them to the training resolution.
The LoRA
lora/lin.safetensors is the LoRA these renders came from: rank 16, 149MB, trained on MOSS-Image SFT. Its keys use MOSS-Image's own layer names (layers.N.proj.q.lora_A.weight), so it loads on the int8 ConvRot and bf16 builds alike, and in other tools that read MOSS-Image LoRAs by those names. The file's metadata records what it was trained on (inline_arch: moss-image, inline_base: moss_image_sft_int8_convrot.safetensors, rank, steps and resolution), which is what lets OmniChar file it on a character as that character's MOSS-Image adapter.
To use it in OmniChar, put it in core/models/loras/, or download it with:
hf download inlineresearch/lin-moss-image-lora lora/lin.safetensors --repo-type dataset --local-dir .
mv lora/lin.safetensors core/models/loras/
Captions
Every caption starts with the trigger word, then the phrase the whole set shares, then a plain description of the photo:
lin, photo of linchar woman, close-up, direct gaze, bare shoulders, hard side light,
dark background, black and white photo
- Trigger word:
lin - Shared phrase:
photo of linchar woman
Start a prompt with both to call the LoRA reliably. A prompt that only says lin works when the scene already implies a woman, but shot 6 below shows what happens when it doesn't.
Training settings
| Setting | Value |
|---|---|
| Base model | MOSS-Image SFT, int8 ConvRot (moss_image_sft_int8_convrot.safetensors) |
| Text encoder | Qwen3.5-9B, int8 ConvRot (qwen3.5_9b_int8_convrot.safetensors) |
| VAE | FLUX.2 small decoder (flux2-vae_small.safetensors) |
| Base precision | int8, kept as stored; the LoRA trains at full precision on top |
| Rank / alpha | 16 / 16 |
| Targets | q, k, v, o, ffn_up_gate, ffn_down in all 42 blocks |
| Steps | 1500 |
| Batch size | 1 |
| Learning rate | 1e-4, 8-bit Adam |
| Resolution | 1024×1024 |
| Caption dropout | 0.05 |
| Flip augmentation | off |
| GPU | NVIDIA RTX PRO 4500 (32GB) |
| Time | 88 minutes start to finish, about 3.6 s per step |
The three model files come from Comfy-Org/MOSS-Image.
Generation settings
Every render in outputs/ used the same settings, with the LoRA at strength 1.0 and the seed set to the shot number:
| Setting | Value |
|---|---|
| Size | 896×1152 |
| Steps | 30 |
| CFG | 3 |
| Schedule shift | 5 |
| Skip-layer guidance | block 22, negative pass only |
| Negative prompt | nsfw, worst quality, bad anatomy, watermark, jpeg artifact |
Outputs
outputs/lin-06.jpg is shot 6 as first written. Its prompt never says the subject is a woman, and the bare trigger lin drew a man. lin-06b.jpg is the same prompt and seed with photo of linchar woman added. The full prompt for every shot is in outputs/metadata.jsonl.
Generate with it in OmniChar
- Install OmniChar and put
lora/lin.safetensorsincore/models/loras/. - Add a MOSS-Image node, wire a LoRA loader set to
lin.safetensorsinto it, and start the prompt withlin, photo of linchar woman, …. - To use it as a character, file it on a
.charwith the Attach Adapter node. The MOSS-Image node then applies it whenever that character is wired in.
Train it yourself in OmniChar
- Open the Trainer tab.
- Create a dataset and drop in the
data/folder. Image and.txtpairs are read automatically. - In Adjust, pick MOSS-Image, then the SFT int8 base, and match the settings above.
- Wire the dataset into Train LoRA and press Start. The LoRA lands in
models/loras/.
Links
- OmniChar: https://www.omnichar.org
- MOSS-Image guide: https://www.omnichar.org/moss-image
- MOSS-Image LoRA training docs: https://docs.omnichar.org/app/lora-training/moss-image
- Source code: https://github.com/omnichar/OmniChar
- OmniChar Cloud: https://cloud.omnichar.org
License
Apache-2.0, the same license as MOSS-Image itself. That covers the training photos, the renders and lora/lin.safetensors.
- Downloads last month
- 435














