Update load_embedding_model.ipynb

This commit is contained in:
Jeff Vestal
2023-12-13 09:27:01 -06:00
committed by GitHub
parent c8fedbb407
commit c369d5e51c

View File

@@ -166,7 +166,7 @@
"source": [ "source": [
"# Set the model name from Hugging Face and task type\n", "# Set the model name from Hugging Face and task type\n",
"hf_model_id='sentence-transformers/all-distilroberta-v1'\n", "hf_model_id='sentence-transformers/all-distilroberta-v1'\n",
"tm = TransformerModel(model_id=hf_model_id, task_type="text_embedding")\n", "tm = TransformerModel(model_id=hf_model_id, task_type='text_embedding')\n",
"\n", "\n",
"#set the modelID as it is named in Elasticsearch\n", "#set the modelID as it is named in Elasticsearch\n",
"es_model_id = tm.elasticsearch_model_id()\n", "es_model_id = tm.elasticsearch_model_id()\n",