Skip to content
Snippets Groups Projects
Commit c2c4f636 authored by timothycarambat's avatar timothycarambat
Browse files

bump cdn

parent a4d5b258
No related branches found
No related tags found
No related merge requests found
...@@ -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.useanything.com/support/models/"; #fallbackHost = "https://cdn.anythingllm.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
......
...@@ -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.useanything.com/support/models/"; #fallbackHost = "https://cdn.anythingllm.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.useanything.com) // 3. Download and cache from fallback host (cdn.anythingllm.com)
await this.#getPreTrainedModel(); await this.#getPreTrainedModel();
await this.#getPreTrainedTokenizer(); await this.#getPreTrainedTokenizer();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment