Open cryptax opened 2 months ago
I tried to delete a model using -m-
but it didn't work:
r2ai:0x000061d0]> -m-segolilylabs/Lily-Cybersecurity-7B-v0.2-GGUF
[r2ai:0x000061d0]> -mm
??? TheBloke/Mistral-7B-Instruct-v0.1-GGUF
2.96G cognitivecomputations/dolphin-2.9.4-llama3.1-8b-gguf
??? segolilylabs/Lily-Cybersecurity-7B-v0.2-GGUF
??? FaradayDotDev/llama-3-8b-Instruct-GGUF
11.94G ibm-granite/granite-20b-code-instruct-8k-GGUF
the meaning of ???
is that the model was registered in the .r2ai.model file from your home, but the file in disk was removed. we can purge them from the json automatically. but maybe we also want to know which files are in the models directory that are not registered by the json.
and yeah you cant remove a model that's not in disk. this can be fixed but maybe we can just silently update the json and hide those ??? . what do you think?
I think I'd silently update the json to remove the ???
, and only leave it to advanced end-users to edit .r2ai.model
.
r2ai -mm
is expected (according to doc-h
) to list all downloaded models:In reality, I only have those models:
I think that TheBloke/Mistral-7B-Instruct-v0.1-GGUF , segolilylabs/Lily-Cybersecurity-7B-v0.2-GGUF and FaradayDotDev/llama-3-8b-Instruct-GGUF were downloaded by me before, but deleted. Looks like I didn't delete them properly for r2ai?