medmekk HF staff commited on
Commit
c255707
·
verified ·
1 Parent(s): 68a0377

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +21 -0
  2. config.json +40 -0
  3. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - deepseek-ai/deepseek-coder-1.3b-base
4
+ ---
5
+
6
+ # deepseek-ai/deepseek-coder-1.3b-base (Quantized)
7
+
8
+ ## Description
9
+ This model is a quantized version of the original model `deepseek-ai/deepseek-coder-1.3b-base`. It has been quantized using int8_weight_only quantization with torchao.
10
+
11
+ ## Quantization Details
12
+ - **Quantization Type**: int8_weight_only
13
+ - **Group Size**: None
14
+
15
+ ## Usage
16
+ You can use this model in your applications by loading it directly from the Hugging Face Hub:
17
+
18
+ ```python
19
+ from transformers import AutoModel
20
+
21
+ model = AutoModel.from_pretrained("deepseek-ai/deepseek-coder-1.3b-base")
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deepseek-ai/deepseek-coder-1.3b-base",
3
+ "architectures": [
4
+ "LlamaModel"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 32013,
9
+ "eos_token_id": 32014,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2048,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 5504,
15
+ "max_position_embeddings": 16384,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "num_key_value_heads": 16,
21
+ "pretraining_tp": 1,
22
+ "quantization_config": {
23
+ "modules_to_not_convert": null,
24
+ "quant_method": "torchao",
25
+ "quant_type": "int8_weight_only",
26
+ "quant_type_kwargs": {}
27
+ },
28
+ "rms_norm_eps": 1e-06,
29
+ "rope_scaling": {
30
+ "factor": 4.0,
31
+ "rope_type": "linear",
32
+ "type": "linear"
33
+ },
34
+ "rope_theta": 100000,
35
+ "tie_word_embeddings": false,
36
+ "torch_dtype": "bfloat16",
37
+ "transformers_version": "4.46.0.dev0",
38
+ "use_cache": true,
39
+ "vocab_size": 32256
40
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee018013d94433963e28dbbe4d5957bf757cf65b680c49582362e61587b77f78
3
+ size 1351869682