repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
transformers | transformers-main/tests/models/tvlt/test_image_processor_tvlt.py | # coding=utf-8
# Copyright 2023 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... | 9,598 | 36.791339 | 119 | py |
transformers | transformers-main/tests/models/tvlt/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/tvlt/test_processor_tvlt.py | # Copyright 2023 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... | 4,295 | 35.717949 | 111 | py |
transformers | transformers-main/tests/models/tvlt/test_feature_extraction_tvlt.py | # coding=utf-8
# Copyright 2023 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... | 8,928 | 40.724299 | 118 | py |
transformers | transformers-main/tests/models/esm/test_modeling_esm.py | # coding=utf-8
# Copyright 2022 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... | 12,627 | 38.4625 | 117 | py |
transformers | transformers-main/tests/models/esm/test_modeling_tf_esm.py | # coding=utf-8
# Copyright 2022 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... | 11,710 | 35.033846 | 117 | py |
transformers | transformers-main/tests/models/esm/test_modeling_esmfold.py | # coding=utf-8
# Copyright 2022 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... | 9,365 | 34.885057 | 114 | py |
transformers | transformers-main/tests/models/esm/test_tokenization_esm.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... | 3,733 | 39.586957 | 241 | py |
transformers | transformers-main/tests/models/esm/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/vit_msn/test_modeling_vit_msn.py | # coding=utf-8
# Copyright 2022 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... | 9,229 | 36.520325 | 121 | py |
transformers | transformers-main/tests/models/vit_msn/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/xmod/test_modeling_xmod.py | # coding=utf-8
# Copyright 2023 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... | 28,900 | 41.816296 | 119 | py |
transformers | transformers-main/tests/models/xmod/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/sew_d/test_modeling_sew_d.py | # 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/LICENSE-2.0
#
# Unless r... | 22,691 | 37.723549 | 128 | py |
transformers | transformers-main/tests/models/sew_d/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/rag/test_tokenization_rag.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... | 7,358 | 42.544379 | 119 | py |
transformers | transformers-main/tests/models/rag/test_retrieval_rag.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... | 17,509 | 45.078947 | 118 | py |
transformers | transformers-main/tests/models/rag/test_modeling_rag.py | # coding=utf-8
# Copyright 2020, The RAG 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/LICENSE-2.0
#
# Unless r... | 45,370 | 37.126891 | 347 | py |
transformers | transformers-main/tests/models/rag/test_modeling_tf_rag.py | from __future__ import annotations
import json
import os
import shutil
import tempfile
import unittest
from unittest.mock import patch
import numpy as np
from transformers import BartTokenizer
from transformers.models.bert.tokenization_bert import VOCAB_FILES_NAMES as DPR_VOCAB_FILES_NAMES
from transformers.models.d... | 40,635 | 36.591119 | 117 | py |
transformers | transformers-main/tests/models/rag/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/efficientformer/test_image_processing_efficientformer.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... | 6,704 | 33.921875 | 106 | py |
transformers | transformers-main/tests/models/efficientformer/test_modeling_efficientformer.py | # coding=utf-8
# Copyright 2022 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... | 20,003 | 39.412121 | 130 | py |
transformers | transformers-main/tests/models/efficientformer/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/efficientformer/test_modeling_tf_efficientformer.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... | 16,993 | 40.247573 | 118 | py |
transformers | transformers-main/tests/models/vision_text_dual_encoder/test_modeling_tf_vision_text_dual_encoder.py | # 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/LICENSE-2.0
#
# Unless r... | 17,279 | 39.947867 | 127 | py |
transformers | transformers-main/tests/models/vision_text_dual_encoder/test_modeling_flax_vision_text_dual_encoder.py | # 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/LICENSE-2.0
#
# Unless r... | 15,947 | 39.997429 | 127 | py |
transformers | transformers-main/tests/models/vision_text_dual_encoder/test_processor_vision_text_dual_encoder.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... | 7,283 | 38.586957 | 146 | py |
transformers | transformers-main/tests/models/vision_text_dual_encoder/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/vision_text_dual_encoder/test_modeling_vision_text_dual_encoder.py | # 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/LICENSE-2.0
#
# Unless r... | 21,406 | 40.167308 | 127 | py |
transformers | transformers-main/tests/models/qdqbert/test_modeling_qdqbert.py | # coding=utf-8
# Copyright 2021 The HuggingFace Inc. team. All rights reserved.
# Copyright 2021 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 of the License at
#
# ... | 22,936 | 38.821181 | 189 | py |
transformers | transformers-main/tests/models/qdqbert/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/cvt/test_modeling_cvt.py | # coding=utf-8
# Copyright 2022 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... | 10,894 | 36.1843 | 118 | py |
transformers | transformers-main/tests/models/cvt/test_modeling_tf_cvt.py | """ Testing suite for the Tensorflow CvT model. """
from __future__ import annotations
import inspect
import unittest
from math import floor
import numpy as np
from transformers import CvtConfig
from transformers.testing_utils import require_tf, require_vision, slow
from transformers.utils import cached_property, ... | 10,864 | 36.725694 | 119 | py |
transformers | transformers-main/tests/models/cvt/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/deberta/test_tokenization_deberta.py | # coding=utf-8
# Copyright 2019 Hugging Face 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 a... | 7,760 | 45.196429 | 251 | py |
transformers | transformers-main/tests/models/deberta/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/deberta/test_modeling_deberta.py | # coding=utf-8
# Copyright 2018 Microsoft 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/LICENSE-2.0
#
# Unless ... | 12,085 | 38.887789 | 119 | py |
transformers | transformers-main/tests/models/deberta/test_modeling_tf_deberta.py | # 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/LICENSE-2.0
#
# Unless r... | 10,917 | 35.760943 | 117 | py |
transformers | transformers-main/tests/models/poolformer/test_modeling_poolformer.py | # coding=utf-8
# Copyright 2022 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... | 9,339 | 35.627451 | 117 | py |
transformers | transformers-main/tests/models/poolformer/test_image_processing_poolformer.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... | 7,859 | 36.971014 | 113 | py |
transformers | transformers-main/tests/models/poolformer/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/bridgetower/test_modeling_bridgetower.py | # coding=utf-8
# Copyright 2023 The Intel Labs Team Authors, The Microsoft Research Team Authors and 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 a... | 25,459 | 37.810976 | 129 | py |
transformers | transformers-main/tests/models/bridgetower/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/bridgetower/test_image_processing_bridgetower.py | # coding=utf-8
# Copyright 2023 The Intel Labs Team Authors, The Microsoft Research Team Authors and 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 a... | 9,297 | 37.903766 | 129 | py |
transformers | transformers-main/tests/models/dinov2/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/dinov2/test_modeling_dinov2.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... | 9,274 | 35.372549 | 121 | py |
transformers | transformers-main/tests/models/layoutlmv3/test_image_processing_layoutlmv3.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... | 13,376 | 59.529412 | 3,793 | py |
transformers | transformers-main/tests/models/layoutlmv3/test_modeling_tf_layoutlmv3.py | # coding=utf-8
# Copyright 2022 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... | 20,593 | 39.30137 | 124 | py |
transformers | transformers-main/tests/models/layoutlmv3/test_tokenization_layoutlmv3.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... | 126,100 | 50.723134 | 1,182 | py |
transformers | transformers-main/tests/models/layoutlmv3/test_processor_layoutlmv3.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... | 23,826 | 49.267932 | 1,402 | py |
transformers | transformers-main/tests/models/layoutlmv3/test_modeling_layoutlmv3.py | # coding=utf-8
# Copyright 2022 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... | 16,503 | 38.768675 | 124 | py |
transformers | transformers-main/tests/models/layoutlmv3/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/timesformer/test_modeling_timesformer.py | # coding=utf-8
# Copyright 2022 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... | 14,284 | 37.504043 | 136 | py |
transformers | transformers-main/tests/models/timesformer/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/clip/test_modeling_tf_clip.py | # 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/LICENSE-2.0
#
# Unless r... | 26,956 | 39.536842 | 119 | py |
transformers | transformers-main/tests/models/clip/test_modeling_clip.py | # 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/LICENSE-2.0
#
# Unless r... | 30,049 | 38.643799 | 119 | py |
transformers | transformers-main/tests/models/clip/test_image_processing_clip.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... | 11,912 | 38.1875 | 116 | py |
transformers | transformers-main/tests/models/clip/test_modeling_flax_clip.py | import inspect
import tempfile
import unittest
import numpy as np
import transformers
from transformers import CLIPConfig, CLIPTextConfig, CLIPVisionConfig, is_flax_available, is_torch_available
from transformers.testing_utils import is_pt_flax_cross_test, require_flax, slow
from ...test_modeling_flax_common import ... | 24,254 | 40.179966 | 119 | py |
transformers | transformers-main/tests/models/clip/test_processor_clip.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... | 8,385 | 40.310345 | 210 | py |
transformers | transformers-main/tests/models/clip/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/clip/test_tokenization_clip.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... | 8,553 | 44.989247 | 210 | py |
transformers | transformers-main/tests/models/longformer/test_tokenization_longformer.py | # coding=utf-8
# Copyright 2022 Tsimur Hadeliya. 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... | 14,727 | 47.130719 | 113 | py |
transformers | transformers-main/tests/models/longformer/test_modeling_longformer.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... | 32,084 | 41.161629 | 119 | py |
transformers | transformers-main/tests/models/longformer/test_modeling_tf_longformer.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... | 31,816 | 42.525308 | 119 | py |
transformers | transformers-main/tests/models/longformer/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/lxmert/test_modeling_tf_lxmert.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... | 22,340 | 38.894643 | 118 | py |
transformers | transformers-main/tests/models/lxmert/test_tokenization_lxmert.py | # coding=utf-8
# Copyright 2018 LXMERT Authors, The Hugging Face 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 b... | 3,036 | 33.123596 | 90 | py |
transformers | transformers-main/tests/models/lxmert/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/lxmert/test_modeling_lxmert.py | # coding=utf-8
# Copyright 2018 LXMERT Authors, The Hugging Face 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 b... | 30,919 | 38.139241 | 119 | py |
transformers | transformers-main/tests/models/gpt_neox_japanese/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/gpt_neox_japanese/test_modeling_gpt_neox_japanese.py | # coding=utf-8
# Copyright 2022 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... | 10,866 | 40.636015 | 117 | py |
transformers | transformers-main/tests/models/gpt_neox_japanese/test_tokenization_gpt_neox_japanese.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... | 4,930 | 34.992701 | 114 | py |
transformers | transformers-main/tests/models/wav2vec2_with_lm/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/wav2vec2_with_lm/test_processor_wav2vec2_with_lm.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... | 20,320 | 41.335417 | 165 | py |
transformers | transformers-main/tests/models/blip/test_modeling_tf_blip.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... | 35,080 | 37.849391 | 119 | py |
transformers | transformers-main/tests/models/blip/test_modeling_tf_blip_text.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... | 6,241 | 35.717647 | 117 | py |
transformers | transformers-main/tests/models/blip/test_modeling_blip.py | # coding=utf-8
# Copyright 2022 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... | 51,262 | 38.312117 | 119 | py |
transformers | transformers-main/tests/models/blip/test_image_processing_blip.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... | 10,744 | 36.439024 | 116 | py |
transformers | transformers-main/tests/models/blip/test_processor_blip.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... | 5,743 | 36.789474 | 117 | py |
transformers | transformers-main/tests/models/blip/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/blip/test_modeling_blip_text.py | # coding=utf-8
# Copyright 2022 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... | 6,153 | 35.2 | 117 | py |
transformers | transformers-main/tests/models/data2vec/test_modeling_data2vec_text.py | # coding=utf-8
# 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 requir... | 22,296 | 39.76234 | 119 | py |
transformers | transformers-main/tests/models/data2vec/test_modeling_data2vec_audio.py | # coding=utf-8
# 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 requir... | 29,914 | 38.675066 | 128 | py |
transformers | transformers-main/tests/models/data2vec/test_modeling_tf_data2vec_vision.py | # coding=utf-8
# Copyright 2022 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... | 22,161 | 43.412826 | 129 | py |
transformers | transformers-main/tests/models/data2vec/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/data2vec/test_modeling_data2vec_vision.py | # coding=utf-8
# Copyright 2022 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... | 14,328 | 38.802778 | 129 | py |
transformers | transformers-main/tests/models/swiftformer/test_modeling_swiftformer.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... | 11,669 | 36.524116 | 126 | py |
transformers | transformers-main/tests/models/swiftformer/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/vision_encoder_decoder/test_modeling_vision_encoder_decoder.py | # coding=utf-8
# Copyright 2021 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 law... | 42,157 | 41.115884 | 367 | py |
transformers | transformers-main/tests/models/vision_encoder_decoder/test_modeling_tf_vision_encoder_decoder.py | # coding=utf-8
# Copyright 2022 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 law... | 40,906 | 42.42569 | 125 | py |
transformers | transformers-main/tests/models/vision_encoder_decoder/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/vision_encoder_decoder/test_modeling_flax_vision_encoder_decoder.py | # coding=utf-8
# Copyright 2021 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 law... | 21,015 | 39.807767 | 115 | py |
transformers | transformers-main/tests/models/nat/test_modeling_nat.py | # coding=utf-8
# Copyright 2022 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... | 14,908 | 36.554156 | 118 | py |
transformers | transformers-main/tests/models/nat/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/nllb_moe/test_modeling_nllb_moe.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... | 33,529 | 58.240283 | 1,404 | py |
transformers | transformers-main/tests/models/nllb_moe/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/mra/test_modeling_mra.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... | 15,324 | 36.653563 | 117 | py |
transformers | transformers-main/tests/models/mra/__init__.py | 0 | 0 | 0 | py | |
transformers | transformers-main/tests/models/unispeech_sat/test_modeling_unispeech_sat.py | # 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/LICENSE-2.0
#
# Unless r... | 37,300 | 38.936831 | 119 | py |
transformers | transformers-main/tests/models/unispeech_sat/__init__.py | 0 | 0 | 0 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.