From 897b6a9d878f853d67a07858345feccdea4931ab Mon Sep 17 00:00:00 2001 From: Calvinn Ng Date: Thu, 2 May 2024 09:18:14 +0800 Subject: [PATCH] add missing model config.json --- .../models/all-MiniLM-L6-v2/config.json | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 extensions/vscode/models/all-MiniLM-L6-v2/config.json diff --git a/extensions/vscode/models/all-MiniLM-L6-v2/config.json b/extensions/vscode/models/all-MiniLM-L6-v2/config.json new file mode 100644 index 000000000..72147e4ff --- /dev/null +++ b/extensions/vscode/models/all-MiniLM-L6-v2/config.json @@ -0,0 +1,25 @@ +{ + "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2", + "architectures": [ + "BertModel" + ], + "attention_probs_dropout_prob": 0.1, + "classifier_dropout": null, + "gradient_checkpointing": false, + "hidden_act": "gelu", + "hidden_dropout_prob": 0.1, + "hidden_size": 384, + "initializer_range": 0.02, + "intermediate_size": 1536, + "layer_norm_eps": 1e-12, + "max_position_embeddings": 512, + "model_type": "bert", + "num_attention_heads": 12, + "num_hidden_layers": 6, + "pad_token_id": 0, + "position_embedding_type": "absolute", + "transformers_version": "4.29.2", + "type_vocab_size": 2, + "use_cache": true, + "vocab_size": 30522 +}