Sugato Ray
|
2cd793dd69
|
feat: add update_config functionality (#531)
* feat: add `update_config` finctionality
- sorts the config for better readability
- updates "_name_or_path" key in config with upload_repo
- sets indentation of 4 spaces
- allows adding other key-value pairs via kwargs
- reduces code duplication
- standardizes config-update across mlx-lm
* feat: standardize updating config
Impactes:
- fuse.py
- merge.py
* update formatting
* remove commented out code
* update func: update_config to save_config
- drop kwards
- rename func as save_config
- incorporate review suggestions
* update func: save_config
- ensure only config-saving functionality
- function oes not return config as a dict anymore
- added review suggestions
* fixed formatting
* update formatting instruction in contribution guide
* nits
---------
Co-authored-by: Awni Hannun <awni@apple.com>
|
2024-03-14 06:36:05 -07:00 |
|
Muhtasham Oblokulov
|
5de7c2ac33
|
Add tips on porting LLMs from HuggingFace (#523)
* Add tips on porting LLMs from HuggingFace
* Add CONTRIBUTING.md to mlx-examples-llms
* Refactor imports and update comment in starcoder2.py
* Update llms/mlx_lm/models/starcoder2.py
Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
* nits
* nits
---------
Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
Co-authored-by: Awni Hannun <awni@apple.com>
|
2024-03-05 17:43:15 -08:00 |
|
Ikko Eltociear Ashimine
|
ba0bd65510
|
Update CONTRIBUTING.md
formating -> formatting
|
2023-12-09 08:02:34 +09:00 |
|
Awni Hannun
|
4950e9f374
|
contribution + code of conduct
|
2023-11-29 12:31:18 -08:00 |
|