Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docstring for get_gguf_model is inaccurate #28

Open
ahuang11 opened this issue Feb 12, 2024 · 1 comment
Open

Docstring for get_gguf_model is inaccurate #28

ahuang11 opened this issue Feb 12, 2024 · 1 comment

Comments

@ahuang11
Copy link
Contributor

I don't think it matches the signature.

get_gguf_model(
    name: str,
    label: str,
    settings: FuncchainSettings,
) -> Path:
    """
    Gather GGUF model from huggingface/TheBloke

    possible input:
    - DiscoLM-mixtral-8x7b-v2-GGUF
    - TheBloke/DiscoLM-mixtral-8x7b-v2
    - discolm-mixtral-8x7b-v2
    ...

    Raises ModelNotFound(name) error in case of no result.
    """
@shroominic
Copy link
Owner

adding name = name.removeprefix("TheBloke/") should fix it i think or what do you mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants