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/22794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22794/comments
https://api.github.com/repos/huggingface/transformers/issues/22794/events
https://github.com/huggingface/transformers/issues/22794
1,670,000,996
I_kwDOCUB6oc5jijFk
22,794
LLaMA FastTokenizer does not add `eos_token_id` at the end.
{ "login": "osainz59", "id": 25911658, "node_id": "MDQ6VXNlcjI1OTExNjU4", "avatar_url": "https://avatars.githubusercontent.com/u/25911658?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osainz59", "html_url": "https://github.com/osainz59", "followers_url": "https://api.github.com/users/osa...
[]
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": "...
[ "Yes! Quick fix, use the slow tokenizer. Otherwise I'll open a PR to add template processing! \r\nThanks for reporting!", "But it shouldn't add an `eos` token right? The LM is not trained to generate a token after the `eos` I believe.", "> But it shouldn't add an `eos` token right? The LM is not trained to gene...
1,681
1,707
1,684
NONE
null
### System Info - `transformers` version: 4.29.0.dev0 - Platform: Linux-4.18.0-305.19.1.el8_4.x86_64-x86_64-with-glibc2.28 - Python version: 3.9.7 - Huggingface_hub version: 0.13.3 - Safetensors version: 0.3.0 - PyTorch version (GPU?): 2.1.0.dev20230411+cu117 (True) - Tensorflow version (GPU?): not installed (NA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22794/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/22794/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22793/comments
https://api.github.com/repos/huggingface/transformers/issues/22793/events
https://github.com/huggingface/transformers/pull/22793
1,669,994,906
PR_kwDOCUB6oc5OaohU
22,793
🌐 [i18n-KO] Translated `run_scripts.mdx` to Korean
{ "login": "HanNayeoniee", "id": 33839093, "node_id": "MDQ6VXNlcjMzODM5MDkz", "avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HanNayeoniee", "html_url": "https://github.com/HanNayeoniee", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,682
1,682
CONTRIBUTOR
null
<!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니당 --> # What does this PR do? Translated the `run_scripts.mdx` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 <!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를 사...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22793/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/22793/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22793", "html_url": "https://github.com/huggingface/transformers/pull/22793", "diff_url": "https://github.com/huggingface/transformers/pull/22793.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22793.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22792/comments
https://api.github.com/repos/huggingface/transformers/issues/22792/events
https://github.com/huggingface/transformers/issues/22792
1,669,732,257
I_kwDOCUB6oc5jhheh
22,792
LLaMA 13B does not forward or generate properly after being converted to HuggingFace checkpoints
{ "login": "RiverGao", "id": 56507857, "node_id": "MDQ6VXNlcjU2NTA3ODU3", "avatar_url": "https://avatars.githubusercontent.com/u/56507857?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RiverGao", "html_url": "https://github.com/RiverGao", "followers_url": "https://api.github.com/users/Riv...
[]
closed
false
null
[]
[ "@RiverGao - could you retry running these steps with the most recent version of transformers? Llama was under a lot of development and has only be officially added to the library in the most recent release - v4.28.0 (4.28.0.dev is some commit between 4.27 and 4.28). This ensures that you have all the most recent ...
1,681
1,686
1,686
NONE
null
### System Info ## System info - Transformer Version: 4.28.0.dev0 - Platform: Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-194-generic x86_64) - GPU: Nvidia Tesla V100 SXM2 32GB - CUDA version: 11.0 - PyTorch version: 1.12.1 ## Summary The LLaMA 13B model converted to HuggingFace format seems not able to generate any...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22792/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/22792/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22791/comments
https://api.github.com/repos/huggingface/transformers/issues/22791/events
https://github.com/huggingface/transformers/issues/22791
1,669,707,803
I_kwDOCUB6oc5jhbgb
22,791
Able to load 'gpt_neox_reward_model' type models
{ "login": "sann3", "id": 5269291, "node_id": "MDQ6VXNlcjUyNjkyOTE=", "avatar_url": "https://avatars.githubusercontent.com/u/5269291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sann3", "html_url": "https://github.com/sann3", "followers_url": "https://api.github.com/users/sann3/follower...
[]
closed
false
null
[]
[ "@sann3, could you follow the issue template please and provide: \r\n* Environment information printed out when running `transformers-cli env` in your terminal\r\n* A reproducible code snippet\r\n* Error and full traceback\r\n* Information about the expected behaviour", "Hi, to add to this (same issue). The new m...
1,681
1,681
1,681
NONE
null
### Feature request The new models from OpenAssistant are type of gpt_neox_reward_model, the latest version of transformers lib not supporting them. OpenAssistant/oasst-rm-2.1-pythia-1.4b-epoch-2.5 OpenAssistant/oasst-rm-2-pythia-6.9b-epoch-1 Getting the following error KeyError: 'gpt_neox_reward_model' ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22791/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/22791/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22790
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22790/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22790/comments
https://api.github.com/repos/huggingface/transformers/issues/22790/events
https://github.com/huggingface/transformers/issues/22790
1,669,654,480
I_kwDOCUB6oc5jhOfQ
22,790
DeBERTa models produce nonsense fill-mask output
{ "login": "mawilson1234", "id": 5022150, "node_id": "MDQ6VXNlcjUwMjIxNTA=", "avatar_url": "https://avatars.githubusercontent.com/u/5022150?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mawilson1234", "html_url": "https://github.com/mawilson1234", "followers_url": "https://api.github.com...
[ { "id": 3081136536, "node_id": "MDU6TGFiZWwzMDgxMTM2NTM2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue", "name": "Good Difficult Issue", "color": "684CC7", "default": false, "description": "" } ]
open
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! Did you find a solution/cause yet? I am experiencing the same issues on debertav3-base even though I pretrained the model on my own training data...", "No dice, but I discovered the problem is worse than than just mask filling; it doesn't even produce the right thing for given tokens.\r\n```python\r\n>>> im...
1,681
1,707
null
NONE
null
### System Info Python version: 3.8.15 Transformers version: 4.24.0 ### Who can help? @ArthurZucker, @younesbelkada ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22790/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/22790/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/22789
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22789/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22789/comments
https://api.github.com/repos/huggingface/transformers/issues/22789/events
https://github.com/huggingface/transformers/issues/22789
1,669,608,647
I_kwDOCUB6oc5jhDTH
22,789
It's possible to create a chunk pipeline with an invalid stride/max-length combination
{ "login": "boyleconnor", "id": 6520892, "node_id": "MDQ6VXNlcjY1MjA4OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/6520892?v=4", "gravatar_id": "", "url": "https://api.github.com/users/boyleconnor", "html_url": "https://github.com/boyleconnor", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "> ChunkPipeline should follow the philosophy of failing as early as possible with a clear message to the user. Therefore any initialization of a ChunkPipeline with a stride that is too long for its model's maximum length (plus the special tokens added by its tokenizer) should result in an exception.\r\n\r\nFully a...
1,681
1,682
1,682
CONTRIBUTOR
null
### System Info - `transformers` version: 4.29.0.dev0 - Platform: Darwin-21.6.0-x86_64-i386-64bit - Python version: 3.7.16 - Huggingface_hub version: 0.12.1 - Safetensors version: 0.2.8 - PyTorch version (GPU?): 1.13.1 (False) - Tensorflow version (GPU?): 2.11.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.5.3 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22789/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/22789/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22788
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22788/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22788/comments
https://api.github.com/repos/huggingface/transformers/issues/22788/events
https://github.com/huggingface/transformers/pull/22788
1,669,601,282
PR_kwDOCUB6oc5OZXT8
22,788
Feature to convert videomae huge and small finetuned on kinetics and ssv2 added to the videomae to pytorch converter
{ "login": "sandstorm12", "id": 12384476, "node_id": "MDQ6VXNlcjEyMzg0NDc2", "avatar_url": "https://avatars.githubusercontent.com/u/12384476?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sandstorm12", "html_url": "https://github.com/sandstorm12", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@NielsRogge Uploaded the huge-kinetics, small-kinetics, and small-ssv2 models to the HF model hub under the following names:\r\n\r\n1. sandstorm12/videomae-huge-finetuned-kinetics\r\n2. sandstorm12/videomae-small-finetuned-kinetics\r...
1,681
1,682
1,682
CONTRIBUTOR
null
# What does this PR do? Adds the feature to convert VideoMAE huge and small to hugging face compatible pytorch model. The following models are added to the converter: 1. VideoMAE huge fine-tuned Kinetics 2. VideoMAE small fine-tuned Kinetics 3. VideoMAE small fine-tuned SSV2 ## Who can review? @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22788/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/22788/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22788", "html_url": "https://github.com/huggingface/transformers/pull/22788", "diff_url": "https://github.com/huggingface/transformers/pull/22788.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22788.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22787
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22787/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22787/comments
https://api.github.com/repos/huggingface/transformers/issues/22787/events
https://github.com/huggingface/transformers/pull/22787
1,669,583,405
PR_kwDOCUB6oc5OZT8b
22,787
Add `top_k` argument to post-process of conditional/deformable-DETR
{ "login": "CreatlV", "id": 6471651, "node_id": "MDQ6VXNlcjY0NzE2NTE=", "avatar_url": "https://avatars.githubusercontent.com/u/6471651?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CreatlV", "html_url": "https://github.com/CreatlV", "followers_url": "https://api.github.com/users/CreatlV/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@CreatlV Thanks for opening this PR! \r\n\r\nHaving the processor be compatible with the model is definitely something we want and updating the code to make it less brittle is a great initiative. At the moment, with `min`, if `num_q...
1,681
1,683
1,683
CONTRIBUTOR
null
# What does this PR do? The current post-processing for object detection methods of deformable and conditional DETR assumes the number of classes * the number of object queries > 100. This reflects the original code in the [deformable-DETR repository](https://github.com/fundamentalvision/Deformable-DETR/blob/11169a6...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22787/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/22787/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22787", "html_url": "https://github.com/huggingface/transformers/pull/22787", "diff_url": "https://github.com/huggingface/transformers/pull/22787.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22787.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22786
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22786/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22786/comments
https://api.github.com/repos/huggingface/transformers/issues/22786/events
https://github.com/huggingface/transformers/issues/22786
1,669,574,064
I_kwDOCUB6oc5jg62w
22,786
Implement a decode method in transformers.BasicTokenizer
{ "login": "jiangwangyi", "id": 39762734, "node_id": "MDQ6VXNlcjM5NzYyNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/39762734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jiangwangyi", "html_url": "https://github.com/jiangwangyi", "followers_url": "https://api.github.com/...
[ { "id": 2648621985, "node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1", "url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request", "name": "Feature request", "color": "FBCA04", "default": false, "description": "Request for a new feature" } ]
open
false
null
[]
[ "@jiangwy99 The BasicTokenizer class will perform simple string processing e.g. splitting on white spaces. However it doesn't encode the tokens to ids, and so doesn't have a corresponding `decode` method. \r\n\r\ncc @ArthurZucker ", "@amyeroberts BasicTokenizer has implemented a tokenize function, which converts ...
1,681
1,681
null
CONTRIBUTOR
null
### Feature request Transformers has provided a nice BasicTokenizer for basic tokenizing when we don't need BPE tokenizers. For data processing (like data format converting), it is better to offer a decode method for basic use. ### Motivation When doing data format converting in some data processing problems, we usu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22786/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/22786/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/22785
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22785/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22785/comments
https://api.github.com/repos/huggingface/transformers/issues/22785/events
https://github.com/huggingface/transformers/pull/22785
1,669,524,879
PR_kwDOCUB6oc5OZIVW
22,785
improve(llama): Faster apply_rotary_pos_emb
{ "login": "fpgaminer", "id": 1585817, "node_id": "MDQ6VXNlcjE1ODU4MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1585817?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fpgaminer", "html_url": "https://github.com/fpgaminer", "followers_url": "https://api.github.com/users/fp...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Should a similar patch be applied to GPT-NeoX?", "@neggert I believe it can be added to GPT-NeoX too - very happy to review a PR if you'd like to add! " ]
1,681
1,688
1,681
CONTRIBUTOR
null
# What does this PR do? Faster implementation for `apply_rotary_pos_emb` in `modeling_llama.py`. Please see issue #22683 for code that verifies the correctness of the change. NOTE: Not marking as fixing the above issue, as speed is still not as good as before. ## Before submitting - [ ] This PR fixes a t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22785/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/22785/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22785", "html_url": "https://github.com/huggingface/transformers/pull/22785", "diff_url": "https://github.com/huggingface/transformers/pull/22785.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22785.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22784
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22784/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22784/comments
https://api.github.com/repos/huggingface/transformers/issues/22784/events
https://github.com/huggingface/transformers/issues/22784
1,669,480,676
I_kwDOCUB6oc5jgkDk
22,784
Example does not work at all
{ "login": "Oxi84", "id": 25420033, "node_id": "MDQ6VXNlcjI1NDIwMDMz", "avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Oxi84", "html_url": "https://github.com/Oxi84", "followers_url": "https://api.github.com/users/Oxi84/follow...
[]
closed
false
null
[]
[ "@Oxi84 Thanks for reporting this issue. \r\n\r\nCould you share some more information so that we can best help you? Specifically the running environment: copy-paste the info you get from running `transformers-cli env` in your terminal (\"latest version\" is ill-defined). I'm able to run the snippet: \r\n```py\r\nf...
1,681
1,684
1,684
NONE
null
### System Info latest version ### 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 GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22784/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/22784/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22783
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22783/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22783/comments
https://api.github.com/repos/huggingface/transformers/issues/22783/events
https://github.com/huggingface/transformers/pull/22783
1,669,307,348
PR_kwDOCUB6oc5OYc0Y
22,783
🌐 [i18n-KO] Translated `tasks/summarization.mdx` to Korean
{ "login": "sim-so", "id": 96299403, "node_id": "U_kgDOBb1piw", "avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sim-so", "html_url": "https://github.com/sim-so", "followers_url": "https://api.github.com/users/sim-so/followers"...
[]
closed
false
null
[]
[ "Team Pseudo Lab,\r\nI'm happy to inform you I finished the translation!\r\nCould you review this PR?", "_The documentation is not available anymore as the PR was closed or merged._", "Could you review this PR? 😄 \r\n@sgugger, @ArthurZucker, @eunseojo" ]
1,681
1,682
1,682
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/22783/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/22783/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22783", "html_url": "https://github.com/huggingface/transformers/pull/22783", "diff_url": "https://github.com/huggingface/transformers/pull/22783.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22783.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22782
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22782/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22782/comments
https://api.github.com/repos/huggingface/transformers/issues/22782/events
https://github.com/huggingface/transformers/issues/22782
1,669,206,690
I_kwDOCUB6oc5jfhKi
22,782
A minor change in the `decoder_config` of T5Model
{ "login": "uakarsh", "id": 55104596, "node_id": "MDQ6VXNlcjU1MTA0NTk2", "avatar_url": "https://avatars.githubusercontent.com/u/55104596?v=4", "gravatar_id": "", "url": "https://api.github.com/users/uakarsh", "html_url": "https://github.com/uakarsh", "followers_url": "https://api.github.com/users/uakars...
[]
closed
false
null
[]
[ "My mistake, sorry for the issue" ]
1,681
1,681
1,681
NONE
null
In the line mentioned below, https://github.com/huggingface/transformers/blob/fb3aa06cb673d0e2774a2924747d3290135c09cc/src/transformers/models/t5/modeling_t5.py#L1339, I believe there should be an update in the `decoder_config` The below is the change, I want to suggest ```python decoder_config = copy.dee...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22782/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/22782/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22781
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22781/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22781/comments
https://api.github.com/repos/huggingface/transformers/issues/22781/events
https://github.com/huggingface/transformers/issues/22781
1,669,167,463
I_kwDOCUB6oc5jfXln
22,781
Unable to import transformers.models.bert.modeling_tf_bert on macOS?
{ "login": "talhakabakus", "id": 444482, "node_id": "MDQ6VXNlcjQ0NDQ4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/444482?v=4", "gravatar_id": "", "url": "https://api.github.com/users/talhakabakus", "html_url": "https://github.com/talhakabakus", "followers_url": "https://api.github.com/u...
[]
closed
false
null
[]
[ "@talhakabakus, thanks for raising this issue. \r\n\r\nSo that we can best help you, could you provide some additional information: \r\n* Environment: Copy-paste the output of `transformers-cli env` here\r\n* The error and full trackback encountered", "This issue has been automatically marked as stale because it ...
1,681
1,684
1,684
NONE
null
### System Info ``` transformers=4.28.0 tensorflow-macos=2.9.0 python=3.10 os=macOS Ventura 13.3.1 BERT_model=uncased_L-12_H-768_A-12 ``` ### Who can help? @ArthurZucker @younesbelkada ### Information - [ ] The official example scripts - [x] My own modified scripts ### Tasks - [ ] An officially supported ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22781/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/22781/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22780
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22780/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22780/comments
https://api.github.com/repos/huggingface/transformers/issues/22780/events
https://github.com/huggingface/transformers/issues/22780
1,668,941,536
I_kwDOCUB6oc5jegbg
22,780
msgpack.exceptions.ExtraData: unpack(b) received extra data.
{ "login": "alhuri", "id": 46427957, "node_id": "MDQ6VXNlcjQ2NDI3OTU3", "avatar_url": "https://avatars.githubusercontent.com/u/46427957?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alhuri", "html_url": "https://github.com/alhuri", "followers_url": "https://api.github.com/users/alhuri/fo...
[]
closed
false
null
[]
[ "Hey @alhuri! Echoing what I suggested in https://github.com/huggingface/transformers/issues/22673#issuecomment-1517714740 - this is probably best asked on the Italian Hybrid CLIP repo (since they use a custom implementation of JAX CLIP there). Unless you have a code snippet that I can use to reproduce this error w...
1,681
1,684
1,684
NONE
null
### System Info - `transformers` version: 4.9.0 - Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): 2.9.1 (True) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (gpu) - Jax version: 0.4.8 - JaxLib version: 0.4.7 - Us...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22780/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/22780/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22779
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22779/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22779/comments
https://api.github.com/repos/huggingface/transformers/issues/22779/events
https://github.com/huggingface/transformers/pull/22779
1,668,929,748
PR_kwDOCUB6oc5OXO5C
22,779
Move labels to the same device as logits for Whisper
{ "login": "oscar-garzon", "id": 37828243, "node_id": "MDQ6VXNlcjM3ODI4MjQz", "avatar_url": "https://avatars.githubusercontent.com/u/37828243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oscar-garzon", "html_url": "https://github.com/oscar-garzon", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? Fixes issue #22561 by moving labels to the same device as logits for `Whisper` model. @sgugger Could you please review?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22779/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/22779/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22779", "html_url": "https://github.com/huggingface/transformers/pull/22779", "diff_url": "https://github.com/huggingface/transformers/pull/22779.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22779.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22778
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22778/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22778/comments
https://api.github.com/repos/huggingface/transformers/issues/22778/events
https://github.com/huggingface/transformers/issues/22778
1,668,672,729
I_kwDOCUB6oc5jdezZ
22,778
LLama RuntimeError: CUDA error: device-side assert triggered
{ "login": "abdoelsayed2016", "id": 27821589, "node_id": "MDQ6VXNlcjI3ODIxNTg5", "avatar_url": "https://avatars.githubusercontent.com/u/27821589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abdoelsayed2016", "html_url": "https://github.com/abdoelsayed2016", "followers_url": "https://api...
[]
closed
false
null
[]
[ "@abdoelsayed2016 Thanks for raising this issue. Could you share a minimal code snippet to enable us to reproduce the error? \r\n\r\nJust from the traceback alone, it seems that the issue is CUDA related, rather than the transformers model. The Llama model has been under active development and was part of the offic...
1,681
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.28.0.dev0 - Platform: Linux-4.18.0-372.16.1.el8_6.0.1.x86_64-x86_64-with-glibc2.28 - Python version: 3.9.7 - Huggingface_hub version: 0.13.3 - PyTorch version (GPU?): 2.0.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22778/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/22778/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22777
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22777/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22777/comments
https://api.github.com/repos/huggingface/transformers/issues/22777/events
https://github.com/huggingface/transformers/pull/22777
1,668,632,714
PR_kwDOCUB6oc5OWNE9
22,777
Remove accelerate from tf test reqs
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[]
closed
false
null
[]
[ "While the tests aren't being ran here, I did run it on the branch I'm working on (that doesn't touch tf code) and it still passes (and passes now): \r\n![image](https://user-images.githubusercontent.com/7831895/232113596-a95320b8-43bf-405b-ada2-00e617323dc6.png)\r\n", "_The documentation is not available anymore...
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? This PR removes `accelerate` from the tf example test requirements as I believe its unused and causing issues with the `Accelerate` integration ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22777/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/22777/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22777", "html_url": "https://github.com/huggingface/transformers/pull/22777", "diff_url": "https://github.com/huggingface/transformers/pull/22777.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22777.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22776
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22776/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22776/comments
https://api.github.com/repos/huggingface/transformers/issues/22776/events
https://github.com/huggingface/transformers/pull/22776
1,668,632,254
PR_kwDOCUB6oc5OWM-V
22,776
Indexing fix - CLIP checkpoint conversion
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? In the conversion script, there was an indexing error, where the image and text logits where taken as the 2nd and 3rd outputs of the HF model. However, this is only the case if the model returns a loss. This PR updates the script to explicitly take the named parameters. Fixes #22739 ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22776/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/22776/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22776", "html_url": "https://github.com/huggingface/transformers/pull/22776", "diff_url": "https://github.com/huggingface/transformers/pull/22776.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22776.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22775
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22775/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22775/comments
https://api.github.com/repos/huggingface/transformers/issues/22775/events
https://github.com/huggingface/transformers/issues/22775
1,668,568,298
I_kwDOCUB6oc5jdFTq
22,775
trainer.is_model_parallel seems conflict with deepspeed
{ "login": "ehion", "id": 11802981, "node_id": "MDQ6VXNlcjExODAyOTgx", "avatar_url": "https://avatars.githubusercontent.com/u/11802981?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ehion", "html_url": "https://github.com/ehion", "followers_url": "https://api.github.com/users/ehion/follow...
[]
closed
false
null
[]
[ "https://huggingface.co/transformers/v4.6.0/_modules/transformers/trainer.html", "and when i test a smaller model which could fit in one gpu memory and does not need model parallel \r\nby running :\r\ndeepspeed \"script + config\" --deepspeed **.json (with num_gpus 2 )\r\nno error occures anymore", "cc @stas00...
1,681
1,685
1,681
NONE
null
### System Info accelerate 0.18.0 aiofiles 23.1.0 aiohttp 3.8.4 aiosignal 1.3.1 altair 4.2.2 anyio 3.6.2 asttokens 2.2.1 async-timeout 4.0.2 att...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22775/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/22775/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22774
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22774/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22774/comments
https://api.github.com/repos/huggingface/transformers/issues/22774/events
https://github.com/huggingface/transformers/pull/22774
1,668,478,985
PR_kwDOCUB6oc5OVrou
22,774
Don't use `LayoutLMv2` and `LayoutLMv3` in some 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._", "Merge now as this PR only touches tests. Feel free to leave a comment if any @NielsRogge " ]
1,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? These 2 models require **different input format** than those of usual text models. See the relevant code block at the end. The offline discussion with @NielsRogge is that **these 2 models are only for DocQA pipeline**, despite they have implementations for different head tasks. Therefore...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22774/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/22774/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22774", "html_url": "https://github.com/huggingface/transformers/pull/22774", "diff_url": "https://github.com/huggingface/transformers/pull/22774.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22774.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22773
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22773/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22773/comments
https://api.github.com/repos/huggingface/transformers/issues/22773/events
https://github.com/huggingface/transformers/issues/22773
1,668,467,266
I_kwDOCUB6oc5jcspC
22,773
'transformer_model' object has no attribute 'module'
{ "login": "sqinghua", "id": 71050713, "node_id": "MDQ6VXNlcjcxMDUwNzEz", "avatar_url": "https://avatars.githubusercontent.com/u/71050713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sqinghua", "html_url": "https://github.com/sqinghua", "followers_url": "https://api.github.com/users/sqi...
[]
closed
false
null
[]
[ "@sqinghua, this is happening because the class `transformer_model` inherits from PyTorch's nn.Module class, which doesn't have a `save_pretrained` method. `save_pretrained` is a transformers library specific method common to models which inherit from `PreTrainedModel`. \r\n\r\nI'm not sure why `torch.save(...)` do...
1,681
1,681
1,681
NONE
null
### System Info ```shell Platform: Kaggle python: 3.7 torch: 1.13.0 transformers: 4.27.4 tensorflow: 2.11.0 pre-trained model used: XLNET ``` ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22773/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/22773/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22772
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22772/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22772/comments
https://api.github.com/repos/huggingface/transformers/issues/22772/events
https://github.com/huggingface/transformers/pull/22772
1,668,461,742
PR_kwDOCUB6oc5OVn4l
22,772
Seq2SeqTrainer: Evict decoder_input_ids only when it is created from labels
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "> Did you confirm the failing test now passes?\r\n\r\nYes :D Both the SQUAD test that made me add the previous eviction and the command that FSMT command that @stas00 shared are passing with this PR", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
MEMBER
null
# What does this PR do? Fixes #22634 (what remains of the issue, the [failing FSMT command in this comment](https://github.com/huggingface/transformers/issues/22634#issuecomment-1500919952)) A previous PR (#22108) expanded the capabilities of the trainer, by delegating input selection to `.generate()`. However, i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22772/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/22772/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22772", "html_url": "https://github.com/huggingface/transformers/pull/22772", "diff_url": "https://github.com/huggingface/transformers/pull/22772.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22772.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22771
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22771/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22771/comments
https://api.github.com/repos/huggingface/transformers/issues/22771/events
https://github.com/huggingface/transformers/issues/22771
1,668,404,146
I_kwDOCUB6oc5jcdOy
22,771
TF Swiftformer
{ "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": 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
[]
[ "Hi! I would like to take on this as my first issue if possible. Is that okay?", "@joaocmd Of course! Cool issue to start on 🤗 \r\n\r\nIf you haven't seen it already, there's a detailed guide in the docs on porting a model to TensorFlow: https://huggingface.co/docs/transformers/add_tensorflow_model\r\n\r\nIt's b...
1,681
1,688
null
COLLABORATOR
null
### Model description Add the TensorFlow port of the SwiftFormer model. See related issue: #22685 To be done once the SwiftFormer model has been added: #22686 ### Open source status - [X] The model implementation is available - [X] The model weights are available ### Provide useful links for the implementation...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22771/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/22771/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/22770
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22770/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22770/comments
https://api.github.com/repos/huggingface/transformers/issues/22770/events
https://github.com/huggingface/transformers/pull/22770
1,668,283,131
PR_kwDOCUB6oc5OVCQl
22,770
Tweak ESM tokenizer for Nucleotide Transformer
{ "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 documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
MEMBER
null
Nucleotide Transformer is a model that takes DNA inputs. It uses the same model architecture as the protein model ESM, but in addition to a different vocabulary it tokenizes inputs without a `<sep>` or `<eos>` token at the end. This PR makes a small tweak to the tokenization code for ESM, so that it doesn't try to add ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22770/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/22770/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22770", "html_url": "https://github.com/huggingface/transformers/pull/22770", "diff_url": "https://github.com/huggingface/transformers/pull/22770.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22770.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22769
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22769/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22769/comments
https://api.github.com/repos/huggingface/transformers/issues/22769/events
https://github.com/huggingface/transformers/issues/22769
1,668,277,758
I_kwDOCUB6oc5jb-X-
22,769
Error projecting concatenated Fourier Features.
{ "login": "sr-ndai", "id": 99852046, "node_id": "U_kgDOBfOfDg", "avatar_url": "https://avatars.githubusercontent.com/u/99852046?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sr-ndai", "html_url": "https://github.com/sr-ndai", "followers_url": "https://api.github.com/users/sr-ndai/follow...
[]
closed
false
{ "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/...
[ { "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": "htt...
[ "@sr-ndai Thanks for raising this issue and detailed reproduction. \r\n\r\nCould you share the config or checkpoint being used in this example? ", "@amyeroberts No problem, here is the configuration I used:\r\n```python\r\nfrom transformers import PerceiverConfig\r\n\r\nconfig = PerceiverConfig(\r\n num_latent...
1,681
1,693
1,693
NONE
null
### System Info - `transformers` version: 4.27.4 - Platform: macOS-13.3.1-arm64-arm-64bit - Python version: 3.9.16 - Huggingface_hub version: 0.13.4 - PyTorch version (GPU?): 2.0.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22769/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/22769/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22768
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22768/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22768/comments
https://api.github.com/repos/huggingface/transformers/issues/22768/events
https://github.com/huggingface/transformers/issues/22768
1,668,057,872
I_kwDOCUB6oc5jbIsQ
22,768
How to avoid adding double start of token<s><s> in TrOCR during training ?
{ "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 @ArthurZucker ", "+1", "Thanks for Natabara for his comment The solution is super easy by just skipping <s> start token `labels= labels[1:] ` coming from the tokenizer because the tokenizer adds start token <s> and the TrOCR adds start token <s> automatically as mentioned in TrOCR paper ``` def __getitem__(...
1,681
1,681
1,681
NONE
null
**Describe the bug** The model I am using (TrOCR Model): The problem arises when using: * [x] the official example scripts: done by the nice tutorial [(fine_tune)](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/TrOCR/Fine_tune_TrOCR_on_IAM_Handwriting_Database_using_Seq2SeqTrainer.ipynb) @NielsR...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22768/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/22768/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22767
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22767/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22767/comments
https://api.github.com/repos/huggingface/transformers/issues/22767/events
https://github.com/huggingface/transformers/issues/22767
1,667,914,956
I_kwDOCUB6oc5jalzM
22,767
Mobilenet_v1 Dropout probability
{ "login": "andreysher", "id": 30853561, "node_id": "MDQ6VXNlcjMwODUzNTYx", "avatar_url": "https://avatars.githubusercontent.com/u/30853561?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andreysher", "html_url": "https://github.com/andreysher", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "@andreysher Thanks for raising this issue. The dropout rate `p` or `rate` is defined the same for TensorFlow and PyTorch layers. \r\n\r\nFrom the [TensorFlow documentation](https://www.tensorflow.org/api_docs/python/tf/keras/layers/Dropout): \r\n> The Dropout layer randomly sets input units to 0 with a frequency o...
1,681
1,684
1,684
NONE
null
Hi @amyeroberts [here](https://github.com/huggingface/transformers/pull/17799) is the pull request with some interesting bug. Mobilenetv2 made from tensorflow checkpoint, but in Tensorflow dropout prob is the fraction of **non zero** values, but in PyTorch this is fraction of **zero** values. It should be **1 - prob** ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22767/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/22767/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22766
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22766/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22766/comments
https://api.github.com/repos/huggingface/transformers/issues/22766/events
https://github.com/huggingface/transformers/pull/22766
1,667,875,858
PR_kwDOCUB6oc5OTr_l
22,766
Fix failing torchscript tests for `CpmAnt` model
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? The failure is caused by some type issues (dict, tuple, etc) in the outputs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22766/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/22766/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22766", "html_url": "https://github.com/huggingface/transformers/pull/22766", "diff_url": "https://github.com/huggingface/transformers/pull/22766.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22766.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22765
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22765/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22765/comments
https://api.github.com/repos/huggingface/transformers/issues/22765/events
https://github.com/huggingface/transformers/pull/22765
1,667,862,986
PR_kwDOCUB6oc5OTpO6
22,765
Fix word_ids hyperlink
{ "login": "mayankagarwals", "id": 39498938, "node_id": "MDQ6VXNlcjM5NDk4OTM4", "avatar_url": "https://avatars.githubusercontent.com/u/39498938?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayankagarwals", "html_url": "https://github.com/mayankagarwals", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "CC @amyeroberts ", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
Fixes https://github.com/huggingface/transformers/issues/22729
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22765/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/22765/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22765", "html_url": "https://github.com/huggingface/transformers/pull/22765", "diff_url": "https://github.com/huggingface/transformers/pull/22765.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22765.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22764
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22764/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22764/comments
https://api.github.com/repos/huggingface/transformers/issues/22764/events
https://github.com/huggingface/transformers/pull/22764
1,667,821,637
PR_kwDOCUB6oc5OTgKc
22,764
Fix a mistake in Llama weight converter log output.
{ "login": "aljungberg", "id": 154423, "node_id": "MDQ6VXNlcjE1NDQyMw==", "avatar_url": "https://avatars.githubusercontent.com/u/154423?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aljungberg", "html_url": "https://github.com/aljungberg", "followers_url": "https://api.github.com/users/a...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? Fixes a mistake in Llama weight converter log output. Before: `Saving a {tokenizer_class} to {tokenizer_path}` After: `Saving a LlamaTokenizerFast to outdir.` ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22764/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/22764/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22764", "html_url": "https://github.com/huggingface/transformers/pull/22764", "diff_url": "https://github.com/huggingface/transformers/pull/22764.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22764.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22763
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22763/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22763/comments
https://api.github.com/repos/huggingface/transformers/issues/22763/events
https://github.com/huggingface/transformers/pull/22763
1,667,778,484
PR_kwDOCUB6oc5OTXHj
22,763
Generate: pin number of beams in BART test
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
MEMBER
null
# What does this PR do? A recent change added the `num_beams==1` requirement for contrastive search. One of the tests started failing because of that change -- BART has `num_beams=4` [in its config](https://huggingface.co/facebook/bart-large-cnn/blob/main/config.json#L49), so the test was now triggering beam search,...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22763/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/22763/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22763", "html_url": "https://github.com/huggingface/transformers/pull/22763", "diff_url": "https://github.com/huggingface/transformers/pull/22763.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22763.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22762
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22762/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22762/comments
https://api.github.com/repos/huggingface/transformers/issues/22762/events
https://github.com/huggingface/transformers/issues/22762
1,667,767,437
I_kwDOCUB6oc5jaByN
22,762
RecursionError: maximum recursion depth exceeded while getting the str of an object.
{ "login": "EZlzh", "id": 52556332, "node_id": "MDQ6VXNlcjUyNTU2MzMy", "avatar_url": "https://avatars.githubusercontent.com/u/52556332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EZlzh", "html_url": "https://github.com/EZlzh", "followers_url": "https://api.github.com/users/EZlzh/follow...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "same problem, is there any progress?", "Hey! The main issue is that they did not update the tokenizer files at `\"decapoda-research/llama-7b-hf\"` but they are using the latest version of transformers. The tokenizer was fixed see #22402 and corrected. Nothing we can do on our end...", "@...
1,681
1,685
1,685
NONE
null
**System Info** Python 3.8.10 transformers 4.29.0.dev0 sentencepiece 0.1.97 **Information** - [x] The official example scripts - [ ] My own modified scripts **Reproduction** In https://github.com/CarperAI/trlx/tree/main/examples ```python https://ppo_sentiments_llama.py``` The loops occur as follows: /...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22762/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 3 }
https://api.github.com/repos/huggingface/transformers/issues/22762/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22761
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22761/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22761/comments
https://api.github.com/repos/huggingface/transformers/issues/22761/events
https://github.com/huggingface/transformers/pull/22761
1,667,737,654
PR_kwDOCUB6oc5OTOUl
22,761
Pix2struct: doctest fix
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "oops, wrong core maintainer :D", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
MEMBER
null
# What does this PR do? Fixes the failing doctest: different machines may produce minor FP32 differences. This PR formats the printed number to a few decimal places.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22761/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/22761/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22761", "html_url": "https://github.com/huggingface/transformers/pull/22761", "diff_url": "https://github.com/huggingface/transformers/pull/22761.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22761.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22760/comments
https://api.github.com/repos/huggingface/transformers/issues/22760/events
https://github.com/huggingface/transformers/issues/22760
1,667,620,565
I_kwDOCUB6oc5jZd7V
22,760
WhisperForAudioClassification RuntimeError tensor size doesn't match
{ "login": "xiao1ongbao", "id": 111791611, "node_id": "U_kgDOBqnN-w", "avatar_url": "https://avatars.githubusercontent.com/u/111791611?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xiao1ongbao", "html_url": "https://github.com/xiao1ongbao", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey @xiao1ongbao! I'm hoping that your fine-tuning run was successful! Let me know if you encounter any issues - more than happy to help here 🤗", "Hey! How did you solve that?", "Do you have a reproducible code snippet to trigger the error @lnfin? I didn't encounter this in my experiments!" ]
1,681
1,684
1,681
NONE
null
### System Info - `transformers` version: 4.28.0 - Platform: Linux-5.4.190-107.353.amzn2.x86_64-x86_64-with-glibc2.31 - Python version: 3.9.16 - Huggingface_hub version: 0.13.4 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - F...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22760/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/22760/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22759/comments
https://api.github.com/repos/huggingface/transformers/issues/22759/events
https://github.com/huggingface/transformers/pull/22759
1,667,611,349
PR_kwDOCUB6oc5OS0Lk
22,759
chore: allow protobuf 3.20.3 requirement
{ "login": "jose-turintech", "id": 93319775, "node_id": "U_kgDOBY_yXw", "avatar_url": "https://avatars.githubusercontent.com/u/93319775?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jose-turintech", "html_url": "https://github.com/jose-turintech", "followers_url": "https://api.github.com...
[]
closed
false
{ "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/...
[ { "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.githu...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22759). All of your documentation changes will be reflected on that endpoint.", "cc @ydshieh ", "Hi @jose-turintech Thank you for this PR ❤️ .\r\n\r\nUnfortunately, as you can see in the CI results, the changes cause some...
1,681
1,683
1,683
CONTRIBUTOR
null
Allow latest bugfix release for protobuf (3.20.3) # What does this PR do? Change in requirements for python library so it allows the use of latest bugfix release for protobuf (3.20.3) instead of restricting it to the upper bound limit for this dependency to 3.20.2 (<=3.20.2).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22759/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/22759/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22759", "html_url": "https://github.com/huggingface/transformers/pull/22759", "diff_url": "https://github.com/huggingface/transformers/pull/22759.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22759.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22758/comments
https://api.github.com/repos/huggingface/transformers/issues/22758/events
https://github.com/huggingface/transformers/issues/22758
1,667,495,706
I_kwDOCUB6oc5jY_ca
22,758
GPTNeoX position_ids not defined
{ "login": "murthyrudra", "id": 14203368, "node_id": "MDQ6VXNlcjE0MjAzMzY4", "avatar_url": "https://avatars.githubusercontent.com/u/14203368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/murthyrudra", "html_url": "https://github.com/murthyrudra", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "`transformers` isn't involved with deepspeed's inference engine, other than being used by it indirectly, so please refile at https://github.com/microsoft/DeepSpeed/issues. Thank you." ]
1,681
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.28.0.dev0 - Platform: Linux-4.18.0-425.10.1.el8_7.x86_64-x86_64-with-glibc2.28 - Python version: 3.9.13 - Huggingface_hub version: 0.13.3 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22758/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/22758/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22757/comments
https://api.github.com/repos/huggingface/transformers/issues/22757/events
https://github.com/huggingface/transformers/issues/22757
1,667,494,532
I_kwDOCUB6oc5jY_KE
22,757
Huge Num Epochs (9223372036854775807) when using Trainer API with streaming dataset
{ "login": "oonisim", "id": 15814603, "node_id": "MDQ6VXNlcjE1ODE0NjAz", "avatar_url": "https://avatars.githubusercontent.com/u/15814603?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oonisim", "html_url": "https://github.com/oonisim", "followers_url": "https://api.github.com/users/oonisi...
[]
closed
false
null
[]
[ "That's because the dataset you are using does not have a length, so the Trainer sets the number of epochs to a very high number to make sure it does the number of steps you are asking for.", "@sgugger , thanks for the explanation. \r\n\r\nMay I suggest updating the document adding the Trainer behavior and requir...
1,681
1,681
1,681
NONE
null
### System Info # System Info Running on SageMaker Studio g4dn 2xlarge. ``` !cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" ``` ``` !transformers-cli env - `transformers` version: 4.28.0 - Platform: Linux-4.14.309-231.529.amzn2.x86_64-x86_64-with-debian-10.6 - Python version: 3.7.10 - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22757/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/22757/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22756/comments
https://api.github.com/repos/huggingface/transformers/issues/22756/events
https://github.com/huggingface/transformers/issues/22756
1,667,461,041
I_kwDOCUB6oc5jY2-x
22,756
TypeError: export() got an unexpected keyword argument 'preprocessor'
{ "login": "susht3", "id": 12723964, "node_id": "MDQ6VXNlcjEyNzIzOTY0", "avatar_url": "https://avatars.githubusercontent.com/u/12723964?v=4", "gravatar_id": "", "url": "https://api.github.com/users/susht3", "html_url": "https://github.com/susht3", "followers_url": "https://api.github.com/users/susht3/fo...
[ { "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
[]
[ "@susht3, could you please follow the issue template and provide a minimal reproducible code snippet, information about the running environment (found using `transformers-cli env`) and a full trackback of the error? " ]
1,681
1,681
null
NONE
null
### Model description onnx_inputs, onnx_outputs = export( preprocessor=tokenizer, model=model, config=onnx_config, opset=10, output=onnx_model_path ) i got error: TypeError: export() got an unexpected keyword argument 'preprocessor' ### Open source status - [ ] The model implementation is av...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22756/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/22756/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/22755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22755/comments
https://api.github.com/repos/huggingface/transformers/issues/22755/events
https://github.com/huggingface/transformers/issues/22755
1,667,408,984
I_kwDOCUB6oc5jYqRY
22,755
no transformers version 4.29.0.dev0
{ "login": "skye95git", "id": 41561936, "node_id": "MDQ6VXNlcjQxNTYxOTM2", "avatar_url": "https://avatars.githubusercontent.com/u/41561936?v=4", "gravatar_id": "", "url": "https://api.github.com/users/skye95git", "html_url": "https://github.com/skye95git", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "`pip install git+https://github.com/huggingface/transformers`\r\n\r\nThe above will install the git/head version which is 4.29.0.dev0.", "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\nPleas...
1,681
1,684
1,684
NONE
null
https://github.com/huggingface/transformers/blob/bfb3925fcbbb4fda83e023448e36e4d6c6f16a4c/examples/pytorch/language-modeling/run_mlm.py#L56 I try to run script `run_mlm.py`, meet an error: ImportError: This example requires a source install from HuggingFace Transformers (see `https://huggingface.co/transformers/inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22755/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/22755/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22754/comments
https://api.github.com/repos/huggingface/transformers/issues/22754/events
https://github.com/huggingface/transformers/pull/22754
1,667,369,874
PR_kwDOCUB6oc5OSBzy
22,754
🌐 [i18n-KO] translate `create_a_model` doc to Korean
{ "login": "gabrielwithappy", "id": 102908949, "node_id": "U_kgDOBiJEFQ", "avatar_url": "https://avatars.githubusercontent.com/u/102908949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gabrielwithappy", "html_url": "https://github.com/gabrielwithappy", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Team PseudoLab, may you please review this PR?\r\n@0525hhgus, @KIHOON71, @sim-so, @gabrielwithappy, @HanNayeoniee, @wonhyeongseo, @jungnerd\r\n", "리뷰 해주신 내용 확인했습니다. \r\n확인해보고 다시 업데이트 할께요~", "@sgugger, @ArthurZucker, @eunseojo May...
1,681
1,682
1,682
CONTRIBUTOR
null
# What does this PR do? Translated the `create_a_model.mdx` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22754/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/22754/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22754", "html_url": "https://github.com/huggingface/transformers/pull/22754", "diff_url": "https://github.com/huggingface/transformers/pull/22754.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22754.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22753/comments
https://api.github.com/repos/huggingface/transformers/issues/22753/events
https://github.com/huggingface/transformers/issues/22753
1,667,255,193
I_kwDOCUB6oc5jYEuZ
22,753
Add callbacks method to the trainer which are called when the loop starts and when skipping steps ends
{ "login": "Hubert-Bonisseur", "id": 48770768, "node_id": "MDQ6VXNlcjQ4NzcwNzY4", "avatar_url": "https://avatars.githubusercontent.com/u/48770768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Hubert-Bonisseur", "html_url": "https://github.com/Hubert-Bonisseur", "followers_url": "https://...
[]
closed
false
null
[]
[ "cc @sgugger ", "It sounds like an interesting addition, but the callbacks don't have access to the training dataset, so I'm not sure how you would use that for your use case.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be address...
1,681
1,684
1,684
NONE
null
### Feature request Add callbacks method in the training loop when the loop starts and when the steps skipping end. ### Motivation When using an iterable dataset, all preprocessing is done on the fly when a batch is requested by the dataloader. As a result, when resuming training from a checkpoint, steps skipping ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22753/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/22753/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22752/comments
https://api.github.com/repos/huggingface/transformers/issues/22752/events
https://github.com/huggingface/transformers/pull/22752
1,667,042,024
PR_kwDOCUB6oc5OQ7ZU
22,752
Introduce `PartialState` as the device handler in the `Trainer`
{ "login": "muellerzr", "id": 7831895, "node_id": "MDQ6VXNlcjc4MzE4OTU=", "avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4", "gravatar_id": "", "url": "https://api.github.com/users/muellerzr", "html_url": "https://github.com/muellerzr", "followers_url": "https://api.github.com/users/mu...
[ { "id": 1834053813, "node_id": "MDU6TGFiZWwxODM0MDUzODEz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch", "name": "PyTorch", "color": "a12bef", "default": false, "description": "Anything PyTorch" }, { "id": 2107554019, "node_id": "MDU6TGFiZWwyM...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@pacman100 I'm starting small with what is minimally needed with the API. E.g. the AcceleratorState isn't needed until we get into parts such as mixed precision. The device handling can be done separately altogether as it doesn't nee...
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? This PR is the start of the `Trainer` integration of [Accelerate](https://github.com/huggingface/accelerate) The integration will follow multiple stages to ensure small changes happen iteratively. This first one simply changes the device handler/setter to be the `PartialState` in `Accelera...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22752/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/22752/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22752", "html_url": "https://github.com/huggingface/transformers/pull/22752", "diff_url": "https://github.com/huggingface/transformers/pull/22752.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22752.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22751/comments
https://api.github.com/repos/huggingface/transformers/issues/22751/events
https://github.com/huggingface/transformers/issues/22751
1,667,025,967
I_kwDOCUB6oc5jXMwv
22,751
DeepSpeed integration not respecting `--warmup_steps` in multi-gpu setting
{ "login": "cchen-dialpad", "id": 47165889, "node_id": "MDQ6VXNlcjQ3MTY1ODg5", "avatar_url": "https://avatars.githubusercontent.com/u/47165889?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cchen-dialpad", "html_url": "https://github.com/cchen-dialpad", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Thank you for the detailed report and an easy way to reproduce it, @cchen-dialpad \r\n\r\nI'm very much doubting this has anything to do with deepspeed, since you're not using its LR Scheduler, but the default `get_linear_schedule_with_warmup` in HF Trainer. That is you should see the same behavior w/o using deep...
1,681
1,681
1,681
CONTRIBUTOR
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.15.0-1030-gcp-x86_64-with-debian-bullseye-sid - Python version: 3.7.16 - Huggingface_hub version: 0.13.4 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Deepspeed version: 0.8.3 ### Who can help? @stas00 @sgugger ### Information -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22751/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/22751/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22750/comments
https://api.github.com/repos/huggingface/transformers/issues/22750/events
https://github.com/huggingface/transformers/pull/22750
1,666,992,570
PR_kwDOCUB6oc5OQxDZ
22,750
Revert (for now) the change on `Deta` in #22437
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? See #22656 for some discussion. Basically, the loading of checkpoints for this model is currently not working correctly, and we do want to avoid this situation as early as possible.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22750/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/22750/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22750", "html_url": "https://github.com/huggingface/transformers/pull/22750", "diff_url": "https://github.com/huggingface/transformers/pull/22750.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22750.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22749/comments
https://api.github.com/repos/huggingface/transformers/issues/22749/events
https://github.com/huggingface/transformers/pull/22749
1,666,939,338
PR_kwDOCUB6oc5OQl0d
22,749
Allow fine-tune wav2vec2 with local path custom dataset
{ "login": "ProgramadorArtificial", "id": 130674366, "node_id": "U_kgDOB8nuvg", "avatar_url": "https://avatars.githubusercontent.com/u/130674366?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ProgramadorArtificial", "html_url": "https://github.com/ProgramadorArtificial", "followers_url": ...
[]
closed
false
null
[]
[ "@ProgramadorArtificial Thanks for taking the time to open this PR. \r\n\r\nThe example scripts are just examples and won't work out-of-the-box for all problems. As you've done here, a few lines of code might be needed to adapt to different use cases. This change is very specific. As such, it's not an addition we'l...
1,681
1,684
1,684
NONE
null
# What does this PR do? In the examples for fine-tuning Wav2Vec2 it is possible to use a HuggingFace dataset that is ready to be trained. But when we want to use a local/custom dataset, it's easier to create a .tsv that points to the file path. Which doesn't work in current version - returning error: "AttributeError...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22749/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/22749/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22749", "html_url": "https://github.com/huggingface/transformers/pull/22749", "diff_url": "https://github.com/huggingface/transformers/pull/22749.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22749.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22748/comments
https://api.github.com/repos/huggingface/transformers/issues/22748/events
https://github.com/huggingface/transformers/pull/22748
1,666,865,982
PR_kwDOCUB6oc5OQWiE
22,748
Generate: handle text conditioning with multimodal encoder-decoder models
{ "login": "gante", "id": 12240844, "node_id": "MDQ6VXNlcjEyMjQwODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gante", "html_url": "https://github.com/gante", "followers_url": "https://api.github.com/users/gante/follow...
[]
closed
false
null
[]
[ "cc @younesbelkada @NielsRogge FYI -- this PR consolidates your recent changes regarding text conditioning on multimodal models. The next models should be easier to add :) ", "_The documentation is not available anymore as the PR was closed or merged._", "Thanks a lot @gante! 🙏 " ]
1,681
1,681
1,681
MEMBER
null
# What does this PR do? Consolidates `decoder_input_ids` preparation changes in a single place, for all future multimodal encoder-decoder models on PT and TF. In a nutshell, this PR generalizes the following use cases: 1. The user passes `decoder_input_ids`, but it is missing the BOS token (some tokenizers, like...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22748/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/22748/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22748", "html_url": "https://github.com/huggingface/transformers/pull/22748", "diff_url": "https://github.com/huggingface/transformers/pull/22748.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22748.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22747/comments
https://api.github.com/repos/huggingface/transformers/issues/22747/events
https://github.com/huggingface/transformers/pull/22747
1,666,662,258
PR_kwDOCUB6oc5OPqEb
22,747
[trainer] update url
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
Fixes: https://github.com/huggingface/transformers/issues/22142 update the link to its stable version now that pt-2.0 is out.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22747/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/22747/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22747", "html_url": "https://github.com/huggingface/transformers/pull/22747", "diff_url": "https://github.com/huggingface/transformers/pull/22747.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22747.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22746/comments
https://api.github.com/repos/huggingface/transformers/issues/22746/events
https://github.com/huggingface/transformers/pull/22746
1,666,486,954
PR_kwDOCUB6oc5OPD1L
22,746
fix(llama): fix LlamaTokenzier
{ "login": "rockmagma02", "id": 77961318, "node_id": "MDQ6VXNlcjc3OTYxMzE4", "avatar_url": "https://avatars.githubusercontent.com/u/77961318?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rockmagma02", "html_url": "https://github.com/rockmagma02", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for your quick review, I have re-run the CI tests. 🤗 @amyeroberts @ArthurZucker " ]
1,681
1,681
1,681
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/22746/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/22746/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22746", "html_url": "https://github.com/huggingface/transformers/pull/22746", "diff_url": "https://github.com/huggingface/transformers/pull/22746.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22746.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22745/comments
https://api.github.com/repos/huggingface/transformers/issues/22745/events
https://github.com/huggingface/transformers/pull/22745
1,666,471,500
PR_kwDOCUB6oc5OPAvJ
22,745
`DocumentQuestionAnsweringPipeline` only for fast ⚡ tokenizers
{ "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._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22745). All of your documentation changes will be reflected on that endpoint." ]
1,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? So let's make this more clear and explicit.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22745/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/22745/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22745", "html_url": "https://github.com/huggingface/transformers/pull/22745", "diff_url": "https://github.com/huggingface/transformers/pull/22745.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22745.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22744/comments
https://api.github.com/repos/huggingface/transformers/issues/22744/events
https://github.com/huggingface/transformers/issues/22744
1,666,462,752
I_kwDOCUB6oc5jVDQg
22,744
Bug in Seq2SeqTrainer?
{ "login": "qmeeus", "id": 25608944, "node_id": "MDQ6VXNlcjI1NjA4OTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/25608944?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qmeeus", "html_url": "https://github.com/qmeeus", "followers_url": "https://api.github.com/users/qmeeus/fo...
[]
closed
false
null
[]
[ "This has been fixed on main, so make sure to do a source install (or in a couple of hours you can upgrade to v4.28.0 once it's released).", "Shame on me, I did not pull the latest changes\r\n\r\nThank you for your quick answer", "No worries at all!" ]
1,681
1,681
1,681
CONTRIBUTOR
null
### System Info Transformers version: 4.28.0.dev0 Pytorch version: 2 ### Who can help? @sanchit-gandhi @sgugger ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22744/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/22744/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22743/comments
https://api.github.com/repos/huggingface/transformers/issues/22743/events
https://github.com/huggingface/transformers/pull/22743
1,666,304,355
PR_kwDOCUB6oc5OOccJ
22,743
Fix `serving_output` for TF composite models (encoder-decoder like models)
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? **[If the concept is approved, I will apply the same changes to other TF encoder-decoder family of models]** The composite models use its components' configurations. See for example https://github.com/huggingface/transformers/blob/95e7057507c9eca8e997abb98645eee2621a5aea/src/transformer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22743/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/22743/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22743", "html_url": "https://github.com/huggingface/transformers/pull/22743", "diff_url": "https://github.com/huggingface/transformers/pull/22743.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22743.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22742/comments
https://api.github.com/repos/huggingface/transformers/issues/22742/events
https://github.com/huggingface/transformers/issues/22742
1,666,059,885
I_kwDOCUB6oc5jTg5t
22,742
Bug in LlamaTokenizer when `return_token_type_ids=True`
{ "login": "rockmagma02", "id": 77961318, "node_id": "MDQ6VXNlcjc3OTYxMzE4", "avatar_url": "https://avatars.githubusercontent.com/u/77961318?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rockmagma02", "html_url": "https://github.com/rockmagma02", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey yep that's indeed a bug thanks for reporting" ]
1,681
1,681
1,681
CONTRIBUTOR
null
### System Info - `transformers` version: 4.29.0.dev0 - Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.31 - Python version: 3.10.10 - Huggingface_hub version: 0.13.4 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22742/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/22742/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22741/comments
https://api.github.com/repos/huggingface/transformers/issues/22741/events
https://github.com/huggingface/transformers/pull/22741
1,666,030,732
PR_kwDOCUB6oc5ONhg6
22,741
Remove `DS_BUILD_AIO=1`
{ "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._", "funny, it means that it built it at runtime and it worked. So it finds the right library at run time.\r\n\r\nSo actually if we wanted to skip the test we would need to removed apt install libaio-dev.\r\n\r\nBut this is a better outco...
1,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? In order to make ``` PASSED tests/deepspeed/test_deepspeed.py::TrainerIntegrationDeepSpeed::test_stage3_nvme_offload ``` Note it pass, not skipped. I am not sure if this is normal however, but you can see the results in [this job run](https://github.com/huggingface/transformers/actions/r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22741/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/22741/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22741", "html_url": "https://github.com/huggingface/transformers/pull/22741", "diff_url": "https://github.com/huggingface/transformers/pull/22741.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22741.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22740/comments
https://api.github.com/repos/huggingface/transformers/issues/22740/events
https://github.com/huggingface/transformers/pull/22740
1,666,005,060
PR_kwDOCUB6oc5ONcAi
22,740
Change `torch_dtype` to str when `saved_model=True` in `save_pretrained` for TF models
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? One issue in #22731 is: the config contains `torch_type` with a torch dtype class as value. Usually, our `save_pretrained` will take care of it. But when `saved_model=True` in `save_pretrained` for TF models, it is not handled, and TF/Keras complains about it. See the first part in [this c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22740/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/22740/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22740", "html_url": "https://github.com/huggingface/transformers/pull/22740", "diff_url": "https://github.com/huggingface/transformers/pull/22740.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22740.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22739/comments
https://api.github.com/repos/huggingface/transformers/issues/22739/events
https://github.com/huggingface/transformers/issues/22739
1,665,977,933
I_kwDOCUB6oc5jTM5N
22,739
AssertionError when converting openai clip's weight to hf
{ "login": "wingvortex", "id": 45763667, "node_id": "MDQ6VXNlcjQ1NzYzNjY3", "avatar_url": "https://avatars.githubusercontent.com/u/45763667?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wingvortex", "html_url": "https://github.com/wingvortex", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi @wingvortex, thanks for raising this issue. \r\n\r\n~~The trackback in the issue description doesn't contain the error message - could you share that please?~~ Scratch that: I see it's in the `torch.allclose` assert\r\n\r\nFor the checkpoints being converted, could you confirm which of the ViT-B-32 checkpoints ...
1,681
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-4.18.0-305.25.1.el8_4.x86_64-x86_64-with-redhat-8.5-Ootpa - Python version: 3.7.10 - Huggingface_hub version: 0.12.0 - PyTorch version (GPU?): 1.13.1+cu117 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?): 0.4.1 (g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22739/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/22739/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22738/comments
https://api.github.com/repos/huggingface/transformers/issues/22738/events
https://github.com/huggingface/transformers/issues/22738
1,665,970,535
I_kwDOCUB6oc5jTLFn
22,738
[LLAMA]: LLAMA tokenizer
{ "login": "YuanLiuuuuuu", "id": 30762564, "node_id": "MDQ6VXNlcjMwNzYyNTY0", "avatar_url": "https://avatars.githubusercontent.com/u/30762564?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YuanLiuuuuuu", "html_url": "https://github.com/YuanLiuuuuuu", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "Hey! This is because: \r\n1. You are not using the correct version of transformers:\r\n2. You are not using the correct checkpoints\r\nHere is the snipper I used to get the expected output:\r\n```python \r\n>>> from transformers import LlamaTokenizer\r\n>>> tokenizer = LlamaTokenizer.from_pr...
1,681
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.28.0.dev0 - Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.13.2 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0+cu117 (False) - Tensorflow version (GPU?): not installed (NA) - Flax...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22738/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/22738/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22737/comments
https://api.github.com/repos/huggingface/transformers/issues/22737/events
https://github.com/huggingface/transformers/pull/22737
1,665,657,137
PR_kwDOCUB6oc5OMSlh
22,737
Indexing fix for gpt_bigcode
{ "login": "jlamypoirier", "id": 18523627, "node_id": "MDQ6VXNlcjE4NTIzNjI3", "avatar_url": "https://avatars.githubusercontent.com/u/18523627?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jlamypoirier", "html_url": "https://github.com/jlamypoirier", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
The `past_key_values` is a list of tensors in gpt_bigcode, and not a list of lists like with most models, so we don't want to index twice. The code works either way but it's safer to avoid the unnecessary indexing. I also fixed the associated type hint. @younesbelkada
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22737/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/22737/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22737", "html_url": "https://github.com/huggingface/transformers/pull/22737", "diff_url": "https://github.com/huggingface/transformers/pull/22737.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22737.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22736/comments
https://api.github.com/repos/huggingface/transformers/issues/22736/events
https://github.com/huggingface/transformers/pull/22736
1,665,218,884
PR_kwDOCUB6oc5OKzW2
22,736
add onnx support for llama
{ "login": "sam-h-bean", "id": 43734688, "node_id": "MDQ6VXNlcjQzNzM0Njg4", "avatar_url": "https://avatars.githubusercontent.com/u/43734688?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sam-h-bean", "html_url": "https://github.com/sam-h-bean", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @michaelbenayoun " ]
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? Add ONNX serialization support for Llama models. Fixes # (issue) https://github.com/huggingface/optimum/issues/918 ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22736/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/22736/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22736", "html_url": "https://github.com/huggingface/transformers/pull/22736", "diff_url": "https://github.com/huggingface/transformers/pull/22736.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22736.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22735/comments
https://api.github.com/repos/huggingface/transformers/issues/22735/events
https://github.com/huggingface/transformers/pull/22735
1,665,218,619
PR_kwDOCUB6oc5OKzTL
22,735
[Doctest] Add configuration_mvp.py
{ "login": "elabongaatuo", "id": 32382363, "node_id": "MDQ6VXNlcjMyMzgyMzYz", "avatar_url": "https://avatars.githubusercontent.com/u/32382363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elabongaatuo", "html_url": "https://github.com/elabongaatuo", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
Adds configuration_mvp.py to utils/documentation_tests.txt Based on https://github.com/huggingface/transformers/issues/19487 @ydshieh can you please have a look?this passes the test as well, with two warnings.thank you :)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22735/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/22735/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22735", "html_url": "https://github.com/huggingface/transformers/pull/22735", "diff_url": "https://github.com/huggingface/transformers/pull/22735.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22735.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22734/comments
https://api.github.com/repos/huggingface/transformers/issues/22734/events
https://github.com/huggingface/transformers/issues/22734
1,665,217,994
I_kwDOCUB6oc5jQTXK
22,734
FSDP hangs before training starts
{ "login": "agneet42", "id": 22055826, "node_id": "MDQ6VXNlcjIyMDU1ODI2", "avatar_url": "https://avatars.githubusercontent.com/u/22055826?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agneet42", "html_url": "https://github.com/agneet42", "followers_url": "https://api.github.com/users/agn...
[]
closed
false
null
[]
[ "Ok the issue is not related to FSDP per say. Looks like something related to communication between the GPU's. I fixed it by \r\n modifying an environment variable as follows : `export NCCL_P2P_DISABLE=1` \r\nClosing!" ]
1,681
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.27.4 - Platform: Linux-5.4.0-128-generic-x86_64-with-glibc2.31 - Python version: 3.9.16 - Huggingface_hub version: 0.13.4 - PyTorch version (GPU?): 2.0.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22734/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/22734/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22733/comments
https://api.github.com/repos/huggingface/transformers/issues/22733/events
https://github.com/huggingface/transformers/pull/22733
1,665,021,969
PR_kwDOCUB6oc5OKIws
22,733
[Doctest] Add configuration_m2m_100.py
{ "login": "elabongaatuo", "id": 32382363, "node_id": "MDQ6VXNlcjMyMzgyMzYz", "avatar_url": "https://avatars.githubusercontent.com/u/32382363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elabongaatuo", "html_url": "https://github.com/elabongaatuo", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you for your assistance @ydshieh 😃" ]
1,681
1,681
1,681
CONTRIBUTOR
null
Add configuration_m2m_100.py to utils/documentation_tests.txt for doctest. Based on issue https://github.com/huggingface/transformers/issues/19487 @ydshieh can you please have a look? thanks :D it passes the test with a few warnings.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22733/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/22733/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22733", "html_url": "https://github.com/huggingface/transformers/pull/22733", "diff_url": "https://github.com/huggingface/transformers/pull/22733.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22733.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22732/comments
https://api.github.com/repos/huggingface/transformers/issues/22732/events
https://github.com/huggingface/transformers/issues/22732
1,664,819,670
I_kwDOCUB6oc5jOyHW
22,732
BLIP special additional token self.tokenizer.enc_token_id
{ "login": "DianeBouchacourt", "id": 13796686, "node_id": "MDQ6VXNlcjEzNzk2Njg2", "avatar_url": "https://avatars.githubusercontent.com/u/13796686?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DianeBouchacourt", "html_url": "https://github.com/DianeBouchacourt", "followers_url": "https://...
[]
closed
false
null
[]
[ "cc @ArthurZucker ", "Hey! Thanks for submitting this issue. I think @younesbelkada is the most familiar with Blip and should be able to answer whether or not the `enc_token_id` should be added. BLIP seems to be using a `BertTokenizer`, and looking at [this](https://huggingface.co/Salesforce/blip-image-captioning...
1,681
1,691
1,691
NONE
null
### System Info Hello, It seems to me that the Salesforce implementation of BLIP uses a special tokem 'ENC' at the beginning of each text sentence, it is added https://github.com/salesforce/BLIP/blob/a176f1e9cc5a232d2cc6e21b77d2c7e18ceb3c37/models/blip.py#L190 and used when encoding text conditioned on images ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22732/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/22732/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22731/comments
https://api.github.com/repos/huggingface/transformers/issues/22731/events
https://github.com/huggingface/transformers/issues/22731
1,664,800,774
I_kwDOCUB6oc5jOtgG
22,731
Saving TFVisionEncoderDecoderModel as SavedModel: `The following keyword arguments are not supported by this model: ['attention_mask', 'token_type_ids'].`
{ "login": "DevinTDHa", "id": 33089471, "node_id": "MDQ6VXNlcjMzMDg5NDcx", "avatar_url": "https://avatars.githubusercontent.com/u/33089471?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DevinTDHa", "html_url": "https://github.com/DevinTDHa", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "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/...
[ { "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.githu...
[ "cc @ydshieh ", "Hi @DevinTDHa Just a quick update: instead of `input_ids` in the signature, we have to use `decoder_input_ids`, as the text inputs are for the decoder.\r\n\r\n```python\r\n \"pixel_values\": tf.TensorSpec((None, None, None, None), tf.float32, name=\"pixel_values\"),\r\n ...
1,681
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.27.4 - Platform: Linux-6.2.6-76060206-generic-x86_64-with-debian-bookworm-sid - Python version: 3.7.16 - Huggingface_hub version: 0.13.4 - PyTorch version (GPU?): 1.13.1 (False) - Tensorflow version (GPU?): 2.11.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22731/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/22731/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22730/comments
https://api.github.com/repos/huggingface/transformers/issues/22730/events
https://github.com/huggingface/transformers/issues/22730
1,664,739,725
I_kwDOCUB6oc5jOemN
22,730
About Whisper finetuning on a out-of-vocabulary language datset
{ "login": "LYPinASR", "id": 112866899, "node_id": "U_kgDOBro2Uw", "avatar_url": "https://avatars.githubusercontent.com/u/112866899?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LYPinASR", "html_url": "https://github.com/LYPinASR", "followers_url": "https://api.github.com/users/LYPinASR/...
[]
closed
false
null
[]
[ "Hi @LYPinASR, thanks for raising an issue! \r\n\r\nQuestions like this are best placed [in the forum](https://discuss.huggingface.co/), as we try to reserve github issues for bug reporting and feature requests. Here's a relevant thread about a previous finetuning event which might help: https://discuss.huggingface...
1,681
1,684
1,684
NONE
null
### Feature request Hello! I am working on Whisper, and I want to finetune the model on _Amharic_ in OpenASR20 dataset. As far as I know, _Amharic_ is not one of the languages participating in Whisper training. If I want to finetune the model on _Amharic_, what should I do? Looking forward to your reply! Thank you!...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22730/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/22730/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22728/comments
https://api.github.com/repos/huggingface/transformers/issues/22728/events
https://github.com/huggingface/transformers/pull/22728
1,664,440,043
PR_kwDOCUB6oc5OILMU
22,728
`torch.distributed` group initialization for `torch_neuron` disabled when `optimum-neuron` is installed
{ "login": "michaelbenayoun", "id": 25418079, "node_id": "MDQ6VXNlcjI1NDE4MDc5", "avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelbenayoun", "html_url": "https://github.com/michaelbenayoun", "followers_url": "https://api...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
MEMBER
null
As per title.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22728/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/22728/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22728", "html_url": "https://github.com/huggingface/transformers/pull/22728", "diff_url": "https://github.com/huggingface/transformers/pull/22728.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22728.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22727/comments
https://api.github.com/repos/huggingface/transformers/issues/22727/events
https://github.com/huggingface/transformers/pull/22727
1,664,417,829
PR_kwDOCUB6oc5OIGWT
22,727
Update warning levels
{ "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,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? This PR updates the warning levels at 2 places: - use logger.info instead of logger.warning when an image processor gets loaded based on a preprocessor_config.json file. - use `logger.warning_once` instead of warnings.warn(..., FutureWarning) for DETR and friends.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22727/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/22727/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22727", "html_url": "https://github.com/huggingface/transformers/pull/22727", "diff_url": "https://github.com/huggingface/transformers/pull/22727.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22727.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22726/comments
https://api.github.com/repos/huggingface/transformers/issues/22726/events
https://github.com/huggingface/transformers/pull/22726
1,664,403,571
PR_kwDOCUB6oc5OIDNb
22,726
Modify pipeline_tutorial.mdx
{ "login": "ARKA1112", "id": 24940818, "node_id": "MDQ6VXNlcjI0OTQwODE4", "avatar_url": "https://avatars.githubusercontent.com/u/24940818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ARKA1112", "html_url": "https://github.com/ARKA1112", "followers_url": "https://api.github.com/users/ARK...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @Narsil ", "You are welcome, Happy to help!!" ]
1,681
1,681
1,681
CONTRIBUTOR
null
generator(model="openai/whisper-large") always returns error. As the error says the generator expects an input, just like the .flac file above. Even the generator object has no parameters called model. While there are parameters which can be passed to generator like 'batch_size' but to pass a model i believe the the pa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22726/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/22726/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22726", "html_url": "https://github.com/huggingface/transformers/pull/22726", "diff_url": "https://github.com/huggingface/transformers/pull/22726.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22726.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22725/comments
https://api.github.com/repos/huggingface/transformers/issues/22725/events
https://github.com/huggingface/transformers/pull/22725
1,664,180,208
PR_kwDOCUB6oc5OHSy4
22,725
[Image processors] Fix warnings
{ "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._", "Thanks for the review! After offline discussion, will close this PR in favor of a new one that just updates the warning levels. The removal of `max_size` can be done in a follow-up PR." ]
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? This PR aims to reduce the number of warnings shown to the user for 2 use cases: - DETR and friends' `max_size` argument which is deprecated => if this gets approved, I'll run fix-copies to fix the other DETR-based models - the pattern matching warning when a configuration doesn't have an...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22725/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/22725/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22725", "html_url": "https://github.com/huggingface/transformers/pull/22725", "diff_url": "https://github.com/huggingface/transformers/pull/22725.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22725.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22724/comments
https://api.github.com/repos/huggingface/transformers/issues/22724/events
https://github.com/huggingface/transformers/pull/22724
1,664,174,281
PR_kwDOCUB6oc5OHRjN
22,724
add fast support and option
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? Adresses #22669
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22724/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/22724/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22724", "html_url": "https://github.com/huggingface/transformers/pull/22724", "diff_url": "https://github.com/huggingface/transformers/pull/22724.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22724.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22723/comments
https://api.github.com/repos/huggingface/transformers/issues/22723/events
https://github.com/huggingface/transformers/pull/22723
1,664,155,021
PR_kwDOCUB6oc5OHNvE
22,723
remove wrong doc in readme
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? Fixes a typo caught in #22710
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22723/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/22723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22723", "html_url": "https://github.com/huggingface/transformers/pull/22723", "diff_url": "https://github.com/huggingface/transformers/pull/22723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22723.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22722/comments
https://api.github.com/repos/huggingface/transformers/issues/22722/events
https://github.com/huggingface/transformers/issues/22722
1,664,130,735
I_kwDOCUB6oc5jMJ6v
22,722
Inconsistency in Model Output [ Token Classification]
{ "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
[]
[]
1,681
1,681
1,681
NONE
null
``` from transformers import AutoTokenizer, AutoModelForTokenClassification import torch from transformers import pipeline ``` ``` tokenizer = AutoTokenizer.from_pretrained("dslim/bert-base-NER") model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER") ``` ``` nlp = pipeline("ner", m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22722/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/22722/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22721/comments
https://api.github.com/repos/huggingface/transformers/issues/22721/events
https://github.com/huggingface/transformers/issues/22721
1,664,099,589
I_kwDOCUB6oc5jMCUF
22,721
Error when loading LlamaTokenizer
{ "login": "creamiracle", "id": 14272291, "node_id": "MDQ6VXNlcjE0MjcyMjkx", "avatar_url": "https://avatars.githubusercontent.com/u/14272291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/creamiracle", "html_url": "https://github.com/creamiracle", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Given the error, the tokenizer checkpoints that you are using are clearly outdated. Convert the model again using `main` then upload them to your LAN. Also not that you using the fast tokenizer will require to have the latest `tokenizers` library" ]
1,681
1,681
1,681
NONE
null
### System Info centos 7 python version is 3.7.12 transformers 4.28.0.dev0 sentencepiece 0.1.97 ### Who can help? @ArthurZucker @younesbelkada ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/S...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22721/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/22721/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22720/comments
https://api.github.com/repos/huggingface/transformers/issues/22720/events
https://github.com/huggingface/transformers/pull/22720
1,663,820,062
PR_kwDOCUB6oc5OGFMt
22,720
Ko translate fast tokenizer
{ "login": "kihoon71", "id": 75935546, "node_id": "MDQ6VXNlcjc1OTM1NTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/75935546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kihoon71", "html_url": "https://github.com/kihoon71", "followers_url": "https://api.github.com/users/kih...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22720). All of your documentation changes will be reflected on that endpoint." ]
1,681
1,682
1,682
CONTRIBUTOR
null
# What does this PR do? Translated the fast_tokenizer.mdx file of the documentation to Korean. Thank you in advance for your review. Part of [#20179](https://github.com/huggingface/transformers/issues/20179) <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22720/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/22720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22720", "html_url": "https://github.com/huggingface/transformers/pull/22720", "diff_url": "https://github.com/huggingface/transformers/pull/22720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22720.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22719/comments
https://api.github.com/repos/huggingface/transformers/issues/22719/events
https://github.com/huggingface/transformers/issues/22719
1,663,664,971
I_kwDOCUB6oc5jKYNL
22,719
GPT2DoubleHeadsModel Multiple Choice Head Always Has 1 Out Feature
{ "login": "ImperatorSmugleaf", "id": 57930837, "node_id": "MDQ6VXNlcjU3OTMwODM3", "avatar_url": "https://avatars.githubusercontent.com/u/57930837?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ImperatorSmugleaf", "html_url": "https://github.com/ImperatorSmugleaf", "followers_url": "https...
[]
closed
false
null
[]
[ "Hey! Thanks for opening and issue and reporting this. I'll check if this is expected or not, and if we can open a PR to fix this. \r\nSince gpt2 is a very old model, touching it might be a bit complicated 😓 ", "Okay! So it seems that the way you are using the model is a bit different from what [the documentatio...
1,681
1,686
1,686
NONE
null
### System Info - `transformers` version: 4.27.4 - Platform: Windows-10-10.0.19044-SP0 - Python version: 3.10.0 - Huggingface_hub version: 0.13.4 - PyTorch version (GPU?): 1.13.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22719/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/22719/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22729/comments
https://api.github.com/repos/huggingface/transformers/issues/22729/events
https://github.com/huggingface/transformers/issues/22729
1,664,470,108
I_kwDOCUB6oc5jNcxc
22,729
Report a hyperlink mistake
{ "login": "PolarisRisingWar", "id": 48322321, "node_id": "MDQ6VXNlcjQ4MzIyMzIx", "avatar_url": "https://avatars.githubusercontent.com/u/48322321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PolarisRisingWar", "html_url": "https://github.com/PolarisRisingWar", "followers_url": "https://...
[]
closed
false
null
[]
[ "Thanks for reporting! Would you be interested in opening a PR to fix it? The exact file to be modified is https://github.com/huggingface/transformers/blob/main/docs/source/en/tasks/token_classification.mdx and then you would have the contribution :) Happy to open a PR otherwise.\r\n\r\nTransfering to the transform...
1,681
1,681
1,681
CONTRIBUTOR
null
The website is https://huggingface.co/docs/transformers/tasks/token_classification And the sentence is: Mapping all tokens to their corresponding word with the [word_ids](https://huggingface.co/docs/tokenizers/python/latest/api/reference.html#tokenizers.Encoding.word_ids) method. The hyperlink is mistake, it should b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22729/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/22729/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22718/comments
https://api.github.com/repos/huggingface/transformers/issues/22718/events
https://github.com/huggingface/transformers/issues/22718
1,663,622,905
I_kwDOCUB6oc5jKN75
22,718
Failed to create cublas handle: cublas error
{ "login": "cosmo3769", "id": 53268607, "node_id": "MDQ6VXNlcjUzMjY4NjA3", "avatar_url": "https://avatars.githubusercontent.com/u/53268607?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cosmo3769", "html_url": "https://github.com/cosmo3769", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @cosmo3769, thanks for reporting this issue. I'll look into it. \r\n\r\np.s. I think you might have tagged the wrong Amy :) ", "> Hi @cosmo3769, thanks for reporting this issue. I'll look into it.\r\n\r\nSure.\r\n\r\n> p.s. I think you might have tagged the wrong Amy :)\r\n\r\nOh yeah, sorry for that. 😅\r\n"...
1,681
1,682
1,682
NONE
null
### System Info Kaggle with Accelerator **GPU P100** ### Who can help? @amyeroberts ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22718/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/22718/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22717/comments
https://api.github.com/repos/huggingface/transformers/issues/22717/events
https://github.com/huggingface/transformers/issues/22717
1,663,613,149
I_kwDOCUB6oc5jKLjd
22,717
The `xla_device` argument has been deprecated
{ "login": "yqiz-98", "id": 102643910, "node_id": "U_kgDOBh44xg", "avatar_url": "https://avatars.githubusercontent.com/u/102643910?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yqiz-98", "html_url": "https://github.com/yqiz-98", "followers_url": "https://api.github.com/users/yqiz-98/foll...
[]
closed
false
null
[]
[ "Hi @yqiz-98, thanks for reporting this issue. The warning is being raised, as the [config for the checkpoint mrm8488/t5-base-finetuned-question-generation-ap](https://huggingface.co/mrm8488/t5-base-finetuned-question-generation-ap/blob/5b3fa1afa0bba84b23b2c27eb7b4bc35aae63876/config.json#L51) contains [the argumen...
1,681
1,684
1,684
NONE
null
### System Info Transformers v4.4.0 pycharm python3.8 ### Who can help? _No response_ ### 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 de...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22717/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/22717/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22716/comments
https://api.github.com/repos/huggingface/transformers/issues/22716/events
https://github.com/huggingface/transformers/issues/22716
1,663,508,373
I_kwDOCUB6oc5jJx-V
22,716
Unable to install transformers due to RuntimeError with libssl.so.10
{ "login": "Kodhandarama", "id": 44093589, "node_id": "MDQ6VXNlcjQ0MDkzNTg5", "avatar_url": "https://avatars.githubusercontent.com/u/44093589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Kodhandarama", "html_url": "https://github.com/Kodhandarama", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Do you have openssl installd in your environment ?\r\n\r\n`conda install -c anaconda openssl` ? \r\n\r\nThis library is missing from your environment and `tokenizers` is looking for it when loading.\r\nOr do you have another version of ssl installed maybe ? You can do `locate libssl` to try and find it.", "@Kodh...
1,681
1,684
1,684
NONE
null
### System Info Runnin gthis code on a red hat linux machine I tried installing transformers with all the methods mentioned in https://huggingface.co/docs/transformers/installation I am hitting the same error (related to pipelines): Traceback (most recent call last): File "/home/eng/s/sxc220013/Documents/t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22716/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/22716/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22715/comments
https://api.github.com/repos/huggingface/transformers/issues/22715/events
https://github.com/huggingface/transformers/issues/22715
1,663,408,106
I_kwDOCUB6oc5jJZfq
22,715
Can't load the model from your tutorial for inference
{ "login": "kopyl", "id": 17604849, "node_id": "MDQ6VXNlcjE3NjA0ODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/17604849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kopyl", "html_url": "https://github.com/kopyl", "followers_url": "https://api.github.com/users/kopyl/follow...
[]
closed
false
null
[]
[ "Honestly, there is just too much info in docs which does not help.", "@kopyl, the first error due to GPU, you moved input into `.to(\"cuda\")`, but model is still on `cpu`. The second error due to lack of preprocessing [file](https://huggingface.co/microsoft/git-base/blob/main/preprocessor_config.json), so you c...
1,681
1,684
1,684
NONE
null
### System Info Linux. Doesn't matter ### 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 GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproductio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22715/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/22715/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22714/comments
https://api.github.com/repos/huggingface/transformers/issues/22714/events
https://github.com/huggingface/transformers/pull/22714
1,663,398,200
PR_kwDOCUB6oc5OEnfM
22,714
Adding Cross attention to GPT Neo
{ "login": "gagan3012", "id": 49101362, "node_id": "MDQ6VXNlcjQ5MTAxMzYy", "avatar_url": "https://avatars.githubusercontent.com/u/49101362?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gagan3012", "html_url": "https://github.com/gagan3012", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22714). All of your documentation changes will be reflected on that endpoint.", "@patrickvonplaten @patil-suraj ", "@gagan3012 Thanks for contributing and opening the feature request and PR. \r\n\r\nThese changes are fo...
1,681
1,684
1,684
NONE
null
# What does this PR do? This PR adds Cross attention to GPT Neo <!-- 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 c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22714/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/22714/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22714", "html_url": "https://github.com/huggingface/transformers/pull/22714", "diff_url": "https://github.com/huggingface/transformers/pull/22714.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22714.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22713/comments
https://api.github.com/repos/huggingface/transformers/issues/22713/events
https://github.com/huggingface/transformers/pull/22713
1,663,314,584
PR_kwDOCUB6oc5OEUzF
22,713
Added parallel device usage for GPT-J
{ "login": "jprivera44", "id": 9093934, "node_id": "MDQ6VXNlcjkwOTM5MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/9093934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jprivera44", "html_url": "https://github.com/jprivera44", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? This PR is within the issue [22561](https://github.com/huggingface/transformers/issues/22561), and is related to issue [22535](https://github.com/huggingface/transformers/pull/22535) which concerns model parallelism. Specifically, this PR fixes the issue in GPT-J where tensors might accident...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22713/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/22713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22713", "html_url": "https://github.com/huggingface/transformers/pull/22713", "diff_url": "https://github.com/huggingface/transformers/pull/22713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22713.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22712/comments
https://api.github.com/repos/huggingface/transformers/issues/22712/events
https://github.com/huggingface/transformers/pull/22712
1,663,295,331
PR_kwDOCUB6oc5OEQuS
22,712
[tests] switch to torchrun
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Unfortunately, conda refuses to install `libstdcxx-ng=12`, and gives a super super long report of conflict packages after 20 or more minutes of examization.\r\n\r\nI think we can merge this PR first. And I can try if there is anyway ...
1,681
1,681
1,681
CONTRIBUTOR
null
This PR fixes the following errors in nightly CI tests ``` FAILED tests/extended/test_trainer_ext.py::TestTrainerExt::test_run_seq2seq_apex 1422 FAILED tests/extended/test_trainer_ext.py::TestTrainerExt::test_run_seq2seq_ddp 1423 FAILED tests/extended/test_trainer_ext.py::TestTrainerExt::test_trainer_log_level_r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22712/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/22712/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22712", "html_url": "https://github.com/huggingface/transformers/pull/22712", "diff_url": "https://github.com/huggingface/transformers/pull/22712.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22712.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22711/comments
https://api.github.com/repos/huggingface/transformers/issues/22711/events
https://github.com/huggingface/transformers/pull/22711
1,663,000,626
PR_kwDOCUB6oc5ODR-e
22,711
Patching clip model to create mask tensor on the device
{ "login": "shanmugamr1992", "id": 111910568, "node_id": "U_kgDOBqueqA", "avatar_url": "https://avatars.githubusercontent.com/u/111910568?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shanmugamr1992", "html_url": "https://github.com/shanmugamr1992", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@shanmugamr1992 Thanks for opening this PR! \r\n\r\nFor the quality tests to pass, you'll need to run `make fixup` locally and commit any formatting changes that were applied. There were some recent updates to our formatting librarie...
1,681
1,685
1,681
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/22711/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/22711/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22711", "html_url": "https://github.com/huggingface/transformers/pull/22711", "diff_url": "https://github.com/huggingface/transformers/pull/22711.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22711.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22710/comments
https://api.github.com/repos/huggingface/transformers/issues/22710/events
https://github.com/huggingface/transformers/issues/22710
1,662,989,300
I_kwDOCUB6oc5jHzP0
22,710
Llama: Generating text token by token removes whitespaces
{ "login": "qtrrb", "id": 70319920, "node_id": "MDQ6VXNlcjcwMzE5OTIw", "avatar_url": "https://avatars.githubusercontent.com/u/70319920?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qtrrb", "html_url": "https://github.com/qtrrb", "followers_url": "https://api.github.com/users/qtrrb/follow...
[]
closed
false
null
[]
[ "cc @gante \r\nNote that the streaming API is new and still experimental :-)", "Also note that we aim to match the original tokenizer 1 to 1, while trying not to add super model specific pieces of code in the more general api 😉 ", "> Note that the streaming API is new and still experimental :-)\r\n\r\nI may be...
1,681
1,697
1,681
NONE
null
### System Info - `transformers` version: 4.28.0.dev0 - Platform: Windows-10-10.0.22621-SP0 - Python version: 3.10.10 - Huggingface_hub version: 0.13.4 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22710/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/22710/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22709/comments
https://api.github.com/repos/huggingface/transformers/issues/22709/events
https://github.com/huggingface/transformers/pull/22709
1,662,836,236
PR_kwDOCUB6oc5OCu1V
22,709
Fix passing kwargs to the tokenizer in FillMaskPipeline preprocess method
{ "login": "fxmarty", "id": 9808326, "node_id": "MDQ6VXNlcjk4MDgzMjY=", "avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fxmarty", "html_url": "https://github.com/fxmarty", "followers_url": "https://api.github.com/users/fxmarty/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22709). 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,681
1,684
1,684
COLLABORATOR
null
As per title, the kwargs was not passed. The modification follows https://github.com/huggingface/transformers/blob/fe1f5a639d93c9272856c670cff3b0e1a10d5b2b/src/transformers/pipelines/text_classification.py#L91-L179
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22709/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/22709/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22709", "html_url": "https://github.com/huggingface/transformers/pull/22709", "diff_url": "https://github.com/huggingface/transformers/pull/22709.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22709.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22708/comments
https://api.github.com/repos/huggingface/transformers/issues/22708/events
https://github.com/huggingface/transformers/pull/22708
1,662,521,490
PR_kwDOCUB6oc5OBpwO
22,708
Fix decorator order
{ "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
[]
[ "cc @sgugger : I think this observation might be interesting to you.", "_The documentation is not available anymore as the PR was closed or merged._", "Yes, this requirement is documented here https://huggingface.co/docs/transformers/testing#to-gpu-or-not-to-gpu but it's not \"enforced\" so it's easy to miss\r\...
1,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? Fix decorator order. For some tests, like `test_basic_distributed`, we have the following on `main`. ``` @require_torch_multi_gpu @parameterized.expand(params, name_func=parameterized_custom_name_func) def test_basic_distributed(self, stage, dtype): ``` but the (generated...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22708/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/22708/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22708", "html_url": "https://github.com/huggingface/transformers/pull/22708", "diff_url": "https://github.com/huggingface/transformers/pull/22708.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22708.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22707/comments
https://api.github.com/repos/huggingface/transformers/issues/22707/events
https://github.com/huggingface/transformers/issues/22707
1,662,393,232
I_kwDOCUB6oc5jFhuQ
22,707
the generated results are different between generating a batch input_ids and a single sequence input_ids
{ "login": "ZeroneBo", "id": 86118108, "node_id": "MDQ6VXNlcjg2MTE4MTA4", "avatar_url": "https://avatars.githubusercontent.com/u/86118108?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ZeroneBo", "html_url": "https://github.com/ZeroneBo", "followers_url": "https://api.github.com/users/Zer...
[]
closed
false
null
[]
[ "cc @younesbelkada (I am mostly thinking about sampling + beam + randomness) ", "> cc @younesbelkada (I am mostly thinking about sampling + beam + randomness)\r\n\r\nI don't think so, the default arg do_sample of method `generate` is `False`, and I manually set this arg `False`, the result is same as the issue.\r...
1,681
1,707
1,681
NONE
null
### System Info - `transformers` version: 4.28.0.dev0 - Platform: Linux-4.15.0-142-generic-x86_64-with-glibc2.23 - Python version: 3.9.16 - Huggingface_hub version: 0.13.4 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.0+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax v...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22707/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/22707/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22706/comments
https://api.github.com/repos/huggingface/transformers/issues/22706/events
https://github.com/huggingface/transformers/issues/22706
1,662,276,423
I_kwDOCUB6oc5jFFNH
22,706
transformers trainer llama Trying to resize storage that is not resizable
{ "login": "lw3259111", "id": 12690488, "node_id": "MDQ6VXNlcjEyNjkwNDg4", "avatar_url": "https://avatars.githubusercontent.com/u/12690488?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lw3259111", "html_url": "https://github.com/lw3259111", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @lw3259111, thanks for raising this issue. \r\n\r\nSo that we can best try and help, could you provide some more information about how to reproduce this error. Specifically the following: \r\n* The running environment and important dependency versions. This can be found running `transformers-cli env` in your te...
1,681
1,685
1,685
NONE
null
### System Info transformers ==4.28.0.dev0 pytorch==1.13.1 ### Who can help? -- ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ##...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22706/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/22706/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22705/comments
https://api.github.com/repos/huggingface/transformers/issues/22705/events
https://github.com/huggingface/transformers/issues/22705
1,662,085,948
I_kwDOCUB6oc5jEWs8
22,705
using Deepspeed zero stage3 finetune sd2, dimension error occurs
{ "login": "uygnef", "id": 13539441, "node_id": "MDQ6VXNlcjEzNTM5NDQx", "avatar_url": "https://avatars.githubusercontent.com/u/13539441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/uygnef", "html_url": "https://github.com/uygnef", "followers_url": "https://api.github.com/users/uygnef/fo...
[]
closed
false
null
[]
[ "@stas00\r\ncould please help me take a look at this issue?", "See https://github.com/huggingface/diffusers/pull/3076\r\n\r\nPlease carefully read the OP of the PR for details.", "@uygnef Have you solved this problem?\r\n\r\n\r\n", "@luochuwei Yes, it works for training one model, but there seems to be an iss...
1,681
1,686
1,686
NONE
null
### System Info Describe the bug An error is reported when using deepspeed's zero stage3 finetune diffusers/examples/text_to_image/train_text_to_image.py script. My machine's GPU is 2*A100, running on deepspeed zero stage3 ``` def train(args): if args.non_ema_revision is not None: deprecate( ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22705/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/22705/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22704/comments
https://api.github.com/repos/huggingface/transformers/issues/22704/events
https://github.com/huggingface/transformers/pull/22704
1,661,886,403
PR_kwDOCUB6oc5N_gtu
22,704
Remove mask
{ "login": "magdacisowska", "id": 28646893, "node_id": "MDQ6VXNlcjI4NjQ2ODkz", "avatar_url": "https://avatars.githubusercontent.com/u/28646893?v=4", "gravatar_id": "", "url": "https://api.github.com/users/magdacisowska", "html_url": "https://github.com/magdacisowska", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,681
1,681
1,681
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/22704/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/22704/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22704", "html_url": "https://github.com/huggingface/transformers/pull/22704", "diff_url": "https://github.com/huggingface/transformers/pull/22704.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22704.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22703/comments
https://api.github.com/repos/huggingface/transformers/issues/22703/events
https://github.com/huggingface/transformers/pull/22703
1,661,747,951
PR_kwDOCUB6oc5N_DhQ
22,703
Make vilt, switch_transformers compatible with model parallelism
{ "login": "Xrenya", "id": 51479797, "node_id": "MDQ6VXNlcjUxNDc5Nzk3", "avatar_url": "https://avatars.githubusercontent.com/u/51479797?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Xrenya", "html_url": "https://github.com/Xrenya", "followers_url": "https://api.github.com/users/Xrenya/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger I fixed the issue, but, unfortunately, I have closed and reopened PR to trigger the CircleCI.", "Thanks a lot!" ]
1,681
1,681
1,681
CONTRIBUTOR
null
# Make vilt, switch_transformers compatible with model parallelism Fixes https://github.com/huggingface/transformers/issues/22561#issue-1653950092 ## 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 gui...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22703/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/22703/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22703", "html_url": "https://github.com/huggingface/transformers/pull/22703", "diff_url": "https://github.com/huggingface/transformers/pull/22703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22703.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22702/comments
https://api.github.com/repos/huggingface/transformers/issues/22702/events
https://github.com/huggingface/transformers/pull/22702
1,661,724,221
PR_kwDOCUB6oc5N--lJ
22,702
Enable naive Pipeline Parallelism training for Gpt neox japanese and san japanese
{ "login": "mayankagarwals", "id": 39498938, "node_id": "MDQ6VXNlcjM5NDk4OTM4", "avatar_url": "https://avatars.githubusercontent.com/u/39498938?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mayankagarwals", "html_url": "https://github.com/mayankagarwals", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "@sgugger Could you review this once?", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,681
1,681
1,681
CONTRIBUTOR
null
As suggested in the https://github.com/huggingface/transformers/issues/22561, moved labels to the same device as logits for GPT Neox Japanese and Gpt San Japanese
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22702/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/22702/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22702", "html_url": "https://github.com/huggingface/transformers/pull/22702", "diff_url": "https://github.com/huggingface/transformers/pull/22702.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22702.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22701/comments
https://api.github.com/repos/huggingface/transformers/issues/22701/events
https://github.com/huggingface/transformers/pull/22701
1,661,707,578
PR_kwDOCUB6oc5N-7Kr
22,701
[test] add CI workflow for VCS installation
{ "login": "XuehaiPan", "id": 16078332, "node_id": "MDQ6VXNlcjE2MDc4MzMy", "avatar_url": "https://avatars.githubusercontent.com/u/16078332?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XuehaiPan", "html_url": "https://github.com/XuehaiPan", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22701). All of your documentation changes will be reflected on that endpoint.", "Or we can just leave the setup as is and there won't be any need for this new check :-)", "> Or we can just leave the setup as is and there ...
1,681
1,684
1,684
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/22701/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/22701/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22701", "html_url": "https://github.com/huggingface/transformers/pull/22701", "diff_url": "https://github.com/huggingface/transformers/pull/22701.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22701.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22700/comments
https://api.github.com/repos/huggingface/transformers/issues/22700/events
https://github.com/huggingface/transformers/pull/22700
1,661,520,687
PR_kwDOCUB6oc5N-Tv-
22,700
Add support of output_scores to flax models
{ "login": "hannan72", "id": 8229163, "node_id": "MDQ6VXNlcjgyMjkxNjM=", "avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hannan72", "html_url": "https://github.com/hannan72", "followers_url": "https://api.github.com/users/hanna...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22700). All of your documentation changes will be reflected on that endpoint.", "@sanchit-gandhi @ArthurZucker \r\nCould you please review this PR?", "I get a new error on CI for test codes of all models:\r\n```AttributeE...
1,681
1,701
1,699
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/22700/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/22700/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22700", "html_url": "https://github.com/huggingface/transformers/pull/22700", "diff_url": "https://github.com/huggingface/transformers/pull/22700.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22700.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22699/comments
https://api.github.com/repos/huggingface/transformers/issues/22699/events
https://github.com/huggingface/transformers/issues/22699
1,661,468,860
I_kwDOCUB6oc5jCAC8
22,699
BF16 on AMD MI250x GPU
{ "login": "jglaser", "id": 1899768, "node_id": "MDQ6VXNlcjE4OTk3Njg=", "avatar_url": "https://avatars.githubusercontent.com/u/1899768?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jglaser", "html_url": "https://github.com/jglaser", "followers_url": "https://api.github.com/users/jglaser/...
[]
closed
false
null
[]
[ "Ah this is a bit of a tricky situation. Is there a way to get the difference between an Nvidia GPU and an AMD GPU from PyTorch? Most users ignore warnings, so I'd really prefer to keep the error, but of course we can refine the test to ignore the GPUs that are not concerned.", "Perhaps use `torch.cuda.get_device...
1,681
1,697
1,684
CONTRIBUTOR
null
### System Info Hi, on ROCm, I am seeing the following error with BF16 ValueError: Your setup doesn't support bf16/gpu. You need torch>=1.10, using Ampere GPU with cuda>=11.0 raise ValueError( Since the error and underlying check is NVIDIA specific and can be ignored on AMD MI250X GPUs, it would be good ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22699/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/22699/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22698/comments
https://api.github.com/repos/huggingface/transformers/issues/22698/events
https://github.com/huggingface/transformers/pull/22698
1,661,328,027
PR_kwDOCUB6oc5N9o07
22,698
Use code on the Hub from another repo
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? This makes it easier to maintain only one source of ground truth when using the code on the Hub feature by storing the repo ID on top of the module containing the class inside the config. Thus, when saving and re-pushing a model using code on the Hub, the code is not copied over anymore, but ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22698/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/22698/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22698", "html_url": "https://github.com/huggingface/transformers/pull/22698", "diff_url": "https://github.com/huggingface/transformers/pull/22698.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22698.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22697/comments
https://api.github.com/repos/huggingface/transformers/issues/22697/events
https://github.com/huggingface/transformers/pull/22697
1,661,322,119
PR_kwDOCUB6oc5N9nj4
22,697
Make it easier to develop without a dev install
{ "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,681
1,681
1,681
COLLABORATOR
null
# What does this PR do? This PR makes the only quality check that failed without all the dev dependencies work without them, then makes it clear in all contributing guides that installing with the quality extra should be enough for most development.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22697/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/22697/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/22697", "html_url": "https://github.com/huggingface/transformers/pull/22697", "diff_url": "https://github.com/huggingface/transformers/pull/22697.diff", "patch_url": "https://github.com/huggingface/transformers/pull/22697.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/22696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22696/comments
https://api.github.com/repos/huggingface/transformers/issues/22696/events
https://github.com/huggingface/transformers/issues/22696
1,661,321,335
I_kwDOCUB6oc5jBcB3
22,696
`no_repeat_ngram_size` has no effect for Flax model
{ "login": "gianlucadetommaso", "id": 32386694, "node_id": "MDQ6VXNlcjMyMzg2Njk0", "avatar_url": "https://avatars.githubusercontent.com/u/32386694?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gianlucadetommaso", "html_url": "https://github.com/gianlucadetommaso", "followers_url": "https...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "Hey @gianlucadetommaso \r\n\r\nYou are right. `no_repeat_ngram` is one of the various logit processors used during generation. While I can see it's defined in tensorflow : https://github.com/huggingface/transformers/blob/151425ddb29d4ad1a121e8cce62000a2ac52d3ba/src/transformers/generation/...
1,681
1,691
1,691
NONE
null
### System Info transformes = ^4.27.4, macOS, python = ^3.9.6 ### Who can help? @sanchit-gandhi @ArthurZucker @younesbelkada ### Information - [ ] 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/22696/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/22696/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/22695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/22695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/22695/comments
https://api.github.com/repos/huggingface/transformers/issues/22695/events
https://github.com/huggingface/transformers/issues/22695
1,661,258,184
I_kwDOCUB6oc5jBMnI
22,695
Can't import Mega for causal LM model
{ "login": "Tylersuard", "id": 41713505, "node_id": "MDQ6VXNlcjQxNzEzNTA1", "avatar_url": "https://avatars.githubusercontent.com/u/41713505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tylersuard", "html_url": "https://github.com/Tylersuard", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "The example you are referring to comes from the documentation of the main branch of Transformers, not the released version. You will thus need a [source install](https://huggingface.co/docs/transformers/installation#install-from-source) to be able to execute it.", "Thank you @sgugger " ]
1,681
1,681
1,681
CONTRIBUTOR
null
### System Info ImportError: cannot import name 'MegaForCausalLM' from 'transformers' (/usr/local/lib/python3.9/dist-packages/transformers/__init__.py) This happens while running the example code here: https://huggingface.co/docs/transformers/main/model_doc/mega from transformers import AutoTokenizer, MegaForCau...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/22695/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/22695/timeline
completed
null
null