
--- document_load_embedding.py
+++ document_load_embedding.py
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 |
) |
13 | 13 |
# print(vllm_instance.complete("hello?")) |
14 | 14 |
|
15 |
-# max_length must be set to 512, or it will crash for high dimension multilingual models...... WHY DO YOU NOT MENTION THIS ON DOCUMENT!? |
|
15 |
+# max_length must be set to embed weights output dense dimension, and there are problems with executing sparse one, or it will crash for high dimension multilingual models...... WHY DO YOU NOT MENTION THIS ON DOCUMENT!? |
|
16 | 16 |
# https://github.com/run-llama/llama_index/issues/9272 |
17 | 17 |
# Why am I setting dimension manually instead of llama_index deciding it? |
18 | 18 |
# it's because their default parameters are fit to openai and that causes problems EVERYWHERE |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?