{"id":26663,"date":"2026-11-28T09:12:01","date_gmt":"2026-11-28T00:12:01","guid":{"rendered":"https:\/\/localmodelwatch.tsuchitsuchi.com\/2026\/11\/28\/swaflow-1b-riemannian-flow-language-model\/"},"modified":"2026-11-28T09:12:01","modified_gmt":"2026-11-28T00:12:01","slug":"swaflow-1b-riemannian-flow-language-model","status":"publish","type":"post","link":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/28\/swaflow-1b-riemannian-flow-language-model\/","title":{"rendered":"SwaFlow-1B: Non-Autoregressive Riemannian Flow Model Released"},"content":{"rendered":"<p><!-- lmw:facts --><\/p>\n<h2>At a Glance<\/h2>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Repository<\/td>\n<td><a href=\"https:\/\/huggingface.co\/tokyotech-llm\/SwaFlow-1B\">tokyotech-llm\/SwaFlow-1B<\/a><\/td>\n<\/tr>\n<tr>\n<td>Family guide<\/td>\n<td><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/model-tokyotech-llm-swaflow-en\/\">SwaFlow guide (5 articles)<\/a><\/td>\n<\/tr>\n<tr>\n<td>Publisher guide<\/td>\n<td><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/publisher-swallow-en\/\">Swallow (Institute of Science Tokyo): models and licenses<\/a><\/td>\n<\/tr>\n<tr>\n<td>Published<\/td>\n<td>2026-11-28<\/td>\n<\/tr>\n<tr>\n<td>License<\/td>\n<td>apache-2.0<\/td>\n<\/tr>\n<tr>\n<td>Source type<\/td>\n<td>Primary source (the publisher itself)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><em>Values determined by this site&#8217;s code when the information was collected. Dates are JST.<\/em><\/p>\n<p><!-- \/lmw:facts --><\/p>\n<h2>Overview<\/h2>\n<p><code>tokyotech-llm\/SwaFlow-1B<\/code> has been released. This model is a 1.59B parameter non-autoregressive hyperspherical (Riemannian) flow language model, trained from scratch using the Allen Institute for AI dataset <a href=\"https:\/\/huggingface.co\/datasets\/allenai\/dolma3_mix-6T\">Dolma 3 Mix<\/a>. It is provided as part of the <a href=\"https:\/\/huggingface.co\/collections\/tokyotech-llm\/swaflow-suite\">SwaFlow suite<\/a>, a group of models trained with the identical recipe and data order.<\/p>\n<p>The repository stores complete torchtitan checkpoints for each step during training. These include fp32 weights, AdamW moments, learning rate schedulers, dataloader positions, and step counters, making it possible to resume training from arbitrary states or load the weights standalone.<\/p>\n<p>This model is not intended for production application deployment, but has been developed to enable open research and investigation into Riemannian flow language models across training progress and model scales.<\/p>\n<h2>Specifications<\/h2>\n<ul>\n<li>Parameters: 1.59B (width 2048, 24 layers, 16 heads, FFN 5632)<\/li>\n<li>Context length: 2,048 tokens<\/li>\n<li>Vocabulary: 49,152 (<a href=\"https:\/\/huggingface.co\/HuggingFaceTB\/SmolLM2-135M\">SmolLM2<\/a> tokenizer)<\/li>\n<\/ul>\n<h2>Performance<\/h2>\n<p>Detailed configurations of the model and tables containing the recorded training states are provided in the model card.<\/p>\n<h3>Model details<\/h3>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Parameters<\/td>\n<td>1.59B (width 2048, 24 layers, 16 heads, FFN 5632)<\/td>\n<\/tr>\n<tr>\n<td>Vocabulary<\/td>\n<td>49,152 (<a href=\"https:\/\/huggingface.co\/HuggingFaceTB\/SmolLM2-135M\">SmolLM2<\/a> tokenizer)<\/td>\n<\/tr>\n<tr>\n<td>Context length<\/td>\n<td>2,048 tokens<\/td>\n<\/tr>\n<tr>\n<td>Time convention<\/td>\n<td>\u03b1 = 1 is clean data, \u03b1 = 0 is pure noise<\/td>\n<\/tr>\n<tr>\n<td>Batch<\/td>\n<td>4,096 \u00d7 2,048 tokens per step<\/td>\n<\/tr>\n<tr>\n<td>Optimizer<\/td>\n<td>AdamW (\u03b2 = 0.9, 0.95; weight decay 0.1), LR 3e-4 constant after a 2,000-step warmup, clip 2.5<\/td>\n<\/tr>\n<tr>\n<td>Hardware<\/td>\n<td>32 nodes \u00d7 8 NVIDIA H200<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Contents<\/h3>\n<div class=\"lmw-table-scroll\" tabindex=\"0\" style=\"overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;\">\n<table style=\"width:max-content;min-width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th>Folder<\/th>\n<th>States<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>uniform\/step-<\/code><\/td>\n<td>pretraining, one \u03b1 per sequence drawn from [0, 0.105]: every 40B tokens (4,768 steps) from step 4,768 (40B) to 224,096 (1.88T), then every 20B tokens (2,384 steps) from 226,480 (1.90T) to 238,400 (2.00T)<\/td>\n<\/tr>\n<tr>\n<td><code>clean-prefix-2t\/step-<\/code><\/td>\n<td>clean-prefix mid-training branched from <code>uniform\/step-226480<\/code> (1.90T): every 20B tokens (2,384 steps) from 228,864 (1.92T) to 238,400 (2.00T)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>According to reports in the release model card, flow language model technology is still in its early stages. As a specific comparison, on multiple-choice tasks, autoregressive twin models (including a 150M parameter model) trained on the same data are reported to outperform the final 3B flow model of this series in average score.<\/p>\n<p>Additionally, even with instruction-tuned models, text generated by flow models is often reported to be incoherent, and it is explained that they are not currently intended for practical text generation or tuning aimed at avoiding harmful content.<\/p>\n<h2>Strengths and Use Cases<\/h2>\n<p>The model is developed not for application embedding or practical text generation, but for open research and investigation into the training behavior and scale-dependent changes of non-autoregressive hyperspherical (Riemannian) flow language models.<\/p>\n<p>Intended uses and features confirmed from the model card and tag labels are as follows:<\/p>\n<ul>\n<li>Supported languages: English (<code>en<\/code>)<\/li>\n<li>Architecture\/Method: Flow-matching \/ Riemannian flow (<code>flow-matching<\/code>, <code>riemannian-flow<\/code>, <code>non-autoregressive<\/code>)<\/li>\n<li>Main use cases: Analyzing training dynamics using training checkpoints (<code>training-checkpoints<\/code>), and resuming or fine-tuning experiments from specific states<\/li>\n<\/ul>\n<p>As explicitly stated by the authors, text generated by current flow language models is often incoherent even when instruction tuning is applied, and tuning to avoid harmful content has not been performed. Therefore, it is suited for architectural research and experimental use rather than general conversational processing or writing assistance.<\/p>\n<h2>How to Get It<\/h2>\n<p>The model weights and individual training states are available on Hugging Face under the Apache-2.0 license. There is no gated requirement asking for license agreement.<\/p>\n<p>To load the model from Python, install the <a href=\"https:\/\/github.com\/swallow-llm\/swaflow-suite\">SwaFlow code<\/a> in advance and run the following:<\/p>\n<pre><code class=\"language-python\">from torchtitan.models.swaflow.hf import from_pretrained\n\nmodel = from_pretrained(&quot;tokyotech-llm\/SwaFlow-1B&quot;, subfolder=&quot;uniform\/step-238400&quot;, device=&quot;cuda&quot;)\n<\/code><\/pre>\n<p>To resume training from a specific step, download the state via the CLI and invoke the prepared training script as follows:<\/p>\n<pre><code class=\"language-bash\">hf download tokyotech-llm\/SwaFlow-1B --include &quot;uniform\/step-238400\/*&quot; --local-dir hub\nmkdir -p $SWAFLOW_OUTPUTS\/flow_1b\/checkpoint\nmv hub\/uniform\/step-238400 $SWAFLOW_OUTPUTS\/flow_1b\/checkpoint\/\nscripts\/launch\/train.sh torchtitan\/models\/swaflow\/train_configs\/flow_1b.toml flow_1b\n<\/code><\/pre>\n<p><!-- lmw:runnability --><\/p>\n<h2>Can You Run It Locally?<\/h2>\n<p><strong>License \u2014 <code>apache-2.0<\/code> (Commercial use allowed):<\/strong> Permits commercial use, modification and redistribution. Redistribution requires including the license and stating changes; includes a patent grant.<\/p>\n<p><em>Compiled by this site&#8217;s code from the published formats and the license field. License summaries are not legal advice \u2014 check the publisher&#8217;s original terms before relying on them.<\/em><\/p>\n<p><!-- \/lmw:runnability --><\/p>\n<p><!-- lmw:related --><\/p>\n<h2>Related Articles<\/h2>\n<ul>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/28\/swaflow-3b-ema-instruct-2\/\">SwaFlow-3B-EMA-Instruct Released by tokyotech-llm<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/28\/swaflow-3b-ema-2\/\">SwaFlow-3B-EMA: Non-Autoregressive Riemannian Flow Model<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/28\/tokyotech-llm-swaflow-500m-and-swaflow-ar-500m\/\">TokyoTech-LLM Releases SwaFlow-500M and SwaFlow-AR-500M<\/a><\/li>\n<li><a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/2026\/11\/28\/swaflow-3b-instruct-2\/\">tokyotech-llm Releases SwaFlow-3B-Instruct<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:related --><\/p>\n<p><!-- lmw:next-steps --><\/p>\n<h2>What to Read Next<\/h2>\n<ul>\n<li><strong>Explore the same model family<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/model-tokyotech-llm-swaflow-en\/\">SwaFlow family overview (5 articles)<\/a><\/li>\n<li><strong>Learn about the publisher<\/strong> \u2192 <a href=\"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/publisher-swallow-en\/\">Swallow (Institute of Science Tokyo): models, licenses and articles<\/a><\/li>\n<\/ul>\n<p><!-- \/lmw:next-steps --><\/p>\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/huggingface.co\/tokyotech-llm\/SwaFlow-1B\">https:\/\/huggingface.co\/tokyotech-llm\/SwaFlow-1B<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Explore SwaFlow-1B, a 1.59B non-autoregressive Riemannian flow language model by Tokyo Tech, with full training checkpoints and training details.<\/p>\n","protected":false},"author":1,"featured_media":26662,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[310],"tags":[4625,6087,6089,6007,6091,6011,6013,1547],"class_list":["post-26663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-new-models","tag-flow-matching-en","tag-non-autoregressive-en","tag-riemannian-flow-en","tag-swaflow-en","tag-swaflow-1b-en","tag-swallow-en","tag-tokyotech-llm-en","tag-verified"],"lang":"en","translations":{"en":26663,"ja":26661},"_links":{"self":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/26663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/comments?post=26663"}],"version-history":[{"count":0,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/posts\/26663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media\/26662"}],"wp:attachment":[{"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/media?parent=26663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/categories?post=26663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/localmodelwatch.tsuchitsuchi.com\/en\/wp-json\/wp\/v2\/tags?post=26663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}