HuggingFaceModelDownloader icon indicating copy to clipboard operation
HuggingFaceModelDownloader copied to clipboard

Filter downloads multiple files and not just a single one

Open haznai opened this issue 1 year ago • 1 comments

huggingface model repo

I may have misunderstood something, but I expected the following command to download just a single file, namely:

Screenshot 2024-05-29 at 16 36 36
./hfdownloader  -m "Mozilla/Meta-Llama-3-8B-Instruct-llamafile:Q8_0" -t hf_xxx

Instead of a single file, the hfdownloader starts with the first file in the repo (a file that doesn't contain the q8_0):

Filter Has been applied, will include LFS Model Files that contains: [q8_0]
Getting File Download Files List Tree from: https://huggingface.co/api/models/Mozilla/Meta-Llama-3-8B-Instruct-llamafile/tree/main/
Checking file size matching: downloads/Mozilla_Meta-Llama-3-8B-Instruct-llamafile/.gitattributes
Checking file size matching: downloads/Mozilla_Meta-Llama-3-8B-Instruct-llamafile/LICENSE.llamafile

Downloading downloads/Mozilla_Meta-Llama-3-8B-Instruct-llamafile/Meta-Llama-3-8B-Instruct.BF16.llamafile Speed: 2.39 MB/sec, 0.17%

mac info: Screenshot 2024-05-29 at 16 40 13

haznai avatar May 29 '24 14:05 haznai

I'll implement that after I rework the code, the code base is missed up, I need to rework all commands and options

bodaay avatar Oct 06 '24 21:10 bodaay

llamafile extension was not supported, added this support in 1.4.0

bodaay avatar Oct 12 '24 11:10 bodaay