peft-internal-testing/tiny-clip-text-2
Original69.5Kparameters
Fixture138.0Kparameters
Layer stacks1compared
Findings2to review
⚠ To review
- peft-internal-testing/tiny-clip-text-2 is a test checkpoint (untrained): build from a trained checkpoint of this model type
- the fixture keeps 199% of the original's 69.5K parameters
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_model.encoder.layers
Original · 5
Fixture · 2
| Kind | Original | Fixture | |
|---|---|---|---|
| CLIPEncoderLayer | 5 | 2 | ✓ 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.
Original
Fixture
| Component | Original | Share | Fixture | Share |
|---|---|---|---|---|
| text_model.embeddings | 34.5K | 49.6% | 68.9K | 49.9% |
| text_model.encoder.layers | 33.9K | 48.8% | 66.9K | 48.5% |
| text_projection | 1.0K | 1.5% | 2.0K | 1.5% |
| text_model.final_layer_norm | 64 | 0.1% | 128 | 0.1% |
Preserved properties
| Config | Property | Original | Fixture | |
|---|---|---|---|---|
| model | model_type | clip_text_model | clip_text_model | ✓ kept |
| model | vocab_size | 1000 | 1000 | ✓ kept |
| model | hidden_act | gelu | gelu | ✓ kept |
| model | max_position_embeddings | 77 | 77 | ✓ kept |
Module classes
Instances of each class in the built model (prefix CLIPText omitted).
| Class | Original | Fixture |
|---|---|---|
| Linear | 31 | 13 |
| LayerNorm | 11 | 5 |
| CLIPAttention | 5 | 2 |
| CLIPEncoderLayer | 5 | 2 |
| CLIPMLP | 5 | 2 |
| GELUActivation | 5 | 2 |
| Embedding | 2 | 2 |
| CLIPEncoder | 1 | 1 |
| Embeddings | 1 | 1 |
| Model | 1 | 1 |
| ModelWithProjection | 1 | 1 |
| ModuleList | 1 | 1 |
Config changes
3 fields changed, 21 unchanged.
| Field | Original | Fixture |
|---|---|---|
| hidden_size | 32 | 64 |
| intermediate_size | 37 | 128 |
| num_hidden_layers | 5 | 2 |