JoseCarlosGarcia95
commited on
Commit
·
8c2feee
1
Parent(s):
fd39add
first commit
Browse filesSigned-off-by: José Carlos García <[email protected]>
- .gitattributes +1 -0
- Falcon3-10B-Instruct-1.58bit-q2b0.gguf +3 -0
- README.md +39 -0
- config.json +36 -0
- generation_config.json +6 -0
- special_tokens_map.json +41 -0
- tokenizer.json +0 -0
- tokenizer_config.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
Falcon3-10B-Instruct-1.58bit-q2b0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86b72ee7c7a77e7bed1d3e8f68d5db7abb38d1ed3952c2bc92fce0fe37238eea
|
3 |
+
size 2932861280
|
README.md
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- bitnet
|
5 |
+
- falcon3
|
6 |
+
base_model: tiiuae/Falcon3-10B-Instruct
|
7 |
+
license: other
|
8 |
+
license_name: falcon-llm-license
|
9 |
+
license_link: https://falconllm.tii.ae/falcon-terms-and-conditions.html
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for Falcon3-10B-Instruct-1.58bit-q2b0
|
13 |
+
|
14 |
+
### Falcon3-10B-1.58 Models
|
15 |
+
|
16 |
+
The **Falcon3-10B-1.58bit-q2b0** is a quantized version of **Falcon3-10B-Instruct**, leveraging the **q2b0 quantization method** from Candle. This enables extreme compression while maintaining strong performance across various NLP tasks.
|
17 |
+
|
18 |
+
## Model Details
|
19 |
+
|
20 |
+
### Model Sources
|
21 |
+
|
22 |
+
- **Repository:** [tiiuae/Falcon3-10B-Instruct](https://huggingface.co/tiiuae/Falcon3-10B-Instruct)
|
23 |
+
- **Quantization PR:** [Candle q2b0 Quantization](https://github.com/huggingface/candle/pull/2683)
|
24 |
+
|
25 |
+
## Quantization Details
|
26 |
+
|
27 |
+
The model has been quantized using the **q2b0** method from Candle. This approach reduces model size significantly while preserving performance. For more details on this quantization technique, refer to the [Candle PR #2683](https://github.com/huggingface/candle/pull/2683).
|
28 |
+
|
29 |
+
## Training Details
|
30 |
+
|
31 |
+
For details on the dataset and training process, refer to the original [Falcon3-10B-Instruct repository](https://huggingface.co/tiiuae/Falcon3-10B-Instruct).
|
32 |
+
|
33 |
+
## License
|
34 |
+
|
35 |
+
This model is licensed under the [Falcon LLM License](https://falconllm.tii.ae/falcon-terms-and-conditions.html).
|
36 |
+
|
37 |
+
---
|
38 |
+
|
39 |
+
For additional information or questions, please refer to the main [Falcon3-10B-Instruct repository](https://huggingface.co/tiiuae/Falcon3-10B-Instruct).
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./hf-1bit",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"eos_token_id": 11,
|
9 |
+
"head_dim": 256,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 3072,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 23040,
|
14 |
+
"is_bitnet_config": true,
|
15 |
+
"max_position_embeddings": 32768,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 40,
|
20 |
+
"num_key_value_heads": 4,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"quantization_config": {
|
23 |
+
"modules_to_not_convert": [
|
24 |
+
"lm_head"
|
25 |
+
],
|
26 |
+
"quant_method": "bitnet"
|
27 |
+
},
|
28 |
+
"rms_norm_eps": 1e-06,
|
29 |
+
"rope_scaling": null,
|
30 |
+
"rope_theta": 1000042,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.48.0.dev0",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 131072
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 11,
|
4 |
+
"eos_token_id": 11,
|
5 |
+
"transformers_version": "4.48.0.dev0"
|
6 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
">>TITLE<<",
|
4 |
+
">>ABSTRACT<<",
|
5 |
+
">>INTRODUCTION<<",
|
6 |
+
">>SUMMARY<<",
|
7 |
+
">>COMMENT<<",
|
8 |
+
">>ANSWER<<",
|
9 |
+
">>QUESTION<<",
|
10 |
+
">>DOMAIN<<",
|
11 |
+
">>EMAIL_ADDRESS<<",
|
12 |
+
">>IP_ADDRESS<<",
|
13 |
+
"<|startoftext|>",
|
14 |
+
">>IP_ADDRESS_0<<",
|
15 |
+
">>IP_ADDRESS_1<<",
|
16 |
+
">>IP_ADDRESS_2<<",
|
17 |
+
">>IP_ADDRESS_3<<",
|
18 |
+
">>IP_ADDRESS_4<<",
|
19 |
+
">>IP_ADDRESS_5<<",
|
20 |
+
">>IP_ADDRESS_6<<",
|
21 |
+
">>IP_ADDRESS_7<<",
|
22 |
+
">>IP_ADDRESS_8<<",
|
23 |
+
">>IP_ADDRESS_9<<",
|
24 |
+
">>PASSWORD<<",
|
25 |
+
">>KEY<<"
|
26 |
+
],
|
27 |
+
"eos_token": {
|
28 |
+
"content": "<|endoftext|>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
},
|
34 |
+
"pad_token": {
|
35 |
+
"content": "<|pad|>",
|
36 |
+
"lstrip": false,
|
37 |
+
"normalized": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"single_word": false
|
40 |
+
}
|
41 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|