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,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./tests/models/reformer/test_modeling_reformer.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,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./examples/research_projects/self-training-text-classification/finetuning.py | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.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 applicab... | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.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 applicab... | -1 |
huggingface/transformers | 20,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./src/transformers/models/table_transformer/modeling_table_transformer.py | # coding=utf-8
# Copyright 2022 Microsoft Research 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/L... | # coding=utf-8
# Copyright 2022 Microsoft Research 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/L... | -1 |
huggingface/transformers | 20,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./src/transformers/models/distilbert/modeling_flax_distilbert.py | # coding=utf-8
# Copyright 2019-present, the HuggingFace Inc. team, The Google AI Language Team and Facebook, 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.or... | # coding=utf-8
# Copyright 2019-present, the HuggingFace Inc. team, The Google AI Language Team and Facebook, 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.or... | -1 |
huggingface/transformers | 20,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./docs/source/en/model_doc/mt5.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,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./src/transformers/models/convnext/modeling_convnext.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,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./tests/models/wav2vec2/test_modeling_wav2vec2.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,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./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,292 | Fix longformer onnx broken export | This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` that would then contain negative ind... | fxmarty | 2022-11-17T10:46:01Z | 2022-11-22T16:07:19Z | 9ef46659da45f6b605873ca59124d03976990b33 | 3d0c0ae43748812348f8bb8153fa9db5c464a0f7 | Fix longformer onnx broken export. This PR fixes the ONNX export of longformer, that was **silently** broken for several cases:
* the export registers `padding_len > 0` as a constant equal to `True`, hence during inference in the dynamic case `padding_len == 0`, we would still go through the path `padding_len > 0` t... | ./docs/source/es/run_scripts.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/image_transforms.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/conditional_detr/feature_extraction_conditional_detr.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/conditional_detr/modeling_conditional_detr.py | # coding=utf-8
# Copyright 2022 Microsoft Research Asia 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/licen... | # coding=utf-8
# Copyright 2022 Microsoft Research Asia 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/licen... | 1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/deformable_detr/feature_extraction_deformable_detr.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/deformable_detr/modeling_deformable_detr.py | # coding=utf-8
# Copyright 2022 SenseTime 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 SenseTime 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/detr/modeling_detr.py | # coding=utf-8
# Copyright 2021 Facebook AI Research The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LIC... | # coding=utf-8
# Copyright 2021 Facebook AI Research The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LIC... | 1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/owlvit/feature_extraction_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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/owlvit/modeling_owlvit.py | # coding=utf-8
# Copyright 2022 Google AI and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#... | # coding=utf-8
# Copyright 2022 Google AI and The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#... | 1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/table_transformer/modeling_table_transformer.py | # coding=utf-8
# Copyright 2022 Microsoft Research 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/L... | # coding=utf-8
# Copyright 2022 Microsoft Research 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/L... | 1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/yolos/feature_extraction_yolos.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/yolos/modeling_yolos.py | # coding=utf-8
# Copyright 2022 School of EIC, Huazhong University of Science & Technology 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
... | # coding=utf-8
# Copyright 2022 School of EIC, Huazhong University of Science & Technology 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
... | 1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/roberta/modeling_tf_roberta.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/nezha/test_modeling_nezha.py | # coding=utf-8
# Copyright 2022 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | # coding=utf-8
# Copyright 2022 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/regnet/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./utils/test_module/custom_modeling.py | import torch
from transformers import PreTrainedModel
from .custom_configuration import CustomConfig, NoSuperInitConfig
class CustomModel(PreTrainedModel):
config_class = CustomConfig
def __init__(self, config):
super().__init__(config)
self.linear = torch.nn.Linear(config.hidden_size, conf... | import torch
from transformers import PreTrainedModel
from .custom_configuration import CustomConfig, NoSuperInitConfig
class CustomModel(PreTrainedModel):
config_class = CustomConfig
def __init__(self, config):
super().__init__(config)
self.linear = torch.nn.Linear(config.hidden_size, conf... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/wav2vec2/processing_wav2vec2.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/bertweet/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/research_projects/seq2seq-distillation/run_eval.py | #!/usr/bin/env python
import argparse
import datetime
import json
import time
import warnings
from logging import getLogger
from pathlib import Path
from typing import Dict, List
import torch
from tqdm import tqdm
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from utils import calculate_bleu, calcula... | #!/usr/bin/env python
import argparse
import datetime
import json
import time
import warnings
from logging import getLogger
from pathlib import Path
from typing import Dict, List
import torch
from tqdm import tqdm
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from utils import calculate_bleu, calcula... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/extended/test_trainer_ext.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/levit/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/swinv2/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/bert_generation/configuration_bert_generation.py | # coding=utf-8
# Copyright 2020 The Google AI Language Team Authors and The HuggingFace Inc. team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | # coding=utf-8
# Copyright 2020 The Google AI Language Team Authors and The HuggingFace Inc. team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/opt/test_modeling_flax_opt.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/openai/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/xlm_roberta_xl/modeling_xlm_roberta_xl.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/t5/modeling_t5.py | # coding=utf-8
# Copyright 2018 Mesh TensorFlow authors, 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... | # coding=utf-8
# Copyright 2018 Mesh TensorFlow authors, 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... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./utils/check_config_docstrings.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/clipseg/__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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/m2m_100/modeling_m2m_100.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/pytorch/image-pretraining/run_mim.py | #!/usr/bin/env python
# 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/LI... | #!/usr/bin/env python
# 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/LI... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/marian/modeling_marian.py | # coding=utf-8
# Copyright 2021 The Marian Team 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/licen... | # coding=utf-8
# Copyright 2021 The Marian Team 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/licen... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/mctct/configuration_mctct.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/splinter/configuration_splinter.py | # coding=utf-8
# Copyright 2021 Tel AViv University, AllenAI 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/... | # coding=utf-8
# Copyright 2021 Tel AViv University, AllenAI 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/... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/maskformer/test_feature_extraction_maskformer.py | # coding=utf-8
# Copyright 2022 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | # coding=utf-8
# Copyright 2022 HuggingFace Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/led/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/x_clip/modeling_x_clip.py | # coding=utf-8
# Copyright 2022 Microsoft Research 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/LICENS... | # coding=utf-8
# Copyright 2022 Microsoft Research 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/LICENS... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/wav2vec2_phoneme/test_tokenization_wav2vec2_phoneme.py | # coding=utf-8
# Copyright 2021 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | # coding=utf-8
# Copyright 2021 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/wavlm/convert_wavlm_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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/esm/test_modeling_esm.py | # coding=utf-8
# Copyright 2022 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | # 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/vit/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/cvt/__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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/big_bird/__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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/research_projects/distillation/run_squad_w_distillation.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/speech_to_text_2/modeling_speech_to_text_2.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/whisper/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/blenderbot/modeling_blenderbot.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/L... | # 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/L... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/tapas/convert_tapas_original_tf_checkpoint_to_pytorch.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/wav2vec2_phoneme/tokenization_wav2vec2_phoneme.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/pytorch/text-classification/run_glue.py | #!/usr/bin/env python
# coding=utf-8
# Copyright 2020 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... | #!/usr/bin/env python
# coding=utf-8
# Copyright 2020 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/dpt/configuration_dpt.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/blenderbot/modeling_tf_blenderbot.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/trainer/test_trainer_seq2seq.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/legacy/run_chinese_ref.py | #!/usr/bin/env python
import argparse
import json
from typing import List
from ltp import LTP
from transformers import BertTokenizer
def _is_chinese_char(cp):
"""Checks whether CP is the codepoint of a CJK character."""
# This defines a "chinese character" as anything in the CJK Unicode block:
# https:... | #!/usr/bin/env python
import argparse
import json
from typing import List
from ltp import LTP
from transformers import BertTokenizer
def _is_chinese_char(cp):
"""Checks whether CP is the codepoint of a CJK character."""
# This defines a "chinese character" as anything in the CJK Unicode block:
# https:... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/roc_bert/__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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/onnx/utils.py | # Copyright 2021 The HuggingFace Team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | # 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/research_projects/jax-projects/model_parallel/run_clm_mp.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/legacy/run_language_modeling.py | #!/usr/bin/env python
# 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.
... | #!/usr/bin/env python
# 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.
... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/hubert/test_modeling_hubert.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/videomae/modeling_videomae.py | # coding=utf-8
# Copyright 2022 Multimedia Computing Group, Nanjing University 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... | # coding=utf-8
# Copyright 2022 Multimedia Computing Group, Nanjing University 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... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/research_projects/longform-qa/eli5_app.py | import datasets
import numpy as np
import streamlit as st
import torch
from elasticsearch import Elasticsearch
import faiss
import transformers
from eli5_utils import (
embed_questions_for_retrieval,
make_qa_s2s_model,
qa_s2s_generate,
query_es_index,
query_qa_dense_index,
)
from transformers impor... | import datasets
import numpy as np
import streamlit as st
import torch
from elasticsearch import Elasticsearch
import faiss
import transformers
from eli5_utils import (
embed_questions_for_retrieval,
make_qa_s2s_model,
qa_s2s_generate,
query_es_index,
query_qa_dense_index,
)
from transformers impor... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/utils/test_activations_tf.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/auto/test_tokenization_auto.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/pytorch/test_pytorch_examples.py | # coding=utf-8
# Copyright 2018 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 a... | # coding=utf-8
# Copyright 2018 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 a... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/gpt_neox_japanese/modeling_gpt_neox_japanese.py | # coding=utf-8
# Copyright 2022 ABEJA, 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-... | # coding=utf-8
# Copyright 2022 ABEJA, 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-... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/glpn/feature_extraction_glpn.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/opt/modeling_tf_opt.py | # coding=utf-8
# Copyright 2022 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 2022 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/dit/convert_dit_unilm_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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/data2vec/modeling_data2vec_text.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/openai/test_tokenization_openai.py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors.
#
# Licensed under the Apache License, Version 2.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 2018 The Google AI Language Team Authors.
#
# Licensed under the Apache License, Version 2.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/fnet/configuration_fnet.py | # coding=utf-8
# Copyright 2021 Google AI 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 Google AI 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/sew/configuration_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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/fnet/tokenization_fnet_fast.py | # coding=utf-8
# Copyright 2021 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 2021 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/glpn/__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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/legacy/token-classification/run_tf_ner.py | #!/usr/bin/env python
# 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 ... | #!/usr/bin/env python
# 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 ... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/segformer/modeling_tf_segformer.py | # coding=utf-8
# Copyright 2022 NVIDIA 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
#
# U... | # coding=utf-8
# Copyright 2022 NVIDIA 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
#
# U... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/mvp/test_tokenization_mvp.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/bloom/modeling_bloom.py | # coding=utf-8
# Copyright 2022 HuggingFace Inc. team and BigScience workshop.
#
# Licensed under the Apache License, Version 2.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 re... | # coding=utf-8
# Copyright 2022 HuggingFace Inc. team and BigScience workshop.
#
# Licensed under the Apache License, Version 2.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 re... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/poolformer/test_modeling_poolformer.py | # coding=utf-8
# Copyright 2022 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | # 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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/speech_to_text_2/processing_speech_to_text_2.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/albert/convert_albert_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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/trajectory_transformer/configuration_trajectory_transformer.py | # coding=utf-8
# Copyright 2022 The Trajectory Transformers paper 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://ww... | # coding=utf-8
# Copyright 2022 The Trajectory Transformers paper 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://ww... | -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/mobilenet_v2/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./tests/models/bert_japanese/__init__.py | -1 | ||
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./MANIFEST.in | include LICENSE
| include LICENSE
| -1 |
huggingface/transformers | 20,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./docs/source/en/model_doc/deberta-v2.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./src/transformers/models/mobilevit/configuration_mobilevit.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,278 | Image transforms functionality used instead | # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor g... | amyeroberts | 2022-11-16T15:02:49Z | 2022-11-17T11:16:14Z | 3fad6ae3fd51f7c83b17caea15ccdd2bb783b0b5 | 3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0 | Image transforms functionality used instead. # What does this PR do?
* Removes reimplementations of `center_to_corners` format
* Removes `# Copied from` statements and imports directly instead
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | ./examples/research_projects/fsner/README.md | <p align="center"> <img src="http://sayef.tech:8082/uploads/FSNER-LOGO-2.png" alt="FSNER LOGO"> </p>
<p align="center">
Implemented by <a href="https://huggingface.co/sayef"> sayef </a>.
</p>
## Overview
The FSNER model was proposed in [Example-Based Named Entity Recognition](https://arxiv.org/abs/2008.10570) by ... | <p align="center"> <img src="http://sayef.tech:8082/uploads/FSNER-LOGO-2.png" alt="FSNER LOGO"> </p>
<p align="center">
Implemented by <a href="https://huggingface.co/sayef"> sayef </a>.
</p>
## Overview
The FSNER model was proposed in [Example-Based Named Entity Recognition](https://arxiv.org/abs/2008.10570) by ... | -1 |