eunyounglee
commited on
Commit
•
3baa29e
1
Parent(s):
1396694
Add new SentenceTransformer model.
Browse files- 1_Pooling/config.json +10 -0
- README.md +130 -0
- config.json +28 -0
- config_sentence_transformers.json +9 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +441 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +62 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 4096,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: sentence-transformers
|
3 |
+
pipeline_tag: sentence-similarity
|
4 |
+
tags:
|
5 |
+
- sentence-transformers
|
6 |
+
- feature-extraction
|
7 |
+
- sentence-similarity
|
8 |
+
- transformers
|
9 |
+
|
10 |
+
---
|
11 |
+
|
12 |
+
# eunyounglee/EEVE-LLM2VEC-MNTP-STS-kornli-1
|
13 |
+
|
14 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 4096 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
15 |
+
|
16 |
+
<!--- Describe your model here -->
|
17 |
+
|
18 |
+
## Usage (Sentence-Transformers)
|
19 |
+
|
20 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
21 |
+
|
22 |
+
```
|
23 |
+
pip install -U sentence-transformers
|
24 |
+
```
|
25 |
+
|
26 |
+
Then you can use the model like this:
|
27 |
+
|
28 |
+
```python
|
29 |
+
from sentence_transformers import SentenceTransformer
|
30 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
31 |
+
|
32 |
+
model = SentenceTransformer('eunyounglee/EEVE-LLM2VEC-MNTP-STS-kornli-1')
|
33 |
+
embeddings = model.encode(sentences)
|
34 |
+
print(embeddings)
|
35 |
+
```
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
## Usage (HuggingFace Transformers)
|
40 |
+
Without [sentence-transformers](https://www.SBERT.net), you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings.
|
41 |
+
|
42 |
+
```python
|
43 |
+
from transformers import AutoTokenizer, AutoModel
|
44 |
+
import torch
|
45 |
+
|
46 |
+
|
47 |
+
#Mean Pooling - Take attention mask into account for correct averaging
|
48 |
+
def mean_pooling(model_output, attention_mask):
|
49 |
+
token_embeddings = model_output[0] #First element of model_output contains all token embeddings
|
50 |
+
input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float()
|
51 |
+
return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9)
|
52 |
+
|
53 |
+
|
54 |
+
# Sentences we want sentence embeddings for
|
55 |
+
sentences = ['This is an example sentence', 'Each sentence is converted']
|
56 |
+
|
57 |
+
# Load model from HuggingFace Hub
|
58 |
+
tokenizer = AutoTokenizer.from_pretrained('eunyounglee/EEVE-LLM2VEC-MNTP-STS-kornli-1')
|
59 |
+
model = AutoModel.from_pretrained('eunyounglee/EEVE-LLM2VEC-MNTP-STS-kornli-1')
|
60 |
+
|
61 |
+
# Tokenize sentences
|
62 |
+
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
63 |
+
|
64 |
+
# Compute token embeddings
|
65 |
+
with torch.no_grad():
|
66 |
+
model_output = model(**encoded_input)
|
67 |
+
|
68 |
+
# Perform pooling. In this case, mean pooling.
|
69 |
+
sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
|
70 |
+
|
71 |
+
print("Sentence embeddings:")
|
72 |
+
print(sentence_embeddings)
|
73 |
+
```
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
## Evaluation Results
|
78 |
+
|
79 |
+
<!--- Describe how your model was evaluated -->
|
80 |
+
|
81 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=eunyounglee/EEVE-LLM2VEC-MNTP-STS-kornli-1)
|
82 |
+
|
83 |
+
|
84 |
+
## Training
|
85 |
+
The model was trained with the parameters:
|
86 |
+
|
87 |
+
**DataLoader**:
|
88 |
+
|
89 |
+
`torch.utils.data.dataloader.DataLoader` of length 4909 with parameters:
|
90 |
+
```
|
91 |
+
{'batch_size': 4, 'sampler': 'torch.utils.data.sampler.RandomSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
|
92 |
+
```
|
93 |
+
|
94 |
+
**Loss**:
|
95 |
+
|
96 |
+
`sentence_transformers.losses.CoSENTLoss.CoSENTLoss` with parameters:
|
97 |
+
```
|
98 |
+
{'scale': 20.0, 'similarity_fct': 'pairwise_cos_sim'}
|
99 |
+
```
|
100 |
+
|
101 |
+
Parameters of the fit()-Method:
|
102 |
+
```
|
103 |
+
{
|
104 |
+
"epochs": 1,
|
105 |
+
"evaluation_steps": 1000,
|
106 |
+
"evaluator": "sentence_transformers.evaluation.EmbeddingSimilarityEvaluator.EmbeddingSimilarityEvaluator",
|
107 |
+
"max_grad_norm": 1,
|
108 |
+
"optimizer_class": "<class 'torch.optim.adamw.AdamW'>",
|
109 |
+
"optimizer_params": {
|
110 |
+
"lr": 2e-05
|
111 |
+
},
|
112 |
+
"scheduler": "WarmupLinear",
|
113 |
+
"steps_per_epoch": null,
|
114 |
+
"warmup_steps": 1473,
|
115 |
+
"weight_decay": 0.01
|
116 |
+
}
|
117 |
+
```
|
118 |
+
|
119 |
+
|
120 |
+
## Full Model Architecture
|
121 |
+
```
|
122 |
+
SentenceTransformer(
|
123 |
+
(0): Transformer({'max_seq_length': 4096, 'do_lower_case': False}) with Transformer model: LlamaModel
|
124 |
+
(1): Pooling({'word_embedding_dimension': 4096, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
125 |
+
)
|
126 |
+
```
|
127 |
+
|
128 |
+
## Citing & Authors
|
129 |
+
|
130 |
+
<!--- Describe where people can find more information -->
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "eunyounglee/EEVE-LLM2Vec-MNTP-1",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaModel"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 32000,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 14336,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 48,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 10000.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.40.1",
|
26 |
+
"use_cache": false,
|
27 |
+
"vocab_size": 40960
|
28 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.7.0",
|
4 |
+
"transformers": "4.40.1",
|
5 |
+
"pytorch": "2.2.1+cu121"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null
|
9 |
+
}
|
model-00001-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a940813222829d52dcfe5538a8aee3a58c7fc2e3e8a7a3df70b0446135dd5951
|
3 |
+
size 4899121456
|
model-00002-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe8605c51ff5ebee1a2cdeec0d7919e3f636b48e11f18d8716f03b242ef3370b
|
3 |
+
size 4915915576
|
model-00003-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edbc5f311f9074ef2634a85cc06a27e82632f7e254a0c80ac18bf28e313280d5
|
3 |
+
size 4999818704
|
model-00004-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45f506460b6a75a391fd66334570a0f6e196759aee6f07393d84d3dcbfc69aa1
|
3 |
+
size 4915915584
|
model-00005-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28ea958a52c7a35add3ddc0655b9c420770f8c8a56b94fca5c71283403968735
|
3 |
+
size 1543581104
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,441 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 21274304512
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"embed_tokens.weight": "model-00001-of-00005.safetensors",
|
7 |
+
"layers.0.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
8 |
+
"layers.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
9 |
+
"layers.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
10 |
+
"layers.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
11 |
+
"layers.0.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
12 |
+
"layers.0.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
13 |
+
"layers.0.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
14 |
+
"layers.0.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
15 |
+
"layers.0.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
16 |
+
"layers.1.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
17 |
+
"layers.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
18 |
+
"layers.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
19 |
+
"layers.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
20 |
+
"layers.1.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
21 |
+
"layers.1.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
22 |
+
"layers.1.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
23 |
+
"layers.1.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
24 |
+
"layers.1.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
25 |
+
"layers.10.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
26 |
+
"layers.10.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
27 |
+
"layers.10.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
28 |
+
"layers.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
29 |
+
"layers.10.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
30 |
+
"layers.10.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
31 |
+
"layers.10.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
32 |
+
"layers.10.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
33 |
+
"layers.10.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
34 |
+
"layers.11.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
35 |
+
"layers.11.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
36 |
+
"layers.11.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
37 |
+
"layers.11.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
38 |
+
"layers.11.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
39 |
+
"layers.11.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
40 |
+
"layers.11.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
41 |
+
"layers.11.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
42 |
+
"layers.11.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
43 |
+
"layers.12.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
44 |
+
"layers.12.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
45 |
+
"layers.12.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
46 |
+
"layers.12.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
47 |
+
"layers.12.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
48 |
+
"layers.12.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
49 |
+
"layers.12.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
50 |
+
"layers.12.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
51 |
+
"layers.12.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
52 |
+
"layers.13.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
53 |
+
"layers.13.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
54 |
+
"layers.13.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
55 |
+
"layers.13.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
56 |
+
"layers.13.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
57 |
+
"layers.13.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
58 |
+
"layers.13.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
59 |
+
"layers.13.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
60 |
+
"layers.13.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
61 |
+
"layers.14.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
62 |
+
"layers.14.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
63 |
+
"layers.14.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
64 |
+
"layers.14.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
65 |
+
"layers.14.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
66 |
+
"layers.14.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
67 |
+
"layers.14.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
68 |
+
"layers.14.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
69 |
+
"layers.14.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
70 |
+
"layers.15.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
71 |
+
"layers.15.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
72 |
+
"layers.15.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
73 |
+
"layers.15.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
74 |
+
"layers.15.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
75 |
+
"layers.15.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
76 |
+
"layers.15.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
77 |
+
"layers.15.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
78 |
+
"layers.15.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
79 |
+
"layers.16.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
80 |
+
"layers.16.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
81 |
+
"layers.16.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
82 |
+
"layers.16.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
83 |
+
"layers.16.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
84 |
+
"layers.16.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
85 |
+
"layers.16.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
86 |
+
"layers.16.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
87 |
+
"layers.16.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
88 |
+
"layers.17.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
89 |
+
"layers.17.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
90 |
+
"layers.17.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
91 |
+
"layers.17.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
92 |
+
"layers.17.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
93 |
+
"layers.17.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
94 |
+
"layers.17.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
95 |
+
"layers.17.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
96 |
+
"layers.17.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
97 |
+
"layers.18.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
98 |
+
"layers.18.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
99 |
+
"layers.18.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
100 |
+
"layers.18.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
101 |
+
"layers.18.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
102 |
+
"layers.18.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
103 |
+
"layers.18.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
104 |
+
"layers.18.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
105 |
+
"layers.18.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
106 |
+
"layers.19.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
107 |
+
"layers.19.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
108 |
+
"layers.19.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
109 |
+
"layers.19.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
110 |
+
"layers.19.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
111 |
+
"layers.19.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
112 |
+
"layers.19.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
113 |
+
"layers.19.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
114 |
+
"layers.19.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
115 |
+
"layers.2.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
116 |
+
"layers.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
117 |
+
"layers.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
118 |
+
"layers.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
119 |
+
"layers.2.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
120 |
+
"layers.2.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
121 |
+
"layers.2.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
122 |
+
"layers.2.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
123 |
+
"layers.2.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
124 |
+
"layers.20.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
125 |
+
"layers.20.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
126 |
+
"layers.20.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
127 |
+
"layers.20.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
128 |
+
"layers.20.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
129 |
+
"layers.20.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
130 |
+
"layers.20.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
131 |
+
"layers.20.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
132 |
+
"layers.20.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
133 |
+
"layers.21.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
134 |
+
"layers.21.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
135 |
+
"layers.21.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
136 |
+
"layers.21.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
137 |
+
"layers.21.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
138 |
+
"layers.21.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
139 |
+
"layers.21.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
140 |
+
"layers.21.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
141 |
+
"layers.21.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
142 |
+
"layers.22.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
143 |
+
"layers.22.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
144 |
+
"layers.22.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
145 |
+
"layers.22.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
146 |
+
"layers.22.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
147 |
+
"layers.22.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
148 |
+
"layers.22.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
149 |
+
"layers.22.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
150 |
+
"layers.22.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
151 |
+
"layers.23.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
152 |
+
"layers.23.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
153 |
+
"layers.23.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
154 |
+
"layers.23.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
155 |
+
"layers.23.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
156 |
+
"layers.23.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
157 |
+
"layers.23.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
158 |
+
"layers.23.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
159 |
+
"layers.23.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
160 |
+
"layers.24.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
161 |
+
"layers.24.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
162 |
+
"layers.24.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
163 |
+
"layers.24.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
164 |
+
"layers.24.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
165 |
+
"layers.24.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
166 |
+
"layers.24.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
167 |
+
"layers.24.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
168 |
+
"layers.24.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
169 |
+
"layers.25.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
170 |
+
"layers.25.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
171 |
+
"layers.25.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
172 |
+
"layers.25.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
173 |
+
"layers.25.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
174 |
+
"layers.25.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
175 |
+
"layers.25.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
176 |
+
"layers.25.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
177 |
+
"layers.25.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
178 |
+
"layers.26.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
179 |
+
"layers.26.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
180 |
+
"layers.26.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
181 |
+
"layers.26.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
182 |
+
"layers.26.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
183 |
+
"layers.26.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
184 |
+
"layers.26.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
185 |
+
"layers.26.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
186 |
+
"layers.26.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
187 |
+
"layers.27.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
188 |
+
"layers.27.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
189 |
+
"layers.27.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
190 |
+
"layers.27.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
191 |
+
"layers.27.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
192 |
+
"layers.27.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
193 |
+
"layers.27.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
194 |
+
"layers.27.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
195 |
+
"layers.27.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
196 |
+
"layers.28.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
197 |
+
"layers.28.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
198 |
+
"layers.28.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
199 |
+
"layers.28.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
200 |
+
"layers.28.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
201 |
+
"layers.28.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
202 |
+
"layers.28.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
203 |
+
"layers.28.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
204 |
+
"layers.28.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
205 |
+
"layers.29.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
206 |
+
"layers.29.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
207 |
+
"layers.29.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
208 |
+
"layers.29.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
209 |
+
"layers.29.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
210 |
+
"layers.29.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
211 |
+
"layers.29.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
212 |
+
"layers.29.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
213 |
+
"layers.29.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
214 |
+
"layers.3.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
215 |
+
"layers.3.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
216 |
+
"layers.3.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
217 |
+
"layers.3.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
218 |
+
"layers.3.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
219 |
+
"layers.3.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
220 |
+
"layers.3.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
221 |
+
"layers.3.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
222 |
+
"layers.3.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
223 |
+
"layers.30.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
224 |
+
"layers.30.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
225 |
+
"layers.30.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
226 |
+
"layers.30.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
227 |
+
"layers.30.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
228 |
+
"layers.30.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
229 |
+
"layers.30.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
230 |
+
"layers.30.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
231 |
+
"layers.30.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
232 |
+
"layers.31.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
233 |
+
"layers.31.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
234 |
+
"layers.31.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
235 |
+
"layers.31.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
236 |
+
"layers.31.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
237 |
+
"layers.31.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
238 |
+
"layers.31.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
239 |
+
"layers.31.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
240 |
+
"layers.31.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
241 |
+
"layers.32.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
242 |
+
"layers.32.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
243 |
+
"layers.32.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
244 |
+
"layers.32.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
245 |
+
"layers.32.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
246 |
+
"layers.32.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
247 |
+
"layers.32.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
248 |
+
"layers.32.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
249 |
+
"layers.32.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
250 |
+
"layers.33.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
251 |
+
"layers.33.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
252 |
+
"layers.33.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
253 |
+
"layers.33.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
254 |
+
"layers.33.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
255 |
+
"layers.33.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
256 |
+
"layers.33.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
257 |
+
"layers.33.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
258 |
+
"layers.33.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
259 |
+
"layers.34.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
260 |
+
"layers.34.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
261 |
+
"layers.34.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
262 |
+
"layers.34.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
263 |
+
"layers.34.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
264 |
+
"layers.34.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
265 |
+
"layers.34.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
266 |
+
"layers.34.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
267 |
+
"layers.34.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
268 |
+
"layers.35.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
269 |
+
"layers.35.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
270 |
+
"layers.35.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
271 |
+
"layers.35.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
272 |
+
"layers.35.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
273 |
+
"layers.35.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
274 |
+
"layers.35.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
275 |
+
"layers.35.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
276 |
+
"layers.35.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
277 |
+
"layers.36.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
278 |
+
"layers.36.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
279 |
+
"layers.36.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
280 |
+
"layers.36.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
281 |
+
"layers.36.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
282 |
+
"layers.36.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
283 |
+
"layers.36.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
284 |
+
"layers.36.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
285 |
+
"layers.36.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
286 |
+
"layers.37.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
287 |
+
"layers.37.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
288 |
+
"layers.37.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
289 |
+
"layers.37.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
290 |
+
"layers.37.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
291 |
+
"layers.37.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
292 |
+
"layers.37.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
293 |
+
"layers.37.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
294 |
+
"layers.37.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
295 |
+
"layers.38.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
296 |
+
"layers.38.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
297 |
+
"layers.38.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
298 |
+
"layers.38.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
299 |
+
"layers.38.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
300 |
+
"layers.38.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
301 |
+
"layers.38.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
302 |
+
"layers.38.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
303 |
+
"layers.38.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
304 |
+
"layers.39.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
305 |
+
"layers.39.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
306 |
+
"layers.39.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
307 |
+
"layers.39.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
308 |
+
"layers.39.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
309 |
+
"layers.39.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
310 |
+
"layers.39.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
311 |
+
"layers.39.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
312 |
+
"layers.39.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
313 |
+
"layers.4.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
314 |
+
"layers.4.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
315 |
+
"layers.4.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
316 |
+
"layers.4.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
317 |
+
"layers.4.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
318 |
+
"layers.4.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
319 |
+
"layers.4.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
320 |
+
"layers.4.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
321 |
+
"layers.4.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
322 |
+
"layers.40.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
323 |
+
"layers.40.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
324 |
+
"layers.40.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
325 |
+
"layers.40.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
326 |
+
"layers.40.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
327 |
+
"layers.40.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
328 |
+
"layers.40.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
329 |
+
"layers.40.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
330 |
+
"layers.40.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
331 |
+
"layers.41.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
332 |
+
"layers.41.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
333 |
+
"layers.41.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
334 |
+
"layers.41.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
335 |
+
"layers.41.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
336 |
+
"layers.41.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
337 |
+
"layers.41.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
338 |
+
"layers.41.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
339 |
+
"layers.41.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
340 |
+
"layers.42.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
341 |
+
"layers.42.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
342 |
+
"layers.42.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
343 |
+
"layers.42.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
344 |
+
"layers.42.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
345 |
+
"layers.42.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
346 |
+
"layers.42.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
347 |
+
"layers.42.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
348 |
+
"layers.42.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
349 |
+
"layers.43.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
350 |
+
"layers.43.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
351 |
+
"layers.43.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
352 |
+
"layers.43.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
353 |
+
"layers.43.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
354 |
+
"layers.43.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
355 |
+
"layers.43.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
356 |
+
"layers.43.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
357 |
+
"layers.43.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
358 |
+
"layers.44.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
359 |
+
"layers.44.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
360 |
+
"layers.44.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
361 |
+
"layers.44.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
362 |
+
"layers.44.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
363 |
+
"layers.44.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
364 |
+
"layers.44.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
365 |
+
"layers.44.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
366 |
+
"layers.44.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
367 |
+
"layers.45.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
368 |
+
"layers.45.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
369 |
+
"layers.45.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
370 |
+
"layers.45.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
371 |
+
"layers.45.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
372 |
+
"layers.45.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
373 |
+
"layers.45.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
374 |
+
"layers.45.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
375 |
+
"layers.45.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
376 |
+
"layers.46.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
377 |
+
"layers.46.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
378 |
+
"layers.46.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
379 |
+
"layers.46.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
380 |
+
"layers.46.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
381 |
+
"layers.46.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
382 |
+
"layers.46.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
383 |
+
"layers.46.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
384 |
+
"layers.46.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
385 |
+
"layers.47.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
386 |
+
"layers.47.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
387 |
+
"layers.47.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
388 |
+
"layers.47.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
389 |
+
"layers.47.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
390 |
+
"layers.47.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
391 |
+
"layers.47.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
392 |
+
"layers.47.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
393 |
+
"layers.47.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
394 |
+
"layers.5.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
395 |
+
"layers.5.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
396 |
+
"layers.5.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
397 |
+
"layers.5.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
398 |
+
"layers.5.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
399 |
+
"layers.5.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
400 |
+
"layers.5.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
401 |
+
"layers.5.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
402 |
+
"layers.5.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
403 |
+
"layers.6.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
404 |
+
"layers.6.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
405 |
+
"layers.6.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
406 |
+
"layers.6.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
407 |
+
"layers.6.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
408 |
+
"layers.6.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
409 |
+
"layers.6.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
410 |
+
"layers.6.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
411 |
+
"layers.6.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
412 |
+
"layers.7.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
413 |
+
"layers.7.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
414 |
+
"layers.7.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
415 |
+
"layers.7.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
416 |
+
"layers.7.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
417 |
+
"layers.7.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
418 |
+
"layers.7.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
419 |
+
"layers.7.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
420 |
+
"layers.7.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
421 |
+
"layers.8.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
422 |
+
"layers.8.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
423 |
+
"layers.8.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
424 |
+
"layers.8.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
425 |
+
"layers.8.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
426 |
+
"layers.8.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
427 |
+
"layers.8.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
428 |
+
"layers.8.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
429 |
+
"layers.8.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
430 |
+
"layers.9.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
431 |
+
"layers.9.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
432 |
+
"layers.9.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
433 |
+
"layers.9.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
434 |
+
"layers.9.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
435 |
+
"layers.9.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
436 |
+
"layers.9.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
437 |
+
"layers.9.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
438 |
+
"layers.9.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
439 |
+
"norm.weight": "model-00005-of-00005.safetensors"
|
440 |
+
}
|
441 |
+
}
|
modules.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
}
|
14 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 4096,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|im_end|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"mask_token": {
|
17 |
+
"content": "_",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"pad_token": {
|
24 |
+
"content": "</s>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "<unk>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"28730": {
|
30 |
+
"content": "_",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32000": {
|
38 |
+
"content": "<|im_end|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"additional_special_tokens": [],
|
47 |
+
"bos_token": "<s>",
|
48 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = 'You are a helpful assistant.' %}{% endif %}{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 %}{{'<|im_start|>system\n' + system_message + '<|im_end|>\n'}}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
49 |
+
"clean_up_tokenization_spaces": false,
|
50 |
+
"eos_token": "<|im_end|>",
|
51 |
+
"legacy": true,
|
52 |
+
"mask_token": "_",
|
53 |
+
"model_max_length": 1000000000000000019884624838656,
|
54 |
+
"pad_token": "</s>",
|
55 |
+
"sp_model_kwargs": {},
|
56 |
+
"spaces_between_special_tokens": false,
|
57 |
+
"tokenizer_class": "LlamaTokenizer",
|
58 |
+
"trust_remote_code": false,
|
59 |
+
"unk_token": "<unk>",
|
60 |
+
"use_default_system_prompt": false,
|
61 |
+
"use_fast": true
|
62 |
+
}
|