chore: switch HF target to olivius/granite-speech-4.1-2b-plus-mlx
User has no push access to mlx-community org. Updating package default and upload script to point to olivius/ personal namespace.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Standalone Python package for the MLX port of IBM Granite Speech 4.1-2b-plus.
|
Standalone Python package for the MLX port of IBM Granite Speech 4.1-2b-plus.
|
||||||
The default model is
|
The default model is
|
||||||
[`mlx-community/granite-speech-4.1-2b-plus-mlx`](https://huggingface.co/mlx-community/granite-speech-4.1-2b-plus-mlx).
|
[`olivius/granite-speech-4.1-2b-plus-mlx`](https://huggingface.co/olivius/granite-speech-4.1-2b-plus-mlx).
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ SOURCE_CACHE = (
|
|||||||
Path.home()
|
Path.home()
|
||||||
/ ".cache/huggingface/hub/models--ibm-granite--granite-speech-4.1-2b-plus"
|
/ ".cache/huggingface/hub/models--ibm-granite--granite-speech-4.1-2b-plus"
|
||||||
)
|
)
|
||||||
DEST_REPO = "mlx-community/granite-speech-4.1-2b-plus-mlx"
|
DEST_REPO = "olivius/granite-speech-4.1-2b-plus-mlx"
|
||||||
|
|
||||||
|
|
||||||
def find_weights_dir(root: Path) -> Path | None:
|
def find_weights_dir(root: Path) -> Path | None:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ from typing import Any
|
|||||||
from .chunking import chunk_audio, prefix_text
|
from .chunking import chunk_audio, prefix_text
|
||||||
from .prompts import GRANITE_SYSTEM_PROMPT, PROMPT_MODES, build_prompt
|
from .prompts import GRANITE_SYSTEM_PROMPT, PROMPT_MODES, build_prompt
|
||||||
|
|
||||||
DEFAULT_MODEL = "mlx-community/granite-speech-4.1-2b-plus-mlx"
|
DEFAULT_MODEL = "olivius/granite-speech-4.1-2b-plus-mlx"
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Reference in New Issue
Block a user