Skip to content

Commit

Permalink
adding BGEEmbeddings to resource downloader (#14133)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedlone127 authored Jan 18, 2024
1 parent 818de8d commit 2b93e02
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,8 @@ object PythonResourceDownloader {
"InstructorEmbeddings" -> InstructorEmbeddings,
"E5Embeddings" -> E5Embeddings,
"MPNetEmbeddings" -> MPNetEmbeddings,
"CLIPForZeroShotClassification" -> CLIPForZeroShotClassification)
"CLIPForZeroShotClassification" -> CLIPForZeroShotClassification,
"BGEEmbeddings" -> BGEEmbeddings)

// List pairs of types such as the one with key type can load a pretrained model from the value type
val typeMapper: Map[String, String] = Map("ZeroShotNerModel" -> "RoBertaForQuestionAnswering")
Expand Down

0 comments on commit 2b93e02

Please sign in to comment.