codingutf8 2021 the google ai flax team s and the huggingface inc team c 2020 nvidia corporation licensed under the apache license version 2 0 the license you may not use this file except in compliance with the license you may obtain a copy of the license at http www apache orglicenseslicense2 0 unless required by applicable law or agreed to in writing software distributed under the license is distributed on an as is basis without warranties or conditions of any kind either express or implied see the license for the specific language governing permissions and limitations under the license warning at import time coding utf 8 2021 the google ai flax team s and the huggingface inc team c 2020 nvidia corporation licensed under the apache license version 2 0 the license you may not use this file except in compliance with the license you may obtain a copy of the license at http www apache org licenses license 2 0 unless required by applicable law or agreed to in writing software distributed under the license is distributed on an as is basis without warranties or conditions of any kind either express or implied see the license for the specific language governing permissions and limitations under the license warning at import time
import warnings

from .generation import FlaxGenerationMixin


class FlaxGenerationMixin(FlaxGenerationMixin):
    
    warnings.warn(
        "Importing `FlaxGenerationMixin` from `src/transformers/generation_flax_utils.py` is deprecated and will "
        "be removed in Transformers v5. Import as `from transformers import FlaxGenerationMixin` instead.",
        FutureWarning,
    )