fireplace-13b model card
Browse files
README.md
CHANGED
@@ -1,3 +1,81 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
tags:
|
6 |
+
- fireplace
|
7 |
+
- valiant
|
8 |
+
- valiant-labs
|
9 |
+
- llama
|
10 |
+
- llama-2
|
11 |
+
- llama-2-chat
|
12 |
+
- 13b
|
13 |
+
model_type: llama
|
14 |
license: apache-2.0
|
15 |
---
|
16 |
+
|
17 |
+
|
18 |
+
Fireplace-13b is a function calling model built on the Llama 2 architecture.
|
19 |
+
- Built on llama-2-13b architecture, using [CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) as the base model.
|
20 |
+
- Emphasizes function calling and code-instruct as skills.
|
21 |
+
|
22 |
+
(If you're looking for a friendly general-purpose chat model, try ours: [llama-13b](https://huggingface.co/ValiantLabs/ShiningValiantXS) and [70b](https://huggingface.co/ValiantLabs/ShiningValiant))
|
23 |
+
|
24 |
+
## Version
|
25 |
+
|
26 |
+
This is Version **1.0** of Fireplace-13b.
|
27 |
+
|
28 |
+
The current version of Fireplace-13b uses [CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) trained on [glaive-function-calling-v2](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2).
|
29 |
+
|
30 |
+
Fireplace is the first release in our Build Tools campaign, to deliver helpful open source capabilities for users and creators. We're excitedly working on our next open source models now!
|
31 |
+
|
32 |
+
We're also working to bring Fireplace to larger model architectures, to maximize baseline model capability and function-calling performance.
|
33 |
+
|
34 |
+
## Prompting Guide
|
35 |
+
Fireplace-13b specializes in function calling and code instruct/chat.
|
36 |
+
|
37 |
+
See [CodeLlama-13b-Instruct-hf](codellama/CodeLlama-13b-Instruct-hf) for code capabilities of the base model.
|
38 |
+
|
39 |
+
For function calling in this version of the model, the recommended format is taken from [the training dataset](https://huggingface.co/datasets/glaiveai/glaive-function-calling-v2). Assistant can make function calls, which are given between <functioncall> and <|endoftext|>:
|
40 |
+
|
41 |
+
|
42 |
+

|
43 |
+
|
44 |
+
|
45 |
+

|
46 |
+
|
47 |
+
|
48 |
+
(Please note that <|endoftext|> is not an EOS/EOT token, it is used to indicate the end of an 'ASSISTANT: ' response in the training data. Post-processing should be used to extract the function response as required by the user.)
|
49 |
+
|
50 |
+
For handling of function call responses, append "FUNCTION RESPONSE: " to the existing chat history:
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+

|
55 |
+
|
56 |
+
|
57 |
+

|
58 |
+
|
59 |
+
|
60 |
+
Fireplace is optimized for function/code capabilities and not general chat, but it has also been trained to utilize general instruct-chat capabilities:
|
61 |
+
|
62 |
+
SYSTEM: You are a helpful assistant.
|
63 |
+
USER: user chat input
|
64 |
+
ASSISTANT:
|
65 |
+
|
66 |
+
The model may be subject to errors and limitations, including those of the base model and dataset. We offer Fireplace-13b as open source for all to use. The user is responsible for all outputs.
|
67 |
+
|
68 |
+
|
69 |
+

|
70 |
+
|
71 |
+
|
72 |
+
Fireplace is created by [Valiant Labs.](http://valiantlabs.ca/)
|
73 |
+
|
74 |
+
Try our flagship chat model, [Shining Valiant!](https://huggingface.co/ValiantLabs/ShiningValiant)
|
75 |
+
|
76 |
+
[Follow us on X for updates on our models!](https://twitter.com/valiant_labs)
|
77 |
+
|
78 |
+
We care about open source.
|
79 |
+
For everyone to use.
|
80 |
+
|
81 |
+
We encourage others to finetune further from our models.
|