Skip to content

Commit

Permalink
🔧 Remove prefix from name
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Feb 15, 2024
1 parent ab8a9ea commit cb5b77f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/funcchain/model/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def get_gguf_model(
"""
from huggingface_hub import hf_hub_download

name = name.removeprefix("TheBloke/")
name = name.removesuffix("-GGUF")
label = "Q5_K_M" if label == "latest" else label

Expand Down

0 comments on commit cb5b77f

Please sign in to comment.