koesn commited on
Commit
4103743
1 Parent(s): d8dc084

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +119 -3
README.md CHANGED
@@ -1,3 +1,119 @@
1
- ---
2
- license: llama3.1
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - enigma
7
+ - valiant
8
+ - valiant-labs
9
+ - llama
10
+ - llama-3.1
11
+ - llama-3.1-instruct
12
+ - llama-3.1-instruct-8b
13
+ - llama-3
14
+ - llama-3-instruct
15
+ - llama-3-instruct-8b
16
+ - 8b
17
+ - code
18
+ - code-instruct
19
+ - python
20
+ - conversational
21
+ - chat
22
+ - instruct
23
+ base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
24
+ datasets:
25
+ - sequelbox/Tachibana
26
+ - sequelbox/Supernova
27
+ model_type: llama
28
+ license: llama3.1
29
+ ---
30
+
31
+ ## Description
32
+ This repo contains GGUF format model files for Llama3.1-8B-Enigma.
33
+
34
+ ## Files Provided
35
+ | Name | Quant | Bits | File Size | Remark |
36
+ | ---------------------------- | ----- | ---- | --------- | -------------------------------- |
37
+ | llama3.1-8b-enigma.Q2_K.gguf | Q2_K | 2 | 3.18 GB | 2.96G, +3.5199 ppl @ Llama-3-8B |
38
+ | llama3.1-8b-enigma.Q3_K.gguf | Q3_K | 3 | 4.02 GB | 3.74G, +0.6569 ppl @ Llama-3-8B |
39
+ | llama3.1-8b-enigma.Q4_0.gguf | Q4_0 | 4 | 4.66 GB | 4.34G, +0.4685 ppl @ Llama-3-8B |
40
+ | llama3.1-8b-enigma.Q4_K.gguf | Q4_K | 4 | 4.92 GB | 4.58G, +0.1754 ppl @ Llama-3-8B |
41
+ | llama3.1-8b-enigma.Q5_K.gguf | Q5_K | 5 | 5.73 GB | 5.33G, +0.0569 ppl @ Llama-3-8B |
42
+ | llama3.1-8b-enigma.Q6_K.gguf | Q6_K | 6 | 6.60 GB | 6.14G, +0.0217 ppl @ Llama-3-8B |
43
+ | llama3.1-8b-enigma.Q8_0.gguf | Q8_0 | 8 | 8.54 GB | 7.96G, +0.0026 ppl @ Llama-3-8B |
44
+
45
+ ## Parameters
46
+ | path | type | architecture | rope_theta | sliding_win | max_pos_embed |
47
+ | ------------------------------ | ----- | ---------------- | ---------- | ----------- | ------------- |
48
+ | ValiantLabs/Llama3.1-8B-Enigma | llama | LlamaForCausalLM | 500000.0 | null | 131072 |
49
+
50
+
51
+ # Original Model Card
52
+
53
+
54
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64f267a8a4f79a118e0fcc89/it7MY5MyLCLpFQev5dUis.jpeg)
55
+
56
+
57
+ Enigma is a code-instruct model built on Llama 3.1 8b.
58
+ - High quality code instruct performance within the Llama 3 Instruct chat format
59
+ - Finetuned on synthetic code-instruct data generated with Llama 3.1 405b. [Find the current version of the dataset here!](https://huggingface.co/datasets/sequelbox/Tachibana)
60
+ - Overall chat performance supplemented with [generalist synthetic data.](https://huggingface.co/datasets/sequelbox/Supernova)
61
+
62
+
63
+ ## Version
64
+
65
+ This is the **2024-09-04** release of Enigma for Llama 3.1 8b, enhancing code-instruct and general chat capabilities.
66
+
67
+ Help us and recommend Enigma to your friends! We're excited for more Enigma releases in the future.
68
+
69
+ Right now, we're working on more new Build Tools to come very soon, built on Llama 3.1 :)
70
+
71
+
72
+ ## Prompting Guide
73
+ Enigma uses the [Llama 3.1 Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) prompt format. The example script below can be used as a starting point for general chat:
74
+
75
+ ```python
76
+ import transformers
77
+ import torch
78
+
79
+ model_id = "ValiantLabs/Llama3.1-8B-Enigma"
80
+
81
+ pipeline = transformers.pipeline(
82
+ "text-generation",
83
+ model=model_id,
84
+ model_kwargs={"torch_dtype": torch.bfloat16},
85
+ device_map="auto",
86
+ )
87
+
88
+ messages = [
89
+ {"role": "system", "content": "You are Enigma, a highly capable code assistant."},
90
+ {"role": "user", "content": "Can you explain virtualization to me?"}
91
+ ]
92
+
93
+ outputs = pipeline(
94
+ messages,
95
+ max_new_tokens=1024,
96
+ )
97
+
98
+ print(outputs[0]["generated_text"][-1])
99
+ ```
100
+
101
+ ## The Model
102
+ Enigma is built on top of Llama 3.1 8b Instruct, using high quality code-instruct data and general chat data in Llama 3.1 Instruct prompt style to supplement overall performance.
103
+
104
+ Our current version of Enigma is trained on code-instruct data from [sequelbox/Tachibana](https://huggingface.co/datasets/sequelbox/Tachibana) and general chat data from [sequelbox/Supernova.](https://huggingface.co/datasets/sequelbox/Supernova)
105
+
106
+
107
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/63444f2687964b331809eb55/VCJ8Fmefd8cdVhXSSxJiD.jpeg)
108
+
109
+
110
+ Enigma is created by [Valiant Labs.](http://valiantlabs.ca/)
111
+
112
+ [Check out our HuggingFace page for Shining Valiant 2 and our other Build Tools models for creators!](https://huggingface.co/ValiantLabs)
113
+
114
+ [Follow us on X for updates on our models!](https://twitter.com/valiant_labs)
115
+
116
+ We care about open source.
117
+ For everyone to use.
118
+
119
+ We encourage others to finetune further from our models.