url stringlengths 62 66 | repository_url stringclasses 1
value | labels_url stringlengths 76 80 | comments_url stringlengths 71 75 | events_url stringlengths 69 73 | html_url stringlengths 50 56 | id int64 377M 2.15B | node_id stringlengths 18 32 | number int64 1 29.2k | title stringlengths 1 487 | user dict | labels list | state stringclasses 2
values | locked bool 2
classes | assignee dict | assignees list | comments list | created_at int64 1.54k 1.71k | updated_at int64 1.54k 1.71k | closed_at int64 1.54k 1.71k ⌀ | author_association stringclasses 4
values | active_lock_reason stringclasses 2
values | body stringlengths 0 234k ⌀ | reactions dict | timeline_url stringlengths 71 75 | state_reason stringclasses 3
values | draft bool 2
classes | pull_request dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/transformers/issues/20785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20785/comments | https://api.github.com/repos/huggingface/transformers/issues/20785/events | https://github.com/huggingface/transformers/pull/20785 | 1,498,808,138 | PR_kwDOCUB6oc5FkOM- | 20,785 | Add test_image_processing_common.py | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,671 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
Creates an equivalent `test_feature_extraction_common.py` for image processors: `test_image_processing_common.py` and moves any vision and image processing specific logic to this file.
This is necessary for creating `ImageProcessingSavingTestMixin` in order to rename any feature extractor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20785/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20785",
"html_url": "https://github.com/huggingface/transformers/pull/20785",
"diff_url": "https://github.com/huggingface/transformers/pull/20785.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20785.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20784/comments | https://api.github.com/repos/huggingface/transformers/issues/20784/events | https://github.com/huggingface/transformers/pull/20784 | 1,498,734,854 | PR_kwDOCUB6oc5Fj-PI | 20,784 | Move convert_to_rgb to image_transforms module | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
Moves the `convert_to_rgb` function to `image_transforms` so all image processors can easily import it.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://gith... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20784/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20784",
"html_url": "https://github.com/huggingface/transformers/pull/20784",
"diff_url": "https://github.com/huggingface/transformers/pull/20784.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20784.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20783/comments | https://api.github.com/repos/huggingface/transformers/issues/20783/events | https://github.com/huggingface/transformers/issues/20783 | 1,498,701,927 | I_kwDOCUB6oc5ZVGBn | 20,783 | [Pipeline-asr] `batch_size` ignored when using a single file | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [
{
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,671 | 1,675 | 1,675 | COLLABORATOR | null | This is not a very important issue but when using the `asr` pipeline, if you give a single audio file that you want to `chunk`, and provide both a `batch_size` and `chunk_lenght_s`, the pipeline still runs sequentially.
Reproducing script :
```python
from transformers import pipeline
from datasets import loa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20782/comments | https://api.github.com/repos/huggingface/transformers/issues/20782/events | https://github.com/huggingface/transformers/issues/20782 | 1,498,692,413 | I_kwDOCUB6oc5ZVDs9 | 20,782 | Do not Preload a Deep Learning Framework | {
"login": "daskol",
"id": 9336514,
"node_id": "MDQ6VXNlcjkzMzY1MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9336514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daskol",
"html_url": "https://github.com/daskol",
"followers_url": "https://api.github.com/users/daskol/foll... | [] | closed | false | null | [] | [
"Those environment variable exist, but Transformers also only imports the frameworks as needed, they are named `USE_TF`, `USE_TORCH` and `USE_JAX`.",
"Many thanks!\r\n\r\nAre they described somewhere in documentation? I didn't manage to find them. Is it possible to add `HF_` prefix to be consistent with `HF_HOME`... | 1,671 | 1,674 | 1,674 | NONE | null | ### Feature request
I need some toggle (say envvar `HF_FRAMEWORK` or configuration option `transformers.config.framework`) or runtime check on importing `transformers` in order not to import `tensorflow`, `torch`, and `flax` simulteneously.
### Motivation
At the moment `transformers ` package imports all deep learni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20782/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20781/comments | https://api.github.com/repos/huggingface/transformers/issues/20781/events | https://github.com/huggingface/transformers/issues/20781 | 1,498,561,637 | I_kwDOCUB6oc5ZUjxl | 20,781 | [Tokenizers] Missmatch between fast and slow | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
},
{
... | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Thanks for reporting.\r\n\r\n- `tokenizers` CAN do warnings (although I was under the impression there was an effort to reduce warnings.).\r\n- In my personal opinion, raising an Exception is better when OOV than silently ignoring. That being said, it would be a massive breaking change, so I'm hesitant to \"fix\" ... | 1,671 | 1,674 | 1,674 | COLLABORATOR | null | When I worked on the implementation of Whisper I realised that two different behaviors appear when you use a `fast` or `slow` tokenizer and have a OOV.
Simple snippet :
```python
>>> from transformers import GPT2Tokenizer, GPT2TokenizerFast
>>> fast = GPT2TokenizerFast.from_pretrained("gpt2")
>>> slow = GPT2Token... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20781/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20781/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20780/comments | https://api.github.com/repos/huggingface/transformers/issues/20780/events | https://github.com/huggingface/transformers/pull/20780 | 1,498,425,370 | PR_kwDOCUB6oc5Fi7CA | 20,780 | Vilt - use image_transforms pad | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
When Vilt was first implemented, image transforms library didn't have `pad` implemented. This PR removes the old pad implementation in `image_processing_vilt.py` and uses the standard library.
It also adds some missing `# Copied from ` statements that apply to other module level functiona... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20780/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20780",
"html_url": "https://github.com/huggingface/transformers/pull/20780",
"diff_url": "https://github.com/huggingface/transformers/pull/20780.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20780.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20779/comments | https://api.github.com/repos/huggingface/transformers/issues/20779/events | https://github.com/huggingface/transformers/issues/20779 | 1,498,400,160 | I_kwDOCUB6oc5ZT8Wg | 20,779 | How to reset dataloader or global_step for continued training? | {
"login": "ajesujoba",
"id": 12751379,
"node_id": "MDQ6VXNlcjEyNzUxMzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/12751379?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ajesujoba",
"html_url": "https://github.com/ajesujoba",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"if the continued training stops on `B` due to GPU limit, how do I ensure that when I try to continue training on `B`, it has the right data index to start from?\r\n",
"Please use the [forums](https://discuss.huggingface.co/) for questions like this, as we keep issues for bugs and feature requests only. ",
"Thi... | 1,671 | 1,674 | 1,674 | NONE | null | I have finetuned MT5-base model for machine translation task on a corpus `A` and I would want to swap the dataset and continue training on corpus `B` (this is not finetuning but a form of continued training), and force the dataloader to start afresh instead of continuing from the point where it stopped previously on co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20779/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20778/comments | https://api.github.com/repos/huggingface/transformers/issues/20778/events | https://github.com/huggingface/transformers/pull/20778 | 1,498,274,285 | PR_kwDOCUB6oc5FiZi1 | 20,778 | [Pipeline] fix failing bloom `pipeline` test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20778). All of your documentation changes will be reflected on that endpoint."
] | 1,671 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the `pipeline` test: `tests/pipelines/test_pipelines_text_generation.py::TextGenerationPipelineTests::test_small_model_pt_bloom_accelerate`
- Link to failing job: https://github.com/huggingface/transformers/actions/runs/3691174891/jobs/6248989365
- Why this fix is relevant?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20778/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20778/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20778",
"html_url": "https://github.com/huggingface/transformers/pull/20778",
"diff_url": "https://github.com/huggingface/transformers/pull/20778.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20778.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20777/comments | https://api.github.com/repos/huggingface/transformers/issues/20777/events | https://github.com/huggingface/transformers/pull/20777 | 1,498,203,196 | PR_kwDOCUB6oc5FiKD4 | 20,777 | Install video dependency for pipeline CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
PR #20151 added video classification pipeline, which requires video dependency (`decord`). It is not currently installed in the CI image used for Pipeline CI - so we have failure.
This PR adds the dependency (same as in CircleCI). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20777/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20777/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20777",
"html_url": "https://github.com/huggingface/transformers/pull/20777",
"diff_url": "https://github.com/huggingface/transformers/pull/20777.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20777.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20776/comments | https://api.github.com/repos/huggingface/transformers/issues/20776/events | https://github.com/huggingface/transformers/pull/20776 | 1,498,194,816 | PR_kwDOCUB6oc5FiIPI | 20,776 | Fixing object detection with layoutlm. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20776). All of your documentation changes will be reflected on that endpoint."
] | 1,671 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
Fixes the slow test by making sure we're loading the FeatureExtractor.
`LayoutLM` doesn't have a `FeatureExtractor` while `LayoutLMV2` does and this repo uses a combination of both.
Putting `LayoutLM` in the MULTI_MODAL config enables the pipeline to load `feature_extractor` regardless ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20776/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20776",
"html_url": "https://github.com/huggingface/transformers/pull/20776",
"diff_url": "https://github.com/huggingface/transformers/pull/20776.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20776.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20775/comments | https://api.github.com/repos/huggingface/transformers/issues/20775/events | https://github.com/huggingface/transformers/pull/20775 | 1,497,739,031 | PR_kwDOCUB6oc5FgljJ | 20,775 | Add BridgeTower model | {
"login": "abhiwand",
"id": 12353176,
"node_id": "MDQ6VXNlcjEyMzUzMTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/12353176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhiwand",
"html_url": "https://github.com/abhiwand",
"followers_url": "https://api.github.com/users/abh... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for the model here https://moon-ci-docs.huggingface.co/docs/transformers/pr_20775/en/model_doc/bridgetower\r\nshow up under Text Models. This needs to be under **Multimodal Models**. Can someone please assist?",
"Thanks a ... | 1,671 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
This PR implements a HuggingFace Transformers version of **BridgeTower: Building Bridges Between Encoders in Vision-Language Representation Learning** from the paper https://arxiv.org/abs/2206.08657.pdf
This paper has been accepted to https://aaai.org/Conferences/AAAI-23/
The model's pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20775/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20775/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20775",
"html_url": "https://github.com/huggingface/transformers/pull/20775",
"diff_url": "https://github.com/huggingface/transformers/pull/20775.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20775.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20774/comments | https://api.github.com/repos/huggingface/transformers/issues/20774/events | https://github.com/huggingface/transformers/pull/20774 | 1,497,679,701 | PR_kwDOCUB6oc5FgZAE | 20,774 | Enable PyTorch/XLA Fully Sharded Data Parallel (FSDP) for a Specific Class of Transformer Models | {
"login": "AlexWertheim",
"id": 90242206,
"node_id": "MDQ6VXNlcjkwMjQyMjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/90242206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexWertheim",
"html_url": "https://github.com/AlexWertheim",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20774). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,671 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
This PR enables the user to make use of the [PyTorch/XLA implementation of FSDP](https://github.com/pytorch/xla/tree/master/torch_xla/distributed/fsdp). Three arguments have been added to `training_args.py` to facilitate this functionality:
- `xla_fsdp`: this flag is a string containing th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20774/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20774",
"html_url": "https://github.com/huggingface/transformers/pull/20774",
"diff_url": "https://github.com/huggingface/transformers/pull/20774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20774.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20773/comments | https://api.github.com/repos/huggingface/transformers/issues/20773/events | https://github.com/huggingface/transformers/issues/20773 | 1,497,677,451 | I_kwDOCUB6oc5ZRL6L | 20,773 | trainer.save_model load error | {
"login": "oosij",
"id": 94098546,
"node_id": "U_kgDOBZvUcg",
"avatar_url": "https://avatars.githubusercontent.com/u/94098546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oosij",
"html_url": "https://github.com/oosij",
"followers_url": "https://api.github.com/users/oosij/followers",
... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to help debug your code. Happy to help here when you have a short reproducer, but otherwise we keep issues for bugs and feature requests only.",
"Hi @oosij, this is a very annoying issue from the HF implementation of the id2label management. The model will... | 1,671 | 1,674 | 1,674 | NONE | null | reference code : https://github.com/bhadreshpsavani/UnderstandingNLP/blob/master/go_emotion_of_transformers_multilabel_text_classification_v2.ipynb
----
----> 6 save_model ='./model/emotion'
----> 7 trainer.save_model(save_model)
----> 8 load_model = AutoModel.from_pretrained(save_model)
4 frames
[/usr/local/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20772/comments | https://api.github.com/repos/huggingface/transformers/issues/20772/events | https://github.com/huggingface/transformers/issues/20772 | 1,497,385,332 | I_kwDOCUB6oc5ZQEl0 | 20,772 | OPT model sizes mismatch between code and webpage | {
"login": "chenho74",
"id": 108291492,
"node_id": "U_kgDOBnRlpA",
"avatar_url": "https://avatars.githubusercontent.com/u/108291492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenho74",
"html_url": "https://github.com/chenho74",
"followers_url": "https://api.github.com/users/chenho74/... | [] | closed | false | null | [] | [
"Hey! Basically the `1.7B` is now the `1.3b` and the `175B` is private and was not released by the META AI team. \r\nIf you want you can open a PR to just correct the model size 😉 ",
"Thanks for the clarification!"
] | 1,671 | 1,671 | 1,671 | NONE | null | ### System Info
N/A
### Who can help?
@ArthurZucker, @sgugger and @stevhliu
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Repr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20772/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20771/comments | https://api.github.com/repos/huggingface/transformers/issues/20771/events | https://github.com/huggingface/transformers/pull/20771 | 1,497,168,894 | PR_kwDOCUB6oc5FeomC | 20,771 | Install vision for TF pipeline tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
Install vision for TF pipeline tests | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20771",
"html_url": "https://github.com/huggingface/transformers/pull/20771",
"diff_url": "https://github.com/huggingface/transformers/pull/20771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20770/comments | https://api.github.com/repos/huggingface/transformers/issues/20770/events | https://github.com/huggingface/transformers/issues/20770 | 1,497,011,394 | I_kwDOCUB6oc5ZOpTC | 20,770 | [Trainer] Optimize the use of datasets.IterableDataset in distributed setup | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"It seems that `webdataset` also does this when you use `wds.split_by_node` and `wds.split_by_worker`, and is used to train clip or diffusion models at scale.",
"That would be awesome! I don't think I need more than an API to tell the iterable dataset that it should take care of the data on process i over n.\r\n\... | 1,671 | 1,676 | 1,676 | MEMBER | null | Right now the Trainer uses `IterableDatasetShard` to skip examples on each node and avoid ending up with duplicate data.
This is not efficient for vision or audio tasks since we waste I/O and CPU time reading and decoding files that are not used.
We consider implementing an optimized sharding for distributed traini... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20770/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20770/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20769/comments | https://api.github.com/repos/huggingface/transformers/issues/20769/events | https://github.com/huggingface/transformers/pull/20769 | 1,496,966,164 | PR_kwDOCUB6oc5Fd8Fc | 20,769 | Add Swin backbone | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
This PR adds Swin backbone, to be used with frameworks like OneFormer and UperNet.
Note: #20648 also included this but I'll add Swin backbone as a separate PR to make the other one smaller. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20769/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20769",
"html_url": "https://github.com/huggingface/transformers/pull/20769",
"diff_url": "https://github.com/huggingface/transformers/pull/20769.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20769.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20768/comments | https://api.github.com/repos/huggingface/transformers/issues/20768/events | https://github.com/huggingface/transformers/pull/20768 | 1,496,890,846 | PR_kwDOCUB6oc5FdrtF | 20,768 | Update tests: replace feature extractor tests with image processor | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
Replaces all feature extractor references with image processor references in the `test_image_processing_xxx.py` files
* `feature_extractor = XxxFeatureExtractor()` -> `image_processor = XxxImageProcessor`
Requires https://github.com/huggingface/transformers/pull/20785 in order to repl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20768/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20768/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20768",
"html_url": "https://github.com/huggingface/transformers/pull/20768",
"diff_url": "https://github.com/huggingface/transformers/pull/20768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20768.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20767/comments | https://api.github.com/repos/huggingface/transformers/issues/20767/events | https://github.com/huggingface/transformers/issues/20767 | 1,496,779,440 | I_kwDOCUB6oc5ZNwqw | 20,767 | Cache size limit for generation | {
"login": "Natooz",
"id": 56734983,
"node_id": "MDQ6VXNlcjU2NzM0OTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/56734983?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Natooz",
"html_url": "https://github.com/Natooz",
"followers_url": "https://api.github.com/users/Natooz/fo... | [] | closed | false | null | [] | [
"cc @gante but this might be a bitt too niche for us to incorporate in `generate`.",
"Hey @Natooz 👋 \r\n\r\nThank you for raising this issue! It may be helpful in some situations. However, since it is the first time I'm seeing a request for this, the answer depends on your implementation :) I'm on board if it co... | 1,671 | 1,674 | 1,674 | CONTRIBUTOR | null | ### Feature request
Add a `cache_limit` argument for `generate`, limiting the size of the cache (`past_key_values`).
### Motivation
In some contexts one might want to generate long sequences. When doing so, the system can easily run out of memory. Keeping the cache to a maximum size would allow users to have more co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20767/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20766/comments | https://api.github.com/repos/huggingface/transformers/issues/20766/events | https://github.com/huggingface/transformers/pull/20766 | 1,496,641,705 | PR_kwDOCUB6oc5Fc0a2 | 20,766 | Add Universal Segmentation class + mapping | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I think the error message is pretty clear on what to do. The model would also need to be added to the doc page of maskformer if we go through with this.\r\n\r\nI'm not convinced we should however. While adding a new auto-model API could make sense (I'd wait to have more than one model though), renaming the model c... | 1,671 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the `AutoModelForUniversalSegmentation` class and corresponding mapping. Models that can be added to this mapping include DETR, MaskFormer, Mask2Former and OneFormer.
To do:
- [x] update pipeline
@sgugger for some reason make fixup complains:
```
Traceback (most rece... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20766/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20766",
"html_url": "https://github.com/huggingface/transformers/pull/20766",
"diff_url": "https://github.com/huggingface/transformers/pull/20766.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20766.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20765/comments | https://api.github.com/repos/huggingface/transformers/issues/20765/events | https://github.com/huggingface/transformers/pull/20765 | 1,496,192,561 | PR_kwDOCUB6oc5FbP3U | 20,765 | Fix attribute error problem | {
"login": "casuallyName",
"id": 44667461,
"node_id": "MDQ6VXNlcjQ0NjY3NDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/44667461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/casuallyName",
"html_url": "https://github.com/casuallyName",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | CONTRIBUTOR | null | When the `use_legacy_prediction_loop` parameter is used , `Trainer.predict` will raise an error `AttributeError: 'PredictionOutput' object has no attribute 'num_samples'`
# What does this PR do?
1. Use `EvalLoopOutput` instead of original `PredictionOutput` of `self.prediction_loop`, this makes the return formats o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20765/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20765/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20765",
"html_url": "https://github.com/huggingface/transformers/pull/20765",
"diff_url": "https://github.com/huggingface/transformers/pull/20765.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20765.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20764/comments | https://api.github.com/repos/huggingface/transformers/issues/20764/events | https://github.com/huggingface/transformers/pull/20764 | 1,496,165,195 | PR_kwDOCUB6oc5FbJvl | 20,764 | Install torch-tensorrt 1.3.0 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
It turns out that the issue mentioned in #20758 could be fixed by installing newer version of `torch-tensorrt (1.3.0)` (the pre-installed one in the base image was `1.1.0a0`).
Notice that before our CI using torch 1.13.0, we didn't have `torch-tensorrt` installed in the docker image (for d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20764/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20764",
"html_url": "https://github.com/huggingface/transformers/pull/20764",
"diff_url": "https://github.com/huggingface/transformers/pull/20764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20763/comments | https://api.github.com/repos/huggingface/transformers/issues/20763/events | https://github.com/huggingface/transformers/pull/20763 | 1,496,141,385 | PR_kwDOCUB6oc5FbEbU | 20,763 | Fix bug in ChineseCLIPTextPooler | {
"login": "xiaohu2015",
"id": 16861194,
"node_id": "MDQ6VXNlcjE2ODYxMTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/16861194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaohu2015",
"html_url": "https://github.com/xiaohu2015",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi, @xiaohu2015! I think the pooling layer inside `ChineseCLIPTextModel` has nothing to do with the projection layer `text_projection` in ` ChineseCLIPModel`. And the model definition should be the one used by the model author which ... | 1,671 | 1,673 | 1,673 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20763/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20763",
"html_url": "https://github.com/huggingface/transformers/pull/20763",
"diff_url": "https://github.com/huggingface/transformers/pull/20763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20763.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20762/comments | https://api.github.com/repos/huggingface/transformers/issues/20762/events | https://github.com/huggingface/transformers/pull/20762 | 1,496,102,146 | PR_kwDOCUB6oc5Fa7oI | 20,762 | Even more validation. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,671 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
Addresses this comment:
https://github.com/huggingface/transformers/pull/20729#issuecomment-1350351272
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a gr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20762/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20762",
"html_url": "https://github.com/huggingface/transformers/pull/20762",
"diff_url": "https://github.com/huggingface/transformers/pull/20762.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20762.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20761/comments | https://api.github.com/repos/huggingface/transformers/issues/20761/events | https://github.com/huggingface/transformers/issues/20761 | 1,496,039,683 | I_kwDOCUB6oc5ZK8ED | 20,761 | The reasons for offseting the position embedding ids by 2 for OPT Model. | {
"login": "Zcchill",
"id": 83019888,
"node_id": "MDQ6VXNlcjgzMDE5ODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/83019888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zcchill",
"html_url": "https://github.com/Zcchill",
"followers_url": "https://api.github.com/users/Zcchil... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hey! That's an interesting question. \r\nThe main reason behind this is that the original code uses `nn.Embedding(..., ..., padding_idx)` where the argument is passed to the `torch module`. The `padding_idx` can be found in the tokenizer and is `1`. \r\nNow in transformers we realised that using the `nn.Embedding`... | 1,671 | 1,673 | 1,673 | NONE | null | ### System Info
transformers 4.20.1
### Who can help?
@sgugger
@stevhliu
@gante
@ArthurZucker
@younesbelkada
### Information
- [X] The official example scripts
- [x] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20761/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20760/comments | https://api.github.com/repos/huggingface/transformers/issues/20760/events | https://github.com/huggingface/transformers/pull/20760 | 1,495,505,334 | PR_kwDOCUB6oc5FY0sw | 20,760 | Patch for FlanT5-XXL 8bit support | {
"login": "larsmennen",
"id": 1162951,
"node_id": "MDQ6VXNlcjExNjI5NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1162951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larsmennen",
"html_url": "https://github.com/larsmennen",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks so much for the fix @larsmennen ! I would personally advocate to focus only on `T5`, and we can add these patches later on if we figure out that the same issue occur for all subsidiary models! Can you revert the changes for ... | 1,670 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
Fixes #20287 .
In #20287 , 3 patches were proposed here: https://github.com/huggingface/transformers/issues/20287#issuecomment-1342219429
* Patch 3 is already covered by https://github.com/huggingface/transformers/pull/20683
* I found patch 2 is actually unnecessary, because there's al... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20760/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20760/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20760",
"html_url": "https://github.com/huggingface/transformers/pull/20760",
"diff_url": "https://github.com/huggingface/transformers/pull/20760.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20760.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20759/comments | https://api.github.com/repos/huggingface/transformers/issues/20759/events | https://github.com/huggingface/transformers/issues/20759 | 1,495,437,549 | I_kwDOCUB6oc5ZIpDt | 20,759 | Run 'GPT-J' failure due to download dataset fail (' ConnectionError: Couldn't reach http://eaidata.bmk.sh/data/enron_emails.jsonl.zst ' ) | {
"login": "shaoyuta",
"id": 52023469,
"node_id": "MDQ6VXNlcjUyMDIzNDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/52023469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaoyuta",
"html_url": "https://github.com/shaoyuta",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"This is an issue with the dataset, so you should probably open this in the Datasets repo :-)",
"> This is an issue with the dataset, so you should probably open this in the Datasets repo :-)\r\n\r\nThanks for your help "
] | 1,670 | 1,671 | 1,671 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue.
- huggingface_hub version: 0.11.1
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.35
- Python version: 3.9.12
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /home/taosy/.huggingfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20759/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20759/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20758/comments | https://api.github.com/repos/huggingface/transformers/issues/20758/events | https://github.com/huggingface/transformers/pull/20758 | 1,494,956,789 | PR_kwDOCUB6oc5FW9Y4 | 20,758 | Uninstall `torch_tensorrt` in `DeepSpeed` CI image for now | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Since we update CI to use PyTorch 1.13, it uses a base image `nvcr.io/nvidia/pytorch:22.04-py3` which contains `torch_tensorrt`.
This causes the CI failing from the test collection - i.e. the whole test suite fails from the beginning.
This PR uninstalls `torch_tensorrt` for now (previousl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20758/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20758",
"html_url": "https://github.com/huggingface/transformers/pull/20758",
"diff_url": "https://github.com/huggingface/transformers/pull/20758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20758.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20757/comments | https://api.github.com/repos/huggingface/transformers/issues/20757/events | https://github.com/huggingface/transformers/pull/20757 | 1,494,792,911 | PR_kwDOCUB6oc5FWYMP | 20,757 | Rework automatic code samples in docstrings | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,673 | 1,673 | COLLABORATOR | null | # What does this PR do?
This PR reworks the automatic code sample docstrings in two ways:
First, use the auto-classes for the preprocessing. As was decided internally, we want to document the model class used, but use the auto classes for preprocessing so users are not confused when a given model uses the tokeniz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20757/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20757",
"html_url": "https://github.com/huggingface/transformers/pull/20757",
"diff_url": "https://github.com/huggingface/transformers/pull/20757.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20757.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20756/comments | https://api.github.com/repos/huggingface/transformers/issues/20756/events | https://github.com/huggingface/transformers/issues/20756 | 1,494,775,903 | I_kwDOCUB6oc5ZGHhf | 20,756 | min_new_tokens option in generate() implementation | {
"login": "gonced8",
"id": 5244435,
"node_id": "MDQ6VXNlcjUyNDQ0MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5244435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gonced8",
"html_url": "https://github.com/gonced8",
"followers_url": "https://api.github.com/users/gonced8/... | [] | closed | false | null | [] | [
"cc @gante ",
"Hi @gonced8 👋 Thank you for raising this issue!\r\n\r\nThis is the same as [this issue](https://github.com/huggingface/transformers/issues/20614) (which is slightly older). I'm closing this issue to avoid duplication of comments/efforts, and [this particular comment](https://github.com/huggingfac... | 1,670 | 1,671 | 1,671 | NONE | null | ### Feature request
Similarly to the `max_new_tokens`, a `min_new_tokens` option would count only the newly generated tokens, ignoring the tokens of the input sequence (prompt) in decoder only models.
### Motivation
The option `min_length` of the `generate()` method might be ambiguous for decoder only models. It is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20756/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20755/comments | https://api.github.com/repos/huggingface/transformers/issues/20755/events | https://github.com/huggingface/transformers/pull/20755 | 1,494,751,541 | PR_kwDOCUB6oc5FWOp6 | 20,755 | [CI-Test] Fixes but also skips the mT5 tests | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"My opinion is that we should have test file(s) for each model type we have. MT5 has its own modeling file and model type, so we should keep it.\r\n",
"_The documentation is not available anymore as the PR was closed or merged._",
"mT5 does not really have its own modeling file since it's just T5. I'm happy if ... | 1,670 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
Silences the `MT5` tests. They are irrelevant as the model behind is T5, which function well.
I want to delete everything but prefer to ask if there is a reason why we have these?
cc @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20755/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20755",
"html_url": "https://github.com/huggingface/transformers/pull/20755",
"diff_url": "https://github.com/huggingface/transformers/pull/20755.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20755.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20754/comments | https://api.github.com/repos/huggingface/transformers/issues/20754/events | https://github.com/huggingface/transformers/pull/20754 | 1,494,686,668 | PR_kwDOCUB6oc5FV_7g | 20,754 | Fixing the pipeline tutorial test. | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,675 | 1,670 | COLLABORATOR | null | # What does this PR do?
This is just #20746 with one more fix. The CI would not run after I push a commit to that PR. Sorry @Narsil ! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20754/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20754",
"html_url": "https://github.com/huggingface/transformers/pull/20754",
"diff_url": "https://github.com/huggingface/transformers/pull/20754.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20754.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20753/comments | https://api.github.com/repos/huggingface/transformers/issues/20753/events | https://github.com/huggingface/transformers/issues/20753 | 1,494,614,607 | I_kwDOCUB6oc5ZFgJP | 20,753 | Summarization Pipeline not outputting both text and token_ids | {
"login": "mpeadtt",
"id": 87301397,
"node_id": "MDQ6VXNlcjg3MzAxMzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/87301397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpeadtt",
"html_url": "https://github.com/mpeadtt",
"followers_url": "https://api.github.com/users/mpeadt... | [] | closed | false | null | [] | [
"Realised that this has been addressed in another issue, apologies."
] | 1,670 | 1,670 | 1,670 | NONE | null | ### System Info
- Python version: 3.9.15
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: No
- Using... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20753/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20752/comments | https://api.github.com/repos/huggingface/transformers/issues/20752/events | https://github.com/huggingface/transformers/issues/20752 | 1,494,479,803 | I_kwDOCUB6oc5ZE_O7 | 20,752 | RuntimeError: false INTERNAL ASSERT FAILED at "../c10/cuda/CUDAGraphsC10Utils.h":73, please report a bug to PyTorch. Unknown CUDA graph CaptureStatus32742 | {
"login": "nafiul-araf",
"id": 78312166,
"node_id": "MDQ6VXNlcjc4MzEyMTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/78312166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nafiul-araf",
"html_url": "https://github.com/nafiul-araf",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"We won't really be able to help you since your reproducer does not contain any way to get the dataset you're using.\r\nWe have a whole chapter around debugging the training pipeline in [our online course](https://huggingface.co/course/chapter8/4?fw=pt).",
"I had the same error in a similar setting. I installed C... | 1,670 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.10.133+-x86_64-with-glibc2.27
- Python version: 3.8.16
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.0+cu116 (True)
- Tensorflow version (GPU?): 2.9.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20752/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20752/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20751/comments | https://api.github.com/repos/huggingface/transformers/issues/20751/events | https://github.com/huggingface/transformers/issues/20751 | 1,494,357,214 | I_kwDOCUB6oc5ZEhTe | 20,751 | TrOCR base-harge-stage1 Processor issue | {
"login": "Mohammed20201991",
"id": 59222637,
"node_id": "MDQ6VXNlcjU5MjIyNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/59222637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mohammed20201991",
"html_url": "https://github.com/Mohammed20201991",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @NielsRogge ",
"Hi,\r\n\r\nThanks for your interest in TrOCR! This is possibly linked to #15283",
"Thanks @NielsRogge & @sgugger \r\nIn this [#15283](https://github.com/huggingface/transformers/issues/15283) Cannot solve my issue may I miss something else?\r\nBut, what about using a different processor like... | 1,670 | 1,680 | 1,680 | NONE | null | Hi everyone,
I am trying to run [trocr large base stage1](https://huggingface.co/microsoft/trocr-large-stage1)
code can be found [here with Google Collab ](https://drive.google.com/file/d/1_yzu2iTWW5AWpkBFv6M590rTPEY6vmbU/view?usp=sharing)
can anyone tell what the possible ways to this issue are during loading pro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20751/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20750/comments | https://api.github.com/repos/huggingface/transformers/issues/20750/events | https://github.com/huggingface/transformers/issues/20750 | 1,494,229,224 | I_kwDOCUB6oc5ZECDo | 20,750 | Module 'keras.engine.data_adapter' has no attribute 'expand_1d' with non dummy loss | {
"login": "ZJaume",
"id": 11339330,
"node_id": "MDQ6VXNlcjExMzM5MzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/11339330?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZJaume",
"html_url": "https://github.com/ZJaume",
"followers_url": "https://api.github.com/users/ZJaume/fo... | [] | closed | false | null | [] | [
"cc @Rocketknight1 and @gante ",
"Reproduced this issue locally, seems to be an issue with TF 2.11 and doesn't occur in previous versions. Checking it out now!",
"@ZJaume @mcclunatic the fix has been merged - please try installing transformers from main with `pip install --upgrade git+https://github.com/hugging... | 1,670 | 1,672 | 1,671 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-4.15.0-200-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.10.1+cu102 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20750/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20750/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20749/comments | https://api.github.com/repos/huggingface/transformers/issues/20749/events | https://github.com/huggingface/transformers/pull/20749 | 1,494,163,412 | PR_kwDOCUB6oc5FUNr8 | 20,749 | fix missing () in is_flaky | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
#20739 uses `is_flaky` without `()` at the end. This will make the actual test (that being decorated) not running at all.
This PR adds `()`.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20749/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20749",
"html_url": "https://github.com/huggingface/transformers/pull/20749",
"diff_url": "https://github.com/huggingface/transformers/pull/20749.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20749.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20748/comments | https://api.github.com/repos/huggingface/transformers/issues/20748/events | https://github.com/huggingface/transformers/issues/20748 | 1,493,924,232 | I_kwDOCUB6oc5ZC3mI | 20,748 | The wrong expression in function "squad_convert_example_to_features" | {
"login": "chen-huanxin",
"id": 117709094,
"node_id": "U_kgDOBwQZJg",
"avatar_url": "https://avatars.githubusercontent.com/u/117709094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chen-huanxin",
"html_url": "https://github.com/chen-huanxin",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This is all legacy code that we are not maintaining anymore though.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines]... | 1,670 | 1,674 | 1,674 | NONE | null | https://github.com/huggingface/transformers/blob/d4bf9ee1ff0e85cb24feec4dd160af39b623d4b9/src/transformers/data/processors/squad.py#L253
The type of `span["input_ids"]` is `List`, and the `tokenizer.pad_token_id` equals 0, so `span["input_ids"] == tokenizer.pad_token_id` returns bool type result: `False`. It leads to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20748/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20747/comments | https://api.github.com/repos/huggingface/transformers/issues/20747/events | https://github.com/huggingface/transformers/issues/20747 | 1,493,852,465 | I_kwDOCUB6oc5ZCmEx | 20,747 | Add GPT-2-climate | {
"login": "saeedashraf",
"id": 22497185,
"node_id": "MDQ6VXNlcjIyNDk3MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22497185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saeedashraf",
"html_url": "https://github.com/saeedashraf",
"followers_url": "https://api.github.com/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hey @saeedashraf are we expecting to work on integrating this in Hugging Face? If so then I'll be interested in helping out.",
"Hi Manish,\n\nYe ... we would like to fully integrate this.\n\n\nOn Mon, Jan 9, 2023 at 5:47 PM Manish ***@***.***> wrote:\n\n> Hey @saeedashraf <https://github.com/saeedashraf> are we ... | 1,670 | 1,673 | null | NONE | null | ### Model description
GPT-2 was pretrained on a climate change-related corpus consisting of over 500 thousand abstracts of top climate scientists' articles from trustable sources covering large temporal and spatial scales. The climate-gpt-2 model could further be used for downstream tasks in the climate change domain,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20747/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20746/comments | https://api.github.com/repos/huggingface/transformers/issues/20746/events | https://github.com/huggingface/transformers/pull/20746 | 1,493,828,119 | PR_kwDOCUB6oc5FTDJC | 20,746 | Fixing the pipeline tutorial test. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Well it works suddently! I will merge this one."
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20746/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20746",
"html_url": "https://github.com/huggingface/transformers/pull/20746",
"diff_url": "https://github.com/huggingface/transformers/pull/20746.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20746.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20745/comments | https://api.github.com/repos/huggingface/transformers/issues/20745/events | https://github.com/huggingface/transformers/issues/20745 | 1,493,436,273 | I_kwDOCUB6oc5ZBAdx | 20,745 | "Loading weights from local directory" | {
"login": "ChingKwanCheung",
"id": 30768203,
"node_id": "MDQ6VXNlcjMwNzY4MjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/30768203?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChingKwanCheung",
"html_url": "https://github.com/ChingKwanCheung",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"I download the LTP model from https://huggingface.co/LTP/small/tree/main . And put it in the LTP-small local folder.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues... | 1,670 | 1,674 | 1,674 | NONE | null | I've been stuck in "Loading weights from local directory" when run the code(https://github.com/huggingface/transformers/blob/main/examples/research_projects/mlm_wwm/run_chinese_ref.py). My cmd for running run_chinese_ref.py is below:
. All of your documentation changes will be reflected on that endpoint.",
"Note that we don't accept new model exports in Transformers, as we moved that part into the Optimum library. You should open a PR to add suppo... | 1,670 | 1,670 | 1,670 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20744/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20744",
"html_url": "https://github.com/huggingface/transformers/pull/20744",
"diff_url": "https://github.com/huggingface/transformers/pull/20744.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20744.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20743/comments | https://api.github.com/repos/huggingface/transformers/issues/20743/events | https://github.com/huggingface/transformers/issues/20743 | 1,492,797,984 | I_kwDOCUB6oc5Y-kog | 20,743 | Issue with Tokenizer (fast) splitting `<mask>` into constituent added special tokens despite mask token in vocab and in special tokens map | {
"login": "simonlevine",
"id": 50503513,
"node_id": "MDQ6VXNlcjUwNTAzNTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/50503513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonlevine",
"html_url": "https://github.com/simonlevine",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Interesting, this is part of a series of bug we have with different behaviours between fast and slow. Thanks for posting.",
"Thank you for your response @ArthurZucker . I would be happy to provide details about instantiation and behavior if needed.",
"Just to be able to reproduce correctly could you tell me wh... | 1,670 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.31
- Python version: 3.10.6
- Huggingface_hub version: 0.11.0.rc0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20743/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20743/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20742/comments | https://api.github.com/repos/huggingface/transformers/issues/20742/events | https://github.com/huggingface/transformers/pull/20742 | 1,492,796,363 | PR_kwDOCUB6oc5FPfZE | 20,742 | Add docs xlm roberta | {
"login": "hazrulakmal",
"id": 24774385,
"node_id": "MDQ6VXNlcjI0Nzc0Mzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/24774385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hazrulakmal",
"html_url": "https://github.com/hazrulakmal",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Fixes [20055](https://github.com/huggingface/transformers/issues/20055)
I have opened a fresh PR to add resources for XLM-RoBERTa.
1. Added a link to classification task fine-tuning using Habana Gaudi blog
2. Fix typos
3. Remove TF and Flax XLMRobertaForCausalLM
4. Update my branc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20742/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20742",
"html_url": "https://github.com/huggingface/transformers/pull/20742",
"diff_url": "https://github.com/huggingface/transformers/pull/20742.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20742.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20741/comments | https://api.github.com/repos/huggingface/transformers/issues/20741/events | https://github.com/huggingface/transformers/issues/20741 | 1,492,723,514 | I_kwDOCUB6oc5Y-Sc6 | 20,741 | T5ForConditionalGeneration with BetterTransformer | {
"login": "R4ZZ3",
"id": 25264037,
"node_id": "MDQ6VXNlcjI1MjY0MDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/25264037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/R4ZZ3",
"html_url": "https://github.com/R4ZZ3",
"followers_url": "https://api.github.com/users/R4ZZ3/follow... | [] | closed | false | null | [] | [
"I think it needs to be implemented in optimum, so you should move the issue there. cc @younesbelkada ",
"Moving to optimum"
] | 1,670 | 1,670 | 1,670 | NONE | null | ### Feature request
Got this error when trying out BetterTransformer:
"The Better Transformers implementation for the model T5ForConditionalGeneration has not been implemented yet. Please open an issue requesting the addition of this model with its `BetterTransformer`implementation."
### Motivation
I would like to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20741/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20740/comments | https://api.github.com/repos/huggingface/transformers/issues/20740/events | https://github.com/huggingface/transformers/pull/20740 | 1,492,508,256 | PR_kwDOCUB6oc5FOe2h | 20,740 | Use tf.keras.Input to build TF models instead of actual Tensors | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20740). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,670 | 1,674 | 1,674 | MEMBER | null | This PR does three things!
### Rework signatures for `serving()`
We use `None` for almost every dimension in our `serving()` signatures, which indicates that the dimension is variable. However, in several cases, the dimension is static **for a given model, but not for that whole model class.**
For example, an i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20740/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20740/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20740",
"html_url": "https://github.com/huggingface/transformers/pull/20740",
"diff_url": "https://github.com/huggingface/transformers/pull/20740.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20740.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20739/comments | https://api.github.com/repos/huggingface/transformers/issues/20739/events | https://github.com/huggingface/transformers/pull/20739 | 1,492,442,939 | PR_kwDOCUB6oc5FOQKR | 20,739 | Add decorator for flaky Donut tests | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"`is_flaky` has to be used as `is_flaky()`, otherwise the actual tests won't be run, and will always pass."
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Tests occasionally fail for Donut. Adding decorator to handle whilst waiting for a resolution to be merged in.
Issue raised here: https://github.com/huggingface/transformers/issues/20738
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20739/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20739",
"html_url": "https://github.com/huggingface/transformers/pull/20739",
"diff_url": "https://github.com/huggingface/transformers/pull/20739.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20739.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20738/comments | https://api.github.com/repos/huggingface/transformers/issues/20738/events | https://github.com/huggingface/transformers/issues/20738 | 1,492,440,343 | I_kwDOCUB6oc5Y9NUX | 20,738 | Flaky feature extraction tests for Donut | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,670 | 1,676 | null | COLLABORATOR | null | ### System Info
Note: I have observed with my own setup, but most recently this was seen in a CI environment
- `transformers` version: 4.26.0.dev0
- Platform: macOS-13.0.1-arm64-arm-64bit
- Python version: 3.9.15
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.14.0.dev20221118 (False)
- Tensorf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20738/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20738/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20737/comments | https://api.github.com/repos/huggingface/transformers/issues/20737/events | https://github.com/huggingface/transformers/issues/20737 | 1,492,351,317 | I_kwDOCUB6oc5Y83lV | 20,737 | RWKV4neo | {
"login": "ArEnSc",
"id": 6252325,
"node_id": "MDQ6VXNlcjYyNTIzMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6252325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArEnSc",
"html_url": "https://github.com/ArEnSc",
"followers_url": "https://api.github.com/users/ArEnSc/foll... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"@ArthurZucker \r\n@younesbelkada \r\nhttps://github.com/huggingface/transformers/issues/17230#issuecomment-1346779059",
"This is super cool !! 🔥 \r\nReally looking forward to it \r\nAlso as discussed with @leondz , [we'll probably also include a blogpost](https://github.com/huggingface/transformers/issues/17230... | 1,670 | 1,683 | 1,683 | CONTRIBUTOR | null | ### Model description
RWKV - Receptance Weighted Key Value
RWKV is a Sequence to Sequence Model that takes the best features of Generative PreTraining (GPT) and Recurrent Nueral Networks (RNN) that performs Language Modelling (LM). This is used to generate text Auto Regressive manner (AR).
This is a hybrid mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20737/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20737/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20736/comments | https://api.github.com/repos/huggingface/transformers/issues/20736/events | https://github.com/huggingface/transformers/pull/20736 | 1,492,339,969 | PR_kwDOCUB6oc5FN5Of | 20,736 | rename `layoutlm_job` to `exotic_models_job` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
This job now contains tests for `nat` and `dinat` models. Rename the job to make it more clear. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20736/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20736/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20736",
"html_url": "https://github.com/huggingface/transformers/pull/20736",
"diff_url": "https://github.com/huggingface/transformers/pull/20736.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20736.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20735/comments | https://api.github.com/repos/huggingface/transformers/issues/20735/events | https://github.com/huggingface/transformers/pull/20735 | 1,492,325,680 | PR_kwDOCUB6oc5FN2Ay | 20,735 | Fix AdamWeightDecay for TF 2.11 | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@gante take a quick look at this one too, please! Our `AdamWeightDecay` doesn't work with the new Optimizer base class in TF 2.11, so I moved it onto the legacy class for now. When I have more time I should clean this up properly, and possibly just use [the official AdamW](https://www.tensorflow.org/api_docs/pytho... | 1,670 | 1,674 | 1,670 | MEMBER | null | Fixes #20724 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20735/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20735/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20735",
"html_url": "https://github.com/huggingface/transformers/pull/20735",
"diff_url": "https://github.com/huggingface/transformers/pull/20735.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20735.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20734/comments | https://api.github.com/repos/huggingface/transformers/issues/20734/events | https://github.com/huggingface/transformers/issues/20734 | 1,492,171,804 | I_kwDOCUB6oc5Y8Lwc | 20,734 | `AddedToken` 's argument are ignored when called in `add_tokens` 's method of slow tokenizers | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"I have not dropped this, its still on my TODO list. There are a lot of linked issues!",
"(The update is gonna take longer as I am refactoring the tokenizers)",
"I had the same issue. It seems that `AddedToken` is implemented [here](https://github.com/huggingface/transformers/blob/e42587f596181396e1c4b63660abf0... | 1,670 | 1,695 | 1,695 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.10.133+-x86_64-with-glibc2.27
- Python version: 3.8.16
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.0+cu116 (False)
- Tensorflow version (GPU?): 2.9.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20734/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20733/comments | https://api.github.com/repos/huggingface/transformers/issues/20733/events | https://github.com/huggingface/transformers/issues/20733 | 1,492,120,630 | I_kwDOCUB6oc5Y7_Q2 | 20,733 | Verify that a test in `LayoutLMv3` 's tokenizer is checking what we want | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Thanks! Will try to get familiar with this 😉 "
] | 1,670 | 1,685 | 1,683 | CONTRIBUTOR | null | I'm taking the liberty of opening an issue to share a question I've been keeping in the corner of my head, but now that I'll have less time to devote to `transformers` I prefer to share it before it's forgotten.
In the PR where the `LayoutLMv3` model was added, I was not very sure about the target value used for one... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20733/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20733/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20732 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20732/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20732/comments | https://api.github.com/repos/huggingface/transformers/issues/20732/events | https://github.com/huggingface/transformers/pull/20732 | 1,492,098,602 | PR_kwDOCUB6oc5FNDPS | 20,732 | Convert tokenizer outputs for Keras in doc example | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20732). All of your documentation changes will be reflected on that endpoint."
] | 1,670 | 1,670 | 1,670 | MEMBER | null | The TF examples in `training.mdx` don't turn the tokenizer outputs into a `dict`, so Keras gets confused.
Fixes #20709 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20732/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20732/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20732",
"html_url": "https://github.com/huggingface/transformers/pull/20732",
"diff_url": "https://github.com/huggingface/transformers/pull/20732.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20732.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20731 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20731/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20731/comments | https://api.github.com/repos/huggingface/transformers/issues/20731/events | https://github.com/huggingface/transformers/pull/20731 | 1,492,033,572 | PR_kwDOCUB6oc5FM1Cg | 20,731 | Disambiguate test for required_input in tokenization base file. | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
This is a prime example of why we should never rely on Python bool conversion magic, as it often fails with array-like types.
Fixes #19136 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20731/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20731/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20731",
"html_url": "https://github.com/huggingface/transformers/pull/20731",
"diff_url": "https://github.com/huggingface/transformers/pull/20731.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20731.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20730 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20730/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20730/comments | https://api.github.com/repos/huggingface/transformers/issues/20730/events | https://github.com/huggingface/transformers/pull/20730 | 1,491,869,289 | PR_kwDOCUB6oc5FMQw0 | 20,730 | Fix AutoModelTest.test_model_from_pretrained | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The other way to fix would be to modify the original files to remove the duplicated layer. I think that was suggested by @sgugger .\r\n\r\nI personally am ok with the proposed fix, it does seem the easiest route.",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
From @Narsil
> Hmmmm it's because of safetensors is installed in that environement and it's loading the safetensors weights which have indeed 1 less unexpected keys (the duplicated key was removed)
I tried `gpt2` and `roberta-base`, they also have similar issues, on some keys among `mi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20730/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20730/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20730",
"html_url": "https://github.com/huggingface/transformers/pull/20730",
"diff_url": "https://github.com/huggingface/transformers/pull/20730.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20730.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20729 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20729/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20729/comments | https://api.github.com/repos/huggingface/transformers/issues/20729/events | https://github.com/huggingface/transformers/pull/20729 | 1,491,849,281 | PR_kwDOCUB6oc5FMMMb | 20,729 | Adding ValueError when incompatible parameters are used. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20729). All of your documentation changes will be reflected on that endpoint.",
"@Narsil for what I read in #20662 , it seems what actually should imcompatible may `return_text` and `return_tensors` instead of `return_text`... | 1,670 | 1,671 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Adding ValueError when imcompatible parameters are used.
https://github.com/huggingface/transformers/pull/20662#pullrequestreview-1210120116
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20729/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20729/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20729",
"html_url": "https://github.com/huggingface/transformers/pull/20729",
"diff_url": "https://github.com/huggingface/transformers/pull/20729.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20729.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20728 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20728/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20728/comments | https://api.github.com/repos/huggingface/transformers/issues/20728/events | https://github.com/huggingface/transformers/pull/20728 | 1,491,642,487 | PR_kwDOCUB6oc5FLdh5 | 20,728 | Redundant to_channel_dimension_format() call makes preprocessing fail in case the image has height of 1 pixel | {
"login": "dhansmair",
"id": 21751746,
"node_id": "MDQ6VXNlcjIxNzUxNzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/21751746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dhansmair",
"html_url": "https://github.com/dhansmair",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @amyeroberts ",
"sure thing!"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | In the `resize()` function in image_transforms.py, the line 267: I think `image = to_channel_dimension_format(image, ChannelDimension.LAST)` is redundant as this conversion is also applied in the following `to_pil_image()`.
This redundant call actually makes the clip preprocessing fail in special cases. The problem ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20728/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20728/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20728",
"html_url": "https://github.com/huggingface/transformers/pull/20728",
"diff_url": "https://github.com/huggingface/transformers/pull/20728.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20728.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20727 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20727/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20727/comments | https://api.github.com/repos/huggingface/transformers/issues/20727/events | https://github.com/huggingface/transformers/pull/20727 | 1,490,998,503 | PR_kwDOCUB6oc5FJOYP | 20,727 | Add custom stop token ids for generation | {
"login": "tokestermw",
"id": 4722119,
"node_id": "MDQ6VXNlcjQ3MjIxMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4722119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tokestermw",
"html_url": "https://github.com/tokestermw",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante ",
"Think we could actually allow `eos_token_id` to be both an integer and a list of integers no ? Both in the config and in the input. \r\n",
"Hi @tokestermw 👋 \r\n\r\nLike my colleagues, I also think this would be a ... | 1,670 | 1,673 | 1,672 | CONTRIBUTOR | null | ### Update (using eos_token_id instead): https://github.com/huggingface/transformers/pull/20727#issuecomment-1355219288
# What does this PR do?
Hi 🤗 team!
This adds stop token ids inside, e.g. `model.generate(..., stop_token_ids=[10, 25])`, and syntactic sugar for the generation pipelines, e.g. `pipeline(...... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20727/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20727/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20727",
"html_url": "https://github.com/huggingface/transformers/pull/20727",
"diff_url": "https://github.com/huggingface/transformers/pull/20727.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20727.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20726 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20726/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20726/comments | https://api.github.com/repos/huggingface/transformers/issues/20726/events | https://github.com/huggingface/transformers/pull/20726 | 1,490,183,074 | PR_kwDOCUB6oc5FGTmc | 20,726 | Enable `decoder_attention_mask` in `generate` function | {
"login": "samuelpullely",
"id": 51292066,
"node_id": "MDQ6VXNlcjUxMjkyMDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/51292066?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samuelpullely",
"html_url": "https://github.com/samuelpullely",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey! Make sure to run `make fixup` to pass all the quality tests 😉 ",
"Thank you both for the quick replies. I’m having difficulties setting up the development environment on my M1 Mac, similar to what is mentioned in #18355. I ma... | 1,670 | 1,672 | 1,672 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20726/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20726/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20726",
"html_url": "https://github.com/huggingface/transformers/pull/20726",
"diff_url": "https://github.com/huggingface/transformers/pull/20726.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20726.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20725 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20725/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20725/comments | https://api.github.com/repos/huggingface/transformers/issues/20725/events | https://github.com/huggingface/transformers/pull/20725 | 1,489,721,665 | PR_kwDOCUB6oc5FEojQ | 20,725 | Add TVLT | {
"login": "zinengtang",
"id": 82334223,
"node_id": "MDQ6VXNlcjgyMzM0MjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/82334223?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zinengtang",
"html_url": "https://github.com/zinengtang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks a lot for contributing this model! One first remark is that we tried to avoid all-capitals now in model classes to make all model names consistent across the library, so could you rename your classes to `TvltModel`, `TvltConfig` etc... (like `BertModel`, `BertConfig`).\r\n\r\nLeaving you in the hands of @sa... | 1,670 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Add TVLT to transformers. This PR implements a original version of the TVLT: Textless Vision-Language Transformer from the original paper from https://arxiv.org/abs/2209.14156
I have provided the model weights here https://huggingface.co/TVLT/tvlt-base
# Before submitting
- [ ] This PR f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20725/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20725/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20725",
"html_url": "https://github.com/huggingface/transformers/pull/20725",
"diff_url": "https://github.com/huggingface/transformers/pull/20725.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20725.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20724 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20724/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20724/comments | https://api.github.com/repos/huggingface/transformers/issues/20724/events | https://github.com/huggingface/transformers/issues/20724 | 1,489,404,743 | I_kwDOCUB6oc5YxoNH | 20,724 | Tutorial on token classification throws casting error in Tensorflow 2.11 | {
"login": "gcelano",
"id": 5678472,
"node_id": "MDQ6VXNlcjU2Nzg0NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5678472?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gcelano",
"html_url": "https://github.com/gcelano",
"followers_url": "https://api.github.com/users/gcelano/... | [] | closed | false | null | [] | [
"Can you please specify where is the error happen? Which step?",
"The error is thrown after `model.fit`",
"Okay I'll have a look",
"Also cc @Rocketknight1 ",
"Yeah, I should probably take this one. Investigating!",
"Managed to reproduce it.",
"This is actually a problem with our `AdamWeightDecay`, likel... | 1,670 | 1,670 | 1,670 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
- Python version: 3.9.0
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20724/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20724/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20723/comments | https://api.github.com/repos/huggingface/transformers/issues/20723/events | https://github.com/huggingface/transformers/pull/20723 | 1,488,665,119 | PR_kwDOCUB6oc5FAxZ5 | 20,723 | Add model resources for ViT | {
"login": "stanleycai95",
"id": 46463107,
"node_id": "MDQ6VXNlcjQ2NDYzMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/46463107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stanleycai95",
"html_url": "https://github.com/stanleycai95",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
Adds resources on ViT according to https://github.com/huggingface/transformers/issues/20055
Fixes https://github.com/huggingface/transformers/issues/20055 (partially)
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to ap... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20723/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20723/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20723",
"html_url": "https://github.com/huggingface/transformers/pull/20723",
"diff_url": "https://github.com/huggingface/transformers/pull/20723.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20723.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20722 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20722/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20722/comments | https://api.github.com/repos/huggingface/transformers/issues/20722/events | https://github.com/huggingface/transformers/pull/20722 | 1,488,626,454 | PR_kwDOCUB6oc5FAoiB | 20,722 | Very small edit to change name to OpenAI GPT | {
"login": "stanleycai95",
"id": 46463107,
"node_id": "MDQ6VXNlcjQ2NDYzMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/46463107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stanleycai95",
"html_url": "https://github.com/stanleycai95",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20722). All of your documentation changes will be reflected on that endpoint."
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Adjusts a small typo in OpenAI GPT documentation
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20722/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20722/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20722",
"html_url": "https://github.com/huggingface/transformers/pull/20722",
"diff_url": "https://github.com/huggingface/transformers/pull/20722.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20722.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20721 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20721/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20721/comments | https://api.github.com/repos/huggingface/transformers/issues/20721/events | https://github.com/huggingface/transformers/issues/20721 | 1,488,451,964 | I_kwDOCUB6oc5Yt_l8 | 20,721 | Question-answering example datasets | {
"login": "Arij-Aladel",
"id": 68355048,
"node_id": "MDQ6VXNlcjY4MzU1MDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arij-Aladel",
"html_url": "https://github.com/Arij-Aladel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The examples are given as just that: examples. You will always need to slightly adapt them when changing the dataset as the data format might not be exactly the same. So there is no official list of possible datasets apart from the ones showcased in the README."
] | 1,670 | 1,670 | 1,670 | NONE | null | In the [examples
](https://github.com/huggingface/transformers/tree/0bae286de94f7131b4a2db3f85754b0961c4aaf5/examples/pytorch/question-answering)
Could you please add possible datasets for each script? Neither in the scripts or in the read me I can find this information. especially for long inputs, as I saw from the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20721/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20721/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20720 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20720/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20720/comments | https://api.github.com/repos/huggingface/transformers/issues/20720/events | https://github.com/huggingface/transformers/pull/20720 | 1,488,373,662 | PR_kwDOCUB6oc5E_vCO | 20,720 | Made LUKE Tokenizer independent from RoBERTa | {
"login": "salvo96",
"id": 19409488,
"node_id": "MDQ6VXNlcjE5NDA5NDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/19409488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/salvo96",
"html_url": "https://github.com/salvo96",
"followers_url": "https://api.github.com/users/salvo9... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | Related to #19303
Removed dependency on RoBERTa tokenizer in LUKE tokenizer.
Hi @sgugger, could you check it? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20720/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20720/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20720",
"html_url": "https://github.com/huggingface/transformers/pull/20720",
"diff_url": "https://github.com/huggingface/transformers/pull/20720.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20720.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20719/comments | https://api.github.com/repos/huggingface/transformers/issues/20719/events | https://github.com/huggingface/transformers/pull/20719 | 1,488,085,043 | PR_kwDOCUB6oc5E-tAy | 20,719 | fsdp fix | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for the fix! Can you expand a bit the description so that users going back to your PR understand what's happening?\r\n\r\nDone, Thanks!\r\n "
] | 1,670 | 1,671 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
1. FSDP fix: Fixes https://github.com/huggingface/transformers/issues/18767. If this argument is not specified and ``module`` is on CPU, FSDP issues a warning mentioning that this argument can be specified for faster initialization. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20719/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20719/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20719",
"html_url": "https://github.com/huggingface/transformers/pull/20719",
"diff_url": "https://github.com/huggingface/transformers/pull/20719.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20719.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20718/comments | https://api.github.com/repos/huggingface/transformers/issues/20718/events | https://github.com/huggingface/transformers/issues/20718 | 1,488,006,923 | I_kwDOCUB6oc5YsS8L | 20,718 | class BeamSearchScorer's finalize function | {
"login": "yupeijei1997",
"id": 39047479,
"node_id": "MDQ6VXNlcjM5MDQ3NDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/39047479?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yupeijei1997",
"html_url": "https://github.com/yupeijei1997",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,670 | 1,670 | 1,670 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20718/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20718/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20717/comments | https://api.github.com/repos/huggingface/transformers/issues/20717/events | https://github.com/huggingface/transformers/pull/20717 | 1,487,697,588 | PR_kwDOCUB6oc5E9SbR | 20,717 | Added resources for albert architecture | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I tried \r\n`pip install \".[docs]\"`\r\n`doc-builder build transformers .\\docs\\source\\en\\model_doc\\albert.mdx --build_dir ~/tmp/test-build`\r\nto pass the currently failing _Build PR Documentation_ CI/CD test.\r\nHowever, I still fail. May I ask for any further suggestion?",
"@michaelbenayoun ,\r\nHello, t... | 1,670 | 1,675 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Co-authored-by: Adia Wu <wua@dickinson.edu>
Co-authored-by: Mollerup23 <mollerup@dickinson.edu>
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20717/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20717/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20717",
"html_url": "https://github.com/huggingface/transformers/pull/20717",
"diff_url": "https://github.com/huggingface/transformers/pull/20717.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20717.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20716/comments | https://api.github.com/repos/huggingface/transformers/issues/20716/events | https://github.com/huggingface/transformers/pull/20716 | 1,487,607,767 | PR_kwDOCUB6oc5E89t- | 20,716 | Add BLIP | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The PR is in a good shape! Would love to have a first round of review! 💪 ",
"Thanks so much @sgugger @NielsRogge for your review, I can confirm the model weights and model cards are all up!",
"Thanks very much for the review @Ni... | 1,670 | 1,679 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
BLIP is a model from salesforce, capable of performing Visual question answering, image captioning and image-text retrieval. This model has been also used in several Stable-diffusion finetuned variants, such as Pokemon stable diffusion or Naruto Stable diffusion to generate text descriptions ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20716/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20716/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20716",
"html_url": "https://github.com/huggingface/transformers/pull/20716",
"diff_url": "https://github.com/huggingface/transformers/pull/20716.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20716.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20715/comments | https://api.github.com/repos/huggingface/transformers/issues/20715/events | https://github.com/huggingface/transformers/pull/20715 | 1,487,393,782 | PR_kwDOCUB6oc5E8NPa | 20,715 | Replaces xxx_required with requires_backends | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Why do we remove instead of keeping them for backward compatibility?\r\nThey can simply be implemented still as a decorator using `requires_backends`, without breaking existing code.",
"@xkszltl \r\n\r\nCould you open an issue with... | 1,670 | 1,693 | 1,671 | COLLABORATOR | null | # What does this PR do?
Removes `torch_required` and `tf_required` decorators and replaces with more generic `requires_backends`.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20715/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20715/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20715",
"html_url": "https://github.com/huggingface/transformers/pull/20715",
"diff_url": "https://github.com/huggingface/transformers/pull/20715.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20715.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20714/comments | https://api.github.com/repos/huggingface/transformers/issues/20714/events | https://github.com/huggingface/transformers/issues/20714 | 1,487,336,415 | I_kwDOCUB6oc5YpvPf | 20,714 | AutoTokenizer.from_pretrained is confused by custom model configs | {
"login": "Craigacp",
"id": 729696,
"node_id": "MDQ6VXNlcjcyOTY5Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/729696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Craigacp",
"html_url": "https://github.com/Craigacp",
"followers_url": "https://api.github.com/users/Craigac... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"I’ll have a look thanks for posting ",
"Bump for the stale bot.",
"Any updates on this?",
"I did not have time to dive on this, cc @younesbelkada do you think you can have a look,?",
"If there's some guidance or documentation on how unified the configuration stuff should be for custom models then I can loo... | 1,670 | 1,678 | 1,678 | CONTRIBUTOR | null | ### System Info
transformers: 4.23.1, OS: macOS x86, Python: 3.9
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20714/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20714/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20713/comments | https://api.github.com/repos/huggingface/transformers/issues/20713/events | https://github.com/huggingface/transformers/pull/20713 | 1,487,085,344 | PR_kwDOCUB6oc5E7IKr | 20,713 | Add a progress bar for large model loading | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
As requested in #20669, this PR adds a progress bar when loading large models. The progress bar can be removed with `transformers.utils.disable_progress_bar()`.
Fixes #20669 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20713/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20713/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20713",
"html_url": "https://github.com/huggingface/transformers/pull/20713",
"diff_url": "https://github.com/huggingface/transformers/pull/20713.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20713.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20712/comments | https://api.github.com/repos/huggingface/transformers/issues/20712/events | https://github.com/huggingface/transformers/pull/20712 | 1,487,045,385 | PR_kwDOCUB6oc5E6_Nk | 20,712 | Add vision requirement to image transforms | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"A quick question: If we add `requires_backends(center_crop, [\"vision\"])` in some methods in `src/transformers/image_transforms.py`, shouldn't we do the same in `src/transformers/image_utils.py`, say, `load_image`?\r\n",
"> A quic... | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Addresses issue when importing functions in the `image_transforms` module if Pillow isn't installed. Namely:
* functions which don't require Pillow have errors when importing. This was because other objects were only imported if Pillow was available e.g. `ChannelDimension`. Resolved by rea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20712/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20712/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20712",
"html_url": "https://github.com/huggingface/transformers/pull/20712",
"diff_url": "https://github.com/huggingface/transformers/pull/20712.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20712.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20711/comments | https://api.github.com/repos/huggingface/transformers/issues/20711/events | https://github.com/huggingface/transformers/pull/20711 | 1,487,017,734 | PR_kwDOCUB6oc5E65Dd | 20,711 | add model resources for CPMAnt | {
"login": "pioliverse",
"id": 119836898,
"node_id": "U_kgDOBySQ4g",
"avatar_url": "https://avatars.githubusercontent.com/u/119836898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pioliverse",
"html_url": "https://github.com/pioliverse",
"followers_url": "https://api.github.com/users/pio... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20711). All of your documentation changes will be reflected on that endpoint.",
"> Thanks for addressing some of the comments! Some tests are still failing for few reasons 1- You are assigning an attribute that uses `torch`... | 1,670 | 1,672 | 1,672 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20711/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20711/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20711",
"html_url": "https://github.com/huggingface/transformers/pull/20711",
"diff_url": "https://github.com/huggingface/transformers/pull/20711.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20711.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20710/comments | https://api.github.com/repos/huggingface/transformers/issues/20710/events | https://github.com/huggingface/transformers/pull/20710 | 1,486,992,886 | PR_kwDOCUB6oc5E6ziO | 20,710 | Change a logic in pipeline test regarding TF | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante to this one - he's been working on a way to check for invalid indices even for embedding layers on GPU"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
- **Currently**, the tiny models in pipeline tests are created using `model_class(config)`, and for TF models, the weights are not created at this point. Then we set the device (**which turns to be CPU instead of GPU!**), and the wegiths are created in CPU context --> we get the expected exce... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20710/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20710/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20710",
"html_url": "https://github.com/huggingface/transformers/pull/20710",
"diff_url": "https://github.com/huggingface/transformers/pull/20710.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20710.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20709/comments | https://api.github.com/repos/huggingface/transformers/issues/20709/events | https://github.com/huggingface/transformers/issues/20709 | 1,486,963,868 | I_kwDOCUB6oc5YoUSc | 20,709 | Keras finetune examples cannot generate hashable key | {
"login": "ZJaume",
"id": 11339330,
"node_id": "MDQ6VXNlcjExMzM5MzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/11339330?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZJaume",
"html_url": "https://github.com/ZJaume",
"followers_url": "https://api.github.com/users/ZJaume/fo... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"Derp, that's a problem with the example, I'll push a fix! The problem is that Keras recognizes `dict` objects but not our `BatchEncoding` returned by the `tokenizer`, even though `BatchEncoding` is a subclass of `dict`.\r\n\r\nIf you replace the last line with `model.fit(dict(tokenized_data... | 1,670 | 1,679 | 1,670 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-4.15.0-200-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.10.1+cu102 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20709/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20709/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20708/comments | https://api.github.com/repos/huggingface/transformers/issues/20708/events | https://github.com/huggingface/transformers/pull/20708 | 1,486,941,608 | PR_kwDOCUB6oc5E6oKi | 20,708 | Fix rendering issue in quicktour | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Ok so the extra line is what causes the issue, but then `black` is unhappy with the formatting.",
"Ok, so I just split the content in two blocks at the end, since `doc-builder` wants no more than one empty lines and `black` wants t... | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Fixes #20700 I think the two new lines is what makes the problem happen. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20708/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20708/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20708",
"html_url": "https://github.com/huggingface/transformers/pull/20708",
"diff_url": "https://github.com/huggingface/transformers/pull/20708.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20708.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20707/comments | https://api.github.com/repos/huggingface/transformers/issues/20707/events | https://github.com/huggingface/transformers/pull/20707 | 1,486,897,370 | PR_kwDOCUB6oc5E6eVy | 20,707 | [Whisper] Fix multilingual tokeniser | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20707). All of your documentation changes will be reflected on that endpoint.",
"This looks good, could you also push the normalizer file? 😉 ",
"This issue has been automatically marked as stale because it has not had re... | 1,670 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes #20703
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20707/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20707/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20707",
"html_url": "https://github.com/huggingface/transformers/pull/20707",
"diff_url": "https://github.com/huggingface/transformers/pull/20707.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20707.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20706/comments | https://api.github.com/repos/huggingface/transformers/issues/20706/events | https://github.com/huggingface/transformers/issues/20706 | 1,486,876,427 | I_kwDOCUB6oc5Yn-8L | 20,706 | [Quick poll] Give your opinion on the future of the Hugging Face Open Source ecosystem! | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,670 | 1,680 | 1,680 | MEMBER | null | Thanks to all of you, Transformers just passed 75k :star2: last week!
Since the last survey, a lot has happened: the [diffusers](https://github.com/huggingface/diffusers), [evaluate](https://github.com/huggingface/evaluate) and [skops](https://github.com/skops-dev/skops) libraries were born. `timm` joined the Huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20706/reactions",
"total_count": 15,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 15,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20706/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20705 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20705/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20705/comments | https://api.github.com/repos/huggingface/transformers/issues/20705/events | https://github.com/huggingface/transformers/pull/20705 | 1,486,863,231 | PR_kwDOCUB6oc5E6WxG | 20,705 | [`ViTHybrid`] fix last `accelerate` slow test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
FIxes the last test that I forgot to run on multi gpu setup ! Sorry for the multiple iterations
Fixes:
1- https://github.com/huggingface/transformers/actions/runs/3650247864
2- in `test_model_parallelism` the test splits the model into different sub-modules, with respect to the class at... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20705/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20705/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20705",
"html_url": "https://github.com/huggingface/transformers/pull/20705",
"diff_url": "https://github.com/huggingface/transformers/pull/20705.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20705.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20704/comments | https://api.github.com/repos/huggingface/transformers/issues/20704/events | https://github.com/huggingface/transformers/pull/20704 | 1,486,851,128 | PR_kwDOCUB6oc5E6UGQ | 20,704 | Remove image_transforms functions from init | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,671 | 1,671 | COLLABORATOR | null | # What does this PR do?
Removes functions in the `image_transforms` library from `src/transformers/_init__.py`.
The functionality this module provides are utils for processing images and are not the primary goal of the library.
Address an issue raised in #20627 - which highlighted some functions were in the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20704/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20704/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20704",
"html_url": "https://github.com/huggingface/transformers/pull/20704",
"diff_url": "https://github.com/huggingface/transformers/pull/20704.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20704.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20703/comments | https://api.github.com/repos/huggingface/transformers/issues/20703/events | https://github.com/huggingface/transformers/issues/20703 | 1,486,836,597 | I_kwDOCUB6oc5Yn1N1 | 20,703 | [Whisper] Multilingual Tokeniser uses wrong normaliser | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [
{
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "ht... | [
"I see, that’s indeed correct. Adding it to my whisper todo, this will probably make the tests fail again ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do no... | 1,670 | 1,673 | 1,673 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.0.dev0
- Platform: macOS-12.5-arm64-arm-64bit
- Python version: 3.8.9
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): 0.5.1 (cpu)
- Jax version: 0.3.6
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20703/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20703/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20702/comments | https://api.github.com/repos/huggingface/transformers/issues/20702/events | https://github.com/huggingface/transformers/pull/20702 | 1,486,649,803 | PR_kwDOCUB6oc5E5nR2 | 20,702 | Fix bug: replace left over FE references | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Fixes failing Flava processor tests introduced by #20590 - replaces any exisiting feature extractor reference with image processors.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20702/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20702/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20702",
"html_url": "https://github.com/huggingface/transformers/pull/20702",
"diff_url": "https://github.com/huggingface/transformers/pull/20702.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20702.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20701/comments | https://api.github.com/repos/huggingface/transformers/issues/20701/events | https://github.com/huggingface/transformers/pull/20701 | 1,486,514,576 | PR_kwDOCUB6oc5E5JFr | 20,701 | [Tests] Improve test_attention_outputs | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,671 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
I noticed several vision models overwrite `test_attention_outputs`, but we have a `has_attentions` flag exactly for this purpose.
Hence, I've adapted the test in `test_modeling_common.py` and `test_modeling_tf_common.p`y to improve this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20701/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20701/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20701",
"html_url": "https://github.com/huggingface/transformers/pull/20701",
"diff_url": "https://github.com/huggingface/transformers/pull/20701.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20701.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20699/comments | https://api.github.com/repos/huggingface/transformers/issues/20699/events | https://github.com/huggingface/transformers/pull/20699 | 1,486,433,900 | PR_kwDOCUB6oc5E43OK | 20,699 | Use `config.layer_norm_eps` in some `nn.LayerNorm`. | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Just to confirm:\r\n\r\n> - these changes don't have an impact on the integration tests, right? This only results in different outputs when one would train these models from scratch?\r\n\r\nIt has impact even for integration tests: t... | 1,670 | 1,675 | 1,670 | COLLABORATOR | null | # What does this PR do?
⚠️⚠️⚠️ This changes the `eps` of those LayerNorm layers from (the default) `1e-5` to `1e-12`, and the outputs will have slightly differences before/after this PR. ⚠️⚠️⚠️
----
Similar to #20554, but this time instead of removing the attribute from config, we use `config.layer_norm_eps` i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20699/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20699/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20699",
"html_url": "https://github.com/huggingface/transformers/pull/20699",
"diff_url": "https://github.com/huggingface/transformers/pull/20699.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20699.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20698/comments | https://api.github.com/repos/huggingface/transformers/issues/20698/events | https://github.com/huggingface/transformers/issues/20698 | 1,486,116,667 | I_kwDOCUB6oc5YlFc7 | 20,698 | How to use pipeline for Custom token-classification model? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"You should use subclasses of `PreTrainedModel` (and `PretrainedConfig` if necessary). Here is the [documentation](https://huggingface.co/docs/transformers/create_a_model) on that and [here](https://huggingface.co/docs/transformers/add_new_pipeline) is an example of custom pipeline if you need it.",
"@sgugger , I... | 1,670 | 1,674 | 1,674 | NONE | null | **Model description**
I add simple custom `pytorch-crf layer` on top of `TokenClassification model`. It will make the model more robust.
I train the model successfully but when I test the mode. The folder doesn't have `config.json` file inside it. So the `pipeline` function gives error as
`Error:AttributeErro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20698/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20698/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20697/comments | https://api.github.com/repos/huggingface/transformers/issues/20697/events | https://github.com/huggingface/transformers/pull/20697 | 1,486,019,473 | PR_kwDOCUB6oc5E3Zhw | 20,697 | Added resources on albert model | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thank you @younesbelkada ! Would you mind if I ask you how I can pass the \r\nci/circleci: tests_pipelines_tf tests?\r\n\r\nI tried\r\n`pip3 install --upgrade pip`\r\n`pip3 install --upgrade tensorflow`",
"Thanks for your PR! Could you focus it solely on the new resources added? There are multiple changes that a... | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20697/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20697/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20697",
"html_url": "https://github.com/huggingface/transformers/pull/20697",
"diff_url": "https://github.com/huggingface/transformers/pull/20697.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20697.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20696/comments | https://api.github.com/repos/huggingface/transformers/issues/20696/events | https://github.com/huggingface/transformers/pull/20696 | 1,485,881,248 | PR_kwDOCUB6oc5E259k | 20,696 | added model resources for CPMAnt | {
"login": "pioliverse",
"id": 119836898,
"node_id": "U_kgDOBySQ4g",
"avatar_url": "https://avatars.githubusercontent.com/u/119836898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pioliverse",
"html_url": "https://github.com/pioliverse",
"followers_url": "https://api.github.com/users/pio... | [] | closed | false | null | [] | [
"Add some description to the model."
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20696/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20696/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20696",
"html_url": "https://github.com/huggingface/transformers/pull/20696",
"diff_url": "https://github.com/huggingface/transformers/pull/20696.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20696.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20695/comments | https://api.github.com/repos/huggingface/transformers/issues/20695/events | https://github.com/huggingface/transformers/issues/20695 | 1,485,875,447 | I_kwDOCUB6oc5YkKj3 | 20,695 | NER example | {
"login": "jiaqianjing",
"id": 16071449,
"node_id": "MDQ6VXNlcjE2MDcxNDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/16071449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiaqianjing",
"html_url": "https://github.com/jiaqianjing",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,670 | 1,670 | 1,670 | NONE | null | https://github.com/huggingface/transformers/blob/9e56aff58a742b48fc8edea8d28d5b80330efbcc/examples/pytorch/token-classification/run_ner_no_trainer.py#L601
I think modifying it this way would be better.
```python
true_predictions = [
[label_list[p] for (p, l) in zip(prediction, label) if p != -100]
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20695/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20695/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20694/comments | https://api.github.com/repos/huggingface/transformers/issues/20694/events | https://github.com/huggingface/transformers/issues/20694 | 1,485,841,299 | I_kwDOCUB6oc5YkCOT | 20,694 | A bug with subscript while maintaining beam_indices. | {
"login": "jicoder-nwpu",
"id": 46379875,
"node_id": "MDQ6VXNlcjQ2Mzc5ODc1",
"avatar_url": "https://avatars.githubusercontent.com/u/46379875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jicoder-nwpu",
"html_url": "https://github.com/jicoder-nwpu",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @gante, but note that there is little we can do to help without a reproducer of the bug.",
"Hey @aj666aj 👋 \r\n\r\nCan I have a script to reproduce your problem? I'll struggle to pinpoint the issue without it, which will make me deprioritize this issue :)",
"This issue has been automatically marked as stal... | 1,670 | 1,674 | 1,674 | NONE | null | #### This is the position with this bug: https://github.com/huggingface/transformers/blob/31d452c68b34c2567b62924ee0df40a83cbc52d5/src/transformers/generation/utils.py#L2875
#### The problem caused by this bug:
I want to get all decoder_hidden_states (with dimension [max_seq_len * (1 + decoder_layers) * (num_beam * b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20694/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20694/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20693/comments | https://api.github.com/repos/huggingface/transformers/issues/20693/events | https://github.com/huggingface/transformers/issues/20693 | 1,485,835,477 | I_kwDOCUB6oc5YkAzV | 20,693 | torch.jit.script for BertEmbeddings works on MacOS but fails on Linux | {
"login": "priyamtejaswin",
"id": 8805316,
"node_id": "MDQ6VXNlcjg4MDUzMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8805316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/priyamtejaswin",
"html_url": "https://github.com/priyamtejaswin",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Looks like the inconsistency comes from PyTorch, if all versions are the same.",
"Thanks @sgugger . I have a temporary workaround on Linux. Will raise it on the PyTorch forums.",
"> Thanks @sgugger . I have a temporary workaround on Linux. Will raise it on the PyTorch forums.\r\n\r\nHow did you solve this prob... | 1,670 | 1,678 | 1,670 | NONE | null | ### System Info
transformers : 4.23.1
torch : 1.13.0
python : 3.9.13
**Versions are the same on MacOS and Linux.**
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20693/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20700/comments | https://api.github.com/repos/huggingface/transformers/issues/20700/events | https://github.com/huggingface/transformers/issues/20700 | 1,486,469,574 | I_kwDOCUB6oc5YmbnG | 20,700 | [docs] transformers/quicktour rendering issue | {
"login": "scott-vsi",
"id": 5100631,
"node_id": "MDQ6VXNlcjUxMDA2MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5100631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scott-vsi",
"html_url": "https://github.com/scott-vsi",
"followers_url": "https://api.github.com/users/sc... | [] | closed | false | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.... | [
"Transfering to the transformers repo as it's more relevant there cc @sgugger ",
"Should be fixed by the PR mentioned above.",
"Probably not worth looking at more, but just by way of comparison, there is multiple returns on this page that seem to work (again referencing `dataset.map`):\r\n\r\nhttps://huggingfac... | 1,670 | 1,670 | 1,670 | NONE | null | There is a rendering issue in https://huggingface.co/docs/transformers/quicktour#trainer-a-pytorch-optimized-training-loop
step 5.
The markdown looks like [this](https://github.com/huggingface/transformers/blob/9e56aff58a742b48fc8edea8d28d5b80330efbcc/docs/source/en/quicktour.mdx?plain=1#L445-L451)
```python
>>... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20700/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20700/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20692/comments | https://api.github.com/repos/huggingface/transformers/issues/20692/events | https://github.com/huggingface/transformers/issues/20692 | 1,485,750,658 | I_kwDOCUB6oc5YjsGC | 20,692 | A (possible) bug of sentence permuation in BART pretraining script | {
"login": "StevenTang1998",
"id": 37647985,
"node_id": "MDQ6VXNlcjM3NjQ3OTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/37647985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StevenTang1998",
"html_url": "https://github.com/StevenTang1998",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hey @StevenTang1998!\r\n\r\nGreat question! In our Flax pre-training script, use the PAD token as the end of sentence indicator:\r\nhttps://github.com/huggingface/transformers/blob/76924384af6081e58460231c3c637f9c83cabf97/examples/flax/language-modeling/run_bart_dlm_flax.py#L626-L627\r\n\r\nThis way, the PAD token... | 1,670 | 1,671 | 1,671 | CONTRIBUTOR | null | ### System Info
None
### Who can help?
@sanchit-gandhi
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
None
### E... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20692/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20691/comments | https://api.github.com/repos/huggingface/transformers/issues/20691/events | https://github.com/huggingface/transformers/issues/20691 | 1,485,419,960 | I_kwDOCUB6oc5YibW4 | 20,691 | Doing data preprocessing in a separated run | {
"login": "fahad7033",
"id": 52211706,
"node_id": "MDQ6VXNlcjUyMjExNzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/52211706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fahad7033",
"html_url": "https://github.com/fahad7033",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @fahad7033! Cool to see that you're using the CTC example script for training 🤗 The argument `--preprocessing_only` will run the fine-tuning script up to the end of the dataset pre-processing: https://github.com/huggingface/transformers/blob/0ba94aceb6e1ab448e0acc896764a4496759cb14/ex... | 1,670 | 1,674 | 1,674 | NONE | null | ### System Info
I am trying to run the file run_speech_recognition_ctc.py on a custom dataset. I use the argument preprocessing_only to make the data preprocessing as a separated step. My question is how to start model (training as a second step) since there is no previous checkpoint.
Thanks in advance.
### Who ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20691/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20690/comments | https://api.github.com/repos/huggingface/transformers/issues/20690/events | https://github.com/huggingface/transformers/pull/20690 | 1,485,415,288 | PR_kwDOCUB6oc5E1Rvt | 20,690 | Add missing image transforms to init | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Adds functionality in the image transforms library to the init to allow direct imports e.g.:
`from transformers import center_crop`
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20690/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20690",
"html_url": "https://github.com/huggingface/transformers/pull/20690",
"diff_url": "https://github.com/huggingface/transformers/pull/20690.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20690.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20689/comments | https://api.github.com/repos/huggingface/transformers/issues/20689/events | https://github.com/huggingface/transformers/issues/20689 | 1,485,265,385 | I_kwDOCUB6oc5Yh1np | 20,689 | Best model selection changed | {
"login": "creisle",
"id": 4342641,
"node_id": "MDQ6VXNlcjQzNDI2NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4342641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/creisle",
"html_url": "https://github.com/creisle",
"followers_url": "https://api.github.com/users/creisle/... | [] | closed | false | null | [] | [
"It was never possible, it has always been on the evaluation loss (or any other metric).",
"@sgugger thanks for getting back to me so quickly! Did the default metric change at any point? I am just trying to determine why the \"best model\" being saved is different when I haven't changed anything in my data/traini... | 1,670 | 1,673 | 1,673 | NONE | null | ### System Info
```
OS: Ubuntu 18.04.2 LTS
python: 3.8.0
torch 1.10.1+cu113
torchaudio 0.10.1+cu113
torchvision 0.11.2+cu113
transformers 4.15.0
```
### Who can help?
@sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20689/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20689/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20688/comments | https://api.github.com/repos/huggingface/transformers/issues/20688/events | https://github.com/huggingface/transformers/pull/20688 | 1,485,196,683 | PR_kwDOCUB6oc5E0g4m | 20,688 | skip `test_multi_gpu_data_parallel_forward` for `MaskFormerSwinModelTest` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
`MaskFormerSwinModel` outputs `hidden_states_spatial_dimensions`, which is ``tuple(tuple(int, int))``, and can't be collected by `nn.DataParallel` to form a final output value.
(When I remove this attribute, this test passes.) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20688/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20688",
"html_url": "https://github.com/huggingface/transformers/pull/20688",
"diff_url": "https://github.com/huggingface/transformers/pull/20688.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20688.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20687/comments | https://api.github.com/repos/huggingface/transformers/issues/20687/events | https://github.com/huggingface/transformers/pull/20687 | 1,485,086,230 | PR_kwDOCUB6oc5E0INr | 20,687 | Update CI to PyTorch `1.13.0` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
The job runs with PT 1.13 show everything is fine except
```python
test_model_parallelism
(line 980) RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cuda:1)
```
Once #20686 being merged, we can merge this PR to use PT 1.13 for CI
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20687/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20687",
"html_url": "https://github.com/huggingface/transformers/pull/20687",
"diff_url": "https://github.com/huggingface/transformers/pull/20687.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20687.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20686/comments | https://api.github.com/repos/huggingface/transformers/issues/20686/events | https://github.com/huggingface/transformers/pull/20686 | 1,485,060,935 | PR_kwDOCUB6oc5E0Cb8 | 20,686 | Fix CIs for PyTorch 1.13 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello and have a good time\r\nCan anyone here help me with the \"multi_label_classification\" and \"single _label_classification\" functions?\r\nI am writing a code for dynamic quantization, and I have encountered problems with these... | 1,670 | 1,672 | 1,670 | COLLABORATOR | null | # What does this PR do?
Before we can update CI to use PyTorch 1.13, there are a few things to fix.
This PR avoids `test_model_parallelism` to fail with some models, where `PyTorch 1.13` requires more strictly the indices to be on the same device of the indexed tensor.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20686/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20686",
"html_url": "https://github.com/huggingface/transformers/pull/20686",
"diff_url": "https://github.com/huggingface/transformers/pull/20686.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20686.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.