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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/whisper/test_processor_whisper.py
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./utils/test_module/__init__.py
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/trocr/__init__.py
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/file_utils.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/data2vec/test_modeling_data2vec_vision.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
# 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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/segformer/test_modeling_tf_segformer.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/legacy/seq2seq/download_wmt.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/longt5/convert_longt5x_checkpoint_to_flax.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/auto/test_modeling_tf_auto.py
# coding=utf-8 # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
# coding=utf-8 # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/nystromformer/__init__.py
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/mbart/modeling_flax_mbart.py
# coding=utf-8 # Copyright 2021, The Facebook AI Research 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.or...
# coding=utf-8 # Copyright 2021, The Facebook AI Research 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.or...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/research_projects/longform-qa/eli5_utils.py
import functools import math import os # noqa: F401 from random import choice, randint from time import time import datasets # noqa: F401 import numpy as np import pandas as pd import torch import torch.utils.checkpoint as checkpoint from elasticsearch import Elasticsearch # noqa: F401 from elasticsearch.helpers im...
import functools import math import os # noqa: F401 from random import choice, randint from time import time import datasets # noqa: F401 import numpy as np import pandas as pd import torch import torch.utils.checkpoint as checkpoint from elasticsearch import Elasticsearch # noqa: F401 from elasticsearch.helpers im...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/wav2vec2/tokenization_wav2vec2.py
# coding=utf-8 # Copyright 2021 The Facebook Inc. and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
# coding=utf-8 # Copyright 2021 The Facebook Inc. and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/modeling_flax_outputs.py
# Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/speech_to_text_2/tokenization_speech_to_text_2.py
# coding=utf-8 # Copyright 2021 The Facebook Inc. and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
# coding=utf-8 # Copyright 2021 The Facebook Inc. and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/opt/modeling_flax_opt.py
# coding=utf-8 # Copyright 2022 The Fairseq Authors and The Google Flax Team Authors And The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
# coding=utf-8 # Copyright 2022 The Fairseq Authors and The Google Flax Team Authors And The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/deberta_v2/tokenization_deberta_v2_fast.py
# coding=utf-8 # Copyright 2020 Microsoft and the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
# coding=utf-8 # Copyright 2020 Microsoft and the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/auto/__init__.py
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/nystromformer/__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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/videomae/modeling_videomae.py
# coding=utf-8 # Copyright 2022 Multimedia Computing Group, Nanjing University and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
# coding=utf-8 # Copyright 2022 Multimedia Computing Group, Nanjing University and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/m2m_100/convert_m2m100_original_checkpoint_to_pytorch.py
# 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/LICENSE-2.0 # #...
# 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/LICENSE-2.0 # #...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/utils/test_cli.py
# coding=utf-8 # Copyright 2019-present, the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
# coding=utf-8 # Copyright 2019-present, the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/unispeech_sat/__init__.py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2021 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docker/transformers-pytorch-tpu/docker-entrypoint.sh
#!/bin/bash source ~/.bashrc echo "running docker-entrypoint.sh" conda activate container echo $KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS echo "printed TPU info" export XRT_TPU_CONFIG="tpu_worker;0;${KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS:7}" exec "$@"#!/bin/bash
#!/bin/bash source ~/.bashrc echo "running docker-entrypoint.sh" conda activate container echo $KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS echo "printed TPU info" export XRT_TPU_CONFIG="tpu_worker;0;${KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS:7}" exec "$@"#!/bin/bash
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/bert_generation/test_tokenization_bert_generation.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/encoder_decoder/configuration_encoder_decoder.py
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/research_projects/wav2vec2/requirements.txt
transformers datasets torch>=1.5.0 torchaudio jiwer==2.2.0 lang-trans==0.6.0 librosa==0.8.0
transformers datasets torch>=1.5.0 torchaudio jiwer==2.2.0 lang-trans==0.6.0 librosa==0.8.0
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docs/source/en/model_doc/table-transformer.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./utils/check_table.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docs/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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/switch_transformers/__init__.py
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/levit/image_processing_levit.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/pytorch/question-answering/trainer_seq2seq_qa.py
# coding=utf-8 # Copyright 2021 The HuggingFace Team All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
# coding=utf-8 # Copyright 2021 The HuggingFace Team All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./tests/models/layoutlmv3/test_processor_layoutlmv3.py
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# 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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docs/source/en/model_doc/trocr.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docs/source/de/model_sharing.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docs/source/en/contributing.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/tensorflow/language-modeling/README.md
<!--- 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 ...
<!--- 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 ...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/research_projects/fsner/src/fsner/__init__.py
from .model import FSNERModel from .tokenizer_utils import FSNERTokenizerUtils __all__ = ["FSNERModel", "FSNERTokenizerUtils"]
from .model import FSNERModel from .tokenizer_utils import FSNERTokenizerUtils __all__ = ["FSNERModel", "FSNERTokenizerUtils"]
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/swin/convert_swin_simmim_to_pytorch.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/convert_slow_tokenizers_checkpoints_to_fast.py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/pytorch/_tests_requirements.txt
tensorboard scikit-learn seqeval psutil sacrebleu >= 1.4.12 git+https://github.com/huggingface/accelerate@main#egg=accelerate rouge-score tensorflow_datasets matplotlib git-python==1.0.3 faiss-cpu streamlit elasticsearch nltk pandas datasets >= 1.13.3 fire pytest conllu sentencepiece != 0.1.92 protobuf torchvision jiwe...
tensorboard scikit-learn seqeval psutil sacrebleu >= 1.4.12 git+https://github.com/huggingface/accelerate@main#egg=accelerate rouge-score tensorflow_datasets matplotlib git-python==1.0.3 faiss-cpu streamlit elasticsearch nltk pandas datasets >= 1.13.3 fire pytest conllu sentencepiece != 0.1.92 protobuf torchvision jiwe...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./docs/source/en/perf_infer_gpu_one.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,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/legacy/token-classification/README.md
## Token classification Based on the scripts [`run_ner.py`](https://github.com/huggingface/transformers/blob/main/examples/legacy/token-classification/run_ner.py). The following examples are covered in this section: * NER on the GermEval 2014 (German NER) dataset * Emerging and Rare Entities task: WNUT’17 (English N...
## Token classification Based on the scripts [`run_ner.py`](https://github.com/huggingface/transformers/blob/main/examples/legacy/token-classification/run_ner.py). The following examples are covered in this section: * NER on the GermEval 2014 (German NER) dataset * Emerging and Rare Entities task: WNUT’17 (English N...
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./examples/research_projects/distillation/training_configs/distilbert-base-cased.json
{ "activation": "gelu", "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "initializer_range": 0.02, "max_position_embeddings": 512, "n_heads": 12, "n_layers": 6, "sinusoidal_pos_embds": true, "tie_weights_": true, "vocab_size": 28996 }
{ "activation": "gelu", "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "initializer_range": 0.02, "max_position_embeddings": 512, "n_heads": 12, "n_layers": 6, "sinusoidal_pos_embds": true, "tie_weights_": true, "vocab_size": 28996 }
-1
huggingface/transformers
20,231
TF: add test for `PushToHubCallback`
# What does this PR do? Adds a test to TF's `PushToHubCallback`
gante
2022-11-15T11:26:03Z
2022-11-17T12:33:44Z
3a780cc57a7c1dc79a1bb0f787d0887adfbc6ab0
2062c28552319c2e637f4b6b467bd82ce8bfdd8e
TF: add test for `PushToHubCallback`. # What does this PR do? Adds a test to TF's `PushToHubCallback`
./src/transformers/models/transfo_xl/__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/__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/modeling_outputs.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/auto/__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/auto/modeling_auto.py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
1
huggingface/transformers
20,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/resnet/__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/resnet/configuration_resnet.py
# coding=utf-8 # Copyright 2022 Microsoft Research, 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/lice...
# coding=utf-8 # Copyright 2022 Microsoft Research, 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/lice...
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/resnet/modeling_resnet.py
# coding=utf-8 # Copyright 2022 Microsoft Research, 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/lice...
# coding=utf-8 # Copyright 2022 Microsoft Research, 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/lice...
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/utils/dummy_pt_objects.py
# This file is autogenerated by the command `make fix-copies`, do not edit. # flake8: noqa from ..utils import DummyObject, requires_backends class PyTorchBenchmark(metaclass=DummyObject): _backends = ["torch"] def __init__(self, *args, **kwargs): requires_backends(self, ["torch"]) class PyTorchBen...
# This file is autogenerated by the command `make fix-copies`, do not edit. # flake8: noqa from ..utils import DummyObject, requires_backends class PyTorchBenchmark(metaclass=DummyObject): _backends = ["torch"] def __init__(self, *args, **kwargs): requires_backends(self, ["torch"]) class PyTorchBen...
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/resnet/test_modeling_resnet.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...
./utils/check_repo.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...
./src/transformers/models/vit/modeling_vit.py
# coding=utf-8 # Copyright 2021 Google AI, Ross Wightman, 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/license...
# coding=utf-8 # Copyright 2021 Google AI, Ross Wightman, 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/license...
-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/jax-projects/dataset-streaming/run_mlm_flax_stream.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Team All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Team All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
-1
huggingface/transformers
20,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/rag/__init__.py
import os import sys sys.path.insert(1, os.path.dirname(os.path.realpath(__file__)))
import os import sys sys.path.insert(1, os.path.dirname(os.path.realpath(__file__)))
-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/jax-projects/big_bird/prepare_natural_questions.py
import os import numpy as np from tqdm import tqdm import jsonlines DOC_STRIDE = 2048 MAX_LENGTH = 4096 SEED = 42 PROCESS_TRAIN = os.environ.pop("PROCESS_TRAIN", "false") CATEGORY_MAPPING = {"null": 0, "short": 1, "long": 2, "yes": 3, "no": 4} def _get_single_answer(example): def choose_first(answer, is_long_...
import os import numpy as np from tqdm import tqdm import jsonlines DOC_STRIDE = 2048 MAX_LENGTH = 4096 SEED = 42 PROCESS_TRAIN = os.environ.pop("PROCESS_TRAIN", "false") CATEGORY_MAPPING = {"null": 0, "short": 1, "long": 2, "yes": 3, "no": 4} def _get_single_answer(example): def choose_first(answer, is_long_...
-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/vit_mae/convert_vit_mae_to_pytorch.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,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_feature_extraction_mctct.py
# coding=utf-8 # Copyright 2022 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
# coding=utf-8 # Copyright 2022 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
-1
huggingface/transformers
20,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/sagemaker/conftest.py
# we define a fixture function below and it will be "used" by # referencing its name from tests import os import pytest from attr import dataclass os.environ["AWS_DEFAULT_REGION"] = "us-east-1" # defaults region @dataclass class SageMakerTestEnvironment: framework: str role = "arn:aws:iam::558105141721:...
# we define a fixture function below and it will be "used" by # referencing its name from tests import os import pytest from attr import dataclass os.environ["AWS_DEFAULT_REGION"] = "us-east-1" # defaults region @dataclass class SageMakerTestEnvironment: framework: str role = "arn:aws:iam::558105141721:...
-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/convert_pytorch_checkpoint_to_tf2.py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,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/big_bird/test_modeling_flax_big_bird.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/xglm/configuration_xglm.py
# coding=utf-8 # Copyright 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 requir...
# coding=utf-8 # Copyright 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 requir...
-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/esm/test_modeling_esm.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
-1
huggingface/transformers
20,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/question-answering/run_qa_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
-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/squeezebert/test_tokenization_squeezebert.py
# coding=utf-8 # Copyright 2020 The SqueezeBert 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 # # U...
# coding=utf-8 # Copyright 2020 The SqueezeBert 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 # # U...
-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/codeparrot/scripts/tests/__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/speech_to_text/test_modeling_tf_speech_to_text.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/training_args_seq2seq.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/led/tokenization_led_fast.py
# coding=utf-8 # Copyright 2021 Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
# coding=utf-8 # Copyright 2021 Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
-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/robust-speech-event/run_speech_recognition_ctc_streaming.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
-1
huggingface/transformers
20,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/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,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/dpr/configuration_dpr.py
# coding=utf-8 # Copyright 2010, DPR authors, The Hugging Face Team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
# coding=utf-8 # Copyright 2010, DPR authors, The Hugging Face Team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
-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/xglm/modeling_flax_xglm.py
# coding=utf-8 # Copyright 2021 The Fairseq Authors and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
# coding=utf-8 # Copyright 2021 The Fairseq Authors and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
-1
huggingface/transformers
20,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...
./scripts/fsmt/gen-card-facebook-wmt19.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/swin/__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/tf_utils.py
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# 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...
./src/transformers/models/clipseg/__init__.py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
-1
huggingface/transformers
20,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/gpt2/test_tokenization_gpt2.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,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/mt5/configuration_mt5.py
# coding=utf-8 # Copyright 2020, The T5 Authors and HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
# coding=utf-8 # Copyright 2020, The T5 Authors and HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
-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/convnext/test_modeling_convnext.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...
./src/transformers/models/wav2vec2/modeling_flax_wav2vec2.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...
./tests/models/xlm_prophetnet/__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/distillation/scripts/extract_distilbert.py
# coding=utf-8 # Copyright 2019-present, the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
# coding=utf-8 # Copyright 2019-present, the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
-1
huggingface/transformers
20,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/flava/__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/opt/convert_opt_original_pytorch_checkpoint_to_pytorch.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,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/blenderbot/test_modeling_tf_blenderbot.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/flava/modeling_flava.py
# coding=utf-8 # Copyright 2022 Meta Platforms authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
# coding=utf-8 # Copyright 2022 Meta Platforms authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LI...
-1
huggingface/transformers
20,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/activations.py
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
-1
huggingface/transformers
20,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/led/test_modeling_led.py
# coding=utf-8 # Copyright 2021 Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
# coding=utf-8 # Copyright 2021 Iz Beltagy, Matthew E. Peters, Arman Cohan and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
-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/swinv2/convert_swinv2_timm_to_pytorch.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
-1
huggingface/transformers
20,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/integrations.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/vision_text_dual_encoder/__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/flava/__init__.py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2022 Meta Platforms authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "Licen...
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2022 Meta Platforms authors and The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "Licen...
-1
huggingface/transformers
20,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/opt/configuration_opt.py
# coding=utf-8 # Copyright 2022 The Metaseq Authors and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
# coding=utf-8 # Copyright 2022 The Metaseq 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