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/24920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24920/comments
https://api.github.com/repos/huggingface/transformers/issues/24920/events
https://github.com/huggingface/transformers/pull/24920
1,811,984,587
PR_kwDOCUB6oc5V5PNi
24,920
๐ŸŒ [i18n-KO] Translated `perf_infer_cpu.md` to Korean
{ "login": "junejae", "id": 55151385, "node_id": "MDQ6VXNlcjU1MTUxMzg1", "avatar_url": "https://avatars.githubusercontent.com/u/55151385?v=4", "gravatar_id": "", "url": "https://api.github.com/users/junejae", "html_url": "https://github.com/junejae", "followers_url": "https://api.github.com/users/juneja...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,690
1,690
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค! --> # What does this PR do? Translated the `<your_file>.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [x] Chec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24920/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24920/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24920", "html_url": "https://github.com/huggingface/transformers/pull/24920", "diff_url": "https://github.com/huggingface/transformers/pull/24920.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24920.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24919/comments
https://api.github.com/repos/huggingface/transformers/issues/24919/events
https://github.com/huggingface/transformers/issues/24919
1,811,863,456
I_kwDOCUB6oc5r_teg
24,919
`VisionEncoderDecoderModel.generate()` rejects argument `interpolate_pos_encoding=True`
{ "login": "jungomi", "id": 3986846, "node_id": "MDQ6VXNlcjM5ODY4NDY=", "avatar_url": "https://avatars.githubusercontent.com/u/3986846?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jungomi", "html_url": "https://github.com/jungomi", "followers_url": "https://api.github.com/users/jungomi/...
[]
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...
[ "Hi @jungomi\r\n\r\nThank you for raising this issue! Looks valid, I will take a look quickly.", "Hi @gante \r\n\r\nIt looks we need to update `_validate_model_kwargs` in some way, so some extra but necessary (for correctness) arguments could be allowed even if not in `prepare_inputs_for_generation` (here of the ...
1,689
1,690
1,690
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.35 - Python version: 3.9.7 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24919/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/24919/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24918/comments
https://api.github.com/repos/huggingface/transformers/issues/24918/events
https://github.com/huggingface/transformers/issues/24918
1,811,832,040
I_kwDOCUB6oc5r_lzo
24,918
Inconsistent results between LlamaTokenizer and LlamaTokenizerFast
{ "login": "BugWriter2", "id": 26344199, "node_id": "MDQ6VXNlcjI2MzQ0MTk5", "avatar_url": "https://avatars.githubusercontent.com/u/26344199?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BugWriter2", "html_url": "https://github.com/BugWriter2", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hey! Sorry but I cannot reproduce your issue:\r\n\r\n```python \r\nIn [2]: slow_tokenizer.encode(input_text)\r\nOut[2]: [1, 8931]\r\n\r\nIn [3]: fast_tokenizer.encode(input_text)\r\nOut[3]: [1, 8931]\r\n``` \r\nMake sure you have the latest version of tokenizers maybe? ", "This issue has been automatically marke...
1,689
1,693
1,693
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: macOS-10.16-x86_64-i386-64bit - Python version: 3.8.15 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 ### Who can help? @ArthurZucker ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] A...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24918/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/24918/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24917/comments
https://api.github.com/repos/huggingface/transformers/issues/24917/events
https://github.com/huggingface/transformers/pull/24917
1,811,800,495
PR_kwDOCUB6oc5V4mnn
24,917
๐ŸŒ [i18n-KO] Translated `perf_infer_gpu_one.md` to Korean
{ "login": "eenzeenee", "id": 71638597, "node_id": "MDQ6VXNlcjcxNjM4NTk3", "avatar_url": "https://avatars.githubusercontent.com/u/71638597?v=4", "gravatar_id": "", "url": "https://api.github.com/users/eenzeenee", "html_url": "https://github.com/eenzeenee", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,689
1,689
1,689
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค! --> # What does this PR do? Translated the `perf_infer_gpu_one.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24917/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/24917/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24917", "html_url": "https://github.com/huggingface/transformers/pull/24917", "diff_url": "https://github.com/huggingface/transformers/pull/24917.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24917.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24916/comments
https://api.github.com/repos/huggingface/transformers/issues/24916/events
https://github.com/huggingface/transformers/pull/24916
1,811,733,921
PR_kwDOCUB6oc5V4X6U
24,916
Fix `main_input_name` in `src/transformers/keras_callbacks.py`
{ "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
{ "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...
[ { "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"...
[ "_The documentation is not available anymore as the PR was closed or merged._", "@Rocketknight1 Just for you to have a final comment when you are back ๐Ÿ™ ", "Also LGTM, thanks for catching the bug!" ]
1,689
1,690
1,689
COLLABORATOR
null
# What does this PR do? Fix #24872
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24916/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/24916/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24916", "html_url": "https://github.com/huggingface/transformers/pull/24916", "diff_url": "https://github.com/huggingface/transformers/pull/24916.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24916.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24915/comments
https://api.github.com/repos/huggingface/transformers/issues/24915/events
https://github.com/huggingface/transformers/issues/24915
1,811,725,683
I_kwDOCUB6oc5r_L1z
24,915
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
{ "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": "" }, { "id": 5769473378, "node_id": "LA_kwDOCUB6oc8AAAABV-Mt...
open
false
null
[]
[ "Glad you get something different to work on ๐Ÿš€ ๐Ÿ‘€ ๐ŸŽ‰ ", "Hi, @amyeroberts, I don't know if you are working on this but if not I would be more than happy to take it up.", "Oh, this is the issue page, not the PR page!", "@shauray8 You're very welcome to take this up! :) \r\n\r\nThis model presents a new task f...
1,689
1,702
null
COLLABORATOR
null
### Model description ViTPose is used in 2D human pose estimation, a subset of the keypoint detection task #24044 It provides a simple baseline for vision transformer-based human pose estimation. It utilises a pretrained vision transformer backbone to extract features and a simple decoder head to process the extrac...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24915/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/24915/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/24914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24914/comments
https://api.github.com/repos/huggingface/transformers/issues/24914/events
https://github.com/huggingface/transformers/pull/24914
1,811,661,461
PR_kwDOCUB6oc5V4H4J
24,914
Fix `test_model_parallelism` for `FalconModel`
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Just a device issue (when running on multi-gpu env.)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24914/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/24914/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24914", "html_url": "https://github.com/huggingface/transformers/pull/24914", "diff_url": "https://github.com/huggingface/transformers/pull/24914.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24914.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24913/comments
https://api.github.com/repos/huggingface/transformers/issues/24913/events
https://github.com/huggingface/transformers/pull/24913
1,811,633,793
PR_kwDOCUB6oc5V4Bru
24,913
Remove unsupported and confusing "OpenLlama" architecture
{ "login": "tomaarsen", "id": 37621491, "node_id": "MDQ6VXNlcjM3NjIxNDkx", "avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomaarsen", "html_url": "https://github.com/tomaarsen", "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_24913). All of your documentation changes will be reflected on that endpoint.", "No we cannot removing the architecture entirely that would be a breaking change in the library that would be unprecedented and against our phi...
1,689
1,689
1,689
MEMBER
null
This reverts commit c2c99dc7ef5edab8f7674a1eb00cf6ac6996fd0f from #22795. Hello! # What does this PR do? Removes [Open-Llama](https://huggingface.co/docs/transformers/model_doc/open-llama), a confusingly named and unused model architecture from which all documentation links throw 404 errors. ## Motivation ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24913/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/24913/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24913", "html_url": "https://github.com/huggingface/transformers/pull/24913", "diff_url": "https://github.com/huggingface/transformers/pull/24913.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24913.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24912/comments
https://api.github.com/repos/huggingface/transformers/issues/24912/events
https://github.com/huggingface/transformers/issues/24912
1,811,536,692
I_kwDOCUB6oc5r-ds0
24,912
blip2 always decode eos_token first
{ "login": "TobiasLee", "id": 20009381, "node_id": "MDQ6VXNlcjIwMDA5Mzgx", "avatar_url": "https://avatars.githubusercontent.com/u/20009381?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TobiasLee", "html_url": "https://github.com/TobiasLee", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "Hi @TobiasLee \r\nThanks for the issue. I think this is expected, the way Blip2 has been trained always prepends the BOS (Beginning of Sentence) token to the input text due to the underlying tokenizer they use. If conditional text is added to the input, the tokenizer should normally take ca...
1,689
1,693
1,693
CONTRIBUTOR
null
### System Info - `transformers` version: 4.31.0 - Platform: Linux-5.19.0-41-generic-x86_64-with-glibc2.31 - Python version: 3.9.16 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.0 (False) - Tensorflo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24912/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/24912/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24911/comments
https://api.github.com/repos/huggingface/transformers/issues/24911/events
https://github.com/huggingface/transformers/pull/24911
1,811,486,040
PR_kwDOCUB6oc5V3hBZ
24,911
๐ŸŒ [i18n-KO] Translated `perf_train_cpu.md` to Korean
{ "login": "seank021", "id": 127049663, "node_id": "U_kgDOB5Kfvw", "avatar_url": "https://avatars.githubusercontent.com/u/127049663?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seank021", "html_url": "https://github.com/seank021", "followers_url": "https://api.github.com/users/seank021/...
[]
closed
false
null
[]
[ "๋ฆฌ๋ทฐ ์‚ฌํ•ญ ์—†์Šต๋‹ˆ๋‹ค!", "_The documentation is not available anymore as the PR was closed or merged._", "์ˆ˜๊ณ  ๋งŽ์œผ์…จ์Šต๋‹ˆ๋‹ค!!", "์ €๋„ @0525hhgus ๋‹˜์˜ ๋Œ“๊ธ€ ๋ถ€๋ถ„ ์™ธ์—๋Š” ๋ณ„๋„์˜ ๋ฆฌ๋ทฐ ์‚ฌํ•ญ ์—†์Šต๋‹ˆ๋‹ค :)" ]
1,689
1,690
1,690
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค --> # What does this PR do? Translated the `perf_train_cpu.md` 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/24911/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/24911/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24911", "html_url": "https://github.com/huggingface/transformers/pull/24911", "diff_url": "https://github.com/huggingface/transformers/pull/24911.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24911.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24910/comments
https://api.github.com/repos/huggingface/transformers/issues/24910/events
https://github.com/huggingface/transformers/issues/24910
1,811,410,255
I_kwDOCUB6oc5r9-1P
24,910
labels should not be same as input_ids for casual language model
{ "login": "thomas010", "id": 7474360, "node_id": "MDQ6VXNlcjc0NzQzNjA=", "avatar_url": "https://avatars.githubusercontent.com/u/7474360?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomas010", "html_url": "https://github.com/thomas010", "followers_url": "https://api.github.com/users/th...
[]
closed
false
null
[]
[ "@thomas010 did you mean to provide the same code for `result['input_ids']` and `result['labels']`?\r\n\r\nI don't know if this helps you, but in standard causal language modeling, the input sequence and labels _should_ be the same. Suppose the sequence is <token_A>, <token_B>, <token_C>. In step 0, we want to pr...
1,689
1,689
1,689
NONE
null
### System Info in the example for casual language mode pretraing (examples/pytorch/language-modeling/run_clm.py: line 490), labels in 'result' should not be the same as input_ids, but maybe as follows ```` input_ids = result["input_ids"] result["input_ids"] = input_ids[:, :-1].contiguous() result["labels"]...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24910/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/24910/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24909/comments
https://api.github.com/repos/huggingface/transformers/issues/24909/events
https://github.com/huggingface/transformers/pull/24909
1,811,407,194
PR_kwDOCUB6oc5V3Pz1
24,909
Fix minor llama2.md model doc typos
{ "login": "tmc", "id": 3977, "node_id": "MDQ6VXNlcjM5Nzc=", "avatar_url": "https://avatars.githubusercontent.com/u/3977?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tmc", "html_url": "https://github.com/tmc", "followers_url": "https://api.github.com/users/tmc/followers", "following_u...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
Fixes typos in the llama2 model doc
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24909/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/24909/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24909", "html_url": "https://github.com/huggingface/transformers/pull/24909", "diff_url": "https://github.com/huggingface/transformers/pull/24909.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24909.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24908/comments
https://api.github.com/repos/huggingface/transformers/issues/24908/events
https://github.com/huggingface/transformers/pull/24908
1,811,381,247
PR_kwDOCUB6oc5V3KOM
24,908
[`Llama2`] Add support for Llama 2: Fix convert_llama_weights_to_hf.โ€ฆ
{ "login": "linggong2023", "id": 130736106, "node_id": "U_kgDOB8rf6g", "avatar_url": "https://avatars.githubusercontent.com/u/130736106?v=4", "gravatar_id": "", "url": "https://api.github.com/users/linggong2023", "html_url": "https://github.com/linggong2023", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "What does `f` mean in model size? Does it mean `fine-tuned`?", "I understand that \"f\" should be modified to \"-CHAT\" to support the CHAT\r\nmodel. I have made further modifications to the relevant code, replacing\r\nall instances of \"f\" with \"-CHAT\". Could you please reload the same commit\r\nfor me?\r\n\...
1,689
1,689
1,689
NONE
null
โ€ฆpy support 7Bf # 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, pl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24908/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/24908/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24908", "html_url": "https://github.com/huggingface/transformers/pull/24908", "diff_url": "https://github.com/huggingface/transformers/pull/24908.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24908.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24907/comments
https://api.github.com/repos/huggingface/transformers/issues/24907/events
https://github.com/huggingface/transformers/pull/24907
1,811,284,856
PR_kwDOCUB6oc5V21fw
24,907
Fixed issue where ACCELERATE_USE_CPU="False" results in bool(True)
{ "login": "madhavajay", "id": 2882739, "node_id": "MDQ6VXNlcjI4ODI3Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/2882739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/madhavajay", "html_url": "https://github.com/madhavajay", "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_24907). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
CONTRIBUTOR
null
- This results in cpu mode on Apple Silicon mps # What does this PR do? Fixes a bug which prevents device("mps") working if `ACCELERATE_USE_CPU` is set to anything including "False". <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24907/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/24907/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24907", "html_url": "https://github.com/huggingface/transformers/pull/24907", "diff_url": "https://github.com/huggingface/transformers/pull/24907.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24907.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24906/comments
https://api.github.com/repos/huggingface/transformers/issues/24906/events
https://github.com/huggingface/transformers/pull/24906
1,811,279,959
PR_kwDOCUB6oc5V20bU
24,906
[`Llama2`] replace `self.pretraining_tp` with `self.config.pretraining_tp`
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'm curious, if we just set `pretraining_tp` to 1 in `config.json`, does it mean we disable it? Because when I see the model, there is some `if-else condition` checking the value of `config.pretraining_tp > 1`.", "@fahadh4ilyas the...
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Llama-2 (and also in the past Bloom) has introduced a new attribute in the config file `pretraining_tp` to mimic the behaviour of the original model at inference. Therefore, inside some layers the TP paradigm is "reproduced" by manually simulating the TP paradigm, see for example: https://git...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24906/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/24906/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24906", "html_url": "https://github.com/huggingface/transformers/pull/24906", "diff_url": "https://github.com/huggingface/transformers/pull/24906.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24906.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24905/comments
https://api.github.com/repos/huggingface/transformers/issues/24905/events
https://github.com/huggingface/transformers/issues/24905
1,811,256,327
I_kwDOCUB6oc5r9ZQH
24,905
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
{ "login": "HyDRA08", "id": 40757292, "node_id": "MDQ6VXNlcjQwNzU3Mjky", "avatar_url": "https://avatars.githubusercontent.com/u/40757292?v=4", "gravatar_id": "", "url": "https://api.github.com/users/HyDRA08", "html_url": "https://github.com/HyDRA08", "followers_url": "https://api.github.com/users/HyDRA0...
[]
closed
false
null
[]
[ "This usually means there is something wrong with your setup install.", "> \r\n\r\nLike version mismatch?", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do n...
1,689
1,693
1,693
NONE
null
### System Info torch version: 1.12.0+cu113 CUDA: 11.4 `RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling cublasCreate(handle)` I am getting this error when trying to run using CUDA. Works fine when running in CPU. ### Who can help? _No response_ ### Information - [ ] The official...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24905/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/24905/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24904/comments
https://api.github.com/repos/huggingface/transformers/issues/24904/events
https://github.com/huggingface/transformers/pull/24904
1,811,241,975
PR_kwDOCUB6oc5V2sGn
24,904
๐ŸŒ [i18n-KO] Translated `tf_xla.md` to Korean
{ "login": "54data", "id": 99173116, "node_id": "U_kgDOBelC_A", "avatar_url": "https://avatars.githubusercontent.com/u/99173116?v=4", "gravatar_id": "", "url": "https://api.github.com/users/54data", "html_url": "https://github.com/54data", "followers_url": "https://api.github.com/users/54data/followers"...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "๋ฆฌ๋ทฐ ์‚ฌํ•ญ ์—†์Šต๋‹ˆ๋‹ค!", "๊ผผ๊ผผํ•œ ๋ฒˆ์—ญ ์ž˜ ๋ณด์•˜์Šต๋‹ˆ๋‹ค! ์ˆ˜๊ณ  ๋งŽ์œผ์…จ์Šต๋‹ˆ๋‹ค!" ]
1,689
1,690
1,690
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค! --> # What does this PR do? Translated the `tf_xla.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [x] Check for...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24904/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/24904/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24904", "html_url": "https://github.com/huggingface/transformers/pull/24904", "diff_url": "https://github.com/huggingface/transformers/pull/24904.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24904.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24903/comments
https://api.github.com/repos/huggingface/transformers/issues/24903/events
https://github.com/huggingface/transformers/issues/24903
1,811,232,211
I_kwDOCUB6oc5r9TXT
24,903
Xformers is not installed correctly.
{ "login": "david-waterworth", "id": 5028974, "node_id": "MDQ6VXNlcjUwMjg5NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/david-waterworth", "html_url": "https://github.com/david-waterworth", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "It looks like the `pipeline` is back to importing every model (this message comes from trying to access an unrelated model). I'll have a look later this week. You can ignore that warning in the meantime, it's irrelevant.", "Should be fixed by the PR linked above.", "same issue for me on this basic example:\r\n...
1,689
1,692
1,689
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24903/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/24903/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24902/comments
https://api.github.com/repos/huggingface/transformers/issues/24902/events
https://github.com/huggingface/transformers/pull/24902
1,811,167,268
PR_kwDOCUB6oc5V2b-J
24,902
fix typo in BARK_PRETRAINED_MODEL_ARCHIVE_LIST
{ "login": "21jun", "id": 29483429, "node_id": "MDQ6VXNlcjI5NDgzNDI5", "avatar_url": "https://avatars.githubusercontent.com/u/29483429?v=4", "gravatar_id": "", "url": "https://api.github.com/users/21jun", "html_url": "https://github.com/21jun", "followers_url": "https://api.github.com/users/21jun/follow...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24902/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/24902/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24902", "html_url": "https://github.com/huggingface/transformers/pull/24902", "diff_url": "https://github.com/huggingface/transformers/pull/24902.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24902.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24900/comments
https://api.github.com/repos/huggingface/transformers/issues/24900/events
https://github.com/huggingface/transformers/pull/24900
1,811,011,565
PR_kwDOCUB6oc5V16jY
24,900
๐ŸŒ [i18n-KO] Translated `testing.md` to Korean
{ "login": "Sunmin0520", "id": 60782131, "node_id": "MDQ6VXNlcjYwNzgyMTMx", "avatar_url": "https://avatars.githubusercontent.com/u/60782131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sunmin0520", "html_url": "https://github.com/Sunmin0520", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "์œ„์— ํ˜„์„œ ๋ฉ˜ํ† ๋‹˜๊ป˜์„œ ์˜ฌ๋ ค์ฃผ์‹  ๊ฒƒ ์™ธ์—๋Š” ๋ฆฌ๋ทฐ ์‚ฌํ•ญ ์—†์Šต๋‹ˆ๋‹ค!" ]
1,689
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Translated the `testing.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [x] Check for missing / redundant translations (๋ฒˆ์—ญ ๋ˆ„๋ฝ/์ค‘๋ณต ๊ฒ€์‚ฌ) - [x] Grammar Check (๋งž์ถค๋ฒ• ๊ฒ€์‚ฌ) - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24900/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/24900/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24900", "html_url": "https://github.com/huggingface/transformers/pull/24900", "diff_url": "https://github.com/huggingface/transformers/pull/24900.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24900.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24899/comments
https://api.github.com/repos/huggingface/transformers/issues/24899/events
https://github.com/huggingface/transformers/issues/24899
1,810,996,642
I_kwDOCUB6oc5r8Z2i
24,899
LLAMA 2 HF tokenizer len is 32001
{ "login": "ari9dam", "id": 14134882, "node_id": "MDQ6VXNlcjE0MTM0ODgy", "avatar_url": "https://avatars.githubusercontent.com/u/14134882?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ari9dam", "html_url": "https://github.com/ari9dam", "followers_url": "https://api.github.com/users/ari9da...
[]
closed
false
null
[]
[ "The actual config says that `pad_token_id=0` - so I assume this is correct?\r\n\r\nWhat is interesting is that id `32000` maps to a token `'<pad>'` while the original vocab does not contain this token:\r\nhttps://huggingface.co/meta-llama/Llama-2-7b-hf/raw/main/tokenizer.json\r\n\r\nIt seems this is being added so...
1,689
1,690
1,689
NONE
null
### System Info Installed from source (4.32.0.dev0) ``` from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-13b-hf") model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-13b-hf") print(len(tokenizer)) #32001 print(model.co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24899/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24899/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24898/comments
https://api.github.com/repos/huggingface/transformers/issues/24898/events
https://github.com/huggingface/transformers/issues/24898
1,810,949,796
I_kwDOCUB6oc5r8Oak
24,898
NLLB MoE router_state referenced before assignment
{ "login": "drunkcoding", "id": 14305648, "node_id": "MDQ6VXNlcjE0MzA1NjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/14305648?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drunkcoding", "html_url": "https://github.com/drunkcoding", "followers_url": "https://api.github.com/...
[]
closed
false
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[ { "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "...
[ "cc @ArthurZucker ", "Hey! Thanks for reporting! I remember working on a bug where NLLB-MoE was not being torch compiled because None values were returned. Will push a fix! \r\nGlad to see that Nllb-MoE is being used ๐Ÿค— " ]
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.29.2 - Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.17 - Python version: 3.8.17 - Huggingface_hub version: 0.15.1 - Safetensors version: not installed - PyTorch version (GPU?): 2.0.1 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/G...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24898/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/24898/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24897/comments
https://api.github.com/repos/huggingface/transformers/issues/24897/events
https://github.com/huggingface/transformers/issues/24897
1,810,870,516
I_kwDOCUB6oc5r77D0
24,897
Is attention_mask supposed to be added to attention_weights? Based on functions docstring mask values are either 0 or 1.
{ "login": "rpanackal", "id": 36329474, "node_id": "MDQ6VXNlcjM2MzI5NDc0", "avatar_url": "https://avatars.githubusercontent.com/u/36329474?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rpanackal", "html_url": "https://github.com/rpanackal", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @kashif ", "thanks @sgugger and @rpanackal let me check", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https:...
1,689
1,693
1,693
NONE
null
https://github.com/huggingface/transformers/blame/476be08c4aa96f8c1cae4200d2677bbe8f12cf80/src/transformers/models/autoformer/modeling_autoformer.py#L619
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24897/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/24897/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24896/comments
https://api.github.com/repos/huggingface/transformers/issues/24896/events
https://github.com/huggingface/transformers/pull/24896
1,810,848,257
PR_kwDOCUB6oc5V1XN_
24,896
๐ŸŒ [i18n-KO] Translated `perf_train_tpu_tf.md` to Korean
{ "login": "0525hhgus", "id": 47289574, "node_id": "MDQ6VXNlcjQ3Mjg5NTc0", "avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/0525hhgus", "html_url": "https://github.com/0525hhgus", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I closed the PR because the document was not generated correctly." ]
1,689
1,691
1,691
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค --> # What does this PR do? Translated the `perf_train_tpu_tf.md` 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/24896/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/24896/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24896", "html_url": "https://github.com/huggingface/transformers/pull/24896", "diff_url": "https://github.com/huggingface/transformers/pull/24896.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24896.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24895/comments
https://api.github.com/repos/huggingface/transformers/issues/24895/events
https://github.com/huggingface/transformers/pull/24895
1,810,780,275
PR_kwDOCUB6oc5V1IIO
24,895
Update tested versions in READMEs
{ "login": "EliahKagan", "id": 1771172, "node_id": "MDQ6VXNlcjE3NzExNzI=", "avatar_url": "https://avatars.githubusercontent.com/u/1771172?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EliahKagan", "html_url": "https://github.com/EliahKagan", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "@sgugger Thanks for reviewing! I've made it non-draft so it can be merged, as requested.\r\n\r\nBefore I saw your comment, I noticed that the listed TensorFlow versions were also older than the minimum `transformers` currently supports and added a commit to deal with that. I'm not sure if that newest commit was pa...
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? This updates the top-level readme files say the project has been tested with Python 3.8+ (instead of 3.7+) and PyTorch 1.10+ (instead of 1.9+). Versions prior to those are no longer supported as of [v4.31.0](https://github.com/huggingface/transformers/releases/tag/v4.31.0). It also updates so...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24895/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/24895/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24895", "html_url": "https://github.com/huggingface/transformers/pull/24895", "diff_url": "https://github.com/huggingface/transformers/pull/24895.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24895.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24894/comments
https://api.github.com/repos/huggingface/transformers/issues/24894/events
https://github.com/huggingface/transformers/pull/24894
1,810,765,370
PR_kwDOCUB6oc5V1EzS
24,894
add a configuration option in llama architecture
{ "login": "likenneth", "id": 40636646, "node_id": "MDQ6VXNlcjQwNjM2NjQ2", "avatar_url": "https://avatars.githubusercontent.com/u/40636646?v=4", "gravatar_id": "", "url": "https://api.github.com/users/likenneth", "html_url": "https://github.com/likenneth", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thanks for your PR! I think this is more suited to our code on the Hub API as it doesn't apply to the base LLaMA checkpoints. cc @ArthurZucker if you have a different opinion.", "Hi @sgugger, \r\n\r\nAppreciate your prompt reply. However I think I missed something. What do you mean by it doesn't apply to the bas...
1,689
1,692
1,692
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/24894/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/24894/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24894", "html_url": "https://github.com/huggingface/transformers/pull/24894", "diff_url": "https://github.com/huggingface/transformers/pull/24894.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24894.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24893/comments
https://api.github.com/repos/huggingface/transformers/issues/24893/events
https://github.com/huggingface/transformers/pull/24893
1,810,654,531
PR_kwDOCUB6oc5V0sQn
24,893
Avoid some pipeline tasks to use `use_cache=True`
{ "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._", "LGTM! Thanks for diving into this", "Thanks for resolving this so quickly @ydshieh!" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Fix #24873 For example, we can pass `use_cache=True` (or set this in config) to `BartForSequenceClassification` and it will return `past_key_values` (although not useful to the task). This is to respond to #24873, despite the memory issue reported there is not 100% for sure yet. Howev...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24893/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/24893/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24893", "html_url": "https://github.com/huggingface/transformers/pull/24893", "diff_url": "https://github.com/huggingface/transformers/pull/24893.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24893.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24892/comments
https://api.github.com/repos/huggingface/transformers/issues/24892/events
https://github.com/huggingface/transformers/pull/24892
1,810,383,752
PR_kwDOCUB6oc5Vz2xl
24,892
Add descriptive docstring to TemperatureLogitsWarper
{ "login": "nablabits", "id": 33068707, "node_id": "MDQ6VXNlcjMzMDY4NzA3", "avatar_url": "https://avatars.githubusercontent.com/u/33068707?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nablabits", "html_url": "https://github.com/nablabits", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Please note that I force pushed the branch as I had to fix the linter (and took the advantage to sync my fork).\r\n\r\nIn case someone else runs into the same problem (and by some planetary alignment :ringed_planet: :earth_africa: :new_moon: lands in this tiny comment), it took me a while to figure out the issue ...
1,689
1,690
1,690
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/24892/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/24892/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24892", "html_url": "https://github.com/huggingface/transformers/pull/24892", "diff_url": "https://github.com/huggingface/transformers/pull/24892.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24892.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24891/comments
https://api.github.com/repos/huggingface/transformers/issues/24891/events
https://github.com/huggingface/transformers/pull/24891
1,810,267,222
PR_kwDOCUB6oc5VzddK
24,891
[`Llama2`] Add support for Llama 2
{ "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._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24891). All of your documentation changes will be reflected on that endpoint.", "Somehow this commit will easily lead the llama model to be o...
1,689
1,692
1,689
COLLABORATOR
null
# What does this PR do? Add Support for Llama2 ! ๐Ÿ”ฅ ๐Ÿ”ฅ
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24891/reactions", "total_count": 40, "+1": 1, "-1": 0, "laugh": 0, "hooray": 4, "confused": 0, "heart": 6, "rocket": 29, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24891/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24891", "html_url": "https://github.com/huggingface/transformers/pull/24891", "diff_url": "https://github.com/huggingface/transformers/pull/24891.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24891.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24890/comments
https://api.github.com/repos/huggingface/transformers/issues/24890/events
https://github.com/huggingface/transformers/pull/24890
1,810,249,187
PR_kwDOCUB6oc5VzZdX
24,890
Check for accelerate env var when doing CPU only
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Checks if `ACCELERATE_USE_CPU` is enabled to ensure trainer parts get set properly if so (and if `--use_cpu` isn't used) Fixes # (issue) ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24890/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/24890/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24890", "html_url": "https://github.com/huggingface/transformers/pull/24890", "diff_url": "https://github.com/huggingface/transformers/pull/24890.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24890.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24889/comments
https://api.github.com/repos/huggingface/transformers/issues/24889/events
https://github.com/huggingface/transformers/pull/24889
1,810,183,394
PR_kwDOCUB6oc5VzK8e
24,889
[`Blip`] Fix blip output name
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi thanks for this @younesbelkada โค๏ธ \r\n\r\nHowever, this is not enough, you have to add something like \r\n\r\nhttps://github.com/huggingface/transformers/blob/3ec10e6c76362191b61260300fe1d6173a8dd7e1/src/transformers/models/swin/m...
1,689
1,689
1,689
CONTRIBUTOR
null
As suggested by @ydshieh offline and similarly as https://github.com/huggingface/transformers/pull/22893 In fact, there is no reason to call the output logits `decoder_logits`, as they always come from the decoder cc @sgugger @ydshieh
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24889/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/24889/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24889", "html_url": "https://github.com/huggingface/transformers/pull/24889", "diff_url": "https://github.com/huggingface/transformers/pull/24889.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24889.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24888/comments
https://api.github.com/repos/huggingface/transformers/issues/24888/events
https://github.com/huggingface/transformers/pull/24888
1,810,101,278
PR_kwDOCUB6oc5Vy4xM
24,888
[`InstructBlip`] Fix int8/fp4 issues
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? FIxes: https://github.com/huggingface/transformers/issues/24884 To reproduce: ```python from transformers import InstructBlipProcessor, InstructBlipForConditionalGeneration import torch from PIL import Image import requests device = "cuda" if torch.cuda.is_available() else "cpu" ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24888/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/24888/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24888", "html_url": "https://github.com/huggingface/transformers/pull/24888", "diff_url": "https://github.com/huggingface/transformers/pull/24888.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24888.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24887/comments
https://api.github.com/repos/huggingface/transformers/issues/24887/events
https://github.com/huggingface/transformers/pull/24887
1,810,023,396
PR_kwDOCUB6oc5Vyn2C
24,887
๐ŸŒ [i18n-KO] Translated `perf_train_tpu_tf.md` to Korean
{ "login": "0525hhgus", "id": 47289574, "node_id": "MDQ6VXNlcjQ3Mjg5NTc0", "avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/0525hhgus", "html_url": "https://github.com/0525hhgus", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค --> # What does this PR do? Translated the `perf_train_tpu_tf.md` 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/24887/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/24887/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24887", "html_url": "https://github.com/huggingface/transformers/pull/24887", "diff_url": "https://github.com/huggingface/transformers/pull/24887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24887.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24886/comments
https://api.github.com/repos/huggingface/transformers/issues/24886/events
https://github.com/huggingface/transformers/pull/24886
1,809,982,984
PR_kwDOCUB6oc5Vye__
24,886
Separate CircleCI cache between `main` and `pull` or other branches
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Keep the CircleCI cache running on `main` branch not affected by other branches/PR. Reading the following by keeping in mind: - @lhoestq created a branch yesterday using `datasets 2.13.2.dev0` - @sgugger changed `setup.py` yesterday in the commit `4.32.0.dev0` - the cache used by @lh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24886/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/24886/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24886", "html_url": "https://github.com/huggingface/transformers/pull/24886", "diff_url": "https://github.com/huggingface/transformers/pull/24886.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24886.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24885/comments
https://api.github.com/repos/huggingface/transformers/issues/24885/events
https://github.com/huggingface/transformers/pull/24885
1,809,971,855
PR_kwDOCUB6oc5VycxT
24,885
Disable ipex env var if false
{ "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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Properly sets the Accelerate env variable if apex is set to False (the default in training args) Fixes # (issue) Solves https://github.com/huggingface/transformers/issues/24871 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24885/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/24885/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24885", "html_url": "https://github.com/huggingface/transformers/pull/24885", "diff_url": "https://github.com/huggingface/transformers/pull/24885.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24885.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24884/comments
https://api.github.com/repos/huggingface/transformers/issues/24884/events
https://github.com/huggingface/transformers/issues/24884
1,809,952,779
I_kwDOCUB6oc5r4bAL
24,884
InstructBLIP - FlanT5-XL model Int4/8 quantization broken
{ "login": "lukealexmiller", "id": 1459243, "node_id": "MDQ6VXNlcjE0NTkyNDM=", "avatar_url": "https://avatars.githubusercontent.com/u/1459243?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lukealexmiller", "html_url": "https://github.com/lukealexmiller", "followers_url": "https://api.gith...
[]
closed
false
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[ { "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url"...
[ "Hi @lukealexmiller \r\nThanks for reporting, will look into it ASAP. ", "Hi @lukealexmiller \r\nAgain, thanks for reporting, I made a patch to support 8bit / 4bit correctly for Flan-t5 models in https://github.com/huggingface/transformers/pull/24888 , before it gets merged you can download it with the following:...
1,689
1,690
1,689
NONE
null
### System Info - `transformers` version: 4.32.0.dev0 - Platform: Linux-4.14.314-238.539.amzn2.x86_64-x86_64-with-glibc2.31 - Python version: 3.10.9 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.22.0.dev0 - Accelerate config: - compute_environment: LOCAL_MACHINE - dist...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24884/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/24884/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24883/comments
https://api.github.com/repos/huggingface/transformers/issues/24883/events
https://github.com/huggingface/transformers/pull/24883
1,809,932,404
PR_kwDOCUB6oc5VyUIx
24,883
๐ŸŒ[i18n-KO] Translated performance.md to Korean
{ "login": "augustinLib", "id": 74291999, "node_id": "MDQ6VXNlcjc0MjkxOTk5", "avatar_url": "https://avatars.githubusercontent.com/u/74291999?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustinLib", "html_url": "https://github.com/augustinLib", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "๋ฆฌ๋ทฐ ์‚ฌํ•ญ ์—†์Šต๋‹ˆ๋‹ค!" ]
1,689
1,690
1,690
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค! --> # What does this PR do? Translated the `performance.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [x] Chec...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24883/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/24883/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24883", "html_url": "https://github.com/huggingface/transformers/pull/24883", "diff_url": "https://github.com/huggingface/transformers/pull/24883.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24883.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24882/comments
https://api.github.com/repos/huggingface/transformers/issues/24882/events
https://github.com/huggingface/transformers/pull/24882
1,809,857,825
PR_kwDOCUB6oc5VyDkU
24,882
Enable `ZeroShotAudioClassificationPipelineTests::test_small_model_pt`
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? This test was failing due to a dev version of `datasets` (created in another branch) being used in `main`. It's now resolved. Thank you @lhoestq for the investigation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24882/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/24882/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24882", "html_url": "https://github.com/huggingface/transformers/pull/24882", "diff_url": "https://github.com/huggingface/transformers/pull/24882.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24882.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24881/comments
https://api.github.com/repos/huggingface/transformers/issues/24881/events
https://github.com/huggingface/transformers/pull/24881
1,809,787,939
PR_kwDOCUB6oc5Vx0TO
24,881
๐ŸŒย [i18n-KO] Translatedย `transformers_agents.md` 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
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@eenzeenee @sronger๋‹˜ ๋ฆฌ๋ทฐ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! \r\n์ œ์•ˆํ•ด์ฃผ์‹  ์ˆ˜์ •์‚ฌํ•ญ์„ ๋ชจ๋‘ ๋ฐ˜์˜ํ–ˆ์Šต๋‹ˆ๋‹ค โ˜บ๏ธ", "Could you review this PR? ๐Ÿ˜ƒ\r\n@sgugger, @ArthurZucker, @eunseojo" ]
1,689
1,690
1,690
CONTRIBUTOR
null
# What does this PR do? Translated the `transformers_agents.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [x] Check for missing / redundant translations (๋ฒˆ์—ญ ๋ˆ„๋ฝ/์ค‘๋ณต ๊ฒ€์‚ฌ) - [x] Grammar Check ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24881/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/24881/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24881", "html_url": "https://github.com/huggingface/transformers/pull/24881", "diff_url": "https://github.com/huggingface/transformers/pull/24881.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24881.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24880/comments
https://api.github.com/repos/huggingface/transformers/issues/24880/events
https://github.com/huggingface/transformers/pull/24880
1,809,681,307
PR_kwDOCUB6oc5Vxcxt
24,880
Fix CircleCI cache
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Fix the cache of site-package is loaded in the step of pip cache loading. See comment in the change.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24880/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/24880/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24880", "html_url": "https://github.com/huggingface/transformers/pull/24880", "diff_url": "https://github.com/huggingface/transformers/pull/24880.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24880.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24879/comments
https://api.github.com/repos/huggingface/transformers/issues/24879/events
https://github.com/huggingface/transformers/pull/24879
1,809,673,635
PR_kwDOCUB6oc5VxbFN
24,879
add ascend npu accelerator support
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,694
1,689
CONTRIBUTOR
null
### What does this PR do? Currently, Accelerate has supported ascend npu([see](https://github.com/huggingface/accelerate/pull/1676)). This PR enables users to leverage the ascend npu for training and inference of ๐Ÿค— Transformers models. For example, you can run the official glue text-classification task using ascen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24879/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/24879/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24879", "html_url": "https://github.com/huggingface/transformers/pull/24879", "diff_url": "https://github.com/huggingface/transformers/pull/24879.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24879.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24878/comments
https://api.github.com/repos/huggingface/transformers/issues/24878/events
https://github.com/huggingface/transformers/pull/24878
1,809,519,511
PR_kwDOCUB6oc5Vw5Mz
24,878
[`Docs`] Clarify 4bit docs
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? As discussed internally with @lewtun , this PR refactors a bit the 4bit docs by adding more clarifications about best practices and giving relevant pointers to users about advanced usage. Also fixed the requirements instructions as 4bit is now part of the latest release cc @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24878/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/24878/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24878", "html_url": "https://github.com/huggingface/transformers/pull/24878", "diff_url": "https://github.com/huggingface/transformers/pull/24878.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24878.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24877/comments
https://api.github.com/repos/huggingface/transformers/issues/24877/events
https://github.com/huggingface/transformers/pull/24877
1,809,223,551
PR_kwDOCUB6oc5Vv4Qk
24,877
check if eval dataset is dict
{ "login": "hwijeen", "id": 29157715, "node_id": "MDQ6VXNlcjI5MTU3NzE1", "avatar_url": "https://avatars.githubusercontent.com/u/29157715?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwijeen", "html_url": "https://github.com/hwijeen", "followers_url": "https://api.github.com/users/hwijee...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Simply checks if `eval_dataset` is a dict and if it is, run a sequential evaluation on each evaluation dataset. <!-- 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 su...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24877/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/24877/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24877", "html_url": "https://github.com/huggingface/transformers/pull/24877", "diff_url": "https://github.com/huggingface/transformers/pull/24877.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24877.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24876/comments
https://api.github.com/repos/huggingface/transformers/issues/24876/events
https://github.com/huggingface/transformers/issues/24876
1,809,105,070
I_kwDOCUB6oc5r1MCu
24,876
Model saving have dimension issue while using deepspeed stage 3 with multi node for larger models
{ "login": "dittops", "id": 12937285, "node_id": "MDQ6VXNlcjEyOTM3Mjg1", "avatar_url": "https://avatars.githubusercontent.com/u/12937285?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dittops", "html_url": "https://github.com/dittops", "followers_url": "https://api.github.com/users/dittop...
[]
closed
false
null
[]
[ "@dittops \r\nTo be fair, it was said that it was resolved, but we have no means of validating that, since the actual code was not shared. ", "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\nP...
1,689
1,693
1,693
NONE
null
### System Info Python 3.8.10 transformers 4.30.2 accelerate 0.20.3 deepspeed 0.9.5 ### Who can help? @pacman100 ### 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 o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24876/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/24876/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24875/comments
https://api.github.com/repos/huggingface/transformers/issues/24875/events
https://github.com/huggingface/transformers/pull/24875
1,808,989,886
PR_kwDOCUB6oc5VvFnl
24,875
Remove jnp.DeviceArray since it is deprecated.
{ "login": "mariecwhite", "id": 5143063, "node_id": "MDQ6VXNlcjUxNDMwNjM=", "avatar_url": "https://avatars.githubusercontent.com/u/5143063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariecwhite", "html_url": "https://github.com/mariecwhite", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @sanchit-gandhi ", "@sanchit-gandhi This pull request should be prioritised since the affected Flax models are currently not usable at all.", "@mariecwhite Thanks for opening this PR! Running `make style` and pushing the changes will resolve the code quality CI checks", "Hey @mariecwhite - it seems there ...
1,689
1,691
1,691
CONTRIBUTOR
null
The latest version of JAX deprecates jax.numpy.DeviceArray. When using this version with Transformers, we get this error when instantiating FlaxBertModel: `module 'jax.numpy' has no attribute 'DeviceArray'`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24875/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/24875/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24875", "html_url": "https://github.com/huggingface/transformers/pull/24875", "diff_url": "https://github.com/huggingface/transformers/pull/24875.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24875.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24874/comments
https://api.github.com/repos/huggingface/transformers/issues/24874/events
https://github.com/huggingface/transformers/issues/24874
1,808,983,458
I_kwDOCUB6oc5r0uWi
24,874
NotImplementedError: offload_to_cpu=True and NO_SHARD is not supported yet
{ "login": "linkailuo1986", "id": 95203644, "node_id": "U_kgDOBayxPA", "avatar_url": "https://avatars.githubusercontent.com/u/95203644?v=4", "gravatar_id": "", "url": "https://api.github.com/users/linkailuo1986", "html_url": "https://github.com/linkailuo1986", "followers_url": "https://api.github.com/us...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
closed
false
null
[]
[ "Can you please give us a code reproducer of the issue? cc @pacman100 ", "> Can you please give us a code reproducer of the issue? cc @pacman100\r\n\r\nThanks. Sure, here is the code:\r\n\r\n`torchrun train.py \\\r\n --model_name_or_path openlm-research/open_llama_3b \\\r\n --data_path /path/to/data \\\r\n...
1,689
1,689
1,689
NONE
null
### System Info I was using fsdp with settings "full_shard auto_wrap" on a A100 GPU. The training went well but was interupted when saving the checkpoints. The error stated `NotImplementedError: offload_to_cpu=True and NO_SHARD is not supported yet`. I understand that I am using a single GPU so fsdp defaluts to NO_SHA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24874/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/24874/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24873/comments
https://api.github.com/repos/huggingface/transformers/issues/24873/events
https://github.com/huggingface/transformers/issues/24873
1,808,918,347
I_kwDOCUB6oc5r0edL
24,873
ZeroShotClassificationPipeline has large memory spikes when using a lot of candidate_labels
{ "login": "rsmith49", "id": 17658617, "node_id": "MDQ6VXNlcjE3NjU4NjE3", "avatar_url": "https://avatars.githubusercontent.com/u/17658617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rsmith49", "html_url": "https://github.com/rsmith49", "followers_url": "https://api.github.com/users/rsm...
[]
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...
[ "Hi @rsmith49 \r\n\r\nThank you for opening this issue ๐Ÿค— . I will take a look!", "> could you confirm that the issue happens only when the results (of all 1500 inference calls) are saved? (I think it's yes?)\r\n\r\nI have been running in a jupyter notebook, which I think does save the results from calling the pi...
1,689
1,689
1,689
NONE
null
### System Info ``` - `transformers` version: 4.27.4 - Platform: Linux-5.4.0-1103-aws-x86_64-with-glibc2.27 - Python version: 3.8.0 - Huggingface_hub version: 0.16.4 - PyTorch version (GPU?): 1.8.1+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24873/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/24873/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24872/comments
https://api.github.com/repos/huggingface/transformers/issues/24872/events
https://github.com/huggingface/transformers/issues/24872
1,808,895,688
I_kwDOCUB6oc5r0Y7I
24,872
`main_input_name` is None if `predict_with_generate` in keras_callbacks.py for encoder-decoder(Bert-Bert) TF models
{ "login": "saichandrapandraju", "id": 41769919, "node_id": "MDQ6VXNlcjQxNzY5OTE5", "avatar_url": "https://avatars.githubusercontent.com/u/41769919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saichandrapandraju", "html_url": "https://github.com/saichandrapandraju", "followers_url": "ht...
[]
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...
[ "Thank you for reproting @saichandrapandraju ๐Ÿค— \r\n\r\ncc @Rocketknight1 (when he is back, or I can take a look after finishing some other tasks ) ", "Sure @ydshieh , once this is verified to be valid, I can create a PR ๐Ÿ™‚" ]
1,689
1,689
1,689
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.15.109+-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu118 (True) - Tensorflow version (GPU?): 2.12.0 (True) - Flax version (CPU?/GPU?/TPU?): 0.7...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24872/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/24872/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24871/comments
https://api.github.com/repos/huggingface/transformers/issues/24871/events
https://github.com/huggingface/transformers/issues/24871
1,808,842,241
I_kwDOCUB6oc5r0L4B
24,871
Trainer is always using IPEX, even when use_ipex=False
{ "login": "dmsuehir", "id": 13952606, "node_id": "MDQ6VXNlcjEzOTUyNjA2", "avatar_url": "https://avatars.githubusercontent.com/u/13952606?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmsuehir", "html_url": "https://github.com/dmsuehir", "followers_url": "https://api.github.com/users/dms...
[]
closed
false
{ "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...
[ { "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...
[ "cc @muellerzr (right?)", "This is a problem that should be solved in Accelerate, I'll work on a PR today with this. Thanks for the flag!\r\n\r\nEdit: actually this can be solved in the training args, PR coming shortly", "@dmsuehir can you try running again with `pip install git+https://github.com/huggingface/t...
1,689
1,689
1,689
CONTRIBUTOR
null
### System Info - `transformers` version: 4.32.0.dev0 - Platform: Linux-5.15.0-75-generic-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 2.0.1+cu117 (False) - Te...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24871/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/24871/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24870/comments
https://api.github.com/repos/huggingface/transformers/issues/24870/events
https://github.com/huggingface/transformers/issues/24870
1,808,712,700
I_kwDOCUB6oc5rzsP8
24,870
Amazon Bedrock model as HfAgent
{ "login": "austinmw", "id": 12224358, "node_id": "MDQ6VXNlcjEyMjI0MzU4", "avatar_url": "https://avatars.githubusercontent.com/u/12224358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/austinmw", "html_url": "https://github.com/austinmw", "followers_url": "https://api.github.com/users/aus...
[]
closed
false
null
[]
[ "Hi @austinmw Thank you for this feature request.\r\n\r\nI am not sure however, cc my colleague @sgugger who knows much better on the Agent topic!\r\n\r\n", "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 th...
1,689
1,693
1,693
NONE
null
### Feature request I'd like to be able to use Amazon Bedrock available models, for example Claude, as the HfAgent model. ### Motivation Expanded model support ### Your contribution Not sure currently.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24870/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/24870/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24869/comments
https://api.github.com/repos/huggingface/transformers/issues/24869/events
https://github.com/huggingface/transformers/pull/24869
1,808,600,075
PR_kwDOCUB6oc5VtwaD
24,869
๐ŸŒ[i18n-KO] Translated `<debugging>.md`to Korean
{ "login": "kj021", "id": 106062329, "node_id": "U_kgDOBlJh-Q", "avatar_url": "https://avatars.githubusercontent.com/u/106062329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kj021", "html_url": "https://github.com/kj021", "followers_url": "https://api.github.com/users/kj021/followers", ...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24869). All of your documentation changes will be reflected on that endpoint.", "์†Œํ˜„๋‹˜์ด ๋ฆฌ๋ทฐ๋ฅผ ๊ผผ๊ผผํ•˜๊ฒŒ ํ•ด์ฃผ์…จ๋„ค์š”!\r\nLGTM ๐Ÿ‘", "์•ˆ๋…•ํ•˜์„ธ์š” @kj021 ๋‹˜, ํ˜น์‹œ ์‹œ๊ฐ„์ด ๋‚˜์‹ค๋•Œ ์œ„์˜ ์ˆ˜์ •์‚ฌํ•ญ๋“ค์„ ๋ฐ˜์˜ํ•ด์ฃผ์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค! ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.", "This issue has been automatically marked as...
1,689
1,695
1,695
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค --> # What does this PR do? Translated the `<debugging>.md` 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/24869/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/24869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24869", "html_url": "https://github.com/huggingface/transformers/pull/24869", "diff_url": "https://github.com/huggingface/transformers/pull/24869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24869.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24868/comments
https://api.github.com/repos/huggingface/transformers/issues/24868/events
https://github.com/huggingface/transformers/pull/24868
1,808,545,572
PR_kwDOCUB6oc5VtkKe
24,868
Remove `tests/onnx`
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Remove `tests/onnx`, as mentioned, as discussed https://github.com/huggingface/transformers/pull/24800#issuecomment-1634822781 Note there are still some tests like `TFGPT2ModelTest::test_onnx_runtime_optimize` which are not removed in this PR.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24868/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/24868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24868", "html_url": "https://github.com/huggingface/transformers/pull/24868", "diff_url": "https://github.com/huggingface/transformers/pull/24868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24868.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24867/comments
https://api.github.com/repos/huggingface/transformers/issues/24867/events
https://github.com/huggingface/transformers/pull/24867
1,808,458,045
PR_kwDOCUB6oc5VtUGi
24,867
Skip failing `ZeroShotAudioClassificationPipelineTests::test_small_model_pt` for now
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Skip failing `ZeroShotAudioClassificationPipelineTests::test_small_model_pt` for now. see [failing job](https://app.circleci.com/pipelines/github/huggingface/transformers/68367/workflows/0d616969-381a-4ce2-96f9-ec83b259df75/jobs/856192) likely a `datasets` issue
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24867/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/24867/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24867", "html_url": "https://github.com/huggingface/transformers/pull/24867", "diff_url": "https://github.com/huggingface/transformers/pull/24867.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24867.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24866/comments
https://api.github.com/repos/huggingface/transformers/issues/24866/events
https://github.com/huggingface/transformers/issues/24866
1,808,402,563
I_kwDOCUB6oc5rygiD
24,866
ValueError: operands could not be broadcast together with shapes (60,4) (24,2,60,16,1024,64)
{ "login": "Luke-4", "id": 138615931, "node_id": "U_kgDOCEMcew", "avatar_url": "https://avatars.githubusercontent.com/u/138615931?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Luke-4", "html_url": "https://github.com/Luke-4", "followers_url": "https://api.github.com/users/Luke-4/follower...
[]
closed
false
null
[]
[ "You should use the [forums](https://discuss.huggingface.co/) to debug your code as we keep issues for feature requests and bugs in the library only. Here it seems your `compute_metrics` function does not take the logits from the result of the model, which contains two arrays at least (the logits and some kind of h...
1,689
1,691
1,691
NONE
null
I am trying to fine-tune a model using the trainer API but I am getting this error: ![image](https://github.com/huggingface/transformers/assets/138615931/22a5ce44-a0ee-4fba-83f4-9d31c9ce76d4) I have looked online and I can't find anything similar to this, at least related to transformers and NPL. here is the co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24866/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/24866/timeline
not_planned
null
null
https://api.github.com/repos/huggingface/transformers/issues/24865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24865/comments
https://api.github.com/repos/huggingface/transformers/issues/24865/events
https://github.com/huggingface/transformers/pull/24865
1,808,357,147
PR_kwDOCUB6oc5Vs9mG
24,865
Skip Add model like job
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? The Add model like job has been failing for a mysterious reason since this morning. I suggest skipping it for now and re-enabling it once it is fixed.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24865/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/24865/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24865", "html_url": "https://github.com/huggingface/transformers/pull/24865", "diff_url": "https://github.com/huggingface/transformers/pull/24865.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24865.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24864/comments
https://api.github.com/repos/huggingface/transformers/issues/24864/events
https://github.com/huggingface/transformers/pull/24864
1,808,284,952
PR_kwDOCUB6oc5VstnY
24,864
Fix the fetch of all example tests
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24864). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? I noticed on recent PRs that when all tests are fetched, the example tests are not run. Upon closer inspection, it's because the test for `"all"` in the `test_fetcher` compares a list instead of a string. This PR addresses that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24864/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/24864/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24864", "html_url": "https://github.com/huggingface/transformers/pull/24864", "diff_url": "https://github.com/huggingface/transformers/pull/24864.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24864.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24863/comments
https://api.github.com/repos/huggingface/transformers/issues/24863/events
https://github.com/huggingface/transformers/pull/24863
1,808,215,493
PR_kwDOCUB6oc5VseMW
24,863
deprecate no_cuda
{ "login": "SunMarc", "id": 57196510, "node_id": "MDQ6VXNlcjU3MTk2NTEw", "avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SunMarc", "html_url": "https://github.com/SunMarc", "followers_url": "https://api.github.com/users/SunMar...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
MEMBER
null
# What does this PR do? This PR deprecates the `no_cuda` arg because it is confusing for Mac users as their models get dispatched to `mps` device when `no_cuda=False`. If they want to train the model on cpu, they need to set `no_cuda=True` which is not intuitive. We rename it `use_cpu` instead. Related issue #2469...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24863/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/24863/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24863", "html_url": "https://github.com/huggingface/transformers/pull/24863", "diff_url": "https://github.com/huggingface/transformers/pull/24863.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24863.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24862/comments
https://api.github.com/repos/huggingface/transformers/issues/24862/events
https://github.com/huggingface/transformers/pull/24862
1,808,192,854
PR_kwDOCUB6oc5VsZJ0
24,862
Fix token pass
{ "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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24862). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? The `token` passed along in `PreTrainedTokenizerBase.from_pretrained` is passed along twice at the end: one time in the kwargs and one time as `use_auth_token`. This caused the speech examples to fail.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24862/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/24862/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24862", "html_url": "https://github.com/huggingface/transformers/pull/24862", "diff_url": "https://github.com/huggingface/transformers/pull/24862.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24862.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24861/comments
https://api.github.com/repos/huggingface/transformers/issues/24861/events
https://github.com/huggingface/transformers/pull/24861
1,808,082,595
PR_kwDOCUB6oc5VsA7E
24,861
fix broken links in READMEs
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Currently foreign languages READMEs have broken links, this PR fixes it cc @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24861/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/24861/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24861", "html_url": "https://github.com/huggingface/transformers/pull/24861", "diff_url": "https://github.com/huggingface/transformers/pull/24861.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24861.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24860/comments
https://api.github.com/repos/huggingface/transformers/issues/24860/events
https://github.com/huggingface/transformers/issues/24860
1,808,070,386
I_kwDOCUB6oc5rxPby
24,860
Model parameters don't update with deepspeed integration
{ "login": "avivbrokman", "id": 35349273, "node_id": "MDQ6VXNlcjM1MzQ5Mjcz", "avatar_url": "https://avatars.githubusercontent.com/u/35349273?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avivbrokman", "html_url": "https://github.com/avivbrokman", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I apologize if this is actually a deepspeed issue rather than a deepspeed integration issueโ€”I'm having trouble parsing which option is the case.", "I think it is expected behaviour, because Zero3 partitions the model weights. You should use `deepspeed.zero.GatheredParameters` context manager or you can check the...
1,689
1,699
1,689
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-5.10.173-154.642.amzn2.x86_64-x86_64-with-glibc2.26 - Python version: 3.10.10 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0 (True) - Tensorflow version (GPU?): not installed (NA) - Flax ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24860/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/24860/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24859/comments
https://api.github.com/repos/huggingface/transformers/issues/24859/events
https://github.com/huggingface/transformers/pull/24859
1,808,037,437
PR_kwDOCUB6oc5Vr3Li
24,859
Add TAPEX to the list of deprecated models
{ "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._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24859). All of your documentation changes will be reflected on that endpoint." ]
1,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? TAPEX was not in the list of deprecated models, leading to importing it with the auto API not working. I'll make a script to check the content of that constant is in sync with the content of the deprecated folder so this doesn't happen again. Fixes #24852
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24859/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/24859/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24859", "html_url": "https://github.com/huggingface/transformers/pull/24859", "diff_url": "https://github.com/huggingface/transformers/pull/24859.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24859.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24858
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24858/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24858/comments
https://api.github.com/repos/huggingface/transformers/issues/24858/events
https://github.com/huggingface/transformers/pull/24858
1,807,915,993
PR_kwDOCUB6oc5VrctI
24,858
Ra
{ "login": "jamesthesnake", "id": 8227820, "node_id": "MDQ6VXNlcjgyMjc4MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/8227820?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jamesthesnake", "html_url": "https://github.com/jamesthesnake", "followers_url": "https://api.github....
[]
closed
false
null
[]
[]
1,689
1,689
1,689
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/24858/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/24858/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24858", "html_url": "https://github.com/huggingface/transformers/pull/24858", "diff_url": "https://github.com/huggingface/transformers/pull/24858.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24858.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24857/comments
https://api.github.com/repos/huggingface/transformers/issues/24857/events
https://github.com/huggingface/transformers/issues/24857
1,807,753,063
I_kwDOCUB6oc5rwB9n
24,857
Everything CLIP related seems to break starting form transformers 4.28.0
{ "login": "andreaferretti", "id": 1962818, "node_id": "MDQ6VXNlcjE5NjI4MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/1962818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andreaferretti", "html_url": "https://github.com/andreaferretti", "followers_url": "https://api.gith...
[]
closed
false
null
[]
[ "Just to make something reproducible, here we can see that the output of CLIPProcessor changes. I run the script\r\n\r\n```python\r\nfrom PIL import Image\r\nimport requests\r\n\r\nimport transformers\r\nfrom torchvision.transforms.functional import to_tensor\r\nfrom transformers import CLIPProcessor\r\n\r\nprocess...
1,689
1,706
1,694
NONE
null
### System Info - `transformers` version: 4.28.0 - Platform: Linux-5.10.107+-x86_64-with-glibc2.31 - Python version: 3.9.16 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 1.11.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24857/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/24857/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24856/comments
https://api.github.com/repos/huggingface/transformers/issues/24856/events
https://github.com/huggingface/transformers/pull/24856
1,807,729,261
PR_kwDOCUB6oc5Vqzm7
24,856
Replace assert statements with exceptions
{ "login": "syedsalman137", "id": 98826220, "node_id": "U_kgDOBeP37A", "avatar_url": "https://avatars.githubusercontent.com/u/98826220?v=4", "gravatar_id": "", "url": "https://api.github.com/users/syedsalman137", "html_url": "https://github.com/syedsalman137", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? I have replaced the assert statements with appropriate exceptions in the directory `src/transformers/models/` with all models beginning with `a` and `b` letters. Also, I have corrected error handling at places where except statements were handling AssertionError, even thought it was never ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24856/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/24856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24856", "html_url": "https://github.com/huggingface/transformers/pull/24856", "diff_url": "https://github.com/huggingface/transformers/pull/24856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24856.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24855/comments
https://api.github.com/repos/huggingface/transformers/issues/24855/events
https://github.com/huggingface/transformers/pull/24855
1,807,728,271
PR_kwDOCUB6oc5VqzZD
24,855
Fix comments for `_merge_heads`
{ "login": "bofenghuang", "id": 38185248, "node_id": "MDQ6VXNlcjM4MTg1MjQ4", "avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bofenghuang", "html_url": "https://github.com/bofenghuang", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
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/24855/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/24855/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24855", "html_url": "https://github.com/huggingface/transformers/pull/24855", "diff_url": "https://github.com/huggingface/transformers/pull/24855.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24855.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24854/comments
https://api.github.com/repos/huggingface/transformers/issues/24854/events
https://github.com/huggingface/transformers/pull/24854
1,807,689,851
PR_kwDOCUB6oc5Vqq2H
24,854
[BLIP-2] Improve conversion script
{ "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._", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu...
1,689
1,694
1,694
CONTRIBUTOR
null
# What does this PR do? When investigating an issue reported [here](https://github.com/salesforce/LAVIS/issues/418), I've reran and improved BLIP-2's conversion script (based on InstructBLIP). It's important to compare apples-to-apples, so I had to fork the LAVIS repo and make sure the original model is also run ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24854/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/24854/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24854", "html_url": "https://github.com/huggingface/transformers/pull/24854", "diff_url": "https://github.com/huggingface/transformers/pull/24854.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24854.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24853/comments
https://api.github.com/repos/huggingface/transformers/issues/24853/events
https://github.com/huggingface/transformers/pull/24853
1,807,636,221
PR_kwDOCUB6oc5VqfNM
24,853
Fix `is_vision_available`
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? Fix #24845 After #23163, we need an extra check if we want to support the use of `pillow-simd`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24853/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/24853/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24853", "html_url": "https://github.com/huggingface/transformers/pull/24853", "diff_url": "https://github.com/huggingface/transformers/pull/24853.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24853.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24852/comments
https://api.github.com/repos/huggingface/transformers/issues/24852/events
https://github.com/huggingface/transformers/issues/24852
1,807,473,617
I_kwDOCUB6oc5ru9vR
24,852
Loading model microsoft/tapex-base-finetuned-wtq failed with error No module named 'transformers.models.tapex'
{ "login": "WeichenXu123", "id": 19235986, "node_id": "MDQ6VXNlcjE5MjM1OTg2", "avatar_url": "https://avatars.githubusercontent.com/u/19235986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/WeichenXu123", "html_url": "https://github.com/WeichenXu123", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I'm unable to reproduce this on my side. Are you sure you are using the latest commit from main?", "@sgugger \r\n\r\nYes. I installed it by:\r\n`pip install git+https://github.com/huggingface/transformers`\r\n\r\nand then in python REPL, run:\r\n```\r\nimport transformers\r\n\r\ntransformers.pipeline(\r\n ta...
1,689
1,689
1,689
NONE
null
### System Info OS: Ubuntu 22.04 Python 3.9 Packages installed: ``` pip install git+https://github.com/huggingface/transformers pip install datasets huggingface_hub torch torchvision tensorflow accelerate librosa ffmpeg ``` ### Who can help? _No response_ ### Information - [ ] The official example script...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24852/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/24852/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24851/comments
https://api.github.com/repos/huggingface/transformers/issues/24851/events
https://github.com/huggingface/transformers/issues/24851
1,807,310,941
I_kwDOCUB6oc5ruWBd
24,851
save_pretrained 4bits/8bits model
{ "login": "jameswu2014", "id": 8462999, "node_id": "MDQ6VXNlcjg0NjI5OTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8462999?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jameswu2014", "html_url": "https://github.com/jameswu2014", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "cc @younesbelkada and @SunMarc ", "hi @jameswu2014 \r\nThanks for the issue, what is the transformers version you are using? Can you try again with the latest version of `transformers`? Also can you share the full traceback and a reproducible handy snippet? Thanks", "having the same issue, believe because ther...
1,689
1,692
1,692
NONE
null
### System Info I have a BitsAndBytes Quantization 4/8bitsmodels๏ผŒHow to save it? I invoked save_pretrained api๏ผŒhowever๏ผŒ I get error๏ผšAttributeError: 'str' object has no attribute 'numel'ใ€‚ ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own modified scripts ### Tasks - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24851/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/24851/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24850/comments
https://api.github.com/repos/huggingface/transformers/issues/24850/events
https://github.com/huggingface/transformers/issues/24850
1,807,293,745
I_kwDOCUB6oc5ruR0x
24,850
I used a trainer to pretraining a BertForMaskedLM model, but the training loss always be zero
{ "login": "ryanforhoon", "id": 78296960, "node_id": "MDQ6VXNlcjc4Mjk2OTYw", "avatar_url": "https://avatars.githubusercontent.com/u/78296960?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ryanforhoon", "html_url": "https://github.com/ryanforhoon", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Please use the [forums](https://discuss.huggingface.co/) to debug such issues in your code :-)", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow th...
1,689
1,692
1,692
NONE
null
### System Info > transformers==4.28.0 ### Who can help? @sgugger ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or dataset (give details below) ### Reproduction...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24850/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/24850/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24849
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24849/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24849/comments
https://api.github.com/repos/huggingface/transformers/issues/24849/events
https://github.com/huggingface/transformers/issues/24849
1,807,213,466
I_kwDOCUB6oc5rt-Oa
24,849
unscale_() has already been called on this optimizer since the last update().
{ "login": "paxvinci", "id": 5947642, "node_id": "MDQ6VXNlcjU5NDc2NDI=", "avatar_url": "https://avatars.githubusercontent.com/u/5947642?v=4", "gravatar_id": "", "url": "https://api.github.com/users/paxvinci", "html_url": "https://github.com/paxvinci", "followers_url": "https://api.github.com/users/paxvi...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
closed
false
null
[]
[ "cc @muellerzr and @pacman100 ", "Hello @paxvinci, I am running following example and unable to reproduce the issue:\r\n\r\nCommand: \r\n```\r\ncd transformers\r\n\r\npython examples/pytorch/language-modeling/run_clm.py --model_name_or_path gpt2 --dataset_name wikitext --dataset_config_name wikitext-2...
1,689
1,693
1,693
NONE
null
Hi all, I'm facing the error in the subject. I saw this problem have been already solved but I still have this. This is how I configured the parameters for the trainer. ``` trainer = transformers.Trainer( model=model, # model is decapoda-research/llama-7b-hf train_dataset=data["train"], args=transfo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24849/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/24849/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24848
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24848/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24848/comments
https://api.github.com/repos/huggingface/transformers/issues/24848/events
https://github.com/huggingface/transformers/pull/24848
1,807,145,233
PR_kwDOCUB6oc5VozPe
24,848
[DOCS] Example for `LogitsProcessor` class
{ "login": "shauray8", "id": 39147312, "node_id": "MDQ6VXNlcjM5MTQ3MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/39147312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shauray8", "html_url": "https://github.com/shauray8", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "You'll probably need to run `make fixup` before you next commit :)", "Previously I was having some problems with `make fixup` but now it's done and reformatted, I really like how the Makefile is structured. ", "@sgugger note: the weird part of the diff seems innocuous ๐Ÿค” ", "_The documentation is not availab...
1,689
1,689
1,689
CONTRIBUTOR
null
# What does this PR do? Added some doc string to `RepetitionPenaltyLogitsProcessor` with some examples as well. @gante let me know if there's anything else I should add or remove from the docs. Fixes # (issue) #24783 ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the oth...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24848/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/24848/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24848", "html_url": "https://github.com/huggingface/transformers/pull/24848", "diff_url": "https://github.com/huggingface/transformers/pull/24848.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24848.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24847
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24847/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24847/comments
https://api.github.com/repos/huggingface/transformers/issues/24847/events
https://github.com/huggingface/transformers/issues/24847
1,806,860,396
I_kwDOCUB6oc5rsoBs
24,847
Trainer logs to wrong wandb project
{ "login": "david-waterworth", "id": 5028974, "node_id": "MDQ6VXNlcjUwMjg5NzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4", "gravatar_id": "", "url": "https://api.github.com/users/david-waterworth", "html_url": "https://github.com/david-waterworth", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "cc @muellerzr ", "This actually isn't possible currently, you need to set environmental variables such as `export WANDB_PROJECT my-project` ", "@david-waterworth You can use the os module to set the environment variable or use what @muellerzr suggested\r\n```\r\nimport os\r\nos.environ[\"WANDB_PROJECT\"] = \"m...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.15.0-76-generic-x86_64-with-glibc2.35 - Python version: 3.10.6 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24847/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/24847/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24846
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24846/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24846/comments
https://api.github.com/repos/huggingface/transformers/issues/24846/events
https://github.com/huggingface/transformers/issues/24846
1,806,785,090
I_kwDOCUB6oc5rsVpC
24,846
bloom add_prefix_space= True
{ "login": "Dongximing", "id": 35741613, "node_id": "MDQ6VXNlcjM1NzQxNjEz", "avatar_url": "https://avatars.githubusercontent.com/u/35741613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Dongximing", "html_url": "https://github.com/Dongximing", "followers_url": "https://api.github.com/use...
[]
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": "...
[ "cc @ArthurZucker and @younesbelkada ", "@younesbelkada @ArthurZucker ", "cc @ArthurZucker as he is more familiar than me regarding tokenizers", "Hey! Thanks for opening this issue. This is half a `tokenizers` issue ( even if you save the tokenizer and modify the `tokenizer_config.json` to set `add_prefix_spa...
1,689
1,692
1,692
NONE
null
### System Info Hi dear officer I use Bloom BloomTokenizerFast as a tokenizer. here is an issue. Version =4.28.0 when I use BloomTokenizerFast, I find the add_prefix_space= True is not useful. Here is the code. `tokenizer = BloomTokenizerFast.from_pretrained("bigscience/bloom",add_prefix_space = True) prin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24846/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/24846/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24845
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24845/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24845/comments
https://api.github.com/repos/huggingface/transformers/issues/24845/events
https://github.com/huggingface/transformers/issues/24845
1,806,554,291
I_kwDOCUB6oc5rrdSz
24,845
is_vision_available() fails when using pillow-simd
{ "login": "davidas1", "id": 46293514, "node_id": "MDQ6VXNlcjQ2MjkzNTE0", "avatar_url": "https://avatars.githubusercontent.com/u/46293514?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidas1", "html_url": "https://github.com/davidas1", "followers_url": "https://api.github.com/users/dav...
[]
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...
[ "Thanks for reporting! This might be because of the new way we test if packages are available. @ydshieh would you have some bandwidth to take a look at this?", "Sure, will take a look today!" ]
1,689
1,689
1,689
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.11.0-1022-aws-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.0+cu118 (True) - Tensorflow version (GPU?): 2.8.0 (True) - Flax version (CPU?/GPU?/TPU?):...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24845/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/24845/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24844
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24844/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24844/comments
https://api.github.com/repos/huggingface/transformers/issues/24844/events
https://github.com/huggingface/transformers/issues/24844
1,806,415,201
I_kwDOCUB6oc5rq7Vh
24,844
AttributeError: 'DeepSpeedCPUAdam' object has no attribute 'ds_opt_adam' for multinode training
{ "login": "larrylawl", "id": 40198156, "node_id": "MDQ6VXNlcjQwMTk4MTU2", "avatar_url": "https://avatars.githubusercontent.com/u/40198156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/larrylawl", "html_url": "https://github.com/larrylawl", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "For the error log\r\n\r\n```bash\r\nx1000c0s6b0n0: File \"/home/users/industry/dso/lannliat/.conda/envs/debug/lib/python3.10/site-packages/deepspeed/runtime/engine.py\", line 1229, in _configure_basic_optimizer\r\nx1000c0s6b0n0: optimizer = DeepSpeedCPUAdam(model_parameters,\r\n```\r\n\r\nI believe it's best...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 - Platform: Linux-4.18.0-305.25.1.el8_4.x86_64-x86_64-with-glibc2.28 - Python version: 3.10.12 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.1 - Accelerate version: 0.21.0 - Accelerate config: not found - PyTorch version (GPU?): 1.13.1 (Fal...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24844/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/24844/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24843
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24843/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24843/comments
https://api.github.com/repos/huggingface/transformers/issues/24843/events
https://github.com/huggingface/transformers/issues/24843
1,806,328,360
I_kwDOCUB6oc5rqmIo
24,843
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
{ "login": "anujsahani01", "id": 83875986, "node_id": "MDQ6VXNlcjgzODc1OTg2", "avatar_url": "https://avatars.githubusercontent.com/u/83875986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anujsahani01", "html_url": "https://github.com/anujsahani01", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I was able to resolve the issue by following changes\r\n\r\nFirstly i added the special tokens that were used in my prompt card.\r\n```\r\nspecial_token_dict = tokenizer.special_tokens_map\r\ntokenizer.add_special_tokens(special_token_dict)\r\n```\r\n\r\nThen changed this line of code \r\n``` \r\nmodel.resize_toke...
1,689
1,689
1,689
NONE
null
Quantizing HuggingFaceH4/starchat-alpha model using transformers BitsAndBytesConfig and LoRA Config for reducing the memory usage. ``` nf4_config = BitsAndBytesConfig( load_in_4bit=True, bnb_4bit_quant_type="nf4", bnb_4bit_use_double_quant=True, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24843/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/24843/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24842
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24842/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24842/comments
https://api.github.com/repos/huggingface/transformers/issues/24842/events
https://github.com/huggingface/transformers/issues/24842
1,806,317,302
I_kwDOCUB6oc5rqjb2
24,842
Request support for RWKV-4-World model.
{ "login": "SetoKaiba", "id": 159540, "node_id": "MDQ6VXNlcjE1OTU0MA==", "avatar_url": "https://avatars.githubusercontent.com/u/159540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SetoKaiba", "html_url": "https://github.com/SetoKaiba", "followers_url": "https://api.github.com/users/Seto...
[ { "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
[]
[ "@sgugger Is it possible to add the support for it? I'd like to use PEFT to fine tune the model.", "We have implemented the function of fine-tuning the RWKV-World model using the peft library, and we will immediately publish it in HF", "The relevant code will be provided under this issue", "Please refer to๏ผš\r...
1,689
1,693
null
NONE
null
### Model description As RWKV-4-World is using a different tokenizer and vocabs, the current RWKV support in transformers is incompatible. ### Open source status - [X] The model implementation is available - [X] The model weights are available ### Provide useful links for the implementation https://huggingface.co/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24842/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/24842/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/24841
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24841/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24841/comments
https://api.github.com/repos/huggingface/transformers/issues/24841/events
https://github.com/huggingface/transformers/issues/24841
1,806,314,076
I_kwDOCUB6oc5rqipc
24,841
Support for caching prompt hidden states through multiple calls of `generate()`
{ "login": "offendo", "id": 29783125, "node_id": "MDQ6VXNlcjI5NzgzMTI1", "avatar_url": "https://avatars.githubusercontent.com/u/29783125?v=4", "gravatar_id": "", "url": "https://api.github.com/users/offendo", "html_url": "https://github.com/offendo", "followers_url": "https://api.github.com/users/offend...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
{ "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...
[ { "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.co...
[ "cc @gante ", "Hey @offendo ๐Ÿ‘‹ \r\n\r\nThis is a relevant request, and one that I can't give an exact solution at the moment. In general, `generate()` + prompting is very manual at the moment, and we really want to improve it. As such, the solution to your proposal will depend on our next iteration of prompt-hand...
1,689
1,705
1,698
NONE
null
### Feature request Hi there, I'd like to be able to re-use the hidden states for a common (potentially long) prompt across multiple calls to `model.generate()` in order to reduce redundant computation. Here is how I envision a final API, though I'm sure there are multiple ways to do it. ```python # Load stuff ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24841/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/24841/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24840
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24840/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24840/comments
https://api.github.com/repos/huggingface/transformers/issues/24840/events
https://github.com/huggingface/transformers/issues/24840
1,806,307,423
I_kwDOCUB6oc5rqhBf
24,840
Again: RuntimeError: unscale_() has already been called on this optimizer since the last update()
{ "login": "FartyPants", "id": 23346289, "node_id": "MDQ6VXNlcjIzMzQ2Mjg5", "avatar_url": "https://avatars.githubusercontent.com/u/23346289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FartyPants", "html_url": "https://github.com/FartyPants", "followers_url": "https://api.github.com/use...
[ { "id": 5616426447, "node_id": "LA_kwDOCUB6oc8AAAABTsPdzw", "url": "https://api.github.com/repos/huggingface/transformers/labels/solved", "name": "solved", "color": "B1D6DC", "default": false, "description": "" } ]
closed
false
null
[]
[ "I have the same errors (I opened an issue). However I don't have the gradient_accumulation_steps larger than the rows divied by per_device_train_batch_size. I mean I have this parameters:\r\nGRADIENT_ACCUMULATION_STEPS = 16\r\nMICRO_BATCH_SIZE = 4\r\ndataset.num_rows = 53131\r\n\r\nCould it be that one of the batc...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.10.12 - Huggingface_hub version: 0.16.2 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24840/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/24840/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24839
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24839/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24839/comments
https://api.github.com/repos/huggingface/transformers/issues/24839/events
https://github.com/huggingface/transformers/issues/24839
1,806,237,273
I_kwDOCUB6oc5rqP5Z
24,839
eval_loss of the same set of data differs when using different batch size
{ "login": "namespace-Pt", "id": 61188463, "node_id": "MDQ6VXNlcjYxMTg4NDYz", "avatar_url": "https://avatars.githubusercontent.com/u/61188463?v=4", "gravatar_id": "", "url": "https://api.github.com/users/namespace-Pt", "html_url": "https://github.com/namespace-Pt", "followers_url": "https://api.github.c...
[]
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...
[ "Hi @namespace-Pt \r\n\r\nThank you for reporting.\r\n\r\n This is because this is a causal LM models, where the loss is computed across the non-padding tokens.\r\n\r\nThe loss (returned from the model's `forward`) is the total loss divided by the number of non-padding tokens sent to the model.\r\n\r\nIn your case...
1,689
1,690
1,690
CONTRIBUTOR
null
### System Info - `transformers` version: 4.30.0 - Platform: Linux-5.4.0-147-generic-x86_64-with-glibc2.31 - Python version: 3.10.12 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24839/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/24839/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24838
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24838/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24838/comments
https://api.github.com/repos/huggingface/transformers/issues/24838/events
https://github.com/huggingface/transformers/pull/24838
1,805,972,382
PR_kwDOCUB6oc5VlBBv
24,838
Ko perf infer gpu many
{ "login": "heuristicwave", "id": 31366038, "node_id": "MDQ6VXNlcjMxMzY2MDM4", "avatar_url": "https://avatars.githubusercontent.com/u/31366038?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heuristicwave", "html_url": "https://github.com/heuristicwave", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I'll create a PR again using the Korean translation team's PR template." ]
1,689
1,689
1,689
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/24838/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/24838/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24838", "html_url": "https://github.com/huggingface/transformers/pull/24838", "diff_url": "https://github.com/huggingface/transformers/pull/24838.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24838.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24837
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24837/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24837/comments
https://api.github.com/repos/huggingface/transformers/issues/24837/events
https://github.com/huggingface/transformers/pull/24837
1,805,923,768
PR_kwDOCUB6oc5Vk3um
24,837
Remove deprecated codes
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "It seems the failing test case is not related to these commits. Please re-trigger this failed workflow, Thanks.", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,694
1,689
CONTRIBUTOR
null
# What does this PR do? This PR removes some deprecated code: - remove `xpu_backend` training argument, for it is deprecated and will be remove in version 4.31 of Transformers. - remove some codes that will never be executed. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24837/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/24837/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24837", "html_url": "https://github.com/huggingface/transformers/pull/24837", "diff_url": "https://github.com/huggingface/transformers/pull/24837.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24837.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24836
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24836/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24836/comments
https://api.github.com/repos/huggingface/transformers/issues/24836/events
https://github.com/huggingface/transformers/issues/24836
1,805,875,019
I_kwDOCUB6oc5ro3dL
24,836
Pipeline feature request for min_new_tokens
{ "login": "mediocreatmybest", "id": 80406625, "node_id": "MDQ6VXNlcjgwNDA2NjI1", "avatar_url": "https://avatars.githubusercontent.com/u/80406625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mediocreatmybest", "html_url": "https://github.com/mediocreatmybest", "followers_url": "https://...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "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...
[ { "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.co...
[ "cc @gante ", "Hey @mediocreatmybest -- the flag is already available and operational :) Be mindful that you may need to adjust `max_new_tokens` to an admissible range. An impossible combination of constraints should raise a warning -- we are working on them :)\r\n\r\n```py\r\nfrom transformers import pipeline\r\...
1,689
1,697
null
NONE
null
### Feature request Pipeline already supports the option max_new_tokens. Iโ€™m requesting for the existing โ€œmin_new_tokensโ€ to be able to be used with pipeline the same way as โ€œmax_new_tokensโ€. Currently this will throw an error when trying to specify โ€œmin_new_tokensโ€ as unrecognised. ### Motivation Maintainin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24836/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/24836/timeline
reopened
null
null
https://api.github.com/repos/huggingface/transformers/issues/24835
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24835/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24835/comments
https://api.github.com/repos/huggingface/transformers/issues/24835/events
https://github.com/huggingface/transformers/issues/24835
1,805,836,050
I_kwDOCUB6oc5rot8S
24,835
Reflexion Agent implementation?
{ "login": "ghosthamlet", "id": 758325, "node_id": "MDQ6VXNlcjc1ODMyNQ==", "avatar_url": "https://avatars.githubusercontent.com/u/758325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghosthamlet", "html_url": "https://github.com/ghosthamlet", "followers_url": "https://api.github.com/user...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,689
1,692
1,692
NONE
null
### Feature request Reflexion: Language Agents with Verbal Reinforcement Learning (https://arxiv.org/abs/2303.11366) has code in https://github.com/noahshinn024/reflexion, can you integrate it into transformers_agents? ### Motivation Reflexion Agent is a very interesting advanced agent, and already has its code ope...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24835/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/24835/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24834
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24834/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24834/comments
https://api.github.com/repos/huggingface/transformers/issues/24834/events
https://github.com/huggingface/transformers/issues/24834
1,805,827,132
I_kwDOCUB6oc5rorw8
24,834
Pipeline image-to-text task and Bitsandbytes error
{ "login": "mediocreatmybest", "id": 80406625, "node_id": "MDQ6VXNlcjgwNDA2NjI1", "avatar_url": "https://avatars.githubusercontent.com/u/80406625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mediocreatmybest", "html_url": "https://github.com/mediocreatmybest", "followers_url": "https://...
[]
closed
false
null
[]
[ "Based on this document, it should be possible, but maybe this is just an issue with multimodal or image processors with pipeline?\n\nhttps://huggingface.co/docs/transformers/main/pipeline_tutorial\n\n_# pip install accelerate bitsandbytes\nimport torch\nfrom transformers import pipeline\n\npipe = pipeline(model=\"...
1,689
1,689
1,689
NONE
null
### System Info Python 3.10.6 Transformers 4.30.0 Bitsandbytes 0.39.1 Windows / Linux ### Who can help? @nar ### Information - [X] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [X] My own task or d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24834/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/24834/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24833
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24833/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24833/comments
https://api.github.com/repos/huggingface/transformers/issues/24833/events
https://github.com/huggingface/transformers/pull/24833
1,805,790,014
PR_kwDOCUB6oc5VkcQm
24,833
Bump cryptography from 41.0.0 to 41.0.2 in /examples/research_projects/decision_transformer
{ "login": "dependabot[bot]", "id": 49699333, "node_id": "MDM6Qm90NDk2OTkzMzM=", "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "html_url": "https://github.com/apps/dependabot", "followers_url": "https://a...
[ { "id": 1905493434, "node_id": "MDU6TGFiZWwxOTA1NDkzNDM0", "url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies", "name": "dependencies", "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file" } ]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,689
1,689
CONTRIBUTOR
null
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.0 to 41.0.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>41.0.2 - 2023-07-10</p> <pre><code> * Fixed bugs in c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24833/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/24833/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24833", "html_url": "https://github.com/huggingface/transformers/pull/24833", "diff_url": "https://github.com/huggingface/transformers/pull/24833.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24833.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24832
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24832/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24832/comments
https://api.github.com/repos/huggingface/transformers/issues/24832/events
https://github.com/huggingface/transformers/issues/24832
1,805,738,711
I_kwDOCUB6oc5roWLX
24,832
`trainer.evaluate` does throws an error when using multiple evaluation dataset
{ "login": "hwijeen", "id": 29157715, "node_id": "MDQ6VXNlcjI5MTU3NzE1", "avatar_url": "https://avatars.githubusercontent.com/u/29157715?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwijeen", "html_url": "https://github.com/hwijeen", "followers_url": "https://api.github.com/users/hwijee...
[]
closed
false
null
[]
[ "Yes, please do suggest a PR to fix this, thanks!" ]
1,689
1,689
1,689
CONTRIBUTOR
null
### System Info ``` - `transformers` version: 4.31.0.dev0 - Platform: macOS-12.5.1-arm64-arm-64bit - Python version: 3.8.16 - Huggingface_hub version: 0.14.1 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24832/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/24832/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24831
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24831/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24831/comments
https://api.github.com/repos/huggingface/transformers/issues/24831/events
https://github.com/huggingface/transformers/issues/24831
1,805,464,748
I_kwDOCUB6oc5rnTSs
24,831
RwkvForCausalLM does not support gradient checkpointing.
{ "login": "jonataslaw", "id": 35742643, "node_id": "MDQ6VXNlcjM1NzQyNjQz", "avatar_url": "https://avatars.githubusercontent.com/u/35742643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonataslaw", "html_url": "https://github.com/jonataslaw", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[ { "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url"...
[ "Thanks for reporting @jonataslaw \r\nhttps://github.com/huggingface/transformers/pull/24955 has introduced the GC support for RWKV models, can you try that out by installing `transformers` from source and let us know how it goes?\r\n\r\n```bash\r\npip uninstall transformers\r\npip install git+https://github.com/hu...
1,689
1,689
1,689
NONE
null
### System Info Is there some reason for RwkvForCausalLM does not support gradient checkpointing, since RWKV-LM supports it? @ArthurZucker and @younesbelkada ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supporte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24831/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/24831/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24830
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24830/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24830/comments
https://api.github.com/repos/huggingface/transformers/issues/24830/events
https://github.com/huggingface/transformers/issues/24830
1,805,456,754
I_kwDOCUB6oc5rnRVy
24,830
Overlapped offset mapping when manually adding special tokens
{ "login": "bilelomrani1", "id": 16692099, "node_id": "MDQ6VXNlcjE2NjkyMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/16692099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bilelomrani1", "html_url": "https://github.com/bilelomrani1", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey! \r\nThe `legacy=False` option is pretty much useless for fast tokenizers, so just a FYI here! (the warning is triggered because a slow instance is initialised!) \r\nThe `31822` corresponds to `SPIECE_UNDERLINE = \"โ–\"`. \r\nThe tokenizer on the hub seems to have a few issues already:\r\n```python \r\n>>> tok ...
1,689
1,693
1,693
NONE
null
### System Info - `transformers` version: 4.31.0.dev0 (commit 21946a8cf4a273f35ac2f3a53edafc398699f527) - Platform: macOS-13.2.1-x86_64-i386-64bit - Python version: 3.9.17 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1 (False) - Tensorflow version (GPU?): not ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24830/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/24830/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24829
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24829/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24829/comments
https://api.github.com/repos/huggingface/transformers/issues/24829/events
https://github.com/huggingface/transformers/pull/24829
1,805,372,220
PR_kwDOCUB6oc5Vi-go
24,829
[WIP] Add state in segments id calculation
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,689
1,690
1,690
COLLABORATOR
null
# What does this PR do? At the moment, when segments are calculated it's calculated on an image-per-image basis. This means when predicting with certain models e.g. DETR, the segment id that each class corresponds can be different across each image in a batch and across batches. This PR adds a private attribute...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24829/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/24829/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24829", "html_url": "https://github.com/huggingface/transformers/pull/24829", "diff_url": "https://github.com/huggingface/transformers/pull/24829.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24829.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24828
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24828/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24828/comments
https://api.github.com/repos/huggingface/transformers/issues/24828/events
https://github.com/huggingface/transformers/pull/24828
1,805,321,357
PR_kwDOCUB6oc5VizNn
24,828
๐ŸŒ[i18n-KO] Translated pipeline_webserver.md to Korean
{ "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 documentation is not available anymore as the PR was closed or merged._", "๋ณ„๋„์˜ ๋ฆฌ๋ทฐ ์‚ฌํ•ญ ์—†์Šต๋‹ˆ๋‹ค. ์ˆ˜๊ณ ํ•˜์…จ์Šต๋‹ˆ๋‹ค :)" ]
1,689
1,690
1,690
CONTRIBUTOR
null
<!-- PR์˜ ์ œ๋ชฉ์€ "๐ŸŒ [i18n-KO] Translated `<your_file>.md` to Korean" ์œผ๋กœ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค! --> # What does this PR do? Translated the `pipeline_webserver.md` file of the documentation to Korean. Thank you in advance for your review. Part of https://github.com/huggingface/transformers/issues/20179 ## Before reviewing - [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24828/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/24828/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24828", "html_url": "https://github.com/huggingface/transformers/pull/24828", "diff_url": "https://github.com/huggingface/transformers/pull/24828.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24828.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24827
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24827/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24827/comments
https://api.github.com/repos/huggingface/transformers/issues/24827/events
https://github.com/huggingface/transformers/pull/24827
1,805,198,388
PR_kwDOCUB6oc5ViXkD
24,827
[`core`]ย PEFT integration
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "I would like to have first review of the draft if possible, to see if we are inline with the approach ๐Ÿ™ @sgugger - Thanks !", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24827). All of your documentation changes will be reflected on that endpoint.", "Thank you fo...
1,689
1,692
1,692
CONTRIBUTOR
null
# What does this PR do? This PR is an attempt to tightly integrate PEFT library with transformers, by offering users the ability to load PEFT models out of the box from `AutoModelForxxx.from_pretrained()` if the local directory or the Hub model id contains adapter weights and adapter config. ```python import tem...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24827/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/24827/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24827", "html_url": "https://github.com/huggingface/transformers/pull/24827", "diff_url": "https://github.com/huggingface/transformers/pull/24827.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24827.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24826
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24826/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24826/comments
https://api.github.com/repos/huggingface/transformers/issues/24826/events
https://github.com/huggingface/transformers/pull/24826
1,805,183,888
PR_kwDOCUB6oc5ViURW
24,826
Remove unused code in GPT-Neo
{ "login": "namespace-Pt", "id": 61188463, "node_id": "MDQ6VXNlcjYxMTg4NDYz", "avatar_url": "https://avatars.githubusercontent.com/u/61188463?v=4", "gravatar_id": "", "url": "https://api.github.com/users/namespace-Pt", "html_url": "https://github.com/namespace-Pt", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@sgugger context: this change was discussed in https://github.com/huggingface/transformers/issues/24820 -- this model is the only one that deletes `position_ids` in this function, and there is no apparent reason for it. This is a mostly unused code path and has been part of the original GPT-Neo commit.", "The do...
1,689
1,689
1,689
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/24826/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/24826/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24826", "html_url": "https://github.com/huggingface/transformers/pull/24826", "diff_url": "https://github.com/huggingface/transformers/pull/24826.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24826.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24825
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24825/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24825/comments
https://api.github.com/repos/huggingface/transformers/issues/24825/events
https://github.com/huggingface/transformers/pull/24825
1,804,917,907
PR_kwDOCUB6oc5VhaTR
24,825
deprecate `sharded_ddp` training argument
{ "login": "statelesshz", "id": 28150734, "node_id": "MDQ6VXNlcjI4MTUwNzM0", "avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/statelesshz", "html_url": "https://github.com/statelesshz", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "> That makes sense thanks! Note that while removing it entirely from the doc is fine, we can't abruptly remove it from the library like this. We will need to properly deprecate it first and in two-tree minor versions we can fully remove it.\r\n\r\n@sgugger Thanks for pointing this out. I have rolled back the code ...
1,689
1,696
1,689
CONTRIBUTOR
null
# What does this PR do? This PR deprecates the `sharded_ddp` training arguments, since ShardedDDP has been [upstreamded to PyTorch](https://pytorch.org/blog/introducing-pytorch-fully-sharded-data-parallel-api/), so users can use the `fsdp` traning parameter instead. --- ~~According to fairscale([see](https://g...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24825/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/24825/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24825", "html_url": "https://github.com/huggingface/transformers/pull/24825", "diff_url": "https://github.com/huggingface/transformers/pull/24825.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24825.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24824
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24824/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24824/comments
https://api.github.com/repos/huggingface/transformers/issues/24824/events
https://github.com/huggingface/transformers/pull/24824
1,804,886,584
PR_kwDOCUB6oc5VhTdC
24,824
Check models used for common tests are small
{ "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,689
1,689
1,689
COLLABORATOR
null
# What does this PR do? This is the first PR in a series that will aim at reducing the time spent on the tests (and the corresponding cost ๐Ÿ˜… ). A first analysis of the slowest tests show that the common tests sometimes use real-life models instead of tiny ones. This PR adds a check that the size of the model for co...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24824/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/24824/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24824", "html_url": "https://github.com/huggingface/transformers/pull/24824", "diff_url": "https://github.com/huggingface/transformers/pull/24824.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24824.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24823
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24823/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24823/comments
https://api.github.com/repos/huggingface/transformers/issues/24823/events
https://github.com/huggingface/transformers/pull/24823
1,804,816,078
PR_kwDOCUB6oc5VhD85
24,823
change nn.ReLU to torch.relu in ACT_FNS for OpenAI
{ "login": "nathan-chappell", "id": 36384302, "node_id": "MDQ6VXNlcjM2Mzg0MzAy", "avatar_url": "https://avatars.githubusercontent.com/u/36384302?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nathan-chappell", "html_url": "https://github.com/nathan-chappell", "followers_url": "https://api...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24823). 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,689
1,692
1,692
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/24823/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/24823/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24823", "html_url": "https://github.com/huggingface/transformers/pull/24823", "diff_url": "https://github.com/huggingface/transformers/pull/24823.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24823.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24822
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24822/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24822/comments
https://api.github.com/repos/huggingface/transformers/issues/24822/events
https://github.com/huggingface/transformers/pull/24822
1,804,805,141
PR_kwDOCUB6oc5VhBiH
24,822
Generate: sequence bias can handle same terminations
{ "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._", "Hi @gante, \r\n\r\nThank you for trying to fix it. The failure is still there with this PR's branch.\r\n\r\n```\r\n File \"/mnt/nvme0/code/huggingface/m4-master/m4/evaluation/launch.py\", line 143, in <module>\r\n main(args)\r\n ...
1,689
1,689
1,689
MEMBER
null
# What does this PR do? Fixes the issue raised by @stas00 [here](https://github.com/huggingface/transformers/pull/24334#issuecomment-1631324670). In a nutshell, when I designed `SequenceBiasLogitsProcessor`, I've committed the fallacy of early optimization -- the resulting solution was not compatible with biasing...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24822/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/24822/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/24822", "html_url": "https://github.com/huggingface/transformers/pull/24822", "diff_url": "https://github.com/huggingface/transformers/pull/24822.diff", "patch_url": "https://github.com/huggingface/transformers/pull/24822.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/24821
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24821/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24821/comments
https://api.github.com/repos/huggingface/transformers/issues/24821/events
https://github.com/huggingface/transformers/issues/24821
1,804,796,489
I_kwDOCUB6oc5rkwJJ
24,821
OpenAIGPTModel raises exception with `afn="Relu"`
{ "login": "nathan-chappell", "id": 36384302, "node_id": "MDQ6VXNlcjM2Mzg0MzAy", "avatar_url": "https://avatars.githubusercontent.com/u/36384302?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nathan-chappell", "html_url": "https://github.com/nathan-chappell", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey thanks for reporting and providing a very efficient snippet! Indeed the relu is not initialized thus you have the error. Reviewing your PR now", "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 thre...
1,689
1,692
1,692
NONE
null
### System Info - `transformers` version: 4.30.2 - Platform: Linux-5.4.0-148-generic-x86_64-with-glibc2.31 - Python version: 3.9.16 - Huggingface_hub version: 0.16.4 - Safetensors version: 0.3.1 - PyTorch version (GPU?): 2.0.1+cu117 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24821/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/24821/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/24820
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/24820/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/24820/comments
https://api.github.com/repos/huggingface/transformers/issues/24820/events
https://github.com/huggingface/transformers/issues/24820
1,804,488,797
I_kwDOCUB6oc5rjlBd
24,820
Extra else in GPTNeo prepare_inputs_for_generation
{ "login": "namespace-Pt", "id": 61188463, "node_id": "MDQ6VXNlcjYxMTg4NDYz", "avatar_url": "https://avatars.githubusercontent.com/u/61188463?v=4", "gravatar_id": "", "url": "https://api.github.com/users/namespace-Pt", "html_url": "https://github.com/namespace-Pt", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "My bad. I think one should override the `prepare_inputs_for_generation` method if he wants to customize position_ids. The current code is okay for general use cases. But according to recent code of LLaMA https://github.com/huggingface/transformers/blob/fe861e578f50dc9c06de33cd361d2f625017e624/src/transformers/mode...
1,689
1,689
1,689
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/fe861e578f50dc9c06de33cd361d2f625017e624/src/transformers/models/gpt_neo/modeling_gpt_neo.py#L704 Here shouldn't be an extra `else`. Sometimes users want to input customized position_ids and attention_masks, however this `else` eliminates such practice.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/24820/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/24820/timeline
completed
null
null