repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/models/layoutlmv2/modeling_layoutlmv2.py | hf-dev-train/transformers-main/src/transformers/models/layoutlmv2/modeling_layoutlmv2.py | # coding=utf-8
# Copyright 2021 Microsoft Research The HuggingFace Inc. team. All rights reserved.
#
# 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/LICEN... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/models/cpm/__init__.py | hf-dev-train/transformers-main/src/transformers/models/cpm/__init__.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/models/cpm/tokenization_cpm.py | hf-dev-train/transformers-main/src/transformers/models/cpm/tokenization_cpm.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
#
# 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/LICEN... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/models/cpm/tokenization_cpm_fast.py | hf-dev-train/transformers-main/src/transformers/models/cpm/tokenization_cpm_fast.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
#
# 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/LICEN... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/audio_utils.py | hf-dev-train/transformers-main/src/transformers/pipelines/audio_utils.py | # Copyright 2023 The HuggingFace Team. All rights reserved.
import datetime
import platform
import subprocess
from typing import Optional, Tuple, Union
import numpy as np
def ffmpeg_read(bpayload: bytes, sampling_rate: int) -> np.array:
"""
Helper function to read an audio file through ffmpeg.
"""
ar... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/automatic_speech_recognition.py | hf-dev-train/transformers-main/src/transformers/pipelines/automatic_speech_recognition.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_audio_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_audio_classification.py | # coding=utf-8
# Copyright 2023 The HuggingFace Inc. team.
#
# 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... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/video_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/video_classification.py | from io import BytesIO
from typing import List, Union
import requests
from ..utils import add_end_docstrings, is_decord_available, is_torch_available, logging, requires_backends
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_decord_available():
import numpy as np
from decord import VideoReader
if is... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/image_to_text.py | hf-dev-train/transformers-main/src/transformers/pipelines/image_to_text.py | from typing import List, Union
from ..utils import (
add_end_docstrings,
is_tf_available,
is_torch_available,
is_vision_available,
logging,
requires_backends,
)
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from PIL import Image
from ..image_utils import lo... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_image_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_image_classification.py | from collections import UserDict
from typing import List, Union
from ..utils import (
add_end_docstrings,
is_tf_available,
is_torch_available,
is_vision_available,
logging,
requires_backends,
)
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from PIL import Image
... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/table_question_answering.py | hf-dev-train/transformers-main/src/transformers/pipelines/table_question_answering.py | import collections
import types
import numpy as np
from ..utils import (
add_end_docstrings,
is_tensorflow_probability_available,
is_tf_available,
is_torch_available,
requires_backends,
)
from .base import PIPELINE_INIT_ARGS, ArgumentHandler, Dataset, Pipeline, PipelineException
if is_torch_avai... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/text_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/text_classification.py | import warnings
from typing import Dict
import numpy as np
from ..utils import ExplicitEnum, add_end_docstrings, is_tf_available, is_torch_available
from .base import PIPELINE_INIT_ARGS, GenericTensor, Pipeline
if is_tf_available():
from ..models.auto.modeling_tf_auto import TF_MODEL_FOR_SEQUENCE_CLASSIFICATION... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/document_question_answering.py | hf-dev-train/transformers-main/src/transformers/pipelines/document_question_answering.py | # Copyright 2022 The Impira Team and the HuggingFace Team. All rights reserved.
#
# 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 r... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/image_segmentation.py | hf-dev-train/transformers-main/src/transformers/pipelines/image_segmentation.py | from typing import Any, Dict, List, Union
import numpy as np
from ..utils import add_end_docstrings, is_torch_available, is_vision_available, logging, requires_backends
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from PIL import Image
from ..image_utils import load_image
if is... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/depth_estimation.py | hf-dev-train/transformers-main/src/transformers/pipelines/depth_estimation.py | from typing import List, Union
import numpy as np
from ..utils import add_end_docstrings, is_torch_available, is_vision_available, logging, requires_backends
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from PIL import Image
from ..image_utils import load_image
if is_torch_avai... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/pt_utils.py | hf-dev-train/transformers-main/src/transformers/pipelines/pt_utils.py | import numpy as np
import torch
from torch.utils.data import Dataset, IterableDataset
from ..utils.generic import ModelOutput
class PipelineDataset(Dataset):
def __init__(self, dataset, process, params):
self.dataset = dataset
self.process = process
self.params = params
def __len__(s... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/object_detection.py | hf-dev-train/transformers-main/src/transformers/pipelines/object_detection.py | from typing import Any, Dict, List, Union
from ..utils import add_end_docstrings, is_torch_available, is_vision_available, logging, requires_backends
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from ..image_utils import load_image
if is_torch_available():
import torch
from... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_object_detection.py | hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_object_detection.py | from typing import Any, Dict, List, Union
from ..utils import add_end_docstrings, is_torch_available, is_vision_available, logging, requires_backends
from .base import PIPELINE_INIT_ARGS, ChunkPipeline
if is_vision_available():
from PIL import Image
from ..image_utils import load_image
if is_torch_availabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/feature_extraction.py | hf-dev-train/transformers-main/src/transformers/pipelines/feature_extraction.py | from typing import Dict
from .base import GenericTensor, Pipeline
# Can't use @add_end_docstrings(PIPELINE_INIT_ARGS) here because this one does not accept `binary_output`
class FeatureExtractionPipeline(Pipeline):
"""
Feature extraction pipeline using no model head. This pipeline extracts the hidden states ... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/audio_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/audio_classification.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/__init__.py | hf-dev-train/transformers-main/src/transformers/pipelines/__init__.py | # coding=utf-8
# Copyright 2018 The HuggingFace Inc. team.
#
# 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... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/image_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/image_classification.py | from typing import List, Union
from ..utils import (
add_end_docstrings,
is_tf_available,
is_torch_available,
is_vision_available,
logging,
requires_backends,
)
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from PIL import Image
from ..image_utils import lo... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/text_generation.py | hf-dev-train/transformers-main/src/transformers/pipelines/text_generation.py | import enum
import warnings
from .. import MODEL_FOR_CAUSAL_LM_MAPPING, TF_MODEL_FOR_CAUSAL_LM_MAPPING
from ..utils import add_end_docstrings, is_tf_available
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_tf_available():
import tensorflow as tf
class ReturnType(enum.Enum):
TENSORS = 0
NEW_TEXT =... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/conversational.py | hf-dev-train/transformers-main/src/transformers/pipelines/conversational.py | import uuid
from typing import Any, Dict, List, Optional, Union
from ..utils import add_end_docstrings, is_tf_available, is_torch_available, logging
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_tf_available():
import tensorflow as tf
if is_torch_available():
import torch
logger = logging.get_logge... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/fill_mask.py | hf-dev-train/transformers-main/src/transformers/pipelines/fill_mask.py | from typing import Dict
import numpy as np
from ..utils import add_end_docstrings, is_tf_available, is_torch_available, logging
from .base import PIPELINE_INIT_ARGS, GenericTensor, Pipeline, PipelineException
if is_tf_available():
import tensorflow as tf
from ..tf_utils import stable_softmax
if is_torch_... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/visual_question_answering.py | hf-dev-train/transformers-main/src/transformers/pipelines/visual_question_answering.py | from typing import Union
from ..utils import add_end_docstrings, is_torch_available, is_vision_available, logging
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_vision_available():
from PIL import Image
from ..image_utils import load_image
if is_torch_available():
from ..models.auto.modeling_auto... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/text2text_generation.py | hf-dev-train/transformers-main/src/transformers/pipelines/text2text_generation.py | import enum
import warnings
from ..tokenization_utils import TruncationStrategy
from ..utils import add_end_docstrings, is_tf_available, is_torch_available, logging
from .base import PIPELINE_INIT_ARGS, Pipeline
if is_tf_available():
import tensorflow as tf
from ..models.auto.modeling_tf_auto import TF_MODE... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/base.py | hf-dev-train/transformers-main/src/transformers/pipelines/base.py | # coding=utf-8
# Copyright 2018 The HuggingFace Inc. team.
#
# 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... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/token_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/token_classification.py | import types
import warnings
from typing import List, Optional, Tuple, Union
import numpy as np
from ..models.bert.tokenization_bert import BasicTokenizer
from ..utils import (
ExplicitEnum,
add_end_docstrings,
is_tf_available,
is_torch_available,
)
from .base import PIPELINE_INIT_ARGS, ArgumentHandle... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/question_answering.py | hf-dev-train/transformers-main/src/transformers/pipelines/question_answering.py | import types
import warnings
from collections.abc import Iterable
from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union
import numpy as np
from ..data import SquadExample, SquadFeatures, squad_convert_examples_to_features
from ..modelcard import ModelCard
from ..tokenization_utils import PreTrainedToke... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_classification.py | hf-dev-train/transformers-main/src/transformers/pipelines/zero_shot_classification.py | from typing import List, Union
import numpy as np
from ..tokenization_utils import TruncationStrategy
from ..utils import add_end_docstrings, logging
from .base import PIPELINE_INIT_ARGS, ArgumentHandler, ChunkPipeline
logger = logging.get_logger(__name__)
class ZeroShotClassificationArgumentHandler(ArgumentHandl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/hp_naming.py | hf-dev-train/transformers-main/src/transformers/utils/hp_naming.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_tf_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_tf_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class TensorFlowBenchmarkArguments(metaclass=DummyObject):
_backends = ["tf"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["tf"])
class TensorFlowBenchmark... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_pt_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_pt_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class PyTorchBenchmark(metaclass=DummyObject):
_backends = ["torch"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["torch"])
class PyTorchBenchmarkArguments... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_flax_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_flax_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class FlaxForcedBOSTokenLogitsProcessor(metaclass=DummyObject):
_backends = ["flax"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["flax"])
class FlaxForced... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_keras_nlp_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_keras_nlp_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class TFGPT2Tokenizer(metaclass=DummyObject):
_backends = ["keras_nlp"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["keras_nlp"])
| python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_tensorflow_text_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_tensorflow_text_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class TFBertTokenizer(metaclass=DummyObject):
_backends = ["tensorflow_text"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["tensorflow_text"])
| python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_tokenizers_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_tokenizers_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class AlbertTokenizerFast(metaclass=DummyObject):
_backends = ["tokenizers"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["tokenizers"])
class BartTokenize... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_speech_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_speech_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class ASTFeatureExtractor(metaclass=DummyObject):
_backends = ["speech"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["speech"])
class MCTCTFeatureExtracto... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/notebook.py | hf-dev-train/transformers-main/src/transformers/utils/notebook.py | # coding=utf-8
# Copyright 2020 Hugging Face
#
# 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... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/fx.py | hf-dev-train/transformers-main/src/transformers/utils/fx.py | # coding=utf-8
# Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 requir... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/constants.py | hf-dev-train/transformers-main/src/transformers/utils/constants.py | IMAGENET_DEFAULT_MEAN = [0.485, 0.456, 0.406]
IMAGENET_DEFAULT_STD = [0.229, 0.224, 0.225]
IMAGENET_STANDARD_MEAN = [0.5, 0.5, 0.5]
IMAGENET_STANDARD_STD = [0.5, 0.5, 0.5]
OPENAI_CLIP_MEAN = [0.48145466, 0.4578275, 0.40821073]
OPENAI_CLIP_STD = [0.26862954, 0.26130258, 0.27577711]
| python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/model_parallel_utils.py | hf-dev-train/transformers-main/src/transformers/utils/model_parallel_utils.py | # coding=utf-8
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 requir... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/doc.py | hf-dev-train/transformers-main/src/transformers/utils/doc.py | # Copyright 2022 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/versions.py | hf-dev-train/transformers-main/src/transformers/utils/versions.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/quantization_config.py | hf-dev-train/transformers-main/src/transformers/utils/quantization_config.py | #!/usr/bin/env python
# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# 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/L... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/bitsandbytes.py | hf-dev-train/transformers-main/src/transformers/utils/bitsandbytes.py | from copy import deepcopy
from .import_utils import is_accelerate_available, is_bitsandbytes_available
if is_bitsandbytes_available():
import bitsandbytes as bnb
import torch
import torch.nn as nn
if is_accelerate_available():
from accelerate import init_empty_weights
from accelerate.utils impor... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/sentencepiece_model_pb2.py | hf-dev-train/transformers-main/src/transformers/utils/sentencepiece_model_pb2.py | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sentencepiece_model.proto
# Copyright 2022 The HuggingFace Team. All rights reserved.
#
# 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 th... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/generic.py | hf-dev-train/transformers-main/src/transformers/utils/generic.py | # Copyright 2022 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_vision_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_vision_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class ImageProcessingMixin(metaclass=DummyObject):
_backends = ["vision"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["vision"])
class ImageFeatureExtract... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_sentencepiece_and_tokenizers_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_sentencepiece_and_tokenizers_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
SLOW_TO_FAST_CONVERTERS = None
def convert_slow_tokenizer(*args, **kwargs):
requires_backends(convert_slow_tokenizer, ["sentencepiece", "tokenizers"])
| python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_detectron2_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_detectron2_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import requires_backends
LAYOUTLM_V2_PRETRAINED_MODEL_ARCHIVE_LIST = None
class LayoutLMv2Model:
def __init__(self, *args, **kwargs):
requires_backends(self, ["detectron2"])
@classmethod
def from_pretrained... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/logging.py | hf-dev-train/transformers-main/src/transformers/utils/logging.py | # coding=utf-8
# Copyright 2020 Optuna, Hugging Face
#
# 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 o... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/__init__.py | hf-dev-train/transformers-main/src/transformers/utils/__init__.py | #!/usr/bin/env python
# coding=utf-8
# Copyright 2021 The HuggingFace Inc. team. All rights reserved.
#
# 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/L... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/dummy_sentencepiece_objects.py | hf-dev-train/transformers-main/src/transformers/utils/dummy_sentencepiece_objects.py | # This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class AlbertTokenizer(metaclass=DummyObject):
_backends = ["sentencepiece"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["sentencepiece"])
class BarthezTok... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/import_utils.py | hf-dev-train/transformers-main/src/transformers/utils/import_utils.py | # Copyright 2022 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/utils/hub.py | hf-dev-train/transformers-main/src/transformers/utils/hub.py | # Copyright 2022 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/logits_process.py | hf-dev-train/transformers-main/src/transformers/generation/logits_process.py | # coding=utf-8
# Copyright 2020 The HuggingFace Inc. team
#
# 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 ... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/flax_logits_process.py | hf-dev-train/transformers-main/src/transformers/generation/flax_logits_process.py | # coding=utf-8
# Copyright 2021 The HuggingFace Inc. team
#
# 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 ... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/tf_utils.py | hf-dev-train/transformers-main/src/transformers/generation/tf_utils.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# 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 cop... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/tf_logits_process.py | hf-dev-train/transformers-main/src/transformers/generation/tf_logits_process.py | # coding=utf-8
# Copyright 2022 The HuggingFace Inc. team
#
# 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 ... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/beam_constraints.py | hf-dev-train/transformers-main/src/transformers/generation/beam_constraints.py | from abc import ABC, abstractmethod
from typing import List, Optional
class Constraint(ABC):
r"""Abstract base class for all constraints that can be applied during generation.
It must define how the constraint can be satisfied.
All classes that inherit Constraint must follow the requirement that
```... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/utils.py | hf-dev-train/transformers-main/src/transformers/generation/utils.py | # coding=utf-8
# Copyright 2020 The Google AI Language Team Authors, Facebook AI Research authors and The HuggingFace Inc. team.
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the L... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/__init__.py | hf-dev-train/transformers-main/src/transformers/generation/__init__.py | # Copyright 2022 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/flax_utils.py | hf-dev-train/transformers-main/src/transformers/generation/flax_utils.py | # coding=utf-8
# Copyright 2021 The Google AI Flax Team Authors, and The HuggingFace Inc. team.
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# 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 o... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/stopping_criteria.py | hf-dev-train/transformers-main/src/transformers/generation/stopping_criteria.py | import time
import warnings
from abc import ABC
from copy import deepcopy
from typing import Optional
import torch
from ..utils import add_start_docstrings
STOPPING_CRITERIA_INPUTS_DOCSTRING = r"""
Args:
input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
Indices of inpu... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/beam_search.py | hf-dev-train/transformers-main/src/transformers/generation/beam_search.py | # coding=utf-8
# Copyright 2020 The HuggingFace Inc. team
#
# 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 ... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/generation/configuration_utils.py | hf-dev-train/transformers-main/src/transformers/generation/configuration_utils.py | # coding=utf-8
# Copyright 2022 The HuggingFace Inc. team.
#
# 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... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/onnx/convert.py | hf-dev-train/transformers-main/src/transformers/onnx/convert.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/onnx/__main__.py | hf-dev-train/transformers-main/src/transformers/onnx/__main__.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/onnx/utils.py | hf-dev-train/transformers-main/src/transformers/onnx/utils.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/onnx/config.py | hf-dev-train/transformers-main/src/transformers/onnx/config.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/onnx/__init__.py | hf-dev-train/transformers-main/src/transformers/onnx/__init__.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/onnx/features.py | hf-dev-train/transformers-main/src/transformers/onnx/features.py | import os
from functools import partial, reduce
from typing import TYPE_CHECKING, Callable, Dict, Optional, Tuple, Type, Union
import transformers
from .. import PretrainedConfig, is_tf_available, is_torch_available
from ..utils import TF2_WEIGHTS_NAME, WEIGHTS_NAME, logging
from .config import OnnxConfig
if TYPE_C... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/data_collator_qformer.py | hf-dev-train/transformers-main/src/transformers/data/data_collator_qformer.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/data_collator_back.py | hf-dev-train/transformers-main/src/transformers/data/data_collator_back.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/test_generation_utils.py | hf-dev-train/transformers-main/src/transformers/data/test_generation_utils.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/__init__.py | hf-dev-train/transformers-main/src/transformers/data/__init__.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/data_collator.py | hf-dev-train/transformers-main/src/transformers/data/data_collator.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/datasets/squad.py | hf-dev-train/transformers-main/src/transformers/data/datasets/squad.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/datasets/glue.py | hf-dev-train/transformers-main/src/transformers/data/datasets/glue.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/datasets/__init__.py | hf-dev-train/transformers-main/src/transformers/data/datasets/__init__.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/datasets/language_modeling.py | hf-dev-train/transformers-main/src/transformers/data/datasets/language_modeling.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/metrics/squad_metrics.py | hf-dev-train/transformers-main/src/transformers/data/metrics/squad_metrics.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/metrics/__init__.py | hf-dev-train/transformers-main/src/transformers/data/metrics/__init__.py | # 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 th... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/processors/squad.py | hf-dev-train/transformers-main/src/transformers/data/processors/squad.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/processors/utils.py | hf-dev-train/transformers-main/src/transformers/data/processors/utils.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# 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 cop... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/processors/glue.py | hf-dev-train/transformers-main/src/transformers/data/processors/glue.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# 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 cop... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/processors/xnli.py | hf-dev-train/transformers-main/src/transformers/data/processors/xnli.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# 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 cop... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/src/transformers/data/processors/__init__.py | hf-dev-train/transformers-main/src/transformers/data/processors/__init__.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_feature_extraction_common.py | hf-dev-train/transformers-main/tests/test_feature_extraction_common.py | # coding=utf-8
# Copyright 2021 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_modeling_flax_common.py | hf-dev-train/transformers-main/tests/test_modeling_flax_common.py | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_modeling_common.py | hf-dev-train/transformers-main/tests/test_modeling_common.py | # coding=utf-8
# Copyright 2019 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_sequence_feature_extraction_common.py | hf-dev-train/transformers-main/tests/test_sequence_feature_extraction_common.py | # coding=utf-8
# Copyright 2021 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_configuration_common.py | hf-dev-train/transformers-main/tests/test_configuration_common.py | # coding=utf-8
# Copyright 2019 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_pipeline_mixin.py | hf-dev-train/transformers-main/tests/test_pipeline_mixin.py | # coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# 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 r... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_modeling_tf_common.py | hf-dev-train/transformers-main/tests/test_modeling_tf_common.py | # coding=utf-8
# Copyright 2019 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/__init__.py | hf-dev-train/transformers-main/tests/__init__.py | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false | |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_image_transforms.py | hf-dev-train/transformers-main/tests/test_image_transforms.py | # coding=utf-8
# Copyright 2022 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | false |
Sreyan88/GAMA | https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/tests/test_tokenization_common.py | hf-dev-train/transformers-main/tests/test_tokenization_common.py | # coding=utf-8
# Copyright 2019 HuggingFace Inc.
#
# 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 ag... | python | Apache-2.0 | 041c3a623c6c635e65463cef16ce0cfde72e5c57 | 2026-01-05T07:09:59.331526Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.