Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
c2c4f636
Commit
c2c4f636
authored
1 month ago
by
timothycarambat
Browse files
Options
Downloads
Patches
Plain Diff
bump cdn
parent
a4d5b258
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
server/utils/EmbeddingEngines/native/index.js
+1
-1
1 addition, 1 deletion
server/utils/EmbeddingEngines/native/index.js
server/utils/EmbeddingRerankers/native/index.js
+2
-2
2 additions, 2 deletions
server/utils/EmbeddingRerankers/native/index.js
with
3 additions
and
3 deletions
server/utils/EmbeddingEngines/native/index.js
+
1
−
1
View file @
c2c4f636
...
@@ -7,7 +7,7 @@ class NativeEmbedder {
...
@@ -7,7 +7,7 @@ class NativeEmbedder {
// This is a folder that Mintplex Labs hosts for those who cannot capture the HF model download
// This is a folder that Mintplex Labs hosts for those who cannot capture the HF model download
// endpoint for various reasons. This endpoint is not guaranteed to be active or maintained
// endpoint for various reasons. This endpoint is not guaranteed to be active or maintained
// and may go offline at any time at Mintplex Labs's discretion.
// and may go offline at any time at Mintplex Labs's discretion.
#fallbackHost
=
"
https://cdn.
use
anything.com/support/models/
"
;
#fallbackHost
=
"
https://cdn.anything
llm
.com/support/models/
"
;
constructor
()
{
constructor
()
{
// Model Card: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
// Model Card: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
...
...
This diff is collapsed.
Click to expand it.
server/utils/EmbeddingRerankers/native/index.js
+
2
−
2
View file @
c2c4f636
...
@@ -9,7 +9,7 @@ class NativeEmbeddingReranker {
...
@@ -9,7 +9,7 @@ class NativeEmbeddingReranker {
// This is a folder that Mintplex Labs hosts for those who cannot capture the HF model download
// This is a folder that Mintplex Labs hosts for those who cannot capture the HF model download
// endpoint for various reasons. This endpoint is not guaranteed to be active or maintained
// endpoint for various reasons. This endpoint is not guaranteed to be active or maintained
// and may go offline at any time at Mintplex Labs's discretion.
// and may go offline at any time at Mintplex Labs's discretion.
#fallbackHost
=
"
https://cdn.
use
anything.com/support/models/
"
;
#fallbackHost
=
"
https://cdn.anything
llm
.com/support/models/
"
;
constructor
()
{
constructor
()
{
// An alternative model to the mixedbread-ai/mxbai-rerank-xsmall-v1 model (speed on CPU is much slower for this model @ 18docs = 6s)
// An alternative model to the mixedbread-ai/mxbai-rerank-xsmall-v1 model (speed on CPU is much slower for this model @ 18docs = 6s)
...
@@ -87,7 +87,7 @@ class NativeEmbeddingReranker {
...
@@ -87,7 +87,7 @@ class NativeEmbeddingReranker {
// Attempt to load the model and tokenizer in this order:
// Attempt to load the model and tokenizer in this order:
// 1. From local file system cache
// 1. From local file system cache
// 2. Download and cache from remote host (hf.co)
// 2. Download and cache from remote host (hf.co)
// 3. Download and cache from fallback host (cdn.
use
anything.com)
// 3. Download and cache from fallback host (cdn.anything
llm
.com)
await
this
.
#getPreTrainedModel
();
await
this
.
#getPreTrainedModel
();
await
this
.
#getPreTrainedTokenizer
();
await
this
.
#getPreTrainedTokenizer
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment