all_mini_12_path=get_model_path( 'sentence-transformers/all-MiniLM-L12-v2') print('gpus',available_gpus) Expand DownExpand Up@@ -417,6 +422,7 @@ def get_model_path(remote_path): 'text2vec-base-chinese-paraphrase':SentenceModel(text2vec_base_cn_paraph_path,device='cpu'), ...
一个基于 MiniLM-L12-v2 架构的大型预训练语言模型。MiniLM-L12-v2 是 MiniLM 系列中的一种变体,具有更多的参数和更高的模型容量,适用于各种自然语言处理任务。