Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'outputs' of the dataset.
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 byte

Need 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.

Lin laughing at an outdoor cafe table in Paris, a croissant and espresso in front of her

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

Lin on a crowded subway holding the overhead rail Lin reading a paperback cross-legged on a sunlit bed Lin taking a mirror selfie in a gym locker room
1 · subway 2 · reading in bed 3 · gym mirror selfie
Lin eating ramen at a Tokyo noodle counter Lin on a rooftop at blue hour Lin under a clear umbrella in the rain at night
4 · ramen counter 5 · rooftop, blue hour 6b · rain, with the shared phrase
Lin laughing at a Paris cafe Lin on a misty mountain trail Lin in a car passenger seat at golden hour
7 · Paris cafe 8 · mountain trail 9 · car, golden hour
A studio beauty headshot of Lin Lin at a farmers market holding oranges Lin eating a sandwich on a park bench
10 · studio headshot 11 · farmers market 12 · park bench lunch
Lin cycling along a canal path Lin at a crosswalk holding an iced coffee Lin folding a t-shirt on a laundromat floor
13 · canal path 14 · crosswalk 15 · laundromat

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

  1. Install OmniChar and put lora/lin.safetensors in core/models/loras/.
  2. Add a MOSS-Image node, wire a LoRA loader set to lin.safetensors into it, and start the prompt with lin, photo of linchar woman, ….
  3. To use it as a character, file it on a .char with the Attach Adapter node. The MOSS-Image node then applies it whenever that character is wired in.

Train it yourself in OmniChar

  1. Open the Trainer tab.
  2. Create a dataset and drop in the data/ folder. Image and .txt pairs are read automatically.
  3. In Adjust, pick MOSS-Image, then the SFT int8 base, and match the settings above.
  4. Wire the dataset into Train LoRA and press Start. The LoRA lands in models/loras/.

Links

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