Elffuss BraidHub

kikocis/continue public

main · 845 BRawPermalink
1---
2title: "Llamafile"
3description: "Configure Llamafile with Continue to use self-contained binary files that can run open-source language models like Mistral without additional setup"
4---
5
6A [llamafile](https://github.com/Mozilla-Ocho/llamafile#readme) is a self-contained binary that can run an open-source LLM. You can configure this provider in your config.json as follows:
7
8<Tabs>
9 <Tab title="YAML">
10 ```yaml title="config.yaml"
11 models:
12 - name: Llamafile
13 provider: llamafile
14 model: mistral-7b
15 ```
16 </Tab>
17 <Tab title="JSON">
18 ```json title="config.json"
19 {
20 "models": [
21 {
22 "title": "Llamafile",
23 "provider": "llamafile",
24 "model": "mistral-7b"
25 }
26 ]
27 }
28 ```
29 </Tab>
30</Tabs>
31
32[View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Llamafile.ts)