Elffuss BraidHub

kikocis/continue public

main · 1.3 KiBRawPermalink
1---
2title: "Replicate"
3description: "Configure Replicate with Continue to access newly released language models or deploy your own through their platform, with support for various models including CodeLLama"
4---
5
6Replicate is a great option for newly released language models or models that you've deployed through their platform. Sign up for an account [here](https://replicate.ai/), copy your API key, and then select any model from the [Replicate Streaming List](https://replicate.com/collections/streaming-language-models). Change `~/.continue/config.json` to look like this:
7
8<Tabs>
9 <Tab title="YAML">
10 ```yaml title="config.yaml"
11 models:
12 - name: Replicate CodeLLama
13 provider: replicate
14 model: codellama-13b
15 apiKey: <YOUR_REPLICATE_API_KEY>
16 ```
17 </Tab>
18 <Tab title="JSON">
19 ```json title="config.json"
20 {
21 "models": [
22 {
23 "title": "Replicate CodeLLama",
24 "provider": "replicate",
25 "model": "codellama-13b",
26 "apiKey": "<YOUR_REPLICATE_API_KEY>"
27 }
28 ]
29 }
30 ```
31 </Tab>
32</Tabs>
33
34If you don't specify the `model` parameter, it will default to `replicate/llama-2-70b-chat:58d078176e02c219e11eb4da5a02a7830a283b14cf8f94537af893ccff5ee781`.
35
36[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Replicate.ts)