import subprocess | |
subprocess.run(["aria2c", "--console-log-level=error", "-c", "-x", "16", "-s", "16", "-k", "1M", "https://huggingface.co./4bit/Llama-2-7b-chat-hf/resolve/main/model-00001-of-00002.safetensors", "-d", "/content/text-generation-webui/models/Llama-2-7b-chat-hf", "-o", "model-00001-of-00002.safetensors"]) | |