mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
chore(clip): update the clip example to make it compatible with HF format (#472)
* chore(clip): update the clip model to be HF format * Update clip/convert.py Co-authored-by: Awni Hannun <awni.hannun@gmail.com> * chore: address comments * chore: rename ClipVisionModel and ClipTextModel * chore: add output hidden_states support * chore: remove custom conv2d and apply weight transpose during weight sanitizing * Update clip/model.py * Update clip/model.py --------- Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
This commit is contained in:
@@ -3,4 +3,4 @@ numpy
|
||||
transformers
|
||||
torch
|
||||
huggingface_hub
|
||||
Pillow
|
||||
Pillow
|
||||
|
||||
Reference in New Issue
Block a user