qiyang-zhao commited on
Commit
4ec8c66
1 Parent(s): b2077b0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +129 -0
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: tiiuae/Falcon3-1B-Instruct
3
+ library_name: transformers
4
+ license: other
5
+ license_name: falcon-llm-license
6
+ license_link: https://falconllm.tii.ae/falcon-terms-and-conditions.html
7
+ tags:
8
+ - bitnet
9
+ - falcon3
10
+ ---
11
+
12
+
13
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/62441d1d9fdefb55a0b7d12c/c-tosr0FvMlKuKQTojx_6.png)
14
+
15
+
16
+ # Table of Contents
17
+
18
+ 0. [TL;DR](#TL;DR)
19
+ 1. [Model Details](#model-details)
20
+ 2. [Training Details](#training-details)
21
+ 3. [Usage](#usage)
22
+ 4. [Evaluation](#evaluation)
23
+ 5. [Citation](#citation)
24
+
25
+
26
+ # TL;DR
27
+
28
+ # Model Details
29
+
30
+ ## Model Description
31
+
32
+ - **Developed by:** [https://www.tii.ae](https://www.tii.ae)
33
+ - **Model type:** Causal decoder-only - instruct / chat version
34
+ - **Architecture:** Pure-transformer - 1.58bit version
35
+ - **Language(s) (NLP):** Mainly English
36
+ - **License:** TII Falcon License 2.0
37
+
38
+ # Training details
39
+
40
+ The model has been trained following the training strategies from the recent [1-bit LLM HF blogpost](https://huggingface.co/blog/1_58_llm_extreme_quantization) and [1-bit LLM paper](https://github.com/microsoft/unilm/blob/master/bitnet/The-Era-of-1-bit-LLMs__Training_Tips_Code_FAQ.pdf).
41
+ For more details about the training protocol of this model, please refer to the Falcon-3 technical report, section *Compression*.
42
+
43
+
44
+ # Usage
45
+
46
+ Currently to use this model you can rely on [BitNet](https://github.com/microsoft/BitNet) library. You can also play with the model using the [falcon-1.58bit playground](https://huggingface.co/spaces/tiiuae/falcon3-1.58bit-playground) (only for the 7B instruct version).
47
+
48
+
49
+ ## BitNet
50
+
51
+ ```
52
+ git clone https://github.com/microsoft/BitNet && cd BitNet
53
+ pip install -r requirements.txt
54
+ huggingface-cli download tiiuae/Falcon3-1B-Instruct-1.58bit-GGUF ggml-model-i2_s.gguf --local-dir models/Falcon3-1B-1.58bit/
55
+ python run_inference.py -m models/Falcon3-1B-1.58bit/ggml-model-i2_s.gguf -p "You are a helpful assistant" -cnv
56
+ ```
57
+
58
+ # Evaluation
59
+ We report in the following table our internal pipeline benchmarks:
60
+
61
+ **Note evaluation results are normalized score from v2 leaderboard tasks - reported results of original models in the blogpost are raw scores**
62
+
63
+ <table border="1" style="width: 100%; text-align: center; border-collapse: collapse;">
64
+ <colgroup>
65
+ <col style="width: 10%;">
66
+ <col style="width: 10%;">
67
+ <col style="background-color: rgba(80, 15, 213, 0.5); width: 7%;">
68
+ </colgroup>
69
+ <thead>
70
+ <tr>
71
+ <th>Benchmark</th>
72
+ <th>Llama3-8B-1.58-100B-tokens</th>
73
+ <th>Falcon3-1B-Instruct-1.58bit</th>
74
+ </tr>
75
+ </thead>
76
+ <tbody>
77
+ <tr>
78
+ <td>IFEval</td>
79
+ <td>17.91</td>
80
+ <td>44.5</td>
81
+ </tr>
82
+ <tr>
83
+ <td>MUSR</td>
84
+ <td>4.87</td>
85
+ <td>2.78</td>
86
+ </tr>
87
+ <tr>
88
+ <td>GPQA</td>
89
+ <td>1.83</td>
90
+ <td>0</td>
91
+ </tr>
92
+ <tr>
93
+ <td>BBH</td>
94
+ <td>5.36</td>
95
+ <td>2.24</td>
96
+ </tr>
97
+ <tr>
98
+ <td>MMLU-PRO</td>
99
+ <td>2.78</td>
100
+ <td>1.93</td>
101
+ </tr>
102
+ <tr>
103
+ <td>MATH</td>
104
+ <td>0.26</td>
105
+ <td>0.17</td>
106
+ </tr>
107
+ <tr>
108
+ <td>Average</td>
109
+ <td>5.5</td>
110
+ <td>8.6</td>
111
+ </tr>
112
+ </tbody>
113
+ </table>
114
+
115
+ ## Useful links
116
+ - View our [release blogpost](https://huggingface.co/blog/falcon3).
117
+ - Feel free to join [our discord server](https://discord.gg/fwXpMyGc) if you have any questions or to interact with our researchers and developers.
118
+
119
+ ## Citation
120
+ If the Falcon3 family of models were helpful to your work, feel free to give us a cite.
121
+
122
+ ```
123
+ @misc{Falcon3,
124
+ title = {The Falcon 3 Family of Open Models},
125
+ author = {Falcon-LLM Team},
126
+ month = {December},
127
+ year = {2024}
128
+ }
129
+ ```