Instructions to use TiagoShin/semantic_search_models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TiagoShin/semantic_search_models with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TiagoShin/semantic_search_models", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Tiago Shin commited on
Commit ·
064106a
1
Parent(s): bea7495
added unzipped files
Browse files- all-MiniLM-L6-v1.pt +3 -0
- config.json +22 -0
- tokenizer.json +0 -0
all-MiniLM-L6-v1.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40db187c6a7149f2875f5478f7321ec098f481908a6a52f38146666c73dbf944
|
| 3 |
+
size 91065059
|
config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "microsoft/MiniLM-L12-H384-uncased",
|
| 3 |
+
"attention_probs_dropout_prob": 0.1,
|
| 4 |
+
"gradient_checkpointing": false,
|
| 5 |
+
"hidden_act": "gelu",
|
| 6 |
+
"hidden_dropout_prob": 0.1,
|
| 7 |
+
"hidden_size": 384,
|
| 8 |
+
"initializer_range": 0.02,
|
| 9 |
+
"intermediate_size": 1536,
|
| 10 |
+
"layer_norm_eps": 1e-12,
|
| 11 |
+
"max_position_embeddings": 512,
|
| 12 |
+
"model_type": "bert",
|
| 13 |
+
"num_attention_heads": 12,
|
| 14 |
+
"num_hidden_layers": 12,
|
| 15 |
+
"pad_token_id": 0,
|
| 16 |
+
"position_embedding_type": "absolute",
|
| 17 |
+
"transformers_version": "4.8.2",
|
| 18 |
+
"type_vocab_size": 2,
|
| 19 |
+
"use_cache": true,
|
| 20 |
+
"vocab_size": 30522
|
| 21 |
+
}
|
| 22 |
+
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|