UPShf commited on
Commit
de0dda2
·
verified ·
1 Parent(s): f863a0f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +94 -3
README.md CHANGED
@@ -1,3 +1,94 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ pipeline_tag: text-to-image
4
+ tags:
5
+ - multimodal
6
+ - flow-matching
7
+ - image-text-to-text
8
+ - text-generation
9
+ datasets:
10
+ - benjamin-paine/imagenet-1k-256x256
11
+ language:
12
+ - en
13
+ base_model:
14
+ - UPShf/FlowTalk
15
+ ---
16
+
17
+
18
+ # FlowTalk (Prototype Model Card)
19
+
20
+ ## Summary
21
+
22
+ This is an experimental research prototype multimodal model that combines:
23
+
24
+ - Flow-matching image generation in VAE latent space
25
+ - Autoregressive text generation (next-token prediction)
26
+
27
+ It is not a production-quality text-to-image model. Prompt adherence is inconsistent and strongly depends on
28
+ matching the training prompt format used during training.
29
+
30
+ ## Model Details
31
+
32
+ - Architecture: single multimodal transformer (see `omni_model_v2.py` in the code repository)
33
+ - Image path: predicts a flow/velocity in VAE latent space and decodes through a VAE
34
+ - Default VAE used by the scripts: `black-forest-labs/FLUX.1-schnell`
35
+ - Text path: next-token prediction head
36
+
37
+ This model is brittle under distribution shift and is best treated as a research artifact.
38
+
39
+ ## Training Data
40
+
41
+ This checkpoint was trained on an ImageNet-derived 256x256 dataset hosted on Hugging Face:
42
+
43
+ - Dataset: `benjamin-paine/imagenet-1k-256x256`
44
+ - Dataset license field on HF: "other"
45
+ - ImageNet usage terms in the dataset card: non-commercial research / educational
46
+
47
+ Captions were generated with a VLM (Qwen-VL style captions), and some runs use ChatML-like prompt templates.
48
+
49
+ ## Prompt Format Warning (Critical)
50
+
51
+ If your training captions were ChatML-ish (tokens like `<|im_start|>user`, `<|im_end|>`), then plain prompts like:
52
+
53
+ `green trees, flowers`
54
+
55
+ are out-of-distribution and may produce weak prompt control. For best results, use the same template used to
56
+ create training captions (or retrain using plain captions).
57
+
58
+ ## Intended Use
59
+
60
+ - Research on flow-matching multimodal transformers
61
+ - Captioning / tagging experiments (quality depends heavily on training data)
62
+ - Debugging and ablation studies
63
+
64
+ ## Limitations
65
+
66
+ - Not reliable for real-world prompt-following
67
+ - Can collapse to near-constant outputs (especially under prompt-format mismatch)
68
+ - Text generation quality is not competitive with production LLMs
69
+ - No safety mitigations; may generate unsafe content depending on training data
70
+
71
+ ## How To Use
72
+
73
+ Code repository (scripts, not a library):
74
+
75
+ - https://github.com/uninterruptedpowersupply3-NEW/FlowTalk
76
+
77
+ Typical usage is via `gui_app.py` and `inference_backend.py` in the code repository.
78
+
79
+ ## License
80
+
81
+ - Code: Apache-2.0 (see the code repository)
82
+ - Weights: CC BY-NC 4.0 (non-commercial)
83
+
84
+ This checkpoint was trained on ImageNet-derived data; users are responsible for complying with ImageNet terms.
85
+
86
+ ## Citation
87
+
88
+ If you use this checkpoint or the codebase, please cite ImageNet and any upstream components you used (VAE,
89
+ captioning model, etc.).
90
+
91
+ ## References
92
+
93
+ - Dataset: https://huggingface.co/datasets/benjamin-paine/imagenet-1k-256x256
94
+ - Default VAE repo: https://huggingface.co/black-forest-labs/FLUX.1-schnell