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/22694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22694/comments | https://api.github.com/repos/huggingface/transformers/issues/22694/events | https://github.com/huggingface/transformers/issues/22694 | 1,661,122,696 | I_kwDOCUB6oc5jAriI | 22,694 | Training Evaluation Display on VSCode | {
"login": "sciencecw",
"id": 10662708,
"node_id": "MDQ6VXNlcjEwNjYyNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/10662708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sciencecw",
"html_url": "https://github.com/sciencecw",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"We had specifically excluded VSCode in the past as the widgets were not properly working there. Could you try to install from source and see if commenting out those [two lines](https://github.com/huggingface/transformers/blob/151425ddb29d4ad1a121e8cce62000a2ac52d3ba/src/transformers/utils/import_utils.py#L619) res... | 1,681 | 1,707 | 1,685 | NONE | null | ### System Info
1. OSX Ventura 13.2
1. VSCode 1.77.1
- Chromium 102.0.5005.196
- Jupyter extension v2023.3.1000892223
3. Transformers 4.26.1
### Who can help?
Not sure. Please let me know if it is a VSCode issue
### Information
- [ ] The official example scripts
- [X] My own modified scripts
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22694/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22694/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22693/comments | https://api.github.com/repos/huggingface/transformers/issues/22693/events | https://github.com/huggingface/transformers/pull/22693 | 1,661,121,911 | PR_kwDOCUB6oc5N88gS | 22,693 | Replace -100s in predictions by the pad token | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,681 | 1,681 | 1,681 | COLLABORATOR | null | # What does this PR do?
This PR fixes the seq2seq examples with the Trainer on datasets with small samples. The problem is that the results on those samples get padded with a -100 by the Trainer, and this in turns gets an index error in the tokenizer decode method.
Fixes part of #22634 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22693/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22693",
"html_url": "https://github.com/huggingface/transformers/pull/22693",
"diff_url": "https://github.com/huggingface/transformers/pull/22693.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22693.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22692/comments | https://api.github.com/repos/huggingface/transformers/issues/22692/events | https://github.com/huggingface/transformers/issues/22692 | 1,660,982,409 | I_kwDOCUB6oc5jAJSJ | 22,692 | Offline mode not working for remote code? | {
"login": "1049451037",
"id": 15194939,
"node_id": "MDQ6VXNlcjE1MTk0OTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/15194939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1049451037",
"html_url": "https://github.com/1049451037",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This has just been fixed on the main branch (by #22661) so make sure to use the latest!",
"It works for normal cases. However, when I set my customized cache dir, it still report error:\r\n\r\n```\r\n 445 f\" cached files and it looks like {path_or_repo_id} is not the path to a directory containing \r... | 1,681 | 1,684 | 1,684 | NONE | null | ### System Info
I want to run remote code offline and the revision is in my cache dir. For example,
```python
from transformers import AutoConfig
config = AutoConfig.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True, revision="cde457b39fe0670b10dd293909aab17387ea2c80", local_files_only=True)
```
Howe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22692/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22691/comments | https://api.github.com/repos/huggingface/transformers/issues/22691/events | https://github.com/huggingface/transformers/pull/22691 | 1,660,980,793 | PR_kwDOCUB6oc5N8eOY | 22,691 | Model parallelism: Moving labels to same devices as the logits are | {
"login": "shahad-mahmud",
"id": 29411624,
"node_id": "MDQ6VXNlcjI5NDExNjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/29411624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shahad-mahmud",
"html_url": "https://github.com/shahad-mahmud",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks a lot for your contribution!\r\n\r\nIt's a pleasure. I would love to contribute more and expecting some guidance! "
] | 1,681 | 1,681 | 1,681 | CONTRIBUTOR | null | As suggested in the https://github.com/huggingface/transformers/issues/22561, moving the labels to the same device as the logits are for the Data2Vec Text, ESM, Longformer and LongT5 models.
@sgugger Can you please review? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22691/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22691",
"html_url": "https://github.com/huggingface/transformers/pull/22691",
"diff_url": "https://github.com/huggingface/transformers/pull/22691.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22691.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22690/comments | https://api.github.com/repos/huggingface/transformers/issues/22690/events | https://github.com/huggingface/transformers/issues/22690 | 1,660,837,505 | I_kwDOCUB6oc5i_l6B | 22,690 | Error SIGABRT when running esmfold_v1 on TPU | {
"login": "conchaeloko",
"id": 73343743,
"node_id": "MDQ6VXNlcjczMzQzNzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/73343743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/conchaeloko",
"html_url": "https://github.com/conchaeloko",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"I'm not an expert on torch XLA, but I think the problem here is that TPUs do not support `float16`, only `bfloat16`. `model.half()` converts the model parameters to `float16`, and the error you're seeing is caused by TPUs not having a division operation that can work on `float16` inputs.\r\... | 1,681 | 1,681 | 1,681 | NONE | null | ### System Info
tpu-vm-pt-2.0 (torch ; torchvision ; torch-xla : 2.0)
accelerator : v2-8
transformers: 4.27.4
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22690/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22689/comments | https://api.github.com/repos/huggingface/transformers/issues/22689/events | https://github.com/huggingface/transformers/issues/22689 | 1,660,701,565 | I_kwDOCUB6oc5i_Et9 | 22,689 | Multiple Node Training Log | {
"login": "MikeDean2367",
"id": 65744560,
"node_id": "MDQ6VXNlcjY1NzQ0NTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/65744560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MikeDean2367",
"html_url": "https://github.com/MikeDean2367",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"By default `--log_on_each_node` is `True` but you can set it to `False` to avoid the duplicate logs. I don't know if DeepSpeed does anything to the default log levels, the progress bar should be there on the two main nodes by default (every process that has a log level high enough).",
"> By default `--log_on_eac... | 1,681 | 1,691 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-4.15.0-175-generic-x86_64-with-glibc2.27
- Python version: 3.10.10
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 1.12.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22689/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22689/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22688/comments | https://api.github.com/repos/huggingface/transformers/issues/22688/events | https://github.com/huggingface/transformers/issues/22688 | 1,660,674,190 | I_kwDOCUB6oc5i--CO | 22,688 | Reporting a vulnerability | {
"login": "igibek",
"id": 4621646,
"node_id": "MDQ6VXNlcjQ2MjE2NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4621646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/igibek",
"html_url": "https://github.com/igibek",
"followers_url": "https://api.github.com/users/igibek/foll... | [] | closed | false | null | [] | [
"We are using another platform for vulnerability reporting. @Michellehbn can tell you more.",
"Hi @igibek ! Thanks for reaching out to us! 🤗 We have a bug bounty program with HackerOne and would love for you to submit security vulnerability reports to our private program at https://hackerone.com/hugging_face. Wi... | 1,681 | 1,683 | 1,683 | NONE | null | Hello!
I hope you are doing well!
We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called **Private vulnerability reporting**, which enables security research to privately disclose a vulnerability. Unfortun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22688/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22687/comments | https://api.github.com/repos/huggingface/transformers/issues/22687/events | https://github.com/huggingface/transformers/issues/22687 | 1,660,647,692 | I_kwDOCUB6oc5i-3kM | 22,687 | Vicuna 13B forward method is very slow in FSDP mode. | {
"login": "yurkoff-mv",
"id": 82467993,
"node_id": "MDQ6VXNlcjgyNDY3OTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/82467993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yurkoff-mv",
"html_url": "https://github.com/yurkoff-mv",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I also want to attach a link to the discussion topic of the [**generate** method in **FSDP** mode.](https://discuss.huggingface.co/t/feature-request-gradient-checkpointing-for-encoderdecodermodel/25278)",
"cc @pacman100 ",
"I forgot to mention that I'm running the model on **two RTX 3090 GPUs**.",
"Here is a... | 1,681 | 1,687 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22687/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22686/comments | https://api.github.com/repos/huggingface/transformers/issues/22686/events | https://github.com/huggingface/transformers/pull/22686 | 1,660,564,385 | PR_kwDOCUB6oc5N7Ea0 | 22,686 | Add swiftformer | {
"login": "shehanmunasinghe",
"id": 5057255,
"node_id": "MDQ6VXNlcjUwNTcyNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5057255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shehanmunasinghe",
"html_url": "https://github.com/shehanmunasinghe",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Are there plans for tensorflow version? I am interested in having the tf model available for use in a downstream task in my work/research",
"Hi @shehanmunasinghe, thanks for opening this PR! \r\n\r\nCould you make sure to fill out all the necessary documentation for the model in the README and `swiftformer.mdx` ... | 1,681 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Adds 'SwiftFormer' into huggingface/transformers
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22686/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22686",
"html_url": "https://github.com/huggingface/transformers/pull/22686",
"diff_url": "https://github.com/huggingface/transformers/pull/22686.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22686.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22685/comments | https://api.github.com/repos/huggingface/transformers/issues/22685/events | https://github.com/huggingface/transformers/issues/22685 | 1,660,533,075 | I_kwDOCUB6oc5i-blT | 22,685 | Add SwiftFormer | {
"login": "shehanmunasinghe",
"id": 5057255,
"node_id": "MDQ6VXNlcjUwNTcyNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5057255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shehanmunasinghe",
"html_url": "https://github.com/shehanmunasinghe",
"followers_url": "https://ap... | [
{
"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 | [] | [] | 1,681 | 1,681 | null | CONTRIBUTOR | null | ### Model description
'SwiftFormer' paper introduces a novel efficient additive attention mechanism that effectively replaces the quadratic matrix multiplication operations in the self-attention computation with linear element-wise multiplications. A series of models called 'SwiftFormer' is built based on this, which... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22685/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22684/comments | https://api.github.com/repos/huggingface/transformers/issues/22684/events | https://github.com/huggingface/transformers/pull/22684 | 1,660,500,109 | PR_kwDOCUB6oc5N62lY | 22,684 | Clarify stride option | {
"login": "luccailliau",
"id": 74506016,
"node_id": "MDQ6VXNlcjc0NTA2MDE2",
"avatar_url": "https://avatars.githubusercontent.com/u/74506016?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/luccailliau",
"html_url": "https://github.com/luccailliau",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Narsil, I just added a sentence in the doc to avoid confusion about the naming.\r\n\r\nHave a good day"
] | 1,681 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
Clarify the `stride` option which refers to the number of overlapping tokens between chunks.
Fixes #22391
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22684/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22684",
"html_url": "https://github.com/huggingface/transformers/pull/22684",
"diff_url": "https://github.com/huggingface/transformers/pull/22684.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22684.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22683/comments | https://api.github.com/repos/huggingface/transformers/issues/22683/events | https://github.com/huggingface/transformers/issues/22683 | 1,660,258,848 | I_kwDOCUB6oc5i9Yog | 22,683 | Performance Regression from commit 7dcd870 | {
"login": "fpgaminer",
"id": 1585817,
"node_id": "MDQ6VXNlcjE1ODU4MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1585817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fpgaminer",
"html_url": "https://github.com/fpgaminer",
"followers_url": "https://api.github.com/users/fp... | [] | closed | false | null | [] | [
"cc @gante and @ArthurZucker ",
"@fpgaminer commit 7dcd870 fixes generation when there is padding in the input (which is almost always the case for `batch_size>1`). It's natural that it introduces slowdowns, as the correct behavior implies changing to the tensor gathering you mentioned :)\r\n\r\nWe don't optimize... | 1,681 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.0.dev0 (656e869a4523f6a0ce90b3aacbb05cc8fb5794bb)
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.35
- Python version: 3.10.10
- Huggingface_hub version: 0.13.4
- Safetensors version: 0.3.0
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (GPU?): n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22683/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/22683/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22682/comments | https://api.github.com/repos/huggingface/transformers/issues/22682/events | https://github.com/huggingface/transformers/issues/22682 | 1,660,184,095 | I_kwDOCUB6oc5i9GYf | 22,682 | whisper recognition error! | {
"login": "xyx361100238",
"id": 19569322,
"node_id": "MDQ6VXNlcjE5NTY5MzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/19569322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xyx361100238",
"html_url": "https://github.com/xyx361100238",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"What is the value of model_path in the above code?",
"fine-tune model based on whisper-base use wenetspeech datasets",
"use huggingface model “whisper-base”,test file [common_voice_zh-CN_18662117.mp3](https://huggingface.co/corner/whisper-base-zh/blob/main/common_voice_zh-CN_18662117.mp3),got the same error",
... | 1,681 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-144-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.16
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22682/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22681/comments | https://api.github.com/repos/huggingface/transformers/issues/22681/events | https://github.com/huggingface/transformers/issues/22681 | 1,660,167,628 | I_kwDOCUB6oc5i9CXM | 22,681 | Donut model.generate is extremely slow when run inference | {
"login": "MS1908",
"id": 38152758,
"node_id": "MDQ6VXNlcjM4MTUyNzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/38152758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MS1908",
"html_url": "https://github.com/MS1908",
"followers_url": "https://api.github.com/users/MS1908/fo... | [] | closed | false | null | [] | [
"cc @gante and @younesbelkada ",
"@gante and @younesbelkada can you guys look into this issue? Thank you very much.",
"Hey @MS1908 👋 \r\n\r\nText generation can be quite slow. 6-7s is within the expected time for large-ish models, and the generation time greatly depends on the length of the output. As a refere... | 1,681 | 1,684 | 1,684 | NONE | null | I trained a Donut model for document classification using my custom dataset (format similar to RVL-CDIP). However, when I run inference, the model.generate() run extremely slow (5.9s ~ 7s).
Inference device: NVIDIA A100 40GB.
Requirements:
CUDA 11.7
torch==1.13.1+cu117
torchvision==0.14.1+cu117
datasets==2.10... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22681/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/22681/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22680/comments | https://api.github.com/repos/huggingface/transformers/issues/22680/events | https://github.com/huggingface/transformers/issues/22680 | 1,659,806,991 | I_kwDOCUB6oc5i7qUP | 22,680 | Adding progress-bars to pipelines | {
"login": "ntakouris",
"id": 5436722,
"node_id": "MDQ6VXNlcjU0MzY3MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5436722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ntakouris",
"html_url": "https://github.com/ntakouris",
"followers_url": "https://api.github.com/users/nt... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Hey, you can already to that:\r\n\r\n```python\r\nimport tqdm\r\n\r\nfor out in tqdm.tqdm(pipe(dataset)):\r\n pass\r\n```\r\n\r\nWhen using an iterating dataset instead of a real dataset you can add (`total=total` to get the \"correct\" progressbar).\r\n\r\nAdvantage of having the progressbar i... | 1,681 | 1,681 | 1,681 | NONE | null | ### Feature request
In order to implement https://github.com/huggingface/evaluate/issues/442, in order to provide progress bars while using `evaluator_instance.compute(..., progress_bar=True)`, we would have to update the `base.py` pipeline in order to support this.
Quoting the referenced issue from evaluate:
Af... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22680/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/22680/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22679/comments | https://api.github.com/repos/huggingface/transformers/issues/22679/events | https://github.com/huggingface/transformers/pull/22679 | 1,659,806,483 | PR_kwDOCUB6oc5N4pyv | 22,679 | (feat): Moving labels to same device as logits for Deit | {
"login": "xssChauhan",
"id": 9297805,
"node_id": "MDQ6VXNlcjkyOTc4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9297805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xssChauhan",
"html_url": "https://github.com/xssChauhan",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,681 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
<!--
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/22679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22679/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22679",
"html_url": "https://github.com/huggingface/transformers/pull/22679",
"diff_url": "https://github.com/huggingface/transformers/pull/22679.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22679.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22678/comments | https://api.github.com/repos/huggingface/transformers/issues/22678/events | https://github.com/huggingface/transformers/pull/22678 | 1,659,799,378 | PR_kwDOCUB6oc5N4olL | 22,678 | [WIP] 🌐 [i18n-KO] Translated `tasks/translation.mdx` to Korean | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"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_22678). All of your documentation changes will be reflected on that endpoint.",
"Closed in favor of https://github.com/huggingface/transforme... | 1,681 | 1,682 | 1,681 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니당 -->
# What does this PR do?
Translated the `tasks/translation.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22678/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22678/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22678",
"html_url": "https://github.com/huggingface/transformers/pull/22678",
"diff_url": "https://github.com/huggingface/transformers/pull/22678.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22678.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22677/comments | https://api.github.com/repos/huggingface/transformers/issues/22677/events | https://github.com/huggingface/transformers/issues/22677 | 1,659,770,753 | I_kwDOCUB6oc5i7heB | 22,677 | Where does hugging face's transformers save models? | {
"login": "pure-rgb",
"id": 45315076,
"node_id": "MDQ6VXNlcjQ1MzE1MDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/45315076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pure-rgb",
"html_url": "https://github.com/pure-rgb",
"followers_url": "https://api.github.com/users/pur... | [] | closed | false | null | [] | [
"This is described in the [installation page of the doc](https://huggingface.co/docs/transformers/installation#cache-setup).",
"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... | 1,681 | 1,684 | 1,684 | NONE | null | ### Feature request
A clear instruction of receving the downloaded weight in system.
### Motivation
Running the below code downloads a model - does anyone know what folder it downloads it to?
```
!pip install -q transformers
from transformers import pipeline
model = pipeline('fill-mask')
```
### Your contri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22677/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22676/comments | https://api.github.com/repos/huggingface/transformers/issues/22676/events | https://github.com/huggingface/transformers/pull/22676 | 1,659,752,698 | PR_kwDOCUB6oc5N4gr_ | 22,676 | Model parallelism: Moving labels to the same device as logits for BridgeTower models | {
"login": "shahad-mahmud",
"id": 29411624,
"node_id": "MDQ6VXNlcjI5NDExNjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/29411624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shahad-mahmud",
"html_url": "https://github.com/shahad-mahmud",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,681 | 1,681 | 1,681 | CONTRIBUTOR | null | As suggested in the https://github.com/huggingface/transformers/issues/22561, moving the labels to the same device as the logits are for the BridgeTower models
@sgugger Can you please review? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22676/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22676",
"html_url": "https://github.com/huggingface/transformers/pull/22676",
"diff_url": "https://github.com/huggingface/transformers/pull/22676.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22676.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22675/comments | https://api.github.com/repos/huggingface/transformers/issues/22675/events | https://github.com/huggingface/transformers/issues/22675 | 1,659,655,816 | I_kwDOCUB6oc5i7FaI | 22,675 | Going above version 4.21.3 gives UnicodeDecodeError | {
"login": "emidio90",
"id": 15109972,
"node_id": "MDQ6VXNlcjE1MTA5OTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/15109972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/emidio90",
"html_url": "https://github.com/emidio90",
"followers_url": "https://api.github.com/users/emi... | [] | closed | false | null | [] | [
"cc @amyeroberts and @younesbelkada ",
"Hi @emidio90, thanks for raising this issue. \r\n\r\nCould you share some more information about how to reproduce this error? In particular, is this the [Stable Diffusion WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) repo being referred to? What model and ... | 1,680 | 1,693 | 1,693 | NONE | null | ### System Info
- `transformers` version: 4.27.2
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.6
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22675/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22674/comments | https://api.github.com/repos/huggingface/transformers/issues/22674/events | https://github.com/huggingface/transformers/pull/22674 | 1,659,652,441 | PR_kwDOCUB6oc5N4O_k | 22,674 | fix bug of CLAP dataloader | {
"login": "lukewys",
"id": 28220671,
"node_id": "MDQ6VXNlcjI4MjIwNjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/28220671?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukewys",
"html_url": "https://github.com/lukewys",
"followers_url": "https://api.github.com/users/lukewy... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @younesbelkada and @ArthurZucker ",
"Just an FYI that the slow tests aren't actually being run for CLAP. See also https://github.com/huggingface/transformers/pull/22834"
] | 1,680 | 1,682 | 1,682 | CONTRIBUTOR | null | Fix the bug of the CLAP data loader (https://github.com/LAION-AI/CLAP/issues/62)
# 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 fu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22674/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22674",
"html_url": "https://github.com/huggingface/transformers/pull/22674",
"diff_url": "https://github.com/huggingface/transformers/pull/22674.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22674.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22673/comments | https://api.github.com/repos/huggingface/transformers/issues/22673/events | https://github.com/huggingface/transformers/issues/22673 | 1,659,589,820 | I_kwDOCUB6oc5i61S8 | 22,673 | Loading FlaxHybridCLIP trained model | {
"login": "alhuri",
"id": 46427957,
"node_id": "MDQ6VXNlcjQ2NDI3OTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/46427957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alhuri",
"html_url": "https://github.com/alhuri",
"followers_url": "https://api.github.com/users/alhuri/fo... | [] | closed | false | null | [] | [
"Hey @alhuri! Sorry for the late reply here! It looks like the clip-italian repo assumes an older version of transformers. The modelling code would need to be updated to use transformers==4.27.4, namely the [`FlaxHybridCLIP`](https://github.com/clip-italian/clip-italian/blob/8c75204be0d747c0ab150973fd8cd8556ca2f444... | 1,680 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.27.4
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.13.4
- PyTorch version (GPU?): 1.9.0+cpu (False)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): 0.6.8 (cpu)
- Jax version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22673/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22672/comments | https://api.github.com/repos/huggingface/transformers/issues/22672/events | https://github.com/huggingface/transformers/pull/22672 | 1,659,585,959 | PR_kwDOCUB6oc5N4DvD | 22,672 | add `**kwargs` argument in some functions in `tokenization_utils.py` | {
"login": "yusuke1997",
"id": 63439062,
"node_id": "MDQ6VXNlcjYzNDM5MDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/63439062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yusuke1997",
"html_url": "https://github.com/yusuke1997",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22672). All of your documentation changes will be reflected on that endpoint.",
"Can you elaborate and give us a sample of code that fails before this PR? Thanks.",
"Thanks for the reply! \r\n\r\nIn my case, I need to con... | 1,680 | 1,685 | 1,685 | 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/22672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22672/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22672",
"html_url": "https://github.com/huggingface/transformers/pull/22672",
"diff_url": "https://github.com/huggingface/transformers/pull/22672.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22672.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22671/comments | https://api.github.com/repos/huggingface/transformers/issues/22671/events | https://github.com/huggingface/transformers/pull/22671 | 1,659,544,818 | PR_kwDOCUB6oc5N38th | 22,671 | add GPTNeoXForSequenceClassification | {
"login": "Asugawara",
"id": 47840708,
"node_id": "MDQ6VXNlcjQ3ODQwNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/47840708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Asugawara",
"html_url": "https://github.com/Asugawara",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the GPTNeoX Seq Classification.
Would you be able to check them?
In advance, thank you for this cool OSS!
ref: https://github.com/huggingface/transformers/pull/11906
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22671/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22671",
"html_url": "https://github.com/huggingface/transformers/pull/22671",
"diff_url": "https://github.com/huggingface/transformers/pull/22671.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22671.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22670/comments | https://api.github.com/repos/huggingface/transformers/issues/22670/events | https://github.com/huggingface/transformers/pull/22670 | 1,659,513,550 | PR_kwDOCUB6oc5N33Ua | 22,670 | 🌐 [i18n-KO] Translated `training.mdx` to Korean | {
"login": "gabrielwithappy",
"id": 102908949,
"node_id": "U_kgDOBiJEFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102908949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gabrielwithappy",
"html_url": "https://github.com/gabrielwithappy",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Team PseudoLab, may you please review this PR?\r\n@0525hhgus, @KIHOON71, @sim-so, @gabrielwithappy, @HanNayeoniee, @wonhyeongseo, @jungnerd\r\n- fixed some ambiguous translations of the autoclass_tutorial doc. \r\n(from https://githu... | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
Translated the `training.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22670/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22670/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22670",
"html_url": "https://github.com/huggingface/transformers/pull/22670",
"diff_url": "https://github.com/huggingface/transformers/pull/22670.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22670.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22669/comments | https://api.github.com/repos/huggingface/transformers/issues/22669/events | https://github.com/huggingface/transformers/issues/22669 | 1,659,509,571 | I_kwDOCUB6oc5i6htD | 22,669 | New LlamaTokenizer "fast" version takes 90s to load on 5900x with nvme | {
"login": "Qubitium",
"id": 417764,
"node_id": "MDQ6VXNlcjQxNzc2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/417764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Qubitium",
"html_url": "https://github.com/Qubitium",
"followers_url": "https://api.github.com/users/Qubitiu... | [] | closed | false | null | [] | [
"This is to convert the slow tokenizer to the fast format (which the conversion script should do once and for all @ArthurZucker ). You should do `tokenizer.save_pretrained(some_path)` and then copy the fast tokenizer file in the folder where you have your converted LLaMA model to avoid having the slowdown more than... | 1,680 | 1,684 | 1,684 | NONE | null | ### System Info
Transformer [head]
Cuda 11.8
Pytorch nightly 2.1
Ubuntu 22.04
### Reproduction
Is it normal for the new default "faster" LlamaTokenizer to load so slowly on a fairly new cpu? Imagine the load time on a 2018 Intel xeon.
Model is a llama 7b converted to HF using latest script within transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22669/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22668/comments | https://api.github.com/repos/huggingface/transformers/issues/22668/events | https://github.com/huggingface/transformers/issues/22668 | 1,659,468,403 | I_kwDOCUB6oc5i6Xpz | 22,668 | Why run_t5_mlm_flax.py does not produces model weight file etc? | {
"login": "gundalav",
"id": 8143832,
"node_id": "MDQ6VXNlcjgxNDM4MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8143832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gundalav",
"html_url": "https://github.com/gundalav",
"followers_url": "https://api.github.com/users/gunda... | [] | closed | false | null | [] | [
"Hey @gundalav, it looks like your number of training steps is less than your number of save steps (10000). We save the model and tokenizer every `save_steps` training steps:\r\nhttps://github.com/huggingface/transformers/blob/aec10d162f59d809ead3990ef78c51918b622f38/examples/flax/language-modeling/run_t5_mlm_flax.... | 1,680 | 1,681 | 1,681 | NONE | null | ### System Info
- `transformers` version: 4.27.4
- Platform: Linux-5.15.0-1020-aws-x86_64-with-glibc2.10
- Python version: 3.8.16
- Huggingface_hub version: 0.13.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.6.3 (gpu)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22668/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22667/comments | https://api.github.com/repos/huggingface/transformers/issues/22667/events | https://github.com/huggingface/transformers/pull/22667 | 1,659,466,723 | PR_kwDOCUB6oc5N3u8P | 22,667 | Update some `MarkupLM` tests' expected values | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merge now. Feel free to leave comments if any :-)"
] | 1,680 | 1,681 | 1,681 | COLLABORATOR | null | # What does this PR do?
Need to update some expected values in test files after #22302. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22667/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22667",
"html_url": "https://github.com/huggingface/transformers/pull/22667",
"diff_url": "https://github.com/huggingface/transformers/pull/22667.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22667.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22666/comments | https://api.github.com/repos/huggingface/transformers/issues/22666/events | https://github.com/huggingface/transformers/pull/22666 | 1,659,407,852 | PR_kwDOCUB6oc5N3kdt | 22,666 | Fix quantization docs typo | {
"login": "python273",
"id": 3097956,
"node_id": "MDQ6VXNlcjMwOTc5NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/3097956?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/python273",
"html_url": "https://github.com/python273",
"followers_url": "https://api.github.com/users/py... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger not quite sure where to report. HF blog's rss feed links are broken. Also running in trough https://validator.w3.org/feed/ shows a duplicated article"
] | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22666/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22666",
"html_url": "https://github.com/huggingface/transformers/pull/22666",
"diff_url": "https://github.com/huggingface/transformers/pull/22666.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22666.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22665/comments | https://api.github.com/repos/huggingface/transformers/issues/22665/events | https://github.com/huggingface/transformers/pull/22665 | 1,659,360,138 | PR_kwDOCUB6oc5N3an9 | 22,665 | add xformers dep, xformers attn for gpt2 | {
"login": "ethansmith2000",
"id": 98723285,
"node_id": "U_kgDOBeJl1Q",
"avatar_url": "https://avatars.githubusercontent.com/u/98723285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ethansmith2000",
"html_url": "https://github.com/ethansmith2000",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @younesbelkada I don't know if this redundant with the Better Transformer integration.",
"Related: https://github.com/huggingface/transformers/pull/22386\r\n\r\nI don't think it's an issue to collide - if it is just better in most cases, having it default to users makes sense, in transformers natively (with s... | 1,680 | 1,684 | 1,684 | NONE | null | # What does this PR do?
Add xformers as a dependency and implement xformers attention for gpt2.
I am a bit of a novice to this, but would like to contribute in helping all models in the transformers library to have xformers support.
It is likely the case that this PR is not ready to merge, but I was hoping I co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22665/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22665",
"html_url": "https://github.com/huggingface/transformers/pull/22665",
"diff_url": "https://github.com/huggingface/transformers/pull/22665.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22665.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22664/comments | https://api.github.com/repos/huggingface/transformers/issues/22664/events | https://github.com/huggingface/transformers/pull/22664 | 1,659,339,496 | PR_kwDOCUB6oc5N3W1M | 22,664 | Generate: add CJK support to TextStreamer | {
"login": "bcol23",
"id": 12250696,
"node_id": "MDQ6VXNlcjEyMjUwNjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/12250696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bcol23",
"html_url": "https://github.com/bcol23",
"followers_url": "https://api.github.com/users/bcol23/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante ",
"Yes of course, I use this tiny script for screen recording.\r\n\r\n```python\r\nimport torch\r\nfrom transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer\r\n\r\n\r\nclass TextCJKStreamer(TextStreamer)... | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
This pull request adds support for streaming CJK (Chinese, Japanese, Korean) characters to the TextStreamer class. It now flushes the token cache if the last token is a CJK character, in addition to flushing it if the text ends with `"\n"` or `" "`. This prevents CJK characters from being stu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22664/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/22664/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22664",
"html_url": "https://github.com/huggingface/transformers/pull/22664",
"diff_url": "https://github.com/huggingface/transformers/pull/22664.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22664.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22663/comments | https://api.github.com/repos/huggingface/transformers/issues/22663/events | https://github.com/huggingface/transformers/pull/22663 | 1,659,164,274 | PR_kwDOCUB6oc5N2yWb | 22,663 | moved labels to the same device as logits for BLOOM, GPT Neo, GPT NeoX, RoBERTa and VIT models | {
"login": "iamarunbrahma",
"id": 6504730,
"node_id": "MDQ6VXNlcjY1MDQ3MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6504730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamarunbrahma",
"html_url": "https://github.com/iamarunbrahma",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
As suggested in the https://github.com/huggingface/transformers/issues/22561, moved labels to the same device as logits for `BLOOM`, `GPT Neo`, `GPT NeoX`, `RoBERTa` and `VIT` models.
@sgugger Could you review this once? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22663/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22663/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22663",
"html_url": "https://github.com/huggingface/transformers/pull/22663",
"diff_url": "https://github.com/huggingface/transformers/pull/22663.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22663.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22662/comments | https://api.github.com/repos/huggingface/transformers/issues/22662/events | https://github.com/huggingface/transformers/issues/22662 | 1,659,137,945 | I_kwDOCUB6oc5i5G-Z | 22,662 | run_text_classification.py: error: the following arguments are required: --model_name_or_path | {
"login": "iamemilyccc",
"id": 72780802,
"node_id": "MDQ6VXNlcjcyNzgwODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/72780802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamemilyccc",
"html_url": "https://github.com/iamemilyccc",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,680 | 1,684 | 1,684 | NONE | null | Hi! I'm running the 'transformers/examples/tensorflow/text-classification/run_text_classification.py' and got the following "Error: the following arguments are required: --model_name_or_path" and "--model_name_or_path=gpt2: command not found" at the same time. Could you please help? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22662/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22661/comments | https://api.github.com/repos/huggingface/transformers/issues/22661/events | https://github.com/huggingface/transformers/pull/22661 | 1,659,130,581 | PR_kwDOCUB6oc5N2rW7 | 22,661 | Make dynamic code work with offline mode | {
"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 | [] | [
"Thank you!!!",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,681 | 1,681 | COLLABORATOR | null | # What does this PR do?
Using dynamic code on the Hub won't work in offline mode if the model is cached. This is because of an old way of getting the commit hash I put there before we had the commit hash returned in the e-tag. Now it's very easy to get it, so this PR changes the line of code and adds a test to make ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22661/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22661/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22661",
"html_url": "https://github.com/huggingface/transformers/pull/22661",
"diff_url": "https://github.com/huggingface/transformers/pull/22661.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22661.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22660/comments | https://api.github.com/repos/huggingface/transformers/issues/22660/events | https://github.com/huggingface/transformers/pull/22660 | 1,659,056,898 | PR_kwDOCUB6oc5N2cbZ | 22,660 | Remove 2 failing ONNX conversion tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"OK. But should we do something like removing CI regarding this? Currently failing tests pop up.",
"_The documentation is not available anymore as the PR was closed or merged._",
"I think you can remove the tests as well.",
"@sgugger Just to confirm, we want/could remove all things like \r\n\r\n- `ConvertComm... | 1,680 | 1,681 | 1,681 | COLLABORATOR | null | # What does this PR do?
After ##22212, two tests start to fail. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22660",
"html_url": "https://github.com/huggingface/transformers/pull/22660",
"diff_url": "https://github.com/huggingface/transformers/pull/22660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22660.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22659/comments | https://api.github.com/repos/huggingface/transformers/issues/22659/events | https://github.com/huggingface/transformers/pull/22659 | 1,659,044,919 | PR_kwDOCUB6oc5N2Z9b | 22,659 | Generate: add API warning to streamers | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,684 | 1,680 | MEMBER | null | # What does this PR do?
The API for the streamers is still being worked on, and will not be stable in time for the next release. This PR adds a warning regarding potential future changes in the API. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22659/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22659",
"html_url": "https://github.com/huggingface/transformers/pull/22659",
"diff_url": "https://github.com/huggingface/transformers/pull/22659.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22659.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22658/comments | https://api.github.com/repos/huggingface/transformers/issues/22658/events | https://github.com/huggingface/transformers/pull/22658 | 1,659,043,547 | PR_kwDOCUB6oc5N2Zrb | 22,658 | Revert migration of setup to pyproject.toml | {
"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,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
As mentioned in #22599, the migration of the setup to pyproject is causing some issues for editable installs on some setups. This PR reverts that migration and adds the setup.py to the formatted files. (Note that I could not directly revert the original PR due to some of its changes being alr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22658/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22658",
"html_url": "https://github.com/huggingface/transformers/pull/22658",
"diff_url": "https://github.com/huggingface/transformers/pull/22658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22658.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22657/comments | https://api.github.com/repos/huggingface/transformers/issues/22657/events | https://github.com/huggingface/transformers/pull/22657 | 1,658,973,212 | PR_kwDOCUB6oc5N2LZ7 | 22,657 | [tokenization] do not push special file | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Prevent pushing the path of the special tokens map file | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22657/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22657",
"html_url": "https://github.com/huggingface/transformers/pull/22657",
"diff_url": "https://github.com/huggingface/transformers/pull/22657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22657.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22656/comments | https://api.github.com/repos/huggingface/transformers/issues/22656/events | https://github.com/huggingface/transformers/pull/22656 | 1,658,957,804 | PR_kwDOCUB6oc5N2IRJ | 22,656 | Reverting Deta cloning mecanism. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"There is however `test_can_use_safetensors` failing after this PR. Is this test still relevant (at least while we keep the changes in this PR)",
"> There is however test_can_use_safetensors failing after this PR. Is this test stil... | 1,680 | 1,682 | 1,682 | CONTRIBUTOR | null |
# What does this PR do?
This one is quite odd.
With the revert the slow test will work (I guess what we care most
about):
```python
from transformers import AutoImageProcessor, DetaForObjectDetection
from PIL import Image
import requests
import torch
url = "http://images.cocodataset.org/val2017/0000000... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22656/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22656",
"html_url": "https://github.com/huggingface/transformers/pull/22656",
"diff_url": "https://github.com/huggingface/transformers/pull/22656.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22656.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22655/comments | https://api.github.com/repos/huggingface/transformers/issues/22655/events | https://github.com/huggingface/transformers/pull/22655 | 1,658,911,610 | PR_kwDOCUB6oc5N1--i | 22,655 | 🌐 [i18n-KO] Translated `sequence_classification.mdx` 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._",
"May you please review this PR?\r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
Translated the `tasks/sequence_classification.mdx` file of the documentation to Korean.
- The file name is `sequence_classification.mdx`, but the document name is `text classification`.
- Currently, it is being revised to consistent vocabulary.
Thank you in advance for your review:)
P... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22655/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22655",
"html_url": "https://github.com/huggingface/transformers/pull/22655",
"diff_url": "https://github.com/huggingface/transformers/pull/22655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22655.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22654/comments | https://api.github.com/repos/huggingface/transformers/issues/22654/events | https://github.com/huggingface/transformers/pull/22654 | 1,658,887,785 | PR_kwDOCUB6oc5N15wl | 22,654 | Add Segment Anything Model (SAM) | {
"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._",
"I have few comments for the reviewers before starting the review, IMO we should not expose `SamPromptEncoder` and `SamMaskDecoder` inside the main init (contrary to other models such as Blip where we used to expose the text module an... | 1,680 | 1,681 | 1,681 | COLLABORATOR | null | # What does this PR do?
Original repo: https://github.com/facebookresearch/segment-anything
Segment Anything Model (SAM) is a recent model from Meta AI that makes it possible to predict image segmentation masks given an image and various inputs such as bounding boxes, 2D points or previous masks.
It is also ment... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22654/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 7,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22654/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22654",
"html_url": "https://github.com/huggingface/transformers/pull/22654",
"diff_url": "https://github.com/huggingface/transformers/pull/22654.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22654.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22653/comments | https://api.github.com/repos/huggingface/transformers/issues/22653/events | https://github.com/huggingface/transformers/pull/22653 | 1,658,841,123 | PR_kwDOCUB6oc5N1wJ4 | 22,653 | Small nit, | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null |
# What does this PR do?
Fixes #21986
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22653/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22653",
"html_url": "https://github.com/huggingface/transformers/pull/22653",
"diff_url": "https://github.com/huggingface/transformers/pull/22653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22653.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22652/comments | https://api.github.com/repos/huggingface/transformers/issues/22652/events | https://github.com/huggingface/transformers/pull/22652 | 1,658,809,270 | PR_kwDOCUB6oc5N1pq9 | 22,652 | Fix `MegaModel` CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Fix `MegaModel` CI (some tests are skipped too). See comments. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22652/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22652",
"html_url": "https://github.com/huggingface/transformers/pull/22652",
"diff_url": "https://github.com/huggingface/transformers/pull/22652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22652.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22651/comments | https://api.github.com/repos/huggingface/transformers/issues/22651/events | https://github.com/huggingface/transformers/issues/22651 | 1,658,805,629 | I_kwDOCUB6oc5i3119 | 22,651 | May I ask when will release 4.28.0 | {
"login": "lihj1108",
"id": 97330930,
"node_id": "U_kgDOBc0m8g",
"avatar_url": "https://avatars.githubusercontent.com/u/97330930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lihj1108",
"html_url": "https://github.com/lihj1108",
"followers_url": "https://api.github.com/users/lihj1108/fo... | [] | closed | false | null | [] | [
"Next week\r\nNext week\r\nNext week\r\nNext week",
"I needed to use TF-BLIP offline, so I created whl. It may help for this week :D \r\n\r\nhttps://www.kaggle.com/datasets/ipythonx/tenp-transformer-4280",
"This issue has been automatically marked as stale because it has not had recent activity. If you think th... | 1,680 | 1,684 | 1,684 | NONE | null | ### Feature request
May I ask when will release 4.28.0?
### Motivation
May I ask when will release 4.28.0
### Your contribution
May I ask when will release 4.28.0 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22651/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22650/comments | https://api.github.com/repos/huggingface/transformers/issues/22650/events | https://github.com/huggingface/transformers/pull/22650 | 1,658,585,500 | PR_kwDOCUB6oc5N07eZ | 22,650 | Fix typo | {
"login": "Ronalmoo",
"id": 44221520,
"node_id": "MDQ6VXNlcjQ0MjIxNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/44221520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ronalmoo",
"html_url": "https://github.com/Ronalmoo",
"followers_url": "https://api.github.com/users/Ron... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for the fix!"
] | 1,680 | 1,681 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Typo on trainer.py
This should be modified from "forword" to "forward"
Fixes # (issue)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/hugg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22650/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22650",
"html_url": "https://github.com/huggingface/transformers/pull/22650",
"diff_url": "https://github.com/huggingface/transformers/pull/22650.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22650.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22649/comments | https://api.github.com/repos/huggingface/transformers/issues/22649/events | https://github.com/huggingface/transformers/pull/22649 | 1,658,564,246 | PR_kwDOCUB6oc5N03If | 22,649 | [OPT] Fix default attention mask size | {
"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._",
"I'm gonna add a test before merging "
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Fixes #21685, should also help in adding the ONNX configuration in #17771 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22649",
"html_url": "https://github.com/huggingface/transformers/pull/22649",
"diff_url": "https://github.com/huggingface/transformers/pull/22649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22649.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22648/comments | https://api.github.com/repos/huggingface/transformers/issues/22648/events | https://github.com/huggingface/transformers/pull/22648 | 1,658,543,082 | PR_kwDOCUB6oc5N0y1H | 22,648 | 🚨🚨🚨 [`Blip`] Refactor the Blip modeling file + test file 🚨🚨🚨 | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22648). All of your documentation changes will be reflected on that endpoint.",
"Let's wait our great @sgugger to express his opinion on if we are allowed to change this. \r\nI think it's fine however.",
"This issue has b... | 1,680 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Removes the file `test_modeling_blip_text` as its content is totally duplicated inside `test_modeling_blip`, so that we avoid running these tests twice
This PR also refactors the modeling file of `blip`, to have a single file for the whole architecture. I also realized that there is no nec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22648/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22648",
"html_url": "https://github.com/huggingface/transformers/pull/22648",
"diff_url": "https://github.com/huggingface/transformers/pull/22648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22648.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22647/comments | https://api.github.com/repos/huggingface/transformers/issues/22647/events | https://github.com/huggingface/transformers/issues/22647 | 1,658,367,937 | I_kwDOCUB6oc5i2K_B | 22,647 | Open AI GPT Model Implementation in Flax | {
"login": "mayankagarwals",
"id": 39498938,
"node_id": "MDQ6VXNlcjM5NDk4OTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/39498938?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayankagarwals",
"html_url": "https://github.com/mayankagarwals",
"followers_url": "https://api.gi... | [
{
"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 | [] | [
"@sanchit-gandhi ",
"@sanchit-gandhi @sgugger Are there any reservations around this? I have gone through GPT architecture and flax code of GPT2. I'm fairly certain this is implementable for exhaustiveness. OpenAI GPT model still sees almost a million downloads a month\r\n\r\nPlease let me know. Would like to sta... | 1,680 | 1,688 | null | CONTRIBUTOR | null | ### Model description
https://huggingface.co/openai-gpt today supports tf and pytorch but not flax. I'd like to implement the support to enhance the current gpt offering by hugging face
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22647/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22646/comments | https://api.github.com/repos/huggingface/transformers/issues/22646/events | https://github.com/huggingface/transformers/issues/22646 | 1,658,355,967 | I_kwDOCUB6oc5i2ID_ | 22,646 | T5Tokenizer, TFT5ForConditionalGeneration Graph execution error using tfa.metrics.CohenKappa | {
"login": "paul590",
"id": 24415267,
"node_id": "MDQ6VXNlcjI0NDE1MjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/24415267?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paul590",
"html_url": "https://github.com/paul590",
"followers_url": "https://api.github.com/users/paul59... | [] | closed | false | null | [] | [
"Looks like the metric does not like your labels. Are you sure it can be used in that case? cc @Rocketknight1 ",
"Thank you @sgugger for your response. I was hoping it would work, I ran this same metric through a bert model and using its own tokenizers and I had no issues with it. Is there a way to tweak the fit ... | 1,680 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: macOS-12.5-arm64-arm-64bit
- Python version: 3.10.9
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22646/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22645/comments | https://api.github.com/repos/huggingface/transformers/issues/22645/events | https://github.com/huggingface/transformers/issues/22645 | 1,658,324,374 | I_kwDOCUB6oc5i2AWW | 22,645 | Implement QFormer for pretrain | {
"login": "dinhanhx",
"id": 38489776,
"node_id": "MDQ6VXNlcjM4NDg5Nzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/38489776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dinhanhx",
"html_url": "https://github.com/dinhanhx",
"followers_url": "https://api.github.com/users/din... | [] | closed | false | null | [] | [
"@NielsRogge Gentle ping because I saw your name in the docs",
"cc @younesbelkada ",
"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 [contribu... | 1,680 | 1,689 | 1,689 | NONE | null | ### Feature request
In [BLIP-2](https://arxiv.org/pdf/2301.12597.pdf), there is a pretraining stage (or stage 1) of QFormer.

Implementation of QFormer in this stage is requested.
### Motivation
In [Hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22645/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22644/comments | https://api.github.com/repos/huggingface/transformers/issues/22644/events | https://github.com/huggingface/transformers/pull/22644 | 1,658,297,153 | PR_kwDOCUB6oc5N0CTp | 22,644 | Add support for Ascend NPU | {
"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 | [] | [
"For example, you can run the official question answering task using Ascend NPU with below command:\r\n\r\n```\r\npython examples/pytorch/question-answering/run_qa.py\r\n --model_name_or_path bert-base-uncased \\\r\n --dataset_name squad \\\r\n --do_train \\\r\n --do_eval \\\r\n --devi... | 1,680 | 1,694 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
This PR enables users to leverage the Ascend NPU for training and inference of 🤗 Transformers models.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://gith... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22644/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/22644/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22644",
"html_url": "https://github.com/huggingface/transformers/pull/22644",
"diff_url": "https://github.com/huggingface/transformers/pull/22644.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22644.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22643/comments | https://api.github.com/repos/huggingface/transformers/issues/22643/events | https://github.com/huggingface/transformers/pull/22643 | 1,658,285,659 | PR_kwDOCUB6oc5N0ADK | 22,643 | use __func__ to check can_generate | {
"login": "xin3he",
"id": 83260933,
"node_id": "MDQ6VXNlcjgzMjYwOTMz",
"avatar_url": "https://avatars.githubusercontent.com/u/83260933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xin3he",
"html_url": "https://github.com/xin3he",
"followers_url": "https://api.github.com/users/xin3he/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Could you share a script that shows any improvement? The model is a reference type, so what will be shared is a pointer to that class.\r\n\r\ncc @gante ",
"```\r\nimport transformers\r\nimport time\r\n\r\nmodel_name = 'facebook/bar... | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
Fixes # (the issue description is as follows)
When using `model.generate()` it calls `self._validate_model_class()` to check if model can do generate.
If we use `str(self.prepare_inputs_for_generation)` it will dump the entire model architecture which consumes resource and is not necessary.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22643/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/22643/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22643",
"html_url": "https://github.com/huggingface/transformers/pull/22643",
"diff_url": "https://github.com/huggingface/transformers/pull/22643.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22643.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22642/comments | https://api.github.com/repos/huggingface/transformers/issues/22642/events | https://github.com/huggingface/transformers/issues/22642 | 1,658,266,947 | I_kwDOCUB6oc5i1yVD | 22,642 | New LlamaTokenizer compat issues | {
"login": "Qubitium",
"id": 417764,
"node_id": "MDQ6VXNlcjQxNzc2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/417764?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Qubitium",
"html_url": "https://github.com/Qubitium",
"followers_url": "https://api.github.com/users/Qubitiu... | [] | closed | false | null | [] | [
"You shouldn't use this checkpoint. They are ignoring all PRs to update the weights/configs/tokenizers to the latest fixes in Transformers (the repo was generated in the middle of the PR adding Llama so was never compatible with Hugging Face). You should indeed re-run the conversion script to be up to date, or use ... | 1,680 | 1,683 | 1,680 | NONE | null | ### System Info
Cuda 11.8
Latest git transformers
tokenizers 0.13.3
pytorch 2.0
python 3.9
### Reproduction
Run trained HF llama models based on https://huggingface.co/decapoda-research/llama-7b-hf without error.
Using latest head transformer+tokenizers I am seeing:
1. Very long loading time for Llam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22642/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22641/comments | https://api.github.com/repos/huggingface/transformers/issues/22641/events | https://github.com/huggingface/transformers/issues/22641 | 1,658,207,733 | I_kwDOCUB6oc5i1j31 | 22,641 | Compute Accuracy in clip-roberta | {
"login": "skaulintel",
"id": 75697181,
"node_id": "MDQ6VXNlcjc1Njk3MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/75697181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skaulintel",
"html_url": "https://github.com/skaulintel",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @skaulintel! According to what I see in the traceback, this issue is specific to Optimum Habana. Could you move this issue [there](https://github.com/huggingface/optimum-habana/issues) please? And then I'll follow up."
] | 1,680 | 1,680 | 1,680 | NONE | null | ### Feature request
Is it possible to include an accuracy metric when training clip-roberta?
### Motivation
We would like to have something other than loss to track during training.
### Your contribution
I tried creating a dummy compute_metrics function to pass to GaudiTrainer thusly.
metric = evaluate.loa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22641/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22640/comments | https://api.github.com/repos/huggingface/transformers/issues/22640/events | https://github.com/huggingface/transformers/issues/22640 | 1,658,146,812 | I_kwDOCUB6oc5i1U_8 | 22,640 | Seq2Seq Trainer for QA: No useful metric returned for evaluation | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You need to pass along `--predict_with_generate` to use generate in the evaluation, and then get the metrics.",
"Thanks @sgugger ! I used that option, but after evaluation it outputs:\r\n\r\n```bash\r\nTraceback (most recent call last):\r\n File \"run_seq2seq_qa.py\", line 724, in <module>\r\n main()\r\n Fi... | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | ### System Info
Latest Transformers version from main.
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22640/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22639/comments | https://api.github.com/repos/huggingface/transformers/issues/22639/events | https://github.com/huggingface/transformers/issues/22639 | 1,658,076,330 | I_kwDOCUB6oc5i1Dyq | 22,639 | Have a beam search sub batch size to limit memory use | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [] | 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... | [
"@sgugger ",
"cc @gante ",
"Hey @JulesGM! Thank you for suggesting sub-batch size beam search. It is somewhat related to #22340 (add some option to stop spending resources on beams that have already been finished).\r\n\r\nCurrently, we are unable to fulfill all requests, and I haven't seen demand for this parti... | 1,680 | 1,684 | 1,684 | NONE | null | ### Feature request
Currently, beam search effectively multiplies the batch size memory-wise and compute-wise by the batch size. If you have a batch size of 1 and a beam search of 8, `model.forward` sees 8 samples at once. This becomes an unnecessary problem for situations where needs that beam size but is only able... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22639/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22639/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22638/comments | https://api.github.com/repos/huggingface/transformers/issues/22638/events | https://github.com/huggingface/transformers/issues/22638 | 1,657,943,477 | I_kwDOCUB6oc5i0jW1 | 22,638 | When using transformers.DataCollatorWithPadding normally, always get annoying warning | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,680 | 1,703 | null | NONE | null | ### Explanation
So systematically, people who use `transformers.DataCollatorWithPadding` get
```python
You're using a T5TokenizerFast tokenizer. Please note that with a fast tokenizer, using the `__call__` method is faster than using a method to encode the text followed by a call to the `pad` method to get a pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22638/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/22638/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22637/comments | https://api.github.com/repos/huggingface/transformers/issues/22637/events | https://github.com/huggingface/transformers/pull/22637 | 1,657,919,949 | PR_kwDOCUB6oc5Ny1FP | 22,637 | Update tiny model summary file for recent models | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
I just created tiny models for recent models. This PR updates tiny model summary file to use them. This includes:
- TFBartForSequenceClassification
- TFBlipForConditionalGeneration
- ClapModel
- MegaModel
- NllbMoeModel
- TFVisionTextDualEncoderModel
- WhisperForAudioClassification
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22637/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22637",
"html_url": "https://github.com/huggingface/transformers/pull/22637",
"diff_url": "https://github.com/huggingface/transformers/pull/22637.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22637.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22636/comments | https://api.github.com/repos/huggingface/transformers/issues/22636/events | https://github.com/huggingface/transformers/issues/22636 | 1,657,890,999 | I_kwDOCUB6oc5i0Wi3 | 22,636 | Both `max_new_tokens` and `max_length` seem to have been set. | {
"login": "HeekangPark",
"id": 16741548,
"node_id": "MDQ6VXNlcjE2NzQxNTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/16741548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HeekangPark",
"html_url": "https://github.com/HeekangPark",
"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 | {
"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 ",
"@HeekangPark yeah, pipelines + new generation arguments have yet to be revisited. Thank you for raising the issue! \r\n\r\nI took note of your suggestions. However, since the output is not broken, I may take a while to actually fix it :)",
"@QuentinAmbard @gante , could you please tell how to fix... | 1,680 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.27.4
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.35
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22636/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22635/comments | https://api.github.com/repos/huggingface/transformers/issues/22635/events | https://github.com/huggingface/transformers/pull/22635 | 1,657,863,602 | PR_kwDOCUB6oc5NypUV | 22,635 | [doc] Try a few ≠ ways of linking to Papers, users, and org profiles | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22635/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22635",
"html_url": "https://github.com/huggingface/transformers/pull/22635",
"diff_url": "https://github.com/huggingface/transformers/pull/22635.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22635.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22634/comments | https://api.github.com/repos/huggingface/transformers/issues/22634/events | https://github.com/huggingface/transformers/issues/22634 | 1,657,760,350 | I_kwDOCUB6oc5iz2pe | 22,634 | [run_translation.py] out of range integral type conversion attempted | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"cc @ArthurZucker Seems like the model and tokenizer have mismatched length",
"Yeah, but :\r\n- the tokenizer has 100 additional special tokens so even if the model predicts something above 32000 (the model's vocab size) you get an extra id (until 32099)\r\n- the tokenizer has an `unk_token` so when you go above ... | 1,680 | 1,687 | 1,681 | CONTRIBUTOR | null | spitting off from https://github.com/huggingface/transformers/issues/22571 as it was a secondary problem reported there:
### Reproduction
```
CUDA_VISIBLE_DEVICES=0 PYTHONPATH=src python examples/pytorch/translation/run_translation.py \
--model_name_or_path t5-base --do_train --do_eval --source_lang en \
--tar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22634/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22633/comments | https://api.github.com/repos/huggingface/transformers/issues/22633/events | https://github.com/huggingface/transformers/pull/22633 | 1,657,736,175 | PR_kwDOCUB6oc5NyPMX | 22,633 | Debugging the doc-builder | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22633/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22633",
"html_url": "https://github.com/huggingface/transformers/pull/22633",
"diff_url": "https://github.com/huggingface/transformers/pull/22633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22633.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22632/comments | https://api.github.com/repos/huggingface/transformers/issues/22632/events | https://github.com/huggingface/transformers/pull/22632 | 1,657,724,136 | PR_kwDOCUB6oc5NyMut | 22,632 | [`Blip`] Fix slow tests and doctests with correct values | {
"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,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/22625
In fact, the `num_attention_heads` of `BlipTextModel` should be 12 and not 8. Hence the models that are on the Hub were producing different logits / generations that the original implementation in some cases.
I made PRs on t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22632/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22632",
"html_url": "https://github.com/huggingface/transformers/pull/22632",
"diff_url": "https://github.com/huggingface/transformers/pull/22632.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22632.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22631/comments | https://api.github.com/repos/huggingface/transformers/issues/22631/events | https://github.com/huggingface/transformers/pull/22631 | 1,657,707,904 | PR_kwDOCUB6oc5NyJeY | 22,631 | Update input values for docstring | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Asking for a sanity check from you, @sanchit-gandhi to make sure the description of the audio inputs is correct :) ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,681 | 1,681 | COLLABORATOR | null | # What does this PR do?
Updates docstring values for AST model for `input_values` that were incorrectly for pixel values.
Fixes #22610
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22631",
"html_url": "https://github.com/huggingface/transformers/pull/22631",
"diff_url": "https://github.com/huggingface/transformers/pull/22631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22631.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22630/comments | https://api.github.com/repos/huggingface/transformers/issues/22630/events | https://github.com/huggingface/transformers/pull/22630 | 1,657,696,168 | PR_kwDOCUB6oc5NyHD9 | 22,630 | LlamaTokenizerFast Fix (.., from_slow=True). | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"WIll add the tests in a followup PR ",
"So `test_save_slow_from_fast_and_reload_fast` tests this, but it was skipped. It should never be skipped. We should test with a minimal config exactly for the reason we just saw"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
`AutoTokenizer.from_pretrained(..., from_slow=True)`
and
` tokenizer.save_pretrained("./tmp")`
wasn't working without those.
@ArthurZucker wants to add some tests for those.
I'm surprised by a few of these necessities since they seems quite standard defaults.
<!--
Congratulat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22630/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22630",
"html_url": "https://github.com/huggingface/transformers/pull/22630",
"diff_url": "https://github.com/huggingface/transformers/pull/22630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22630.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22629/comments | https://api.github.com/repos/huggingface/transformers/issues/22629/events | https://github.com/huggingface/transformers/pull/22629 | 1,657,690,008 | PR_kwDOCUB6oc5NyF0A | 22,629 | YaLM Implementation | {
"login": "BlackSamorez",
"id": 16901341,
"node_id": "MDQ6VXNlcjE2OTAxMzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/16901341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BlackSamorez",
"html_url": "https://github.com/BlackSamorez",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22629). All of your documentation changes will be reflected on that endpoint.",
"Hey! How do you feel about maybe adding this to the hub rather than on transformers? Should be easier to do following this [tutorial](https://... | 1,680 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Implementation of YaLM model (https://github.com/yandex/YaLM-100B). Model weights are available [here](https://huggingface.co/yandex/yalm-100b). Weight conversion will be included.
### Sources
The code is based on the [original model code](https://github.com/yandex/YaLM-100B) which is an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22629",
"html_url": "https://github.com/huggingface/transformers/pull/22629",
"diff_url": "https://github.com/huggingface/transformers/pull/22629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22629.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22628/comments | https://api.github.com/repos/huggingface/transformers/issues/22628/events | https://github.com/huggingface/transformers/pull/22628 | 1,657,674,619 | PR_kwDOCUB6oc5NyCra | 22,628 | [`bnb`] 8bit models should not be converted to `DDP` | {
"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,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fix issues that users can encounter on multi-GPU such as: https://github.com/huggingface/peft/issues/269#issuecomment-1498776567
In fact 8bit models should not be converted to DDP
cc @sgugger @pacman100 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22628/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22628",
"html_url": "https://github.com/huggingface/transformers/pull/22628",
"diff_url": "https://github.com/huggingface/transformers/pull/22628.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22628.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22627/comments | https://api.github.com/repos/huggingface/transformers/issues/22627/events | https://github.com/huggingface/transformers/pull/22627 | 1,657,670,282 | PR_kwDOCUB6oc5NyBzT | 22,627 | Make FlaxPreTrainedModel a Flax Module | {
"login": "cgarciae",
"id": 5862228,
"node_id": "MDQ6VXNlcjU4NjIyMjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cgarciae",
"html_url": "https://github.com/cgarciae",
"followers_url": "https://api.github.com/users/cgarc... | [] | closed | false | null | [] | [
"@sanchit-gandhi's previous comment:\r\n\r\n\"\"\"\r\n\r\n\r\nThis looks super clean @cgarciae - really like this way of making the FlaxPreTrainedModel into an nn.Module through dataclasses.\r\n\r\nHad some questsions about the PR (mainly for my understanding), but think the general design philosophy looks good her... | 1,680 | 1,687 | 1,687 | NONE | null | # What does this PR do?
WIP. Makes `FlaxPreTrainedModel` a `nn.Module` so Flax users can easily integrate it into other Flax networks or systems that expect Flax Modules.
See for #22499 some discussion of the approach.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22627/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22627",
"html_url": "https://github.com/huggingface/transformers/pull/22627",
"diff_url": "https://github.com/huggingface/transformers/pull/22627.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22627.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22626/comments | https://api.github.com/repos/huggingface/transformers/issues/22626/events | https://github.com/huggingface/transformers/pull/22626 | 1,657,643,935 | PR_kwDOCUB6oc5Nx8g5 | 22,626 | WIP Umt5 | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Many thanks @agemagician ! I could import the flax import for umT5 (and made some suggestions here) and will try to get the conversion script running (I think it only needs adjustments for this relative position embeddings thing).",
"cc @ArthurZucker ",
"So far the Pytorch version correctly uses \"relative_att... | 1,680 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
It supports umt5 models, which need separate relative attention biases for each layer.
The current code will have backward compatibility with previous T5 and MT5 checkpoints.
Fixes # (issue)
https://github.com/huggingface/transformers/issues/22573
## Before submitting
- [ ] This PR f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22626/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22626",
"html_url": "https://github.com/huggingface/transformers/pull/22626",
"diff_url": "https://github.com/huggingface/transformers/pull/22626.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22626.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22625/comments | https://api.github.com/repos/huggingface/transformers/issues/22625/events | https://github.com/huggingface/transformers/issues/22625 | 1,657,639,257 | I_kwDOCUB6oc5izZFZ | 22,625 | BLIP coco base default num_attention_heads should be 12 | {
"login": "DianeBouchacourt",
"id": 13796686,
"node_id": "MDQ6VXNlcjEzNzk2Njg2",
"avatar_url": "https://avatars.githubusercontent.com/u/13796686?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DianeBouchacourt",
"html_url": "https://github.com/DianeBouchacourt",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @amyeroberts and @younesbelkada ",
"This seems to be the right fix, I will check the original repo again and get back to you\r\n",
"The attention head is indeed seems to be 12 instead of 8: https://github.com/salesforce/BLIP/blob/3a29b7410476bf5f2ba0955827390eb6ea1f4f9d/configs/bert_config.json#L14 / https:... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
I was trying to replicate BLIP results on VG Relation dataset as in https://github.com/mertyg/vision-language-models-are-bows. I was using `BlipForImageTextRetrieval.from_pretrained("Salesforce/blip-itm-base-coco")`
following this example https://huggingface.co/docs/transformers/model_doc/blip#tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22625/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/22625/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22624/comments | https://api.github.com/repos/huggingface/transformers/issues/22624/events | https://github.com/huggingface/transformers/issues/22624 | 1,657,584,344 | I_kwDOCUB6oc5izLrY | 22,624 | Decoding with language model issue | {
"login": "ngawang88",
"id": 62231990,
"node_id": "MDQ6VXNlcjYyMjMxOTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/62231990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngawang88",
"html_url": "https://github.com/ngawang88",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @ngawang88, sorry for the late reply, but unfortunately the code snippet is currently un-reproducible (it leverages a local model which I cannot load). Without the full stack trace I can't see precisely where the code is failing. If you're able to share a reproducible code snippet (e.g... | 1,680 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.0
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.11.0+cpu (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22624/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22623/comments | https://api.github.com/repos/huggingface/transformers/issues/22623/events | https://github.com/huggingface/transformers/pull/22623 | 1,657,573,710 | PR_kwDOCUB6oc5Nxt5S | 22,623 | docs: Fix broken link to generation strategies | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,682 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Addresses fixing the broken link from clicking [here](https://huggingface.co/docs/transformers/main_classes/text_generation#:~:text=generate%E2%80%99.%20To%20learn%20more%20about%20decoding%20strategies%20refer%20to%20the-,text%20generation%20strategies%20guide,-.)
Link should direct to `h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22623",
"html_url": "https://github.com/huggingface/transformers/pull/22623",
"diff_url": "https://github.com/huggingface/transformers/pull/22623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22623.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22622/comments | https://api.github.com/repos/huggingface/transformers/issues/22622/events | https://github.com/huggingface/transformers/issues/22622 | 1,657,538,633 | I_kwDOCUB6oc5izAhJ | 22,622 | No TPU found colab | {
"login": "sr5434",
"id": 118690585,
"node_id": "U_kgDOBxMTGQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118690585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sr5434",
"html_url": "https://github.com/sr5434",
"followers_url": "https://api.github.com/users/sr5434/follower... | [] | closed | false | null | [] | [
"Flax didn't find the TPU, but the actual error is a connection error when downloading the datasets.",
"How do I fix it?",
"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 i... | 1,680 | 1,684 | 1,684 | NONE | null | ### System Info
Transformers installed from source.
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22622/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22621/comments | https://api.github.com/repos/huggingface/transformers/issues/22621/events | https://github.com/huggingface/transformers/issues/22621 | 1,657,495,237 | I_kwDOCUB6oc5iy17F | 22,621 | TypeError: create_repo() got an unexpected keyword argument 'organization' | {
"login": "SzaboGergo01",
"id": 79022886,
"node_id": "MDQ6VXNlcjc5MDIyODg2",
"avatar_url": "https://avatars.githubusercontent.com/u/79022886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SzaboGergo01",
"html_url": "https://github.com/SzaboGergo01",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"You need to update your installation of `huggingface_hub`: `pip install --upgrade huggingface_hub`.",
"I tried to update but got the same error message.\r\nAnyway, I'm checking now to see if it's a new update, I mean it came out yesterday, but no, it doesn't work either way.",
"Oh I'm sorry, that's a deprecate... | 1,680 | 1,685 | 1,681 | NONE | null | ### System Info
My environment:
```
- `transformers` version: 4.27.4
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.6.8 (gpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22621/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22620/comments | https://api.github.com/repos/huggingface/transformers/issues/22620/events | https://github.com/huggingface/transformers/pull/22620 | 1,657,467,699 | PR_kwDOCUB6oc5NxYR- | 22,620 | Add TensorFlow implementation of EfficientFormer | {
"login": "D-Roberts",
"id": 4791217,
"node_id": "MDQ6VXNlcjQ3OTEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4791217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/D-Roberts",
"html_url": "https://github.com/D-Roberts",
"followers_url": "https://api.github.com/users/D-... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22620). All of your documentation changes will be reflected on that endpoint.",
"cc @Rocketknight1 ",
"Hi @D-Roberts, just letting you know the TF team at Hugging Face is aware of this and definitely interested in the por... | 1,680 | 1,686 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
* Adding EfficientFormer computer vision model TensorFlow port (not a llm port).
* Fixes some minor typos and a couple of differences in the PyTorch model code: 1) the non-dict / tuple return was not returning last hidden state but the state before last stage. The dict and tuple return of t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22620/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22620/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22620",
"html_url": "https://github.com/huggingface/transformers/pull/22620",
"diff_url": "https://github.com/huggingface/transformers/pull/22620.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22620.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22619/comments | https://api.github.com/repos/huggingface/transformers/issues/22619/events | https://github.com/huggingface/transformers/pull/22619 | 1,657,415,061 | PR_kwDOCUB6oc5NxNpl | 22,619 | Add TimmBackbone model | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh Merging now. I'll address any comments or requests for changes in a follow up PR."
] | 1,680 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
Adds a new model TimmBackbone to use for loading timm weights for use in the AutoBackbone API.
Example usage:
```
from transformers import AutoBackbone
# Loads a transformers model
backbone = AutoBackbone.from_pretrained("microsoft/resnet-18")
# Loads a timm checkpoint
backbone... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22619/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22619",
"html_url": "https://github.com/huggingface/transformers/pull/22619",
"diff_url": "https://github.com/huggingface/transformers/pull/22619.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22619.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22618/comments | https://api.github.com/repos/huggingface/transformers/issues/22618/events | https://github.com/huggingface/transformers/pull/22618 | 1,657,403,862 | PR_kwDOCUB6oc5NxLaw | 22,618 | Fix docstrings for TF BLIP | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@Rocketknight1 Thanks for adding tf-blip. \r\nPS. in case you're interested to contribute https://github.com/keras-team/keras-nlp/issues/941",
"@Rocketknight1 I tried to re-run the CI, but it still fails. Could you push an empty commit to trigger it maybe?",
"_The documentation is not available anymore as the... | 1,680 | 1,681 | 1,681 | MEMBER | null | Some of the docstrings were still a bit PyTorchy, this is fixed now! (cc @ydshieh) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22618/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/22618/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22618",
"html_url": "https://github.com/huggingface/transformers/pull/22618",
"diff_url": "https://github.com/huggingface/transformers/pull/22618.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22618.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22617/comments | https://api.github.com/repos/huggingface/transformers/issues/22617/events | https://github.com/huggingface/transformers/issues/22617 | 1,657,368,723 | I_kwDOCUB6oc5iyXCT | 22,617 | Error while installing dev dependencies for Apple Silicon | {
"login": "xssChauhan",
"id": 9297805,
"node_id": "MDQ6VXNlcjkyOTc4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9297805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xssChauhan",
"html_url": "https://github.com/xssChauhan",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"cc @amyeroberts and @nateraw ",
"Hmm maybe its the Python version? Some issue mentioning that here: https://github.com/dmlc/gluon-cv/issues/1539",
"The issue is mainly because of Apple Silicon. `decord` does not provide any built wheels for apple silicon, and hence cannot be found using pip. I had to build it ... | 1,680 | 1,705 | 1,684 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.24.0
- Platform: macOS-13.2.1-arm64-arm-64bit
- Python version: 3.10.10
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22617/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22616/comments | https://api.github.com/repos/huggingface/transformers/issues/22616/events | https://github.com/huggingface/transformers/issues/22616 | 1,657,336,336 | I_kwDOCUB6oc5iyPIQ | 22,616 | transformers python module “tokenizers” version is not matching with FastChat project “tokenizers” | {
"login": "SullivanJia",
"id": 26838155,
"node_id": "MDQ6VXNlcjI2ODM4MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/26838155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SullivanJia",
"html_url": "https://github.com/SullivanJia",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I'm not sure why you are opening the issue here. It's a problem in the dependencies of FastChat.",
"Because this makes me very confused about which dependency configuration should refer to when project updating so quickly",
"This issue can resolve by installing a specific version's transformer (with source),:\... | 1,680 | 1,689 | 1,680 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.28.0.dev0
- Platform: Linux-3.10.0-1160.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22616/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22615/comments | https://api.github.com/repos/huggingface/transformers/issues/22615/events | https://github.com/huggingface/transformers/pull/22615 | 1,657,306,383 | PR_kwDOCUB6oc5Nw3i8 | 22,615 | Translated title of fast_tokenizer to test PR | {
"login": "kihoon71",
"id": 75935546,
"node_id": "MDQ6VXNlcjc1OTM1NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/75935546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kihoon71",
"html_url": "https://github.com/kihoon71",
"followers_url": "https://api.github.com/users/kih... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22615). All of your documentation changes will be reflected on that endpoint.",
"Dear @KIHOON71 ,\r\n1. Please remove \"Fixes # (issue)\" on the decription.\r\n2. Please add [WIP] on the title or change to draft status.\r\n... | 1,680 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Firstly, sorry for late PR, and From this week i can handle rest of the task. so Next this kind of thing will not happen again.
I did translate the title of fast_tokenizers.mdx.
Part of https://github.com/huggingface/transformers/issues/20179
<!--
Congratulations! You've made ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22615/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22615",
"html_url": "https://github.com/huggingface/transformers/pull/22615",
"diff_url": "https://github.com/huggingface/transformers/pull/22615.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22615.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22614/comments | https://api.github.com/repos/huggingface/transformers/issues/22614/events | https://github.com/huggingface/transformers/pull/22614 | 1,657,290,563 | PR_kwDOCUB6oc5Nw0PO | 22,614 | Add DistilBERTForCausalLM | {
"login": "leonjovanovic",
"id": 45070620,
"node_id": "MDQ6VXNlcjQ1MDcwNjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/45070620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonjovanovic",
"html_url": "https://github.com/leonjovanovic",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22614). All of your documentation changes will be reflected on that endpoint.",
"There is no checkpoint available for this task and DistilBERT, which is an encoder model. What is your usecase for adding this?",
"> There i... | 1,680 | 1,684 | 1,684 | NONE | null | # What does this PR do?
Similar to the BertLMHeadModel this PR aims to add a DistilBertForCausalLM model in modeling_distilbert.py.
Fixes https://github.com/huggingface/transformers/issues/7397
Replaces https://github.com/huggingface/transformers/pull/8387, https://github.com/huggingface/transformers/pull/1108... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22614/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22614/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22614",
"html_url": "https://github.com/huggingface/transformers/pull/22614",
"diff_url": "https://github.com/huggingface/transformers/pull/22614.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22614.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22613/comments | https://api.github.com/repos/huggingface/transformers/issues/22613/events | https://github.com/huggingface/transformers/pull/22613 | 1,657,245,537 | PR_kwDOCUB6oc5Nwq8_ | 22,613 | allow separate relative attention bias | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for your PR. Transformers is not a modular toolbox so we never add functionality to existing models like this. If you need this parameter for a new model, you should create a copy of T5 with the add-new-model-like command an... | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
It supports umt5 models, which need separate relative attention biases for each layer.
The current code will have backward compatibility with previous T5 and MT5 checkpoints.
Fixes # (issue)
https://github.com/huggingface/transformers/issues/22573
## Before submitting
- [ ] This PR f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22613/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22613",
"html_url": "https://github.com/huggingface/transformers/pull/22613",
"diff_url": "https://github.com/huggingface/transformers/pull/22613.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22613.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22612/comments | https://api.github.com/repos/huggingface/transformers/issues/22612/events | https://github.com/huggingface/transformers/issues/22612 | 1,657,227,373 | I_kwDOCUB6oc5ix0ht | 22,612 | Add `output_hidden_state` and `output_scores` to Flax generate | {
"login": "hannan72",
"id": 8229163,
"node_id": "MDQ6VXNlcjgyMjkxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hannan72",
"html_url": "https://github.com/hannan72",
"followers_url": "https://api.github.com/users/hanna... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"cc @sanchit-gandhi ",
"I found that Flax model when set to use beam-search calculates the scores value:\r\nhttps://github.com/huggingface/transformers/blob/12d51db243a00726a548a43cc333390ebae731e3/src/transformers/generation/flax_utils.py#L83-L96\r\n\r\nand in the _beam_search method it is calculated and returne... | 1,680 | 1,696 | null | NONE | null | I need whisper's output_scores and output_hidden_states as the result of generate() method.
On Pytorch model, I can easily get the output_scores and output_hidden_states by setting these parameters in generate() method as follows:
```
whisper_output = model.generate(inputs=input_features, max_new_tokens=180, output_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22612/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22611/comments | https://api.github.com/repos/huggingface/transformers/issues/22611/events | https://github.com/huggingface/transformers/pull/22611 | 1,657,186,200 | PR_kwDOCUB6oc5NweuK | 22,611 | [doc] Try a few ≠ ways of linking to Papers, users, and org profiles | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"for some reason i can't see the model pages in the PR's generated doc",
"I can't preview the doc for some reason (getting an error on the [distilbert preview page](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22611/en/m... | 1,680 | 1,683 | 1,683 | MEMBER | null | would love to hear others' thoughts. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22611",
"html_url": "https://github.com/huggingface/transformers/pull/22611",
"diff_url": "https://github.com/huggingface/transformers/pull/22611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22611.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22610/comments | https://api.github.com/repos/huggingface/transformers/issues/22610/events | https://github.com/huggingface/transformers/issues/22610 | 1,657,143,402 | I_kwDOCUB6oc5ixgBq | 22,610 | ASTModel Signature doesn't work | {
"login": "conradg",
"id": 4610193,
"node_id": "MDQ6VXNlcjQ2MTAxOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4610193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/conradg",
"html_url": "https://github.com/conradg",
"followers_url": "https://api.github.com/users/conradg/... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"Hi @conradg, thanks for reporting this. \r\n\r\nI believe this is an with the documentation for `input_values` having the incorrect info. Looking at a [code example](https://huggingface.co/docs/transformers/v4.27.2/en/model_doc/audio-spectrogram-transformer#transformers.ASTModel.forward.examp... | 1,680 | 1,681 | 1,681 | NONE | null | ### System Info
- `transformers` version: 4.27.2
- Platform: macOS-13.2.1-arm64-arm-64bit
- Python version: 3.10.7
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22610/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/22610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22609/comments | https://api.github.com/repos/huggingface/transformers/issues/22609/events | https://github.com/huggingface/transformers/pull/22609 | 1,657,113,952 | PR_kwDOCUB6oc5NwPSH | 22,609 | Revert error back into warning for byte fallback conversion. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Handles https://github.com/huggingface/transformers/pull/22264#issuecomment-1498681408
<!--
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 ful... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22609/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22609",
"html_url": "https://github.com/huggingface/transformers/pull/22609",
"diff_url": "https://github.com/huggingface/transformers/pull/22609.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22609.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22608/comments | https://api.github.com/repos/huggingface/transformers/issues/22608/events | https://github.com/huggingface/transformers/pull/22608 | 1,657,103,051 | PR_kwDOCUB6oc5NwNDc | 22,608 | [DO NOT MERGE] Add Crop Transformation | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22608). All of your documentation changes will be reflected on that endpoint."
] | 1,680 | 1,688 | null | COLLABORATOR | null | # What does this PR do?
Abstracts out cropping logic to be a more generic `crop` function which other, more specific cropping functions e.g. `center_crop` can call.
Motivation:
* The output of the CLIP feature extractor changed after #17628. This was due to a difference in how the `top` and `left` coordinates ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22608/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22608",
"html_url": "https://github.com/huggingface/transformers/pull/22608",
"diff_url": "https://github.com/huggingface/transformers/pull/22608.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22608.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22607/comments | https://api.github.com/repos/huggingface/transformers/issues/22607/events | https://github.com/huggingface/transformers/pull/22607 | 1,657,051,463 | PR_kwDOCUB6oc5NwCBq | 22,607 | Revert error back into warning for byte fallback conversion. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Handles https://github.com/huggingface/transformers/pull/22264#issuecomment-1498681408
<!--
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 ful... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22607",
"html_url": "https://github.com/huggingface/transformers/pull/22607",
"diff_url": "https://github.com/huggingface/transformers/pull/22607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22607.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22606/comments | https://api.github.com/repos/huggingface/transformers/issues/22606/events | https://github.com/huggingface/transformers/pull/22606 | 1,656,974,135 | PR_kwDOCUB6oc5Nvxx8 | 22,606 | update_pip_test_mapping | {
"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,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
#22180 added a new script to add/update the attribute `pipeline_model_mapping` (for pipeline testing) in a systematic way.
This PR uses that script to update this attributes for new and existing model test files.
It turns out that `translation` was missing when I first time adding this at... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22606/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22606",
"html_url": "https://github.com/huggingface/transformers/pull/22606",
"diff_url": "https://github.com/huggingface/transformers/pull/22606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22606.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22605/comments | https://api.github.com/repos/huggingface/transformers/issues/22605/events | https://github.com/huggingface/transformers/issues/22605 | 1,656,951,218 | I_kwDOCUB6oc5iwxGy | 22,605 | UnboundLocalError: local variable 'params_docstring' referenced before assignment | {
"login": "xingyueye",
"id": 40205112,
"node_id": "MDQ6VXNlcjQwMjA1MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/40205112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xingyueye",
"html_url": "https://github.com/xingyueye",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"For Reproduction:\r\nIt occurs when we define a new subClass with no definition",
"No one will be able to help without a clear reproducer.",
"For example, we define a subclass of BaseModelOutputWithPoolingAndCrossAttentions, but with no args explanations. \r\n```\r\nclass NewBaseModelOutputWithPoolingAndCrossA... | 1,680 | 1,684 | 1,684 | NONE | null | ### System Info
https://github.com/huggingface/transformers/blob/v4.27.4/src/transformers/utils/doc.py#L130
BUG about 'params_docstring' is reported
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22605/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22604/comments | https://api.github.com/repos/huggingface/transformers/issues/22604/events | https://github.com/huggingface/transformers/pull/22604 | 1,656,907,459 | PR_kwDOCUB6oc5NvkY8 | 22,604 | [WIP] Add PoNet | {
"login": "lxchtan",
"id": 30597959,
"node_id": "MDQ6VXNlcjMwNTk3OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/30597959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lxchtan",
"html_url": "https://github.com/lxchtan",
"followers_url": "https://api.github.com/users/lxchta... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @younesbelkada ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22604). All of your documentation changes will be reflected on that endpoint.",
"Hey! great work🔥 \r\n\r\nWould you be open to put this model on the hub following [this tutorial](h... | 1,680 | 1,686 | 1,686 | 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/22604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22604/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22604",
"html_url": "https://github.com/huggingface/transformers/pull/22604",
"diff_url": "https://github.com/huggingface/transformers/pull/22604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22604.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22603/comments | https://api.github.com/repos/huggingface/transformers/issues/22603/events | https://github.com/huggingface/transformers/pull/22603 | 1,656,889,725 | PR_kwDOCUB6oc5Nvg3L | 22,603 | move preprocess_logits_for_metrics before _nested_gather in trainer.e… | {
"login": "ChenyangLiu",
"id": 6317575,
"node_id": "MDQ6VXNlcjYzMTc1NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6317575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChenyangLiu",
"html_url": "https://github.com/ChenyangLiu",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sorry. In my training loop, the `preprocess_logits_for_metrics` do not use `labels`. I ignore the `labels` is gathered before. In the new commit, the code is\r\n```\r\n# Update containers on host\r\nif loss is not None:\r\n losses... | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22603/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22603",
"html_url": "https://github.com/huggingface/transformers/pull/22603",
"diff_url": "https://github.com/huggingface/transformers/pull/22603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22603.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22602/comments | https://api.github.com/repos/huggingface/transformers/issues/22602/events | https://github.com/huggingface/transformers/issues/22602 | 1,656,848,849 | I_kwDOCUB6oc5iwYHR | 22,602 | Preprocess/transform logits before gathering them for computing metrics. | {
"login": "ChenyangLiu",
"id": 6317575,
"node_id": "MDQ6VXNlcjYzMTc1NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6317575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChenyangLiu",
"html_url": "https://github.com/ChenyangLiu",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"As replied on the PR, this is incorrect. You should probably use a custom training loop powered by Accelerate to be able to move the logits when you want."
] | 1,680 | 1,681 | 1,681 | CONTRIBUTOR | null | ### Feature request
In `trainer.evaluation_loop`, `preprocess_logits_for_metrics` should be executed before `_nested_gather` to avoid GPU OOM.
### Motivation
`preprocess_logits_for_metrics` processes logits after gathering them when do distributed learning. When training with large batch_size, token_length or ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22602/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22601/comments | https://api.github.com/repos/huggingface/transformers/issues/22601/events | https://github.com/huggingface/transformers/issues/22601 | 1,656,817,432 | I_kwDOCUB6oc5iwQcY | 22,601 | Incorrect question answering initialization | {
"login": "imbalu007",
"id": 629329,
"node_id": "MDQ6VXNlcjYyOTMyOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/629329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/imbalu007",
"html_url": "https://github.com/imbalu007",
"followers_url": "https://api.github.com/users/imba... | [] | closed | false | null | [] | [
"This is a bug indeed. Do you want to make a quick PR with your fix (labels should indeed be hardcoded at 2 for question answering)?",
"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 n... | 1,680 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-1031-azure-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22601/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22600/comments | https://api.github.com/repos/huggingface/transformers/issues/22600/events | https://github.com/huggingface/transformers/issues/22600 | 1,656,778,110 | I_kwDOCUB6oc5iwG1- | 22,600 | Add support for Ascend NPU | {
"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 | [] | [
"@sgugger ",
"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/CON... | 1,680 | 1,684 | 1,684 | CONTRIBUTOR | null | ### Feature request
It would be nice if the Transformers suite could be used directly on the Ascend NPU without modifying the source code.
### Motivation
In China, Ascend NPU is the second choice after Nvidia GPU and has been adpoted by many companies, such as Alibaba, ByteDance, Meituan, etc. Huawei officiall... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22600/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22600/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22599/comments | https://api.github.com/repos/huggingface/transformers/issues/22599/events | https://github.com/huggingface/transformers/issues/22599 | 1,656,741,709 | I_kwDOCUB6oc5iv99N | 22,599 | No module named 'transformers' after installing from source | {
"login": "fishfree",
"id": 1741341,
"node_id": "MDQ6VXNlcjE3NDEzNDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1741341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fishfree",
"html_url": "https://github.com/fishfree",
"followers_url": "https://api.github.com/users/fishf... | [] | closed | false | null | [] | [
"same error\r\n",
"Having the same issue as well.",
"Me too. Not sure what is going on, but it looks like in site-packages, the transformers-4.28.0.dev0.dist-info directory is created, but not the transformers directory itself!",
"... and confirmed, if I roll back using\r\n`git checkout 2194943a3443b924e4cd09... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
Ubuntu 22.04 in Windwos WSL 2.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22599/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/22599/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22598/comments | https://api.github.com/repos/huggingface/transformers/issues/22598/events | https://github.com/huggingface/transformers/issues/22598 | 1,656,530,407 | I_kwDOCUB6oc5ivKXn | 22,598 | BertTokenizerFast.from_pretrained() reproducibly freezing during download | {
"login": "lstein",
"id": 111189,
"node_id": "MDQ6VXNlcjExMTE4OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/111189?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lstein",
"html_url": "https://github.com/lstein",
"followers_url": "https://api.github.com/users/lstein/follow... | [] | closed | false | null | [] | [
"Could you upgrade `huggingface_hub` and possibly `transformers` too to the last version? There were some bugs on Windows recently fixed.",
"Problem persists with `transformers` 4.27.4 and `huggingface-hub` 0.13.3. The code is freezing in file `huggingface_hub/file_download.py` at line 1296, where it tries to obt... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.10.10
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cpu (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22598/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22597/comments | https://api.github.com/repos/huggingface/transformers/issues/22597/events | https://github.com/huggingface/transformers/pull/22597 | 1,656,441,253 | PR_kwDOCUB6oc5NuDRn | 22,597 | [WIP] ONNX Multinomial operator supports only one input. As temporary solut… | {
"login": "SatyaJandhyalaAtMS",
"id": 55203776,
"node_id": "MDQ6VXNlcjU1MjAzNzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/55203776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SatyaJandhyalaAtMS",
"html_url": "https://github.com/SatyaJandhyalaAtMS",
"followers_url": "ht... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"You're free to do this on your own to have the model work with ONNX, but this is not the kind of fix we can merge into Transformers as it will hurt every user on other hardware.",
"I am not intending to merge this PR. I agree that ... | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | …ion commentout multinominal call.
# What does this PR do?
**This temporarily change is not intended to merge. The purpose of this PR is to share the change with the other teams I am working with.**
Fixes # (issue)
ONNX [Multinomial](https://github.com/onnx/onnx/blob/main/docs/Operators.md#multinomial) operat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22597/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22597",
"html_url": "https://github.com/huggingface/transformers/pull/22597",
"diff_url": "https://github.com/huggingface/transformers/pull/22597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22597.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22596/comments | https://api.github.com/repos/huggingface/transformers/issues/22596/events | https://github.com/huggingface/transformers/pull/22596 | 1,656,396,056 | PR_kwDOCUB6oc5Nt5cl | 22,596 | Move labels to the same device as logits for LlamaForSequenceClassification and Blip2 | {
"login": "xssChauhan",
"id": 9297805,
"node_id": "MDQ6VXNlcjkyOTc4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9297805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xssChauhan",
"html_url": "https://github.com/xssChauhan",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger I have refreshed my permissions, but I still do not see the option of rerunning the pipeline on CircleCI. Is it possible that I cant do that?",
"You can just push an empty commit: `git commit -m \"Trigger CI\" --allow-emp... | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes issue #22561 by moving the labels to the same device as the logits they are compared to for `LlamaForSequenceClassification`, `Blip2`.
@sgugger Could you review this once? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22596/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22596",
"html_url": "https://github.com/huggingface/transformers/pull/22596",
"diff_url": "https://github.com/huggingface/transformers/pull/22596.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22596.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22595/comments | https://api.github.com/repos/huggingface/transformers/issues/22595/events | https://github.com/huggingface/transformers/issues/22595 | 1,656,035,327 | I_kwDOCUB6oc5itRf_ | 22,595 | `device_map="auto"` doesn't use all available GPUs when `load_in_8bit=True` | {
"login": "yukw777",
"id": 2057325,
"node_id": "MDQ6VXNlcjIwNTczMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2057325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yukw777",
"html_url": "https://github.com/yukw777",
"followers_url": "https://api.github.com/users/yukw777/... | [] | closed | false | null | [] | [
"If I specify `max_memory`, the parameters do get distributed according to it.\r\n\r\n```python\r\nmodel = transformers.LlamaForCausalLM.from_pretrained(\r\n \"path/to/converted/llama-65B\",\r\n load_in_8bit=True,\r\n device_map=\"auto\",\r\n max_memory={0: \"10GB\", 1: \"10GB\", 2: \"48GB\", 3: \"48GB\... | 1,680 | 1,701 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-4.18.0-305.65.1.el8_4.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22595/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.