Upload folder using huggingface_hub
Browse files- config.json +15 -0
- generation_config.json +14 -0
- model.safetensors +2 -2
- quantization_info.json +5 -0
config.json
CHANGED
|
@@ -56,6 +56,21 @@
|
|
| 56 |
"image_token_id": 258880,
|
| 57 |
"initializer_range": 0.02,
|
| 58 |
"model_type": "gemma4",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
"text_config": {
|
| 60 |
"attention_bias": false,
|
| 61 |
"attention_dropout": 0.0,
|
|
|
|
| 56 |
"image_token_id": 258880,
|
| 57 |
"initializer_range": 0.02,
|
| 58 |
"model_type": "gemma4",
|
| 59 |
+
"quantization_config": {
|
| 60 |
+
"_load_in_4bit": true,
|
| 61 |
+
"_load_in_8bit": false,
|
| 62 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 63 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 64 |
+
"bnb_4bit_quant_type": "nf4",
|
| 65 |
+
"bnb_4bit_use_double_quant": true,
|
| 66 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 67 |
+
"llm_int8_has_fp16_weight": false,
|
| 68 |
+
"llm_int8_skip_modules": null,
|
| 69 |
+
"llm_int8_threshold": 6.0,
|
| 70 |
+
"load_in_4bit": true,
|
| 71 |
+
"load_in_8bit": false,
|
| 72 |
+
"quant_method": "bitsandbytes"
|
| 73 |
+
},
|
| 74 |
"text_config": {
|
| 75 |
"attention_bias": false,
|
| 76 |
"attention_dropout": 0.0,
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
106,
|
| 7 |
+
50
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"temperature": 1.0,
|
| 11 |
+
"top_k": 64,
|
| 12 |
+
"top_p": 0.95,
|
| 13 |
+
"transformers_version": "5.6.2"
|
| 14 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff94698ef32d3e5b60815e275338bb3b0e3a682eeebbf6ef5d09a750a7ab785e
|
| 3 |
+
size 6742125105
|
quantization_info.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"quantization": "bitsandbytes-nf4",
|
| 3 |
+
"base_model": "/gpfs/home2/overven/Anthropic-x-Whale-Hackathon-backend/models/gemma-4-E2B-it",
|
| 4 |
+
"dtype": "bfloat16"
|
| 5 |
+
}
|