Skip to content

[User] How to convert Stability 3B model to ggml/ggul #3456

Description

@zbruceli

Stability released their latest 3B model, but there is an error when executing the convert.py script:

// Model card and files on NF

https://huggingface.co/stabilityai/stablelm-3b-4e1t

//Error message

% python3 convert.py models/stablelm-3b-4e1t
Traceback (most recent call last):
File "/Users/xxx/code/llama.cpp/convert.py", line 1208, in
main()
File "/Users/xxx/code/llama.cpp/convert.py", line 1149, in main
model_plus = load_some_model(args.model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxx/code/llama.cpp/convert.py", line 1060, in load_some_model
raise Exception(f"Can't find model in directory {path}")
Exception: Can't find model in directory models/stablelm-3b-4e1t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions