* Add pfnet/plamo-2-1b * Fix cache.py to support non-top level layers * Use mlx's BaseModelArgs * Fix model * Use sanitize() * Remove unnecessary changes * Add plamo2.py * Apply formatter * Fix some part * Allow a cache obj defined externally * Fix channel first weights to channel last for right use of MLX's conv1d * Remove unused code part * Give all inputs when it's the first time call of model * Fix import * Include .jsonl files to download from Huggingface hub * Fix reference to layers * Remove unnecessary code and add a test for plamo2 * Do not pass mask to prepare_inputs_for_generation * Fix to use repeat instead of tile * Add state property to PlamoCache * Add __iter__ and __next__ methods to PlamoCache * cleanup * cleanup * fix --------- Co-authored-by: Awni Hannun <awni.hannun@gmail.com> |
||
|---|---|---|
| .. | ||
| test_datsets.py | ||
| test_finetune.py | ||
| test_generate.py | ||
| test_gguf.py | ||
| test_models.py | ||
| test_prompt_cache.py | ||
| test_sample_utils.py | ||
| test_server.py | ||
| test_tokenizers.py | ||
| test_tuner_utils.py | ||
| test_utils_load_model.py | ||
| test_utils.py | ||