Fix detokenizer space match for quote (#1072)

* fix + test

* remove transformer flax/torch warning

* format
This commit is contained in:
Awni Hannun
2024-10-27 15:06:07 -07:00
committed by GitHub
parent ab4bf05c6e
commit 8fe9539af7
3 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,9 @@
# Copyright © 2023-2024 Apple Inc.
import os
from ._version import __version__
os.environ["TRANSFORMERS_NO_ADVISORY_WARNINGS"] = "1"
from .utils import convert, generate, load, stream_generate