From 49bcac6090644f7fc013339c52270fef4ce4cc4f Mon Sep 17 00:00:00 2001 From: jmansdorfer Date: Mon, 22 Apr 2024 12:39:44 -0400 Subject: [PATCH] adding llama3 to model docs --- fern/docs/pages/models/details.mdx | 1 + fern/docs/pages/models/prompts.mdx | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/fern/docs/pages/models/details.mdx b/fern/docs/pages/models/details.mdx index 115b366..74e47b3 100644 --- a/fern/docs/pages/models/details.mdx +++ b/fern/docs/pages/models/details.mdx @@ -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 diff --git a/fern/docs/pages/models/prompts.mdx b/fern/docs/pages/models/prompts.mdx index d5565fb..0bf7d10 100644 --- a/fern/docs/pages/models/prompts.mdx +++ b/fern/docs/pages/models/prompts.mdx @@ -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|> +``` \ No newline at end of file