AstraliteHeart

Results 5 issues of AstraliteHeart

**Describe the bug** Updating a jsonb field via bulk_update with an array containing string values with single quotes, the resulting SQL is incorrect due to lack of escaping which leads...

I've been trying to use `transformers` to convert BLIP2 models into compatible format (https://github.com/huggingface/transformers/blob/main/src/transformers/models/blip_2/convert_blip_2_original_to_pytorch.py) and ran into some issues, specifically this commit https://github.com/huggingface/transformers/pull/21405 breaks compatibility between `lavis` and `transformers`. So...

tldr: ```python In [1]: decode(encode("A 's")[0]) == "A 's" Out[1]: False In [2]: decode(encode("A 'u")[0]) == "A 'u" Out[2]: True ``` I discovered this issue trying to figure out why...

### System Info working: - `transformers` version: 4.26.1 - Platform: Linux-6.0.12-x86_64-with-glibc2.10 - Python version: 3.8.16 - Huggingface_hub version: 0.12.0 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): not...