mayank1101 commited on
Commit
97d090a
·
verified ·
1 Parent(s): eedaac3

Update model_registry.py

Browse files
Files changed (1) hide show
  1. model_registry.py +6 -1
model_registry.py CHANGED
@@ -12,10 +12,15 @@ LIST OF WEBSITES TO REFER - {', '.join(websites)}
12
  IMPORTANT NOTE - You must always include citations source URLs in the response for user transparency. Provide information that is relevant and up-to-date as of this {current_date} date.
13
  """
14
 
 
 
 
 
 
15
 
16
  model_card = {
17
  "perplexity": {
18
- "model": "llama-3.1-sonar-huge-128k-online", #"llama-3.1-sonar-large-128k-online",
19
  "url": "https://api.perplexity.ai/chat/completions",
20
  "inference_config": {
21
  "max_tokens": 4094,
 
12
  IMPORTANT NOTE - You must always include citations source URLs in the response for user transparency. Provide information that is relevant and up-to-date as of this {current_date} date.
13
  """
14
 
15
+ supported_models = {
16
+ 'llama3.1-8B': 'llama-3.1-sonar-small-128k-online',
17
+ 'llama3.1-70B': 'llama-3.1-sonar-large-128k-online',
18
+ 'llama3.1-405B': 'llama-3.1-sonar-huge-128k-online'
19
+ }
20
 
21
  model_card = {
22
  "perplexity": {
23
+ "model": supported_models['llama3.1-405B'],
24
  "url": "https://api.perplexity.ai/chat/completions",
25
  "inference_config": {
26
  "max_tokens": 4094,