medmekk HF Staff commited on
Commit
ed63a19
·
verified ·
1 Parent(s): f098d42

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +23 -0
  2. config.json +44 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - medmekk/qser
4
+ ---
5
+
6
+ # medmekk/qser (Quantized)
7
+
8
+ ## Description
9
+ This model is a quantized version of the original model `medmekk/qser`. It has been quantized using int4 quantization with bitsandbytes.
10
+
11
+ ## Quantization Details
12
+ - **Quantization Type**: int4
13
+ - **bnb_4bit_quant_type**: nf4
14
+ - **bnb_4bit_use_double_quant**: True
15
+ - **bnb_4bit_compute_dtype**: bfloat16
16
+ - **bnb_4bit_quant_storage**: uint8
17
+
18
+ ## Usage
19
+ You can use this model in your applications by loading it directly from the Hugging Face Hub:
20
+ ```python
21
+ from transformers import AutoModel
22
+
23
+ model = AutoModel.from_pretrained("medmekk/qser")
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2Model"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "eos_token_id": 151643,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 896,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 4864,
12
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 24,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 14,
16
+ "num_hidden_layers": 24,
17
+ "num_key_value_heads": 2,
18
+ "quantization_config": {
19
+ "_load_in_4bit": true,
20
+ "_load_in_8bit": false,
21
+ "bnb_4bit_compute_dtype": "bfloat16",
22
+ "bnb_4bit_quant_storage": "uint8",
23
+ "bnb_4bit_quant_type": "nf4",
24
+ "bnb_4bit_use_double_quant": true,
25
+ "llm_int8_enable_fp32_cpu_offload": false,
26
+ "llm_int8_has_fp16_weight": false,
27
+ "llm_int8_skip_modules": null,
28
+ "llm_int8_threshold": 6.0,
29
+ "load_in_4bit": true,
30
+ "load_in_8bit": false,
31
+ "quant_method": "bitsandbytes"
32
+ },
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000.0,
36
+ "sliding_window": 32768,
37
+ "tie_word_embeddings": true,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.50.0.dev0",
40
+ "use_cache": true,
41
+ "use_mrope": false,
42
+ "use_sliding_window": false,
43
+ "vocab_size": 151936
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91438324a722bbc11e338c29a989a7dda4f0d7ac2051d2f9f86c63712a5224c0
3
+ size 457340042