Anush008 / fastembed-js

Library to generate vector embeddings in NodeJS
https://www.npmjs.com/package/fastembed/
MIT License
64 stars 5 forks source link

Config file not found at local_cache\fast-bge-small-en\config.json #17

Closed ItsAnoch closed 2 months ago

ItsAnoch commented 2 months ago

Can't seem to figure out why the config.json and the tokenizer_config.json don't seem to be downloaded.

OS: Windows 11 Runtime: Bun 1.1.6

import { EmbeddingModel, FlagEmbedding } from "fastembed";

const embeddingModel = await FlagEmbedding.init({
    model: EmbeddingModel.BGESmallEN
});

// ....
Anush008 commented 2 months ago

Could you elaborate? Are there any error messages?

ItsAnoch commented 2 months ago

Yes. Sorry for the late response.

error: Config file not found at local_cache\fast-bge-base-en\config.json

Anush008 commented 2 months ago

Please try deleting the FastEmbed cache directory.