medmekk HF Staff commited on
Commit
3c17177
·
verified ·
1 Parent(s): 599b66e

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +23 -0
  2. config.json +50 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - medmekk/testest
4
+ ---
5
+
6
+ # medmekk/testest (Quantized)
7
+
8
+ ## Description
9
+ This model is a quantized version of the original model `medmekk/testest`. 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/testest")
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaModel"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 128000,
8
+ "eos_token_id": 128001,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 131072,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "pretraining_tp": 1,
21
+ "quantization_config": {
22
+ "_load_in_4bit": true,
23
+ "_load_in_8bit": false,
24
+ "bnb_4bit_compute_dtype": "bfloat16",
25
+ "bnb_4bit_quant_storage": "uint8",
26
+ "bnb_4bit_quant_type": "nf4",
27
+ "bnb_4bit_use_double_quant": true,
28
+ "llm_int8_enable_fp32_cpu_offload": false,
29
+ "llm_int8_has_fp16_weight": false,
30
+ "llm_int8_skip_modules": null,
31
+ "llm_int8_threshold": 6.0,
32
+ "load_in_4bit": true,
33
+ "load_in_8bit": false,
34
+ "quant_method": "bitsandbytes"
35
+ },
36
+ "rms_norm_eps": 1e-05,
37
+ "rope_scaling": {
38
+ "factor": 8.0,
39
+ "high_freq_factor": 4.0,
40
+ "low_freq_factor": 1.0,
41
+ "original_max_position_embeddings": 8192,
42
+ "rope_type": "llama3"
43
+ },
44
+ "rope_theta": 500000.0,
45
+ "tie_word_embeddings": false,
46
+ "torch_dtype": "bfloat16",
47
+ "transformers_version": "4.50.0.dev0",
48
+ "use_cache": true,
49
+ "vocab_size": 128256
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87272c6162029037fb7d43cd8bd84d23d112032c4a8afec164fa65337253f7c1
3
+ size 4652064686