← MIC coverage of Transformers model types
facebook/seamless-m4t-v2-large
huggingface-mic/seamless-m4t-v2-large-mic@5a9b85832b6a ← facebook/seamless-m4t-v2-large@5f8cc790b19f · SeamlessM4Tv2Model · random weights
CI: no failure on main in 30 days · MIC failures dashboard
Original2.3Bparameters
Fixture59.0Mparameters
Layer stacks7compared
Findings0to review
✓ Same architecture, smaller
Every module class, layer kind and checked property of the original is in the fixture.
Model tester (advisory)
The model's own small test config in its ModelTester (48 literal values, 48 set by the model's own tester, the rest generic base-tester defaults). Testers are usually representative but not always, so these notes are for review, not rules.
The fixture covers every per-layer kind the tester sets, and shrinks every size it does.
Layer stacks
One square per layer, colored by kind: the layer's module classes and type attributes. Hover a square for its index and kind.
text_encoder.layers
| Kind | Original | Fixture | |
|---|
| EncoderLayer | 24 | 2 | ✓ kept |
speech_encoder.encoder.layers
| Kind | Original | Fixture | |
|---|
| ConformerEncoderLayer | 24 | 24 | ✓ kept |
speech_encoder.adapter.layers
| Kind | Original | Fixture | |
|---|
| ConformerAdapterLayer | 1 | 1 | ✓ kept |
text_decoder.layers
| Kind | Original | Fixture | |
|---|
| DecoderLayer | 24 | 2 | ✓ kept |
t2u_model.model.encoder.layers
| Kind | Original | Fixture | |
|---|
| EncoderLayer | 6 | 6 | ✓ kept |
t2u_model.model.decoder.layers
| Kind | Original | Fixture | |
|---|
| TextToUnitDecoderLayer | 6 | 6 | ✓ kept |
vocoder.hifi_gan.resblocks
| Kind | Original | Fixture | |
|---|
| HifiGanResidualBlock | 15 | 15 | ✓ kept |
Where the parameters are
Share of each model's parameters per component. Vocabulary and patch sizes are kept, so embeddings usually take a larger share of the fixture.
| Component | Original | Share | Fixture | Share |
|---|
| text_decoder.layers | 604.5M | 26.2% | 100.5K | 0.2% |
| speech_encoder.encoder.layers | 580.3M | 25.1% | 26.1M | 44.3% |
| text_encoder.layers | 503.7M | 21.8% | 66.9K | 0.1% |
| shared | 262.2M | 11.4% | 16.4M | 27.8% |
| t2u_model.model.encoder.layers | 125.9M | 5.5% | 106.4K | 0.2% |
| t2u_model.model.decoder.layers | 113.3M | 4.9% | 446.2K | 0.8% |
| speech_encoder.adapter.layers | 46.2M | 2.0% | 676.8K | 1.1% |
| 13 others | 73.0M | 3.2% | 15.1M | 25.6% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|
| model | model_type | seamless_m4t_v2 | seamless_m4t_v2 | ✓ kept |
| model | vocab_size | 256102 | 256102 | ✓ kept |
| model | tie_word_embeddings | True | True | ✓ kept |
| model | max_position_embeddings | 4096 | 4096 | ✓ kept |
| model | sampling_rate | 16000 | 16000 | ✓ kept |
Module classes
Instances of each class in the built model (prefix SeamlessM4Tv2 omitted).
| Class | Original | Fixture |
|---|
| Linear | 649 | 297 |
| Dropout | 346 | 214 |
| LayerNorm | 302 | 192 |
| Conv1d | 182 | 182 |
| ReLU | 88 | 22 |
| Attention | 84 | 18 |
| SiLU | 72 | 72 |
| FeedForwardNetwork | 54 | 10 |
| ConformerFeedForward | 50 | 50 |
| ModuleList | 38 | 38 |
| Embedding | 30 | 30 |
| EncoderLayer | 30 | 8 |
| GLU | 25 | 25 |
| ConformerSelfAttention | 25 | 25 |
| ConformerConvolutionModule | 24 | 24 |
| ConformerEncoderLayer | 24 | 24 |
| DecoderLayer | 24 | 2 |
| HifiGanResidualBlock | 15 | 15 |
| TextToUnitDecoderLayer | 6 | 6 |
| ConvTranspose1d | 5 | 5 |
| SinusoidalPositionalEmbedding | 4 | 4 |
| Encoder | 2 | 2 |
| ScaledWordEmbedding | 2 | 2 |
| VariancePredictor | 2 | 2 |
| CodeHifiGan | 1 | 1 |
| ConformerAdapter | 1 | 1 |
| ConformerAdapterLayer | 1 | 1 |
| ConformerEncoder | 1 | 1 |
| ConformerFeatureProjection | 1 | 1 |
| Decoder | 1 | 1 |
| HifiGan | 1 | 1 |
| Model | 1 | 1 |
| SpeechEncoder | 1 | 1 |
| TextToUnitDecoder | 1 | 1 |
| TextToUnitForConditionalGeneration | 1 | 1 |
| TextToUnitModel | 1 | 1 |
Config changes
13 fields changed, 71 unchanged.
| Field | Original | Fixture |
|---|
| decoder_attention_heads | 16 | 4 |
| decoder_ffn_dim | 8192 | 128 |
| decoder_layers | 24 | 2 |
| encoder_attention_heads | 16 | 4 |
| encoder_ffn_dim | 8192 | 128 |
| encoder_layers | 24 | 2 |
| hidden_size | 1024 | 64 |
| lang_embed_dim | 256 | 6 |
| spkr_embed_dim | 256 | 6 |
| t2u_decoder_ffn_dim | 8192 | 6 |
| t2u_encoder_ffn_dim | 8192 | 6 |
| t2u_variance_predictor_hidden_dim | 256 | 4 |
| unit_embed_dim | 1280 | 25 |