-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nomic Embed integration via llama.cpp BERT implementation #2086
Commits on Feb 28, 2024
-
llmodel_c: simplify casts and callbacks
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 3077b97 - Browse repository at this point
Copy the full SHA 3077b97View commit details
Commits on Feb 29, 2024
-
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 3d8159b - Browse repository at this point
Copy the full SHA 3d8159bView commit details -
modellist: remove modelDirPath(), which was never used
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 536d666 - Browse repository at this point
Copy the full SHA 536d666View commit details
Commits on Mar 8, 2024
-
llamamodel: initial LLamaModel::embed implementation
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 520b3af - Browse repository at this point
Copy the full SHA 520b3afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b37051 - Browse repository at this point
Copy the full SHA 7b37051View commit details -
python: adapt to the new LLModel::embed API
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 4f11471 - Browse repository at this point
Copy the full SHA 4f11471View commit details -
llamamodel: whitelist BERT and Nomic BERT
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 54e8fbe - Browse repository at this point
Copy the full SHA 54e8fbeView commit details -
python: Nomic Embed is actually working now
Fix a few bugs in the implementation so that it actually works. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for e38140e - Browse repository at this point
Copy the full SHA e38140eView commit details -
llamamodel: blacklist old MiniLM quant
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 735127a - Browse repository at this point
Copy the full SHA 735127aView commit details -
llamamodel: only allow LLamaModel::embed on embedding models
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 9134410 - Browse repository at this point
Copy the full SHA 9134410View commit details -
chat: initial integration of new embedding code with chat UI
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 5671c0e - Browse repository at this point
Copy the full SHA 5671c0eView commit details -
llamamodel: use embedding code from "fix embeddings" PR
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 4751cd3 - Browse repository at this point
Copy the full SHA 4751cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99f1e93 - Browse repository at this point
Copy the full SHA 99f1e93View commit details -
fix n_batch for embedding models
The intended value is the trained context length. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for b998791 - Browse repository at this point
Copy the full SHA b998791View commit details -
update to latest changes from PR 5796 (merged)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 979b947 - Browse repository at this point
Copy the full SHA 979b947View commit details -
better alignment with Atlas API
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 9b51271 - Browse repository at this point
Copy the full SHA 9b51271View commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 8e5645c - Browse repository at this point
Copy the full SHA 8e5645cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d00a9e0 - Browse repository at this point
Copy the full SHA d00a9e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c10840 - Browse repository at this point
Copy the full SHA 6c10840View commit details -
chat: don't do anything with pre-GGUF .bin files
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 5c10a2d - Browse repository at this point
Copy the full SHA 5c10a2dView commit details -
chat: restrict local embed to all-MiniLM-L6-v2-gguf2.f16.gguf for now
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 56768ff - Browse repository at this point
Copy the full SHA 56768ffView commit details -
models3.json: add new MiniLM quant
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 910b472 - Browse repository at this point
Copy the full SHA 910b472View commit details -
models3.json: add Nomic Embed v1 and v1.5
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 17fe0b3 - Browse repository at this point
Copy the full SHA 17fe0b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8bfd9 - Browse repository at this point
Copy the full SHA ab8bfd9View commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 5f7103e - Browse repository at this point
Copy the full SHA 5f7103eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb1fc75 - Browse repository at this point
Copy the full SHA bb1fc75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ee8c76 - Browse repository at this point
Copy the full SHA 6ee8c76View commit details -
chat: fix filename bug caused by merge
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for eabc9cd - Browse repository at this point
Copy the full SHA eabc9cdView commit details -
chat: update isEmbeddingModel logic for models.json
We need to be able to set embeddingModel in models.json, otherwise we cannot reliably know whether the model is an embedding model because we cannot open it to check its architecture. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 122ae59 - Browse repository at this point
Copy the full SHA 122ae59View commit details -
modellist: also whitelist nomic-embed-text-v1.txt
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for c39fa52 - Browse repository at this point
Copy the full SHA c39fa52View commit details
Commits on Mar 10, 2024
-
python: use slice to index embedding_ptr
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 33a0cd6 - Browse repository at this point
Copy the full SHA 33a0cd6View commit details
Commits on Mar 12, 2024
-
python: change dimensionality exception to a warning
This is a warning in the Nomic client, so it should be a warning here. Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for db10b7d - Browse repository at this point
Copy the full SHA db10b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb214df - Browse repository at this point
Copy the full SHA cb214dfView commit details -
style: do not use braces with single-line ifs
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 46d64d6 - Browse repository at this point
Copy the full SHA 46d64d6View commit details -
embllm: make sendAtlasRequest private
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 39fb564 - Browse repository at this point
Copy the full SHA 39fb564View commit details -
modellist: clarify arument to EmbeddingModels
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for e3fde3b - Browse repository at this point
Copy the full SHA e3fde3bView commit details -
llamamodel: handle null d_ptr->model in auto-prefix embed()
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 223090b - Browse repository at this point
Copy the full SHA 223090bView commit details -
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 5c1ddb0 - Browse repository at this point
Copy the full SHA 5c1ddb0View commit details -
llamamodel: make magic constant less magic
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 9b93ab1 - Browse repository at this point
Copy the full SHA 9b93ab1View commit details
Commits on Mar 13, 2024
-
models3.json: assume these changes will be released in v2.7.4
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for 967616e - Browse repository at this point
Copy the full SHA 967616eView commit details -
modellist: never list or use models with disableGUI set
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Configuration menu - View commit details
-
Copy full SHA for ad86bf5 - Browse repository at this point
Copy the full SHA ad86bf5View commit details