Skip to content

Commit

Permalink
adding llama3 to model docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmansdorfer committed Apr 22, 2024
1 parent 05c0227 commit 49bcac6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions fern/docs/pages/models/details.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Open access models are amazing these days! Each of these models was trained by a
| Yi-34B-Chat | Chat | Instruction following in English or Chinese | [ChatML](prompts#chatml) | 2048 | [link](https://huggingface.co/01-ai/Yi-34B-Chat) |
| deepseek-coder-6.7b-instruct | Code Generation | Generating computer code or answering tech questions | [Deepseek](prompts#deepseek) | 4096 | [link](https://huggingface.co/deepseek-ai/deepseek-coder-6.7b-instruct) |
| sqlcoder-7b-2 | Code Generation | Generating SQL queries from natural language prompts | [SQLCoder](prompts#sqlcoder) | 4096 | [link](https://huggingface.co/defog/sqlcoder-7b-2) |
| Meta-Llama-3- 8B-Instruct | Text Generation | Generating output in response to arbitrary instructions | [Llama3](prompts#llama3) | 4096 | [link](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) |

### Other models available

Expand Down
10 changes: 10 additions & 0 deletions fern/docs/pages/models/prompts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,13 @@ Given the database schema, here is the SQL query that [QUESTION]{user_question}[
{context or user message}
### Response:
```

## Llama3

(Replace the portions of the prompt below in the parentheses `(...)` with the appropriate information, and do not keep the parentheses)

```
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
{{ (system prompt) }}<|eot_id|><|start_header_id|>user<|end_header_id|>
{{ (context or user message) }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
```

0 comments on commit 49bcac6

Please sign in to comment.