Update model with corrected safetensors metadata and proper latent attention loading
Browse files- config.json +3 -8
- llm2vec_config.json +6 -0
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"LlamaBiModel"
|
| 5 |
],
|
|
@@ -8,7 +8,6 @@
|
|
| 8 |
"auto_map": {
|
| 9 |
"AutoModel": "microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned--modeling_bidirectional_llama_encoder.LlamaBiModel"
|
| 10 |
},
|
| 11 |
-
"base_model": "microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned",
|
| 12 |
"bos_token_id": 128000,
|
| 13 |
"eos_token_id": [
|
| 14 |
128001,
|
|
@@ -26,7 +25,6 @@
|
|
| 26 |
"num_attention_heads": 32,
|
| 27 |
"num_hidden_layers": 16,
|
| 28 |
"num_key_value_heads": 8,
|
| 29 |
-
"pooling_mode": "latent_attention",
|
| 30 |
"pretraining_tp": 1,
|
| 31 |
"rms_norm_eps": 1e-05,
|
| 32 |
"rope_scaling": {
|
|
@@ -41,8 +39,5 @@
|
|
| 41 |
"torch_dtype": "bfloat16",
|
| 42 |
"transformers_version": "4.44.2",
|
| 43 |
"use_cache": true,
|
| 44 |
-
"vocab_size": 128256
|
| 45 |
-
|
| 46 |
-
"domain": "medical",
|
| 47 |
-
"task": "text-embeddings"
|
| 48 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaBiModel"
|
| 5 |
],
|
|
|
|
| 8 |
"auto_map": {
|
| 9 |
"AutoModel": "microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned--modeling_bidirectional_llama_encoder.LlamaBiModel"
|
| 10 |
},
|
|
|
|
| 11 |
"bos_token_id": 128000,
|
| 12 |
"eos_token_id": [
|
| 13 |
128001,
|
|
|
|
| 25 |
"num_attention_heads": 32,
|
| 26 |
"num_hidden_layers": 16,
|
| 27 |
"num_key_value_heads": 8,
|
|
|
|
| 28 |
"pretraining_tp": 1,
|
| 29 |
"rms_norm_eps": 1e-05,
|
| 30 |
"rope_scaling": {
|
|
|
|
| 39 |
"torch_dtype": "bfloat16",
|
| 40 |
"transformers_version": "4.44.2",
|
| 41 |
"use_cache": true,
|
| 42 |
+
"vocab_size": 128256
|
| 43 |
+
}
|
|
|
|
|
|
|
|
|
llm2vec_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pooling_mode": "latent_attention",
|
| 3 |
+
"max_length": 512,
|
| 4 |
+
"doc_max_length": null,
|
| 5 |
+
"skip_instruction": false
|
| 6 |
+
}
|
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:3de35777475189d938e3a0427896e498b22360ebbc7536065f8198e544c878cb
|
| 3 |
+
size 2524099968
|