Upload 10 files
Browse files- README.md +3 -3
- config.json +16 -19
- pytorch_model.bin +2 -2
- sentence_bert_config.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +3 -2
- vocab.txt +0 -0
README.md
CHANGED
@@ -10,7 +10,7 @@ tags:
|
|
10 |
|
11 |
# {MODEL_NAME}
|
12 |
|
13 |
-
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a
|
14 |
|
15 |
<!--- Describe your model here -->
|
16 |
|
@@ -119,8 +119,8 @@ Parameters of the fit()-Method:
|
|
119 |
## Full Model Architecture
|
120 |
```
|
121 |
SentenceTransformer(
|
122 |
-
(0): Transformer({'max_seq_length':
|
123 |
-
(1): Pooling({'word_embedding_dimension':
|
124 |
)
|
125 |
```
|
126 |
|
|
|
10 |
|
11 |
# {MODEL_NAME}
|
12 |
|
13 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
14 |
|
15 |
<!--- Describe your model here -->
|
16 |
|
|
|
119 |
## Full Model Architecture
|
120 |
```
|
121 |
SentenceTransformer(
|
122 |
+
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: DistilBertModel
|
123 |
+
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
124 |
)
|
125 |
```
|
126 |
|
config.json
CHANGED
@@ -1,27 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/media/denis/
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"hidden_act": "gelu",
|
11 |
-
"hidden_dropout_prob": 0.1,
|
12 |
-
"hidden_size": 312,
|
13 |
"initializer_range": 0.02,
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"num_attention_heads": 12,
|
19 |
-
"num_hidden_layers": 3,
|
20 |
"pad_token_id": 0,
|
21 |
-
"
|
|
|
|
|
|
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.29.2",
|
24 |
-
"
|
25 |
-
"use_cache": true,
|
26 |
-
"vocab_size": 83828
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/media/denis/042CD5B7300C3479/instructor_chatbot/models/embedding_model/",
|
3 |
+
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
+
"DistilBertModel"
|
6 |
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
|
|
|
|
16 |
"pad_token_id": 0,
|
17 |
+
"qa_dropout": 0.1,
|
18 |
+
"seq_classif_dropout": 0.2,
|
19 |
+
"sinusoidal_pos_embds": false,
|
20 |
+
"tie_weights_": true,
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.29.2",
|
23 |
+
"vocab_size": 119547
|
|
|
|
|
24 |
}
|
pytorch_model.bin
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:b3c2453e24d06b8b580f3f965a56a7f4bd311ca5907bae5211462b404a1a02b6
|
3 |
+
size 538969501
|
sentence_bert_config.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"max_seq_length":
|
3 |
"do_lower_case": false
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"max_seq_length": 512,
|
3 |
"do_lower_case": false
|
4 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -4,12 +4,13 @@
|
|
4 |
"do_basic_tokenize": true,
|
5 |
"do_lower_case": false,
|
6 |
"mask_token": "[MASK]",
|
7 |
-
"
|
|
|
8 |
"never_split": null,
|
9 |
"pad_token": "[PAD]",
|
10 |
"sep_token": "[SEP]",
|
11 |
"strip_accents": null,
|
12 |
"tokenize_chinese_chars": true,
|
13 |
-
"tokenizer_class": "
|
14 |
"unk_token": "[UNK]"
|
15 |
}
|
|
|
4 |
"do_basic_tokenize": true,
|
5 |
"do_lower_case": false,
|
6 |
"mask_token": "[MASK]",
|
7 |
+
"max_len": 512,
|
8 |
+
"model_max_length": 512,
|
9 |
"never_split": null,
|
10 |
"pad_token": "[PAD]",
|
11 |
"sep_token": "[SEP]",
|
12 |
"strip_accents": null,
|
13 |
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "DistilBertTokenizer",
|
15 |
"unk_token": "[UNK]"
|
16 |
}
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|