Skip to content

Commit

Permalink
feat: add LlamaCppEmbeddings to model exports
Browse files Browse the repository at this point in the history
- Imported LlamaCppEmbeddings in models/__init__.py.
- Added LlamaCppEmbeddings to the __all__ exports in both models/__init__.py and embeddings/__init__.py.
- Removed duplicate entry of LlamaCppEmbeddings from embeddings/__init__.py exports.
  • Loading branch information
davidberenstein1957 committed Jan 10, 2025
1 parent ab5e3e7 commit a65a268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/distilabel/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


from distilabel.models.embeddings.base import Embeddings
from distilabel.models.embeddings.llamacpp import LlamaCppEmbeddings
from distilabel.models.embeddings.sentence_transformers import (
SentenceTransformerEmbeddings,
)
Expand Down Expand Up @@ -53,6 +54,7 @@
"HiddenState",
"InferenceEndpointsLLM",
"LiteLLM",
"LlamaCppEmbeddings",
"LlamaCppLLM",
"MistralLLM",
"MixtureOfAgentsLLM",
Expand Down
1 change: 0 additions & 1 deletion src/distilabel/models/embeddings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
__all__ = [
"Embeddings",
"LlamaCppEmbeddings",
"LlamaCppEmbeddings",
"SentenceTransformerEmbeddings",
"vLLMEmbeddings",
]

0 comments on commit a65a268

Please sign in to comment.