Update README.md
Browse files
README.md
CHANGED
|
@@ -18,6 +18,12 @@ model_id = "LiquidAI/LFM2-350M"
|
|
| 18 |
config = AutoConfig.from_pretrained(model_id)
|
| 19 |
|
| 20 |
config.num_hidden_layers=4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
config.num_attention_heads=4
|
| 22 |
config.num_key_value_heads=4
|
| 23 |
config.hidden_size=16
|
|
|
|
| 18 |
config = AutoConfig.from_pretrained(model_id)
|
| 19 |
|
| 20 |
config.num_hidden_layers=4
|
| 21 |
+
config.layer_types=[
|
| 22 |
+
"conv",
|
| 23 |
+
"conv",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"conv",
|
| 26 |
+
]
|
| 27 |
config.num_attention_heads=4
|
| 28 |
config.num_key_value_heads=4
|
| 29 |
config.hidden_size=16
|