mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 17:31:18 +08:00
Update model card describe (#654)
* Update model card describe - Add full link jump - Add the address of the model uploader's Hugging Face homepage * Add user_info to reduce whoami calls * Remove the -U argument * remove HF user info * run pre-commit
This commit is contained in:
parent
6775d6cb3f
commit
5079af62db
@ -446,8 +446,9 @@ def upload_to_hub(path: str, upload_repo: str, hf_path: str):
|
|||||||
card.text = dedent(
|
card.text = dedent(
|
||||||
f"""
|
f"""
|
||||||
# {upload_repo}
|
# {upload_repo}
|
||||||
This model was converted to MLX format from [`{hf_path}`]() using mlx-lm version **{__version__}**.
|
|
||||||
Refer to the [original model card](https://huggingface.co/{hf_path}) for more details on the model.
|
The Model [{upload_repo}](https://huggingface.co/{upload_repo}) was converted to MLX format from [{hf_path}](https://huggingface.co/{hf_path}) using mlx-lm version **{__version__}**.
|
||||||
|
|
||||||
## Use with mlx
|
## Use with mlx
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user