Interface with LLaMa2 from huggingface

This commit is contained in:
binary-husky
2023-08-21 21:54:21 +08:00
parent 8b3b883fce
commit 9720bec5e5
4 changed files with 113 additions and 2 deletions

View File

@@ -149,4 +149,8 @@ ANTHROPIC_API_KEY = ""
# 自定义API KEY格式
CUSTOM_API_KEY_PATTERN = ""
CUSTOM_API_KEY_PATTERN = ""
# HUGGINGFACE的TOKEN 下载LLAMA时起作用 https://huggingface.co/docs/hub/security-tokens
HUGGINGFACE_ACCESS_TOKEN = "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"