From df561fd89696edab48d6c69f142113bf8a0e5092 Mon Sep 17 00:00:00 2001 From: Blake Wyatt <894305+xNul@users.noreply.github.com> Date: Sat, 8 Apr 2023 21:52:30 +0000 Subject: [PATCH] Fix ggml downloading in download-model.py (#915) --- download-model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download-model.py b/download-model.py index 38e5f452..880eeb40 100644 --- a/download-model.py +++ b/download-model.py @@ -142,7 +142,7 @@ def get_download_links_from_huggingface(model, branch): is_tokenizer = re.match("tokenizer.*\.model", fname) is_text = re.match(".*\.(txt|json|py|md)", fname) or is_tokenizer - if any((is_pytorch, is_safetensors, is_pt, is_tokenizer, is_text)): + if any((is_pytorch, is_safetensors, is_pt, is_ggml, is_tokenizer, is_text)): if 'lfs' in dict[i]: sha256.append([fname, dict[i]['lfs']['oid']]) if is_text: