Question about config.json
Currently getting this error when I try to use as an embedding model in llama_index:
Xenova/text-embedding-ada-002 does not appear to have a file named config.json. Checkout 'https://huggingface.co/Xenova/text-embedding-ada-002/main' for available files.
Is this difficult to fix? Would really love to use it.
Hi there. This repository is only for the text-embedding-ada-002
tokenizer, since the model's weights are not open source. As a result, you unfortunately cannot use it with llama_index.
+1
@Xenova
Hello, I'd like to know whether this support for optimum-cli export onnx
? I use this optimum-cli export
on my mac, but I got that error...
raise EnvironmentError(
OSError: Xenova/text-embedding-ada-002 does not appear to have a file named config.json. Checkout 'https://huggingface.co/Xenova/text-embedding-ada-002/tree/main' for available files.
The full CLI is: optimum-cli export onnx --monolith --optimize O2 --framework pt --model Xenova/text-embedding-ada-002 ./text-embedding-ada-002
Thanks!
When calculating text embeddings, I encountered an error message: "ValueError: Unrecognized model in Xenova/text-embedding-ada-002. Should have a model_type key in its config.json, or contain one of the following strings in its name:". This error is due to the absence of the config.json file. Is there a solution to this problem?