Skip to content

Commit

Permalink
Update llama_cpp.md (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara authored Jan 22, 2024
1 parent ec2f473 commit 5028828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/llama_cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ docs = [

```python
doc_store = InMemoryDocumentStore(embedding_similarity_function="cosine")
doc_embedder = SentenceTransformersDocumentEmbedder(model_name_or_path="sentence-transformers/all-MiniLM-L6-v2")
doc_embedder = SentenceTransformersDocumentEmbedder(model="sentence-transformers/all-MiniLM-L6-v2")

# Indexing Pipeline
indexing_pipeline = Pipeline()
Expand All @@ -241,7 +241,7 @@ GPT4 Correct Assistant:

rag_pipeline = Pipeline()

text_embedder = SentenceTransformersTextEmbedder(model_name_or_path="sentence-transformers/all-MiniLM-L6-v2")
text_embedder = SentenceTransformersTextEmbedder(model="sentence-transformers/all-MiniLM-L6-v2")

# Load the LLM using LlamaCppGenerator
model_path = "openchat-3.5-1210.Q3_K_S.gguf"
Expand Down

0 comments on commit 5028828

Please sign in to comment.