yujiepan commited on
Commit
b04a81e
·
verified ·
1 Parent(s): c8adba0

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .meta/create_model.py +1 -1
  2. .meta/env.json +1 -23
  3. README.md +4 -4
.meta/create_model.py CHANGED
@@ -225,5 +225,5 @@ def create_model(source_model_id: str, source_revision: str, save_folder: str) -
225
  create_model(
226
  source_model_id="LiquidAI/LFM3-Omni-2B",
227
  source_revision="21d75123f86c1f7ffb4bef1ea202710c4e7ebe67",
228
- save_folder="/tmp/lfm3_omni",
229
  )
 
225
  create_model(
226
  source_model_id="LiquidAI/LFM3-Omni-2B",
227
  source_revision="21d75123f86c1f7ffb4bef1ea202710c4e7ebe67",
228
+ save_folder="/tmp/lfm3-omni",
229
  )
.meta/env.json CHANGED
@@ -16,29 +16,7 @@
16
  "torchvision": "0.28.0+cu126",
17
  "transformers": "5.22.0.dev0"
18
  },
19
- "cuda": "12.6",
20
- "hardware": {
21
- "gpu_model": "NVIDIA H20"
22
- }
23
- },
24
- "transformers": {
25
- "python": "3.12.13",
26
- "packages": {
27
- "huggingface_hub": "2.3.0",
28
- "numpy": "2.5.2",
29
- "pillow": "12.3.0",
30
- "safetensors": "0.8.0",
31
- "soundfile": "0.13.1",
32
- "tokenizers": "0.23.3",
33
- "torch": "2.13.0+cu126",
34
- "torchvision": "0.28.0+cu126",
35
- "transformers": "5.22.0.dev0",
36
- "triton": "3.7.1"
37
- },
38
- "cuda": "12.6",
39
- "hardware": {
40
- "gpu_model": "NVIDIA H20"
41
- }
42
  }
43
  }
44
  }
 
16
  "torchvision": "0.28.0+cu126",
17
  "transformers": "5.22.0.dev0"
18
  },
19
+ "cuda": "12.6"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
  }
22
  }
README.md CHANGED
@@ -28,7 +28,7 @@ This is a randomly initialized tiny model based on [LiquidAI/LFM3-Omni-2B](https
28
  | Vocabulary rows / tying | 128,000 / tied | Same |
29
  | Stored precision | BF16; codec ISTFT window FP32 | Same |
30
 
31
- Text and vision geometry follows [tiny-random/lfm3-vl](https://huggingface.co/tiny-random/lfm3-vl). The pinned upstream implementation is included for Transformers loading, including the separate `audio_tokenizer/` LiquidCodec component; the only runtime change lets the codec LFM3 backbone dimensions come from its config (source defaults preserved). The 16 kHz feature extractor and 24 kHz codec STFT/FSQ contracts are unchanged. This repo provides a Transformers example with image, speech in and speech out; no serving-backend validation is claimed.
32
 
33
  | File path | Size |
34
  |------|------|
@@ -37,7 +37,7 @@ Text and vision geometry follows [tiny-random/lfm3-vl](https://huggingface.co/ti
37
 
38
  ### Example usage
39
 
40
- #### Transformers (✅ verified)
41
 
42
  Load the included pinned upstream implementation with `trust_remote_code=True`. The example sends a 16 kHz spoken question together with an image and four predecoded video frames, answers as text, then synthesizes 24 kHz speech through the bundled LiquidCodec. The Triton short-conv path requires CUDA.
43
 
@@ -128,7 +128,7 @@ def run_transformers(model_id: str):
128
 
129
 
130
  if __name__ == "__main__":
131
- run_transformers(model_id="scratch/lfm3_omni")
132
  ```
133
 
134
  ### Creating this repo
@@ -139,6 +139,6 @@ if __name__ == "__main__":
139
 
140
  ### Change log
141
 
142
- - 2026-11-03: Initial version. Text backbone follows tiny-random/lfm3-vl (residual 64 / MLP 128, ten layers with the two-conv prefix and two full/conv/sliding/conv cycles, 16 Q / 4 KV heads at head dim 32); vision keeps the source 2:1 Q/KV ratio at width 128 (4 Q / 2 KV heads, head dim 32) with six conv/full-cadence layers. The 16 kHz causal audio encoder keeps 128 mel bins, stride-8 convolutions, the 32-frame window and a two-group conv/conv/full schedule at width 64; the 12-codebook maskgit depth decoder keeps the three full-attention passes and 2,017-entry codebooks at width 32. The bundled 24 kHz LiquidCodec keeps its STFT contract (1,280 FFT, hop 320, frame stack 6), 12 FSQ codebooks [8, 7, 6, 6] and FP32 synthesis window, with a four-conv/attention-layer LFM3 stack at width 64 via a pinned, localized runtime config patch.
143
 
144
  *This repo is generated by GPT-6.1-Sol.*
 
28
  | Vocabulary rows / tying | 128,000 / tied | Same |
29
  | Stored precision | BF16; codec ISTFT window FP32 | Same |
30
 
31
+ Text/vision geometry follows [tiny-random/lfm3-vl](https://huggingface.co/tiny-random/lfm3-vl). The only runtime change lets the bundled codec LFM3 backbone read its dimensions from config.
32
 
33
  | File path | Size |
34
  |------|------|
 
37
 
38
  ### Example usage
39
 
40
+ #### Transformers (unverified)
41
 
42
  Load the included pinned upstream implementation with `trust_remote_code=True`. The example sends a 16 kHz spoken question together with an image and four predecoded video frames, answers as text, then synthesizes 24 kHz speech through the bundled LiquidCodec. The Triton short-conv path requires CUDA.
43
 
 
128
 
129
 
130
  if __name__ == "__main__":
131
+ run_transformers(model_id="scratch/lfm3-omni")
132
  ```
133
 
134
  ### Creating this repo
 
139
 
140
  ### Change log
141
 
142
+ - 2026-11-03: Initial version: omni text/vision/16kHz-audio encoder, maskgit depth decoder and a config-driven tiny bundled 24 kHz LiquidCodec.
143
 
144
  *This repo is generated by GPT-6.1-Sol.*