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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/visual_bert/configuration_visual_bert.py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/donut/__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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/clip/modeling_flax_clip.py
# coding=utf-8 # Copyright 2021 The OpenAI Team Authors, The Google Flax Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache....
# coding=utf-8 # Copyright 2021 The OpenAI Team Authors, The Google Flax Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache....
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/generation/flax_utils.py
# coding=utf-8 # Copyright 2021 The Google AI Flax Team Authors, and The HuggingFace Inc. team. # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy o...
# coding=utf-8 # Copyright 2021 The Google AI Flax Team Authors, and The HuggingFace Inc. team. # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy o...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/generation/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/utils/test_offline.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/albert/test_tokenization_albert.py
# coding=utf-8 # Copyright 2019 Hugging Face inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
# coding=utf-8 # Copyright 2019 Hugging Face inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/hubert/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/roformer/tokenization_roformer_fast.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/deit/convert_deit_timm_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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/pytorch/text-generation/run_generation_contrastive_search.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 University of Cambridge, Tencent AI Lab, DeepMind and The University of Hong Kong 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 th...
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 University of Cambridge, Tencent AI Lab, DeepMind and The University of Hong Kong 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 th...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/rembert/modeling_rembert.py
# coding=utf-8 # Copyright 2021 The HuggingFace Team 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 The HuggingFace Team 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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/legacy/pytorch-lightning/lightning_base.py
import argparse import logging import os from pathlib import Path from typing import Any, Dict import pytorch_lightning as pl from pytorch_lightning.utilities import rank_zero_info from transformers import ( AdamW, AutoConfig, AutoModel, AutoModelForPreTraining, AutoModelForQuestionAnswering, ...
import argparse import logging import os from pathlib import Path from typing import Any, Dict import pytorch_lightning as pl from pytorch_lightning.utilities import rank_zero_info from transformers import ( AdamW, AutoConfig, AutoModel, AutoModelForPreTraining, AutoModelForQuestionAnswering, ...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/mobilevit/test_modeling_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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/beit/test_modeling_beit.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/ibert/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/mctct/test_processor_mctct.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/pipelines/test_pipelines_text2text_generation.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/donut/configuration_donut_swin.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/longt5/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./.git/objects/ee/2482b6f8eca320f1eff112673adae215dbc927
xuRɎ@̙h)DVbnh&mߚfY`$פNOWŪZ"QhX j"%Țb@(&KBMyT CB鐉(Rj,0L(LzoӊhF%Ӓe aT-)hvΪ'5]DX#q06=/eţ|K69KĴ%XY+6^ˆaaڹոlBMsu۽a`9 œӭg=hSt 8<[fa83c[͎+[U5Y烹nGn ]G7ݦ/vDbTiu1;d$݊ڶt~Uyu4Hy Fzz\k uَO2TP¶&NgMg<sDf?s`=\z(si믿jw)٧7f\BXiUIvX`z y`\<:E|?!ůxuL;1ab%zQ.MVgIH*̗3
xuRɎ@̙h)DVbnh&mߚfY`$פNOWŪZ"QhX j"%Țb@(&KBMyT CB鐉(Rj,0L(LzoӊhF%Ӓe aT-)hvΪ'5]DX#q06=/eţ|K69KĴ%XY+6^ˆaaڹոlBMsu۽a`9 œӭg=hSt 8<[fa83c[͎+[U5Y烹nGn ]G7ݦ/vDbTiu1;d$݊ڶt~Uyu4Hy Fzz\k uَO2TP¶&NgMg<sDf?s`=\z(si믿jw)٧7f\BXiUIvX`z y`\<:E|?!ůxuL;1ab%zQ.MVgIH*̗3
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/clipseg/configuration_clipseg.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/legacy/seq2seq/save_len_file.py
#!/usr/bin/env python # 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...
#!/usr/bin/env python # 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...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/openai/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/pytorch/speech-pretraining/requirements.txt
datasets >= 1.12.0 torch >= 1.5 torchaudio accelerate >= 0.12.0 librosa
datasets >= 1.12.0 torch >= 1.5 torchaudio accelerate >= 0.12.0 librosa
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/wav2vec2_conformer/__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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/clip/convert_clip_original_pytorch_to_hf.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/rag/test_retrieval_rag.py
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./docs/source/en/model_doc/fnet.mdx
<!--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 applicable law or agreed...
<!--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 applicable law or agreed...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/bloom/tokenization_bloom_fast.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./docker/transformers-pytorch-gpu/Dockerfile
FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 LABEL maintainer="Hugging Face" ARG DEBIAN_FRONTEND=noninteractive RUN apt update RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg RUN python3 -m pip install --no-cache-dir --upgrade pip ARG REF=main RUN git clone https://githu...
FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 LABEL maintainer="Hugging Face" ARG DEBIAN_FRONTEND=noninteractive RUN apt update RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg RUN python3 -m pip install --no-cache-dir --upgrade pip ARG REF=main RUN git clone https://githu...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/convbert/convert_convbert_original_tf1_checkpoint_to_pytorch_and_tf2.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/tapas/test_modeling_tapas.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/unispeech_sat/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/research_projects/zero-shot-distillation/distill_classifier.py
import logging import os import sys from dataclasses import dataclass, field from typing import List, Optional import torch from datasets import Dataset from torch import nn from tqdm.auto import tqdm from transformers import ( AutoModelForSequenceClassification, AutoTokenizer, HfArgumentParser, Train...
import logging import os import sys from dataclasses import dataclass, field from typing import List, Optional import torch from datasets import Dataset from torch import nn from tqdm.auto import tqdm from transformers import ( AutoModelForSequenceClassification, AutoTokenizer, HfArgumentParser, Train...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/deberta/__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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/esm/modeling_esmfold.py
# coding=utf-8 # Copyright 2022 Meta and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
# coding=utf-8 # Copyright 2022 Meta and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/utils/test_file_utils.py
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# 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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/esm/modeling_esm.py
# coding=utf-8 # Copyright 2022 Meta and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
# coding=utf-8 # Copyright 2022 Meta and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/bloom/__init__.py
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/data/processors/__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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/electra/tokenization_electra.py
# coding=utf-8 # Copyright 2020 The Google AI Team, Stanford University 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/L...
# coding=utf-8 # Copyright 2020 The Google AI Team, Stanford University 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/L...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./.git/objects/1f/434df347b620d89cca7cf5f51b94060f78d9da
x[[wFg<(NUb9֌#Ht29&4@&$v6/@wWW׽ 4᳽=_ŦLJx)śzH(b,U(T$%JdHMb)9u6b1#},Ugb?]% lZJJD<Iw,*d"WEDM%oc O#/6"DT1UUކ#b7GQoO>>8a^>K\'%:݈>q4it+RDRb 2@PJ $gdZW[28?2]@|utqrOo޽ϏN'ݹ髓ɻS<G? R'!uB '$ƹE-XkYf8(dJ1SJUREi$Av2`ļW$R2;}{!D) ]OCp|7Qfi;]%M3E\ʨҧ7og:M)fB)SAʦ%i)h%gbˁg.bO...
x[[wFg<(NUb9֌#Ht29&4@&$v6/@wWW׽ 4᳽=_ŦLJx)śzH(b,U(T$%JdHMb)9u6b1#},Ugb?]% lZJJD<Iw,*d"WEDM%oc O#/6"DT1UUކ#b7GQoO>>8a^>K\'%:݈>q4it+RDRb 2@PJ $gdZW[28?2]@|utqrOo޽ϏN'ݹ髓ɻS<G? R'!uB '$ƹE-XkYf8(dJ1SJUREi$Av2`ļW$R2;}{!D) ]OCp|7Qfi;]%M3E\ʨҧ7og:M)fB)SAʦ%i)h%gbˁg.bO...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/owlvit/configuration_owlvit.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/barthez/test_tokenization_barthez.py
# coding=utf-8 # Copyright 2020 Ecole Polytechnique and HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
# coding=utf-8 # Copyright 2020 Ecole Polytechnique and HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./tests/models/segformer/test_modeling_segformer.py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./docs/source/en/bertology.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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/research_projects/layoutlmv3/requirements.txt
datasets seqeval pillow
datasets seqeval pillow
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/perceiver/configuration_perceiver.py
# coding=utf-8 # Copyright Deepmind and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
# coding=utf-8 # Copyright Deepmind and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./docs/source/en/model_doc/gptj.mdx
<!--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 applicable law or agreed...
<!--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 applicable law or agreed...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./Makefile
.PHONY: deps_table_update modified_only_fixup extra_style_checks quality style fixup fix-copies test test-examples # make sure to test the local checkout in scripts and not the pre-installed one (don't use quotes!) export PYTHONPATH = src check_dirs := examples tests src utils modified_only_fixup: $(eval modified_p...
.PHONY: deps_table_update modified_only_fixup extra_style_checks quality style fixup fix-copies test test-examples # make sure to test the local checkout in scripts and not the pre-installed one (don't use quotes!) export PYTHONPATH = src check_dirs := examples tests src utils modified_only_fixup: $(eval modified_p...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/pytorch/token-classification/README.md
<!--- 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 ...
<!--- 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 ...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/research_projects/bertabs/modeling_bertabs.py
# MIT License # Copyright (c) 2019 Yang Liu and the HuggingFace team # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, c...
# MIT License # Copyright (c) 2019 Yang Liu and the HuggingFace team # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, c...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/m2m_100/configuration_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,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./docs/source/en/perf_train_cpu_many.mdx
<!--Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
<!--Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./src/transformers/models/clip/tokenization_clip_fast.py
# coding=utf-8 # Copyright 2021 The Open AI Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
# coding=utf-8 # Copyright 2021 The Open AI Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./examples/research_projects/layoutlmv3/README.md
<!--- Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
<!--- Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
-1
huggingface/transformers
20,229
Add AutoBackbone + ResNetBackbone
# What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProcessor, AutoBackbone import torch ...
NielsRogge
2022-11-15T10:53:46Z
2022-11-17T14:43:20Z
904ac21020c1b178940abea70306988e543db60b
6b217c52e626729bd5de7142358dbaf67402bb40
Add AutoBackbone + ResNetBackbone. # What does this PR do? As #20204 is a big PR, this PR adds a part of it as a standalone PR. This PR adds the AutoBackbone class, along with one example class that it supports, namely ResNetBackbone. ## Usage Usage is as follows: ``` from transformers import AutoImageProc...
./docs/source/en/model_doc/cpm.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/en/main_classes/text_generation.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/__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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/generation/__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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/utils/__init__.py
#!/usr/bin/env python # coding=utf-8 # 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 Inc. team. All rights reserved. # # Licensed under the Apache License, Version...
#!/usr/bin/env python # coding=utf-8 # 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 Inc. team. All rights reserved. # # Licensed under the Apache License, Version...
1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./utils/documentation_tests.txt
docs/source/en/quicktour.mdx docs/source/es/quicktour.mdx docs/source/en/pipeline_tutorial.mdx docs/source/en/autoclass_tutorial.mdx docs/source/en/task_summary.mdx docs/source/en/model_doc/markuplm.mdx docs/source/en/model_doc/speech_to_text.mdx docs/source/en/model_doc/switch_transformers.mdx docs/source/en/model_doc...
docs/source/en/quicktour.mdx docs/source/es/quicktour.mdx docs/source/en/pipeline_tutorial.mdx docs/source/en/autoclass_tutorial.mdx docs/source/en/task_summary.mdx docs/source/en/model_doc/markuplm.mdx docs/source/en/model_doc/speech_to_text.mdx docs/source/en/model_doc/switch_transformers.mdx docs/source/en/model_doc...
1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/bert/test_modeling_bert.py
# coding=utf-8 # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
# coding=utf-8 # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/openai/test_modeling_openai.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/owlvit/test_processor_owlvit.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./examples/legacy/token-classification/scripts/preprocess.py
import sys from transformers import AutoTokenizer dataset = sys.argv[1] model_name_or_path = sys.argv[2] max_len = int(sys.argv[3]) subword_len_counter = 0 tokenizer = AutoTokenizer.from_pretrained(model_name_or_path) max_len -= tokenizer.num_special_tokens_to_add() with open(dataset, "rt") as f_p: for line i...
import sys from transformers import AutoTokenizer dataset = sys.argv[1] model_name_or_path = sys.argv[2] max_len = int(sys.argv[3]) subword_len_counter = 0 tokenizer = AutoTokenizer.from_pretrained(model_name_or_path) max_len -= tokenizer.num_special_tokens_to_add() with open(dataset, "rt") as f_p: for line i...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./examples/legacy/seq2seq/old_test_fsmt_bleu_score.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/owlvit/convert_owlvit_original_flax_to_hf.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/perceiver/__init__.py
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/lilt/configuration_lilt.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/funnel/test_modeling_tf_funnel.py
# coding=utf-8 # Copyright 2020 HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
# coding=utf-8 # Copyright 2020 HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/en/main_classes/deepspeed.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./examples/pytorch/audio-classification/requirements.txt
datasets>=1.14.0 evaluate librosa torchaudio torch>=1.6
datasets>=1.14.0 evaluate librosa torchaudio torch>=1.6
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/x_clip/test_modeling_x_clip.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/en/model_doc/xlm.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/deit/test_feature_extraction_deit.py
# coding=utf-8 # Copyright 2021 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
# coding=utf-8 # Copyright 2021 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/es/custom_models.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/en/model_doc/blenderbot-small.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/unispeech/convert_unispeech_original_pytorch_checkpoint_to_pytorch.py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/mobilevit/feature_extraction_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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/es/installation.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 ...
<!--- Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/en/model_doc/auto.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/canine/test_modeling_canine.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/mobilebert/__init__.py
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/regnet/configuration_regnet.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./docs/source/en/add_new_pipeline.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/blenderbot_small/tokenization_blenderbot_small_fast.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/...
# 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/...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/bert_generation/__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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/decision_transformer/configuration_decision_transformer.py
# coding=utf-8 # Copyright 2022 The HuggingFace Team and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
# coding=utf-8 # Copyright 2022 The HuggingFace Team and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/whisper/modeling_tf_whisper.py
# coding=utf-8 # Copyright 2022 The OpenAI 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/L...
# coding=utf-8 # Copyright 2022 The OpenAI 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/L...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./tests/models/vilt/test_modeling_vilt.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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./examples/research_projects/codeparrot/scripts/minhash_deduplication.py
import json import multiprocessing as mp import re from collections import defaultdict from functools import partial from typing import Dict, List, Optional, Set, Tuple, Type from datasets import Dataset from tqdm import tqdm from datasketch import MinHash, MinHashLSH from dpu_utils.utils.iterators import ThreadedIte...
import json import multiprocessing as mp import re from collections import defaultdict from functools import partial from typing import Dict, List, Optional, Set, Tuple, Type from datasets import Dataset from tqdm import tqdm from datasketch import MinHash, MinHashLSH from dpu_utils.utils.iterators import ThreadedIte...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/yoso/__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,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}/configuration.json
{ "modelname": "{{cookiecutter.modelname}}", "uppercase_modelname": "{{cookiecutter.uppercase_modelname}}", "lowercase_modelname": "{{cookiecutter.lowercase_modelname}}", "camelcase_modelname": "{{cookiecutter.camelcase_modelname}}", "authors": "{{cookiecutter.authors}}", "checkpoint_identifier": "{{cookiec...
{ "modelname": "{{cookiecutter.modelname}}", "uppercase_modelname": "{{cookiecutter.uppercase_modelname}}", "lowercase_modelname": "{{cookiecutter.lowercase_modelname}}", "camelcase_modelname": "{{cookiecutter.camelcase_modelname}}", "authors": "{{cookiecutter.authors}}", "checkpoint_identifier": "{{cookiec...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./src/transformers/models/data2vec/convert_data2vec_audio_original_pytorch_checkpoint_to_pytorch.py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./.git/objects/e0/c913cb364c2416f2ef2c00f69abb23d232642a
x]mWF"g1 dM$Ά07 &,G[2d+ɀò>U-u˲apwWWW[WWqz!v˭Zt%ެ;_t:Ϣe!vvve ~b ]Q][Gh$y0dd@ݩ?-~<JnupT әs@D80"JdG~o⒧Q@EH/ }E_0ˢ>vonn\ul܍R`pa6<YYasOп#L,@[7YT`maqgEyE"Z gX  xDmhd?Gbdpx^݃_OmTؓv@2"2#q@.Ihi0hu%?8 D9mfFG rk0aS?;9O`0K'b0< kR~%{)wy[E)akܟׯϻGAĞ[#p_޾N~<8vl9_...
x]mWF"g1 dM$Ά07 &,G[2d+ɀò>U-u˲apwWWW[WWqz!v˭Zt%ެ;_t:Ϣe!vvve ~b ]Q][Gh$y0dd@ݩ?-~<JnupT әs@D80"JdG~o⒧Q@EH/ }E_0ˢ>vonn\ul܍R`pa6<YYasOп#L,@[7YT`maqgEyE"Z gX  xDmhd?Gbdpx^݃_OmTؓv@2"2#q@.Ihi0hu%?8 D9mfFG rk0aS?;9O`0K'b0< kR~%{)wy[E)akܟׯϻGAĞ[#p_޾N~<8vl9_...
-1
huggingface/transformers
20,218
Generate: add generation config class
# What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, which matches this implementation. Thr...
gante
2022-11-14T19:59:29Z
2022-11-21T13:30:16Z
8503cc755050c6ed5bc771e3244c29b71be1841e
3de07473da448d207eaed331e3b690eac9fc0d88
Generate: add generation config class. # What does this PR do? Adds the class that handles generation configurations. From this class, we can then start working on the interaction with other parts of the Hugging Face 🤗 ecosystem. See https://github.com/huggingface/transformers/issues/18655 for the original plan, wh...
./examples/pytorch/conftest.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