repo_name stringclasses 6
values | pr_number int64 99 20.3k | pr_title stringlengths 8 158 | pr_description stringlengths 0 6.54k | author stringlengths 4 18 | date_created timestamp[ns, tz=UTC] | date_merged timestamp[ns, tz=UTC] | previous_commit stringlengths 40 40 | pr_commit stringlengths 40 40 | query stringlengths 37 6.57k | filepath stringlengths 8 153 | before_content stringlengths 0 876M | after_content stringlengths 0 876M | label int64 -1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/pipelines/audio_utils.py | 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 = f"{sampling_rate}"
ac = "1"
format_for_conversion = "f32le"
f... | 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 = f"{sampling_rate}"
ac = "1"
format_for_conversion = "f32le"
f... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/segformer/test_modeling_segformer.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/mobilenet_v2/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/table_transformer/__init__.py | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2022 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2022 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/onnx/summarization/bart_onnx/reduce_onnx_size.py | """
Code to remove duplicate initializers to reduce ONNX model size.
"""
import os
import numpy
import onnx
def _is_equal_tensor_proto(a, b):
name_a = a.name
name_b = b.name
a.name = ""
b.name = ""
res = a == b
a.name = name_a
b.name = name_b
return res
def _node_replace_input... | """
Code to remove duplicate initializers to reduce ONNX model size.
"""
import os
import numpy
import onnx
def _is_equal_tensor_proto(a, b):
name_a = a.name
name_b = b.name
a.name = ""
b.name = ""
res = a == b
a.name = name_a
b.name = name_b
return res
def _node_replace_input... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/whisper/feature_extraction_whisper.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/dpr/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/albert/__init__.py | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/jukebox/modeling_jukebox.py | # coding=utf-8
# Copyright 2022 The OpenAI Team Authors and 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
#
# Unles... | # coding=utf-8
# Copyright 2022 The OpenAI Team Authors and 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
#
# Unles... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/rag/finetune_rag.py | """Finetuning script for RAG models. Adapted from examples.seq2seq.finetune.py"""
import argparse
import logging
import os
import sys
import time
from collections import defaultdict
from pathlib import Path
from typing import Any, Dict, List, Tuple
import numpy as np
import pytorch_lightning as pl
import torch
import... | """Finetuning script for RAG models. Adapted from examples.seq2seq.finetune.py"""
import argparse
import logging
import os
import sys
import time
from collections import defaultdict
from pathlib import Path
from typing import Any, Dict, List, Tuple
import numpy as np
import pytorch_lightning as pl
import torch
import... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./utils/sort_auto_mappings.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/ibert/modeling_ibert.py | # coding=utf-8
# Copyright 2021 The I-BERT Authors (Sehoon Kim, Amir Gholami, Zhewei Yao,
# Michael Mahoney, Kurt Keutzer - UC Berkeley) and The HuggingFace Inc. team.
# Copyright (c) 20121, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use t... | # coding=utf-8
# Copyright 2021 The I-BERT Authors (Sehoon Kim, Amir Gholami, Zhewei Yao,
# Michael Mahoney, Kurt Keutzer - UC Berkeley) and The HuggingFace Inc. team.
# Copyright (c) 20121, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use t... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/camembert/modeling_tf_camembert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/wav2vec2_with_lm/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/dpr/test_modeling_dpr.py | # coding=utf-8
# Copyright 2020 Huggingface
#
# 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 ... | # coding=utf-8
# Copyright 2020 Huggingface
#
# 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 ... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/xlm_roberta/test_modeling_tf_xlm_roberta.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/deebert/test_glue_deebert.py | import argparse
import logging
import sys
from unittest.mock import patch
import run_glue_deebert
from transformers.testing_utils import TestCasePlus, get_gpu_count, require_torch_non_multi_gpu, slow
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger()
def get_setup_file():
parser = argparse.... | import argparse
import logging
import sys
from unittest.mock import patch
import run_glue_deebert
from transformers.testing_utils import TestCasePlus, get_gpu_count, require_torch_non_multi_gpu, slow
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger()
def get_setup_file():
parser = argparse.... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/vision_encoder_decoder/__init__.py | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2021 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2021 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/modeling_flax_utils.py | # coding=utf-8
# Copyright 2021 The Google Flax 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/LICENSE-2.0
... | # coding=utf-8
# Copyright 2021 The Google Flax 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/LICENSE-2.0
... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/blenderbot/test_modeling_flax_blenderbot.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/t5/modeling_flax_t5.py | # coding=utf-8
# Copyright 2021 T5 Authors and 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... | # coding=utf-8
# Copyright 2021 T5 Authors and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/sew/modeling_sew.py | # coding=utf-8
# Copyright 2021 ASAPP Inc. and 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... | # coding=utf-8
# Copyright 2021 ASAPP Inc. and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/quantization-qdqbert/run_quant_qa.py | #!/usr/bin/env python
# coding=utf-8
# Copyright 2020 The HuggingFace 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 ... | #!/usr/bin/env python
# coding=utf-8
# Copyright 2020 The HuggingFace 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 ... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./utils/get_ci_error_statistics.py | import argparse
import json
import math
import os
import subprocess
import time
import zipfile
from collections import Counter
import requests
def get_job_links(workflow_run_id):
"""Extract job names and their job links in a GitHub Actions workflow run"""
url = f"https://api.github.com/repos/huggingface/tra... | import argparse
import json
import math
import os
import subprocess
import time
import zipfile
from collections import Counter
import requests
def get_job_links(workflow_run_id):
"""Extract job names and their job links in a GitHub Actions workflow run"""
url = f"https://api.github.com/repos/huggingface/tra... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/wav2vec2/tokenization_wav2vec2.py | # coding=utf-8
# Copyright 2021 The Facebook Inc. and 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/LI... | # coding=utf-8
# Copyright 2021 The Facebook Inc. and 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/LI... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/donut/processing_donut.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/opt/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/commands/download.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/rembert/test_modeling_tf_rembert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/gptj/test_modeling_tf_gptj.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/sagemaker/training_args_sm.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/decision_transformer/configuration_decision_transformer.py | # coding=utf-8
# Copyright 2022 The HuggingFace Team and 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... | # coding=utf-8
# Copyright 2022 The HuggingFace Team and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/pegasus/convert_pegasus_tf_to_pytorch.py | # coding=utf-8
# Copyright 2020 Google 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 required by... | # coding=utf-8
# Copyright 2020 Google 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 required by... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/megatron_bert/modeling_megatron_bert.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018-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 ... | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018-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 ... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/distillation/train.py | # coding=utf-8
# Copyright 2019-present, 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 a... | # coding=utf-8
# Copyright 2019-present, 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 a... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/herbert/test_tokenization_herbert.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors, Allegro.pl 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/li... | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors, Allegro.pl 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/li... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/roformer/modeling_flax_roformer.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/opt/test_modeling_tf_opt.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/roc_bert/tokenization_roc_bert.py | # coding=utf-8
# Copyright 2022 WeChatAI and 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... | # coding=utf-8
# Copyright 2022 WeChatAI and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/mpnet/modeling_tf_mpnet.py | # coding=utf-8
# Copyright 2018 The HuggingFace Inc. team, Microsoft Corporation.
# 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 copy of the License ... | # coding=utf-8
# Copyright 2018 The HuggingFace Inc. team, Microsoft Corporation.
# 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 copy of the License ... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/deberta_v2/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/bert_japanese/test_tokenization_bert_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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/xglm/modeling_flax_xglm.py | # coding=utf-8
# Copyright 2021 The Fairseq Authors and 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/... | # coding=utf-8
# Copyright 2021 The Fairseq Authors and 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/... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/levit/modeling_levit.py | # coding=utf-8
# Copyright 2022 Meta Platforms, Inc. and 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... | # coding=utf-8
# Copyright 2022 Meta Platforms, Inc. and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/visual_bert/configuration_visual_bert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/vit_msn/__init__.py | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2020 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/clip/modeling_clip.py | # coding=utf-8
# Copyright 2021 The OpenAI Team Authors 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/L... | # coding=utf-8
# Copyright 2021 The OpenAI Team Authors 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/L... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/whisper/test_tokenization_whisper.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/flava/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/flava/convert_dalle_to_flava_codebook.py | # coding=utf-8
# Copyright 2022 Meta Platforms authors 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/LI... | # coding=utf-8
# Copyright 2022 Meta Platforms authors 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/LI... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/mvp/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/albert/modeling_albert.py | # coding=utf-8
# Copyright 2018 Google AI, Google Brain 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
#
# U... | # coding=utf-8
# Copyright 2018 Google AI, Google Brain 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
#
# U... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/wav2vec2_conformer/convert_wav2vec2_conformer_original_pytorch_checkpoint_to_pytorch.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/gpt_neo/test_modeling_gpt_neo.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/detr/feature_extraction_detr.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/vit/feature_extraction_vit.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/distilbert/test_tokenization_distilbert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/convbert/modeling_convbert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/lxmert/convert_lxmert_original_tf_checkpoint_to_pytorch.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/distilbert/tokenization_distilbert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/codegen/__init__.py | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2022 Salesforce authors, The EleutherAI, and HuggingFace Teams. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (... | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2022 Salesforce authors, The EleutherAI, and HuggingFace Teams. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/trainer/test_trainer_tpu.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/modeling_flax_outputs.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/hubert/convert_distilhubert_original_s3prl_checkpoint_to_pytorch.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/convert_slow_tokenizer.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/flax/language-modeling/run_t5_mlm_flax.py | #!/usr/bin/env python
# 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-... | #!/usr/bin/env python
# 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-... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/yoso/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./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
```... | 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
```... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/owlvit/configuration_owlvit.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/flava/__init__.py | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2022 Meta Platforms authors and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "Licen... | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
# Copyright 2022 Meta Platforms authors and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "Licen... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/utils/bitsandbytes.py | from copy import deepcopy
from transformers.utils import is_accelerate_available, is_bitsandbytes_available
if is_bitsandbytes_available():
import torch
import torch.nn as nn
import bitsandbytes as bnb
if is_accelerate_available():
from accelerate import init_empty_weights
from accelerate.utils... | from copy import deepcopy
from transformers.utils import is_accelerate_available, is_bitsandbytes_available
if is_bitsandbytes_available():
import torch
import torch.nn as nn
import bitsandbytes as bnb
if is_accelerate_available():
from accelerate import init_empty_weights
from accelerate.utils... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/longt5/configuration_longt5.py | # coding=utf-8
# Copyright 2022, The LongT5 Authors and 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... | # coding=utf-8
# Copyright 2022, The LongT5 Authors and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/bertabs/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/pipelines/test_pipelines_document_question_answering.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/layoutlm/test_modeling_tf_layoutlm.py | # coding=utf-8
# Copyright 2018 The Microsoft Research Asia LayoutLM Team 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/license... | # coding=utf-8
# Copyright 2018 The Microsoft Research Asia LayoutLM Team 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/license... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/mobilevit/modeling_tf_mobilevit.py | # coding=utf-8
# Copyright 2022 Apple Inc. and 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... | # coding=utf-8
# Copyright 2022 Apple Inc. and 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/mbart50/__init__.py | -1 | ||
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/ctrl/modeling_tf_ctrl.py | # coding=utf-8
# Copyright 2018 Salesforce and 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 copy of the License at
#
# h... | # coding=utf-8
# Copyright 2018 Salesforce and 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 copy of the License at
#
# h... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/bart/tokenization_bart.py | # coding=utf-8
# Copyright 2020 The Facebook AI Research 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/LIC... | # coding=utf-8
# Copyright 2020 The Facebook AI Research 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/LIC... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/sew_d/convert_sew_d_original_pytorch_checkpoint_to_pytorch.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/utils/test_activations.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/bort/test_modeling_tf_bort.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./src/transformers/models/layoutlm/modeling_tf_layoutlm.py | # coding=utf-8
# Copyright 2018 The Microsoft Research Asia LayoutLM 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/... | # coding=utf-8
# Copyright 2018 The Microsoft Research Asia LayoutLM 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/... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./utils/check_dummies.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./docs/source/en/perf_train_gpu_many.mdx | <!--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 applicable law or agreed... | <!--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 applicable law or agreed... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./docs/source/es/index.mdx | <!--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 applicable law or agreed... | <!--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 applicable law or agreed... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/pytorch/contrastive-image-text/README.md | <!---
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 applicable law or ... | <!---
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 applicable law or ... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./.git/objects/07/25bd04a1f2c3794732ddd14582936b6ffa474d | xV[OG3 "B D
aPUj{lO;̮6$i̹|}a=t~8`:Vf{k{Kɓ-ҙIx j. ĒgRGcJ/L40d )tOr?.nNϟ`њٻ'WoAruSջRÈ*mf"r;iNZǺve2f8Y3R@M3/J ^L;}FH
ct]_S<g? WN:&"֕vofU>#TǂK+RQTPcAi9U#5c+d ʽ.J6Ӣ_ǯt",ilA#rk*o4tKkS<'e`\lAExlFH"C#84%)cH>fRdk!Q#+i\-,Zqˠ(S,a@2 ?EAt%l@FQR!\ŚInNUD5V AEUJgU"X"'... | xV[OG3 "B D
aPUj{lO;̮6$i̹|}a=t~8`:Vf{k{Kɓ-ҙIx j. ĒgRGcJ/L40d )tOr?.nNϟ`њٻ'WoAruSջRÈ*mf"r;iNZǺve2f8Y3R@M3/J ^L;}FH
ct]_S<g? WN:&"֕vofU>#TǂK+RQTPcAi9U#5c+d ʽ.J6Ӣ_ǯt",ilA#rk*o4tKkS<'e`\lAExlFH"C#84%)cH>fRdk!Q#+i\-,Zqˠ(S,a@2 ?EAt%l@FQR!\ŚInNUD5V AEUJgU"X"'... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/led/test_modeling_tf_led.py | # coding=utf-8
# Copyright Iz Beltagy, Matthew E. Peters, Arman Cohan and 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.ap... | # coding=utf-8
# Copyright Iz Beltagy, Matthew E. Peters, Arman Cohan and 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.ap... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/bert/test_tokenization_bert.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./tests/models/vit/test_modeling_tf_vit.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./docs/source/en/model_doc/gpt_neox.mdx | <!--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 applicable law or agreed... | <!--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 applicable law or agreed... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/longform-qa/eli5_utils.py | import functools
import math
import os # noqa: F401
from random import choice, randint
from time import time
import datasets # noqa: F401
import numpy as np
import pandas as pd
import torch
import torch.utils.checkpoint as checkpoint
from elasticsearch import Elasticsearch # noqa: F401
from elasticsearch.helpers im... | import functools
import math
import os # noqa: F401
from random import choice, randint
from time import time
import datasets # noqa: F401
import numpy as np
import pandas as pd
import torch
import torch.utils.checkpoint as checkpoint
from elasticsearch import Elasticsearch # noqa: F401
from elasticsearch.helpers im... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/legacy/question-answering/run_squad_trainer.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... | # 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... | -1 |
huggingface/transformers | 20,307 | Remove double brackets | Fixes a small typo in the pipeline docs where there were two brackets. | stevhliu | 2022-11-17T19:40:39Z | 2022-11-18T17:29:24Z | f10cdba22e1a91a8f0774b75de3d2a3826ecb8cc | b2c863a3196150850d17548f25ee0575bccb8224 | Remove double brackets. Fixes a small typo in the pipeline docs where there were two brackets. | ./examples/research_projects/jax-projects/big_bird/bigbird_flax.py | import json
import os
from dataclasses import dataclass
from functools import partial
from typing import Callable
from tqdm.auto import tqdm
import flax.linen as nn
import jax
import jax.numpy as jnp
import joblib
import optax
import wandb
from flax import jax_utils, struct, traverse_util
from flax.serialization impo... | import json
import os
from dataclasses import dataclass
from functools import partial
from typing import Callable
from tqdm.auto import tqdm
import flax.linen as nn
import jax
import jax.numpy as jnp
import joblib
import optax
import wandb
from flax import jax_utils, struct, traverse_util
from flax.serialization impo... | -1 |