JoseCarlosGarcia95 commited on
Commit
c7582d1
·
1 Parent(s): 60d6435

initial commit

Browse files

Signed-off-by: José Carlos García <[email protected]>

.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-7B-Base-1.58bit-q2b0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a88bf98369744d8be899485b2aab3b45618e79fea37031febcd58bbd1b6c9b7
3
+ size 2220044864
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - bitnet
5
+ - falcon3
6
+ base_model: tiiuae/Falcon3-7B-Base
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-7B-Base-1.58bit-q2b0
13
+
14
+ ### Falcon3-7B-1.58 Models
15
+
16
+ The **Falcon3-7B-1.58bit-q2b0** is a quantized version of **Falcon3-7B-Base**, 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-7B-Base](https://huggingface.co/tiiuae/Falcon3-7B-Base)
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-7B-Base repository](https://huggingface.co/tiiuae/Falcon3-7B-Base).
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-7B-Base repository](https://huggingface.co/tiiuae/Falcon3-7B-Base).
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "swiglu",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 11,
9
+ "eos_token_id": 11,
10
+ "head_dim": 256,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 3072,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 23040,
15
+ "is_bitnet_config": true,
16
+ "max_position_embeddings": 8192,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 12,
20
+ "num_hidden_layers": 28,
21
+ "num_key_value_heads": 4,
22
+ "parallel_attn": false,
23
+ "pretraining_tp": 1,
24
+ "quantization_config": {
25
+ "modules_to_not_convert": [
26
+ "lm_head"
27
+ ],
28
+ "quant_method": "bitnet"
29
+ },
30
+ "rms_norm_eps": 1e-06,
31
+ "rope_scaling": null,
32
+ "rope_theta": 1000042,
33
+ "tie_word_embeddings": false,
34
+ "torch_dtype": "bfloat16",
35
+ "transformers_version": "4.46.0.dev0",
36
+ "use_cache": true,
37
+ "vocab_size": 131072
38
+ }
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.46.0.dev0"
6
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
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