update perplexity models

resolves #1188
This commit is contained in:
timothycarambat 2024-04-25 07:34:28 -07:00
parent ff5d7d8372
commit dfaaf1680f
3 changed files with 20 additions and 2 deletions

View File

@ -19,6 +19,16 @@ const MODELS = {
name: "sonar-medium-online",
maxLength: 12000,
},
"llama-3-8b-instruct": {
id: "llama-3-8b-instruct",
name: "llama-3-8b-instruct",
maxLength: 8192,
},
"llama-3-70b-instruct": {
id: "llama-3-70b-instruct",
name: "llama-3-70b-instruct",
maxLength: 8192,
},
"codellama-70b-instruct": {
id: "codellama-70b-instruct",
name: "codellama-70b-instruct",
@ -34,6 +44,11 @@ const MODELS = {
name: "mixtral-8x7b-instruct",
maxLength: 16384,
},
"mixtral-8x22b-instruct": {
id: "mixtral-8x22b-instruct",
name: "mixtral-8x22b-instruct",
maxLength: 16384,
},
};
module.exports.MODELS = MODELS;

View File

@ -4,6 +4,9 @@
| `sonar-small-online` | 7B | 12000 | Chat Completion |
| `sonar-medium-chat` | 8x7B | 16384 | Chat Completion |
| `sonar-medium-online` | 8x7B | 12000 | Chat Completion |
| `llama-3-8b-instruct` | 8B | 8192 | Chat Completion |
| `llama-3-70b-instruct` | 70B | 8192 | Chat Completion |
| `codellama-70b-instruct` | 70B | 16384 | Chat Completion |
| `mistral-7b-instruct` [1] | 7B | 16384 | Chat Completion |
| `mixtral-8x7b-instruct` | 8x7B | 16384 | Chat Completion |
| `mixtral-8x7b-instruct` | 8x7B | 16384 | Chat Completion |
| `mixtral-8x22b-instruct` | 8x22B | 16384 | Chat Completion |

View File

@ -8,7 +8,7 @@
// copy outputs into the export in ../models.js
// Update the date below if you run this again because Perplexity added new models.
// Last Collected: Apr 14, 2024
// Last Collected: Apr 25, 2024
import fs from "fs";