retriv icon indicating copy to clipboard operation
retriv copied to clipboard

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2799: ordinal not in range(128)

Open Raphaelzrf opened this issue 1 year ago • 0 comments

retriever = DenseRetriever( index_name=self.index_name, model="/data/rfzhang/harmfultext/model/sentence-transformers", normalize=True, max_length=128, use_ann=False, ).index(collection, use_gpu=True)

When I run the above code, UnicodeDecodeError appears. I don't understand why it decodes the input in 'ascii'.

Raphaelzrf avatar Aug 31 '24 08:08 Raphaelzrf