-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yml
60 lines (52 loc) · 1.5 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Number of allowed concurrent model downloads
concurrent_downloads: 2
# Number of allowed cached model downloads
model_cache_size: 2
# Extra arguments for the main script
extra_args: "--verbose"
# base_downloader:
# # Replace with your actual HuggingFace token
# token: "hf_<YOUR_TOKEN>"
base_model:
# Model seed
seed: 3407
# List of stop sequences
stop: ["\n"]
# End of sequence token
eos_token: "</s>"
custom_backends:
openai:
type: "openai"
# OpenAI API host URL
host: "https://api.openai.com"
# Replace <YOUR_API_KEY> with your actual OpenAI API key
api_key: "sk-proj-<YOUR_API_KEY>"
local_openai:
type: "openai"
# Local OpenAI API host URL
host: "http://127.0.0.1:5001"
# No API key required for local instance
# api_key: ""
openrouter:
type: "openai"
# OpenRouter API host URL
host: "https://openrouter.ai/api"
# Replace <YOUR_API_KEY> with your actual OpenRouter API key
api_key: "sk-or-v1-<YOUR_API_KEY>"
extra_api_params:
provider:
# Allow fallbacks: true or false
allow_fallbacks: false
openrouter_together:
type: "openai"
# OpenRouter (Together-specific) API host URL
host: "https://openrouter.ai/api"
# Replace <YOUR_API_KEY> with your actual OpenRouter Together API key
api_key: "sk-or-v1-<YOUR_API_KEY>"
extra_api_params:
provider:
# Allow fallbacks: true or false
allow_fallbacks: false
# Order of providers
order:
- Together