Open wenzhao98 opened 11 months ago
changed embedding to hkunlp/instructor-large and using HuggingFace instead of OpenA. Keeps getting the following error:
ValueError: Error raised by inference API: Input validation error: inputs must have less than 1024 tokens. Given: 1062
inputs
I think it is due to the memory.
Check my pull request (#45) where the "chunk_size" and "max_new_tokens", have been updated, among other improvements.
changed embedding to hkunlp/instructor-large and using HuggingFace instead of OpenA. Keeps getting the following error:
ValueError: Error raised by inference API: Input validation error:
inputs
must have less than 1024 tokens. Given: 1062I think it is due to the memory.