Upload ProvenceForCodeCompression
Browse files- config.json +18 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ProvenceForCodeCompression"
|
| 4 |
+
],
|
| 5 |
+
"backbone_model_name_or_path": "/home/ayanami/.cache/modelscope/hub/models/Qwen/Qwen3-Reranker-0.6B",
|
| 6 |
+
"bottleneck": 256,
|
| 7 |
+
"compression_head_type": "crf",
|
| 8 |
+
"compression_loss_type": "focal",
|
| 9 |
+
"dropout": 0.4,
|
| 10 |
+
"early_layer_ratio": 0.25,
|
| 11 |
+
"middle_layer_ratio": 0.5,
|
| 12 |
+
"model_type": "provence",
|
| 13 |
+
"num_fusion_layers": 1,
|
| 14 |
+
"num_heads": 8,
|
| 15 |
+
"torch_dtype": "bfloat16",
|
| 16 |
+
"transformers_version": "4.55.0",
|
| 17 |
+
"use_multi_layer_fusion": true
|
| 18 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:373b77f5262c3298b803303d49ea38949d3e92f08dc3bbb90b03f490413adae9
|
| 3 |
+
size 1345834856
|