zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://privategpt.dev
Apache License 2.0
54.22k stars 7.29k forks source link

how to bypass the connexion to huggingface #1849

Closed marouahamdi closed 4 months ago

marouahamdi commented 7 months ago

hello, i have dowloaded the models locally but when i do make run i have this error, the issue is the connexion to HF. can i by pass it plz? requests.exceptions.ProxyError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /mistralai/Mistral-7B-Instruct-v0.2/resolve/main/tokenizer_config.json (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))"), '(Request ID: daac27c7-b24f-4c19-a707-895d5061595f)')

jaluma commented 4 months ago

You're downloading mistral tokenizer. You can check more information here. We're working to prevent to download or require to download more things out-of-the-box.