medmekk HF Staff commited on
Commit
ea89f19
·
verified ·
1 Parent(s): 8d172f4

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +15 -0
  2. config.json +43 -0
  3. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - medmekk/Llama-3.2-1B-ao-int8wo
4
+ ---
5
+ # medmekk/Llama-3.2-1B-ao-int8wo (Quantized)
6
+
7
+ ## Description
8
+ This model is a quantized version of the original model [`medmekk/Llama-3.2-1B-ao-int8wo`](https://huggingface.co/medmekk/Llama-3.2-1B-ao-int8wo).
9
+
10
+ It's quantized using the TorchAO library using the [torchao-my-repo](https://huggingface.co/spaces/pytorch/torchao-my-repo) space.
11
+
12
+ ## Quantization Details
13
+ - **Quantization Type**: int8_weight_only
14
+ - **Group Size**: None
15
+
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 64,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 8192,
14
+ "max_position_embeddings": 131072,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 16,
19
+ "num_key_value_heads": 8,
20
+ "pretraining_tp": 1,
21
+ "quantization_config": {
22
+ "modules_to_not_convert": null,
23
+ "quant_method": "torchao",
24
+ "quant_type": "int8_weight_only",
25
+ "quant_type_kwargs": {
26
+ "group_size": null
27
+ }
28
+ },
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_scaling": {
31
+ "factor": 32.0,
32
+ "high_freq_factor": 4.0,
33
+ "low_freq_factor": 1.0,
34
+ "original_max_position_embeddings": 8192,
35
+ "rope_type": "llama3"
36
+ },
37
+ "rope_theta": 500000.0,
38
+ "tie_word_embeddings": true,
39
+ "torch_dtype": "bfloat16",
40
+ "transformers_version": "4.51.0.dev0",
41
+ "use_cache": true,
42
+ "vocab_size": 128256
43
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a05cc376b89d79361b2722c47ec3690b8c403882e7a9ec692d48f785183a1559
3
+ size 1502450898