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/21387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21387/comments | https://api.github.com/repos/huggingface/transformers/issues/21387/events | https://github.com/huggingface/transformers/issues/21387 | 1,564,352,886 | I_kwDOCUB6oc5dPiF2 | 21,387 | OOM when running causal language modelling sample | {
"login": "rmc135",
"id": 45911282,
"node_id": "MDQ6VXNlcjQ1OTExMjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/45911282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rmc135",
"html_url": "https://github.com/rmc135",
"followers_url": "https://api.github.com/users/rmc135/fo... | [] | 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,675 | 1,678 | 1,678 | NONE | null | The example at:
https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling#gpt-2gpt-and-causal-language-modeling
...mentions taking half an hour on a K80. I'm using an M40 24GB, which I would reasonably believe has sufficient VRAM, but it dies with OOM at startup. I used the exact co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21387/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21386/comments | https://api.github.com/repos/huggingface/transformers/issues/21386/events | https://github.com/huggingface/transformers/issues/21386 | 1,564,316,476 | I_kwDOCUB6oc5dPZM8 | 21,386 | getting hidden_states in a causal menner | {
"login": "amit-sofer",
"id": 77002276,
"node_id": "MDQ6VXNlcjc3MDAyMjc2",
"avatar_url": "https://avatars.githubusercontent.com/u/77002276?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amit-sofer",
"html_url": "https://github.com/amit-sofer",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You should use the [forums](https://discuss.huggingface.co/) for a question like this, as we keep issues for bugs and feature requests only.",
"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\... | 1,675 | 1,678 | 1,678 | NONE | null | ### Feature request
i want to use the roberta model in the following way:
given a list of N tokens, i want the model to compute a hidden_state for each of the N tokens in a causal way, meaning the first token hidden_state is computed based only on the first token, the second hidden_state is computed based on the fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21386/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21385/comments | https://api.github.com/repos/huggingface/transformers/issues/21385/events | https://github.com/huggingface/transformers/pull/21385 | 1,564,137,774 | PR_kwDOCUB6oc5I55os | 21,385 | Do not log the generation config for each prediction step in TrainerSeq2Seq | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | 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/21385/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/21385/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21385",
"html_url": "https://github.com/huggingface/transformers/pull/21385",
"diff_url": "https://github.com/huggingface/transformers/pull/21385.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21385.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21384/comments | https://api.github.com/repos/huggingface/transformers/issues/21384/events | https://github.com/huggingface/transformers/pull/21384 | 1,564,079,275 | PR_kwDOCUB6oc5I5tJw | 21,384 | [torch] remove deprecated uint8 in favor of bool | {
"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._",
"Waiting for the CI to work again. ",
"Ok now the real clean up is starting, have to identify all attention masks, vs the causal masks. I think it is a good thing, will help understanding \r\n",
"The way we handle attention mask i... | 1,675 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
This should fix #21013.
Have not ran the tests yet, so leaving as draft | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21384/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21384",
"html_url": "https://github.com/huggingface/transformers/pull/21384",
"diff_url": "https://github.com/huggingface/transformers/pull/21384.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21384.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21383/comments | https://api.github.com/repos/huggingface/transformers/issues/21383/events | https://github.com/huggingface/transformers/pull/21383 | 1,564,054,970 | PR_kwDOCUB6oc5I5oFe | 21,383 | [Docs] Minor fixes | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
This PR:
- moves TAPAS and LayoutLM to the "multimodal" section rather than "text", as these models leverage more modalities than just text (TAPAS leverages row and column information, LayoutLM leverages 2D coordinates).
- adds a figure for DETA and fixes the one of UPerNet | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21383/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21383",
"html_url": "https://github.com/huggingface/transformers/pull/21383",
"diff_url": "https://github.com/huggingface/transformers/pull/21383.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21383.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21382/comments | https://api.github.com/repos/huggingface/transformers/issues/21382/events | https://github.com/huggingface/transformers/pull/21382 | 1,564,053,772 | PR_kwDOCUB6oc5I5n1j | 21,382 | Simplify column_names in run_clm/mlm | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This is much better - thank you, @lhoestq!"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | Following https://github.com/huggingface/transformers/pull/21343
Just a minor change to simplify the code, and fix a small bug (`column_names` needs to be a list to be able to call `column_names[0]`)
cc @stas00 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21382",
"html_url": "https://github.com/huggingface/transformers/pull/21382",
"diff_url": "https://github.com/huggingface/transformers/pull/21382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21381/comments | https://api.github.com/repos/huggingface/transformers/issues/21381/events | https://github.com/huggingface/transformers/issues/21381 | 1,563,990,295 | I_kwDOCUB6oc5dOJkX | 21,381 | gradient checkpointing disables requires_grad when freezing part of models (fix with use_reentrant=False) | {
"login": "PaulLerner",
"id": 25532159,
"node_id": "MDQ6VXNlcjI1NTMyMTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/25532159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PaulLerner",
"html_url": "https://github.com/PaulLerner",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks for flagging the issue. We don't offer APIs to freeze the model in the Trainer (as it has never shown better results for fine-tuning, quite the opposite), so we can leave this issue to show how to solve the problem, but we won't really incorporate it in Transformers.",
"I think a lot of people use `transf... | 1,675 | 1,698 | 1,675 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.22.2
- Platform: Linux-4.18.0-372.36.1.el8_6.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21381/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21380/comments | https://api.github.com/repos/huggingface/transformers/issues/21380/events | https://github.com/huggingface/transformers/pull/21380 | 1,563,990,281 | PR_kwDOCUB6oc5I5aQP | 21,380 | Update `Graphormer` and fix its `torchscript` test failures | {
"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,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Update `Graphormer` and fix its `torchscript` test failures
cc @clefourrier for reference | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21380/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21380",
"html_url": "https://github.com/huggingface/transformers/pull/21380",
"diff_url": "https://github.com/huggingface/transformers/pull/21380.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21380.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21379/comments | https://api.github.com/repos/huggingface/transformers/issues/21379/events | https://github.com/huggingface/transformers/issues/21379 | 1,563,845,759 | I_kwDOCUB6oc5dNmR_ | 21,379 | Add support to MPNetForCausalLM | {
"login": "jwengr",
"id": 58577380,
"node_id": "MDQ6VXNlcjU4NTc3Mzgw",
"avatar_url": "https://avatars.githubusercontent.com/u/58577380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jwengr",
"html_url": "https://github.com/jwengr",
"followers_url": "https://api.github.com/users/jwengr/fo... | [] | 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,675 | 1,678 | 1,678 | NONE | null | ### Feature request
Add MPNetForCausalLM for various usage.
### Motivation
The pre-trained mpnet model provides the best performance in [sentence embedding](https://www.sbert.net/docs/pretrained_models.html)
And it can aim for additional performance improvements through using [TSDAE (Tranformer-based Denoi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21379/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21378/comments | https://api.github.com/repos/huggingface/transformers/issues/21378/events | https://github.com/huggingface/transformers/issues/21378 | 1,563,436,537 | I_kwDOCUB6oc5dMCX5 | 21,378 | UL2 Training with HF Trainer + DeepSpeed Zero3 Results in CUDA Illegal Memory Exception | {
"login": "michaelroyzen",
"id": 45830328,
"node_id": "MDQ6VXNlcjQ1ODMwMzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelroyzen",
"html_url": "https://github.com/michaelroyzen",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I have never tried running UL2 - please help me to reproduce it\r\n\r\nand of course for the future do follow the instructions from the error message to re-running with ` =1` (except this feature is broken in recent NCCL (pt-1.13) and it'll hang https://github.com/NVIDIA/nccl/issues/750). The async nature often ma... | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
transformers version==4.26.0
torch==1.13.1
deepspeed==0.8
hardware: 8x A100-80GB
Fine-tuning UL2 with the Huggingface Trainer and DeepSpeed Zero2 or Zero3 results in a CUDA Illegal Memory Exception. This is true with any Huggingface Trainer script, PyTorch version (1.12 and 1.113), DeepSpeed ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21378/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21377/comments | https://api.github.com/repos/huggingface/transformers/issues/21377/events | https://github.com/huggingface/transformers/pull/21377 | 1,563,282,563 | PR_kwDOCUB6oc5I3Bpl | 21,377 | Added model resources for LayoutLM Issue#19848 | {
"login": "avisinghal6",
"id": 97785770,
"node_id": "U_kgDOBdQXqg",
"avatar_url": "https://avatars.githubusercontent.com/u/97785770?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avisinghal6",
"html_url": "https://github.com/avisinghal6",
"followers_url": "https://api.github.com/users/av... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"It looks like you might've only updated your branch with the latest changes on the `main` Hugging Face repo, I don't see any of the changes! 🙈 ",
"Hi @stevhliu, you were right, i only updated my branch (sorry my bad ), i think i ... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | Added resources to documentation of LayoutLM model as per Issue#19848.
@stevhliu
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21377",
"html_url": "https://github.com/huggingface/transformers/pull/21377",
"diff_url": "https://github.com/huggingface/transformers/pull/21377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21377.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21376/comments | https://api.github.com/repos/huggingface/transformers/issues/21376/events | https://github.com/huggingface/transformers/issues/21376 | 1,563,001,236 | I_kwDOCUB6oc5dKYGU | 21,376 | Lazy loading models on systems with more VRAM than RAM | {
"login": "oobabooga",
"id": 112222186,
"node_id": "U_kgDOBrBf6g",
"avatar_url": "https://avatars.githubusercontent.com/u/112222186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oobabooga",
"html_url": "https://github.com/oobabooga",
"followers_url": "https://api.github.com/users/oobabo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
},
{
"id": 5151155822,
"node_id": "LA_kwDOCUB6oc8AAAABMwhmbg",
"url... | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"Could you please share a snippet of code that fails on such an env with `device_map=\"auto\"` sent to `from_pretrained`? This loads the model directly on the GPU (as long as there is enough space) so this should work for your use case.",
"Surely, here is a snippet that causes an out of memory error on Google Col... | 1,675 | 1,684 | 1,684 | CONTRIBUTOR | null | ### Feature request
I would like the ability to lazy load models to the GPU using `AutoModelForCausalLM.from_pretrained`.
At the moment, it is possible to reduce the RAM usage using the `low_cpu_mem_usage=True` option, but on systems with more VRAM than RAM (like Google Colab with 12GB RAM and 16GB VRAM), it is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21376/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/21376/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21375/comments | https://api.github.com/repos/huggingface/transformers/issues/21375/events | https://github.com/huggingface/transformers/issues/21375 | 1,562,915,540 | I_kwDOCUB6oc5dKDLU | 21,375 | Mismatch of tensor shapes in CrossEntropyLoss for custom head layer in BART | {
"login": "CodingSaturn",
"id": 51314378,
"node_id": "MDQ6VXNlcjUxMzE0Mzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/51314378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CodingSaturn",
"html_url": "https://github.com/CodingSaturn",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"You should try the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for bugs and feature requests only.",
"Oh I am very sorry, I moved the question to the forum. Thank your for the hint!"
] | 1,675 | 1,675 | 1,675 | NONE | null | Hi,
so far I've been working with the BartForConditionalGeneration. Now I want to use a custom head layer instead.
In a linear layer after the base models decoder, I want to input the output of the base bart model and additional some numerical data similar to the code [here](https://colab.research.google.com/drive... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21374/comments | https://api.github.com/repos/huggingface/transformers/issues/21374/events | https://github.com/huggingface/transformers/issues/21374 | 1,562,814,922 | I_kwDOCUB6oc5dJqnK | 21,374 | decoder_hidden_states output inconsistent when generating with SpeechEncoderDecoder models | {
"login": "valentinp72",
"id": 2760679,
"node_id": "MDQ6VXNlcjI3NjA2Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2760679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valentinp72",
"html_url": "https://github.com/valentinp72",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hey @valentinp72 👋 \r\n\r\nI don't see a cause for a bug, but I am aware that our docstrings are in need of improvements :) \r\n\r\nAllow me to elaborate:\r\n1. Greedy Search: your output (`sequences`) will be `[batch_size, generated_tokens + 1]`, and the `decoder_hidden_states` will have length `generated_tokens... | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.23.1
- Platform: Linux-4.18.0-372.36.1.el8_6.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.12
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21374/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21373/comments | https://api.github.com/repos/huggingface/transformers/issues/21373/events | https://github.com/huggingface/transformers/issues/21373 | 1,562,801,101 | I_kwDOCUB6oc5dJnPN | 21,373 | Error Multi-Node Training with Deepspeed | {
"login": "ShivamSharma2705",
"id": 94197666,
"node_id": "U_kgDOBZ1Xog",
"avatar_url": "https://avatars.githubusercontent.com/u/94197666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivamSharma2705",
"html_url": "https://github.com/ShivamSharma2705",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"30min is the timeout for any NCCL operations.\r\n\r\nI assume it never started training? Was it doing anything during the 30min, like pre-processing a dataset?\r\n\r\nplease run again and do\r\n```\r\npip install py-spy\r\npy-spy dump --pid PID \r\n```\r\nPID of the process that is stuck.\r\n\r\nAnd of course your... | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.24.0.dev0
- Platform: Linux-3.10.0-1127.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.8.2+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21373/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21372/comments | https://api.github.com/repos/huggingface/transformers/issues/21372/events | https://github.com/huggingface/transformers/pull/21372 | 1,562,688,425 | PR_kwDOCUB6oc5I1ASj | 21,372 | Add cPython files in build | {
"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,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
As reported by @clefourrier the Graphormer model in the last release is not usable as is, as the cpython file containing the code for the collation of samples is not included in the built package. This PR fixes that by including the extensions (similar to what we did for custom CUDA kernels).... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21372/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21372/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21372",
"html_url": "https://github.com/huggingface/transformers/pull/21372",
"diff_url": "https://github.com/huggingface/transformers/pull/21372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21372.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21371/comments | https://api.github.com/repos/huggingface/transformers/issues/21371/events | https://github.com/huggingface/transformers/issues/21371 | 1,562,609,751 | I_kwDOCUB6oc5dI4hX | 21,371 | Error while loading a model on 8bit | {
"login": "toma-x",
"id": 97228779,
"node_id": "U_kgDOBcuX6w",
"avatar_url": "https://avatars.githubusercontent.com/u/97228779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/toma-x",
"html_url": "https://github.com/toma-x",
"followers_url": "https://api.github.com/users/toma-x/followers"... | [] | closed | false | null | [] | [
"Hi @toma-x \r\nThanks for the issue, \r\nWhat you are currently trying to do (mixing cpu + int8) is not supported yet\r\nI think that this feature should be addressed in `QuantizationConfig` in the next weeks, I will keep you updated in this issue\r\n",
"Glad to know this, looking forward to hear you soon about ... | 1,675 | 1,681 | 1,681 | NONE | null | I'm trying to run inference on a model which doesn't fit on my GPU using this code:
```from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
device_map = {'transformer.wte': 0,
'transformer.drop': 0,
'transformer.h.0': 0,
'transformer.h.1': 0,
'transformer.h.2': 0,
'transformer.h.3': ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21371/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21370/comments | https://api.github.com/repos/huggingface/transformers/issues/21370/events | https://github.com/huggingface/transformers/pull/21370 | 1,562,530,942 | PR_kwDOCUB6oc5I0eOR | 21,370 | [CLAP] Add CLAP to the library | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Now we should create a new task : `zero-shot audio classification`! \r\n",
"_The documentation is not available anymore as the PR was closed or merged._",
"Ok! Looking very good, last thing is the `configuration` docstring. @younesbelkada will finish this 😉 ",
"Models are here (with nice model cards hehe):\... | 1,675 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Adds CLAP to the HF library cc @younesbelkada | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21370/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21370/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21370",
"html_url": "https://github.com/huggingface/transformers/pull/21370",
"diff_url": "https://github.com/huggingface/transformers/pull/21370.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21370.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21369/comments | https://api.github.com/repos/huggingface/transformers/issues/21369/events | https://github.com/huggingface/transformers/issues/21369 | 1,562,508,607 | I_kwDOCUB6oc5dIf0_ | 21,369 | "Both `max_new_tokens` and `max_length` have been set but they serve the same purpose" when only setting max_new_tokens. | {
"login": "Gvanderl",
"id": 27513709,
"node_id": "MDQ6VXNlcjI3NTEzNzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/27513709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gvanderl",
"html_url": "https://github.com/Gvanderl",
"followers_url": "https://api.github.com/users/Gva... | [] | closed | false | null | [] | [
"Hey @Gvanderl 👋 \r\nWe are aware of this issue (some downstream uses of `.generate()`, like the `pipeline`, fail when `max_new_tokens` is set). #21347 will fix it 🎉 \r\n\r\nAfter it gets merged, install from main and it should work! (i.e. `pip install --upgrade git+https://github.com/huggingface/transformers.git... | 1,675 | 1,676 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.10.4
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cpu (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21369/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21368/comments | https://api.github.com/repos/huggingface/transformers/issues/21368/events | https://github.com/huggingface/transformers/pull/21368 | 1,562,494,144 | PR_kwDOCUB6oc5I0WOz | 21,368 | 🚨🚨 Generate: standardize beam search behavior across frameworks | {
"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._",
"> # What does this PR do?\r\n> Applies the discussion of #20901 into code. In a nutshell, standardizes beam search behavior across all three frameworks through `early_stopping`, keeping PT's behavior untouched for the previously acce... | 1,675 | 1,684 | 1,675 | MEMBER | null | # What does this PR do?
Applies the discussion of #20901 into code. In a nutshell, standardizes beam search behavior across all three frameworks through `early_stopping`, keeping PT's behavior untouched for the previously accepted values of `early_stopping`.
Changes:
1. `early_stopping` was changed from a binar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21368/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21368/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21368",
"html_url": "https://github.com/huggingface/transformers/pull/21368",
"diff_url": "https://github.com/huggingface/transformers/pull/21368.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21368.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21367/comments | https://api.github.com/repos/huggingface/transformers/issues/21367/events | https://github.com/huggingface/transformers/pull/21367 | 1,562,390,231 | PR_kwDOCUB6oc5Iz_q2 | 21,367 | Fixes path for Graphormer checkpoint | {
"login": "clefourrier",
"id": 22726840,
"node_id": "MDQ6VXNlcjIyNzI2ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/22726840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clefourrier",
"html_url": "https://github.com/clefourrier",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@clefourrier We now get some other issues, see the [failed job run](https://github.com/huggingface/transformers/actions/runs/4060331156/jobs/6989383705)\r\n\r\nCould you take a look 🙏? Don't hesitate if you need some help. \r\n\r\nE... | 1,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
@ydshieh - should fix the graphormer checkpoint path problem.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21367/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21367",
"html_url": "https://github.com/huggingface/transformers/pull/21367",
"diff_url": "https://github.com/huggingface/transformers/pull/21367.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21367.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21366/comments | https://api.github.com/repos/huggingface/transformers/issues/21366/events | https://github.com/huggingface/transformers/issues/21366 | 1,562,275,791 | I_kwDOCUB6oc5dHm_P | 21,366 | ValueError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples). | {
"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 | [] | [
"Looks like an issue with the sentence-transformers library, not Transformers. Cc-ing @ArthurZucker who may other ideas.",
"I don't really but gonna try to have a look through the notebook. ",
"@alhuri could you provide a functioning notebook with the reproduction script? This one does not work for me (missing ... | 1,675 | 1,678 | 1,678 | NONE | null | I am trying to run the evaluation of both MCLIP on zero-shot learning task found on this notebook [colab](https://colab.research.google.com/drive/1zfWeVWY79XXH63Ci-pk8xxx3Vu_RRgW-?usp=sharing).
the model is loaded using the below code
```
if MODEL_TYPE == 'mClip':
from sentence_transformers import SentenceT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21366/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21365/comments | https://api.github.com/repos/huggingface/transformers/issues/21365/events | https://github.com/huggingface/transformers/pull/21365 | 1,562,255,505 | PR_kwDOCUB6oc5IziOI | 21,365 | Fix DETR tests after #21144 | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Bug introduced with #21144 when checking whether annotations were batched. In part, because of a mismatch between type annotations and input types. Updated logic and annotations.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if tha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21365/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21365",
"html_url": "https://github.com/huggingface/transformers/pull/21365",
"diff_url": "https://github.com/huggingface/transformers/pull/21365.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21365.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21364/comments | https://api.github.com/repos/huggingface/transformers/issues/21364/events | https://github.com/huggingface/transformers/issues/21364 | 1,562,243,098 | I_kwDOCUB6oc5dHfAa | 21,364 | Why the 'tokenizer' will return more than one token for single word in GPT2? | {
"login": "Zeqing-Wang",
"id": 58877116,
"node_id": "MDQ6VXNlcjU4ODc3MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/58877116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zeqing-Wang",
"html_url": "https://github.com/Zeqing-Wang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to ask questions like this as we keep issues for bugs and feature requests only.\r\n\r\nMost Transformer models use subword tokenizers, which mean that one word can be split into several tokens. Here the GPT2 tokenizer splits `\"irving\"` into `[\"ir\", \"vi... | 1,675 | 1,675 | 1,675 | NONE | null | I'm trying to use the GPT2 to get the feature of a single word. But i find not every single word will get a single token from the 'tokenizer'. I don't know why it's like that.
Here is my code:
```
def test_gpt2():
tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
model = GPT2Model.from_pretrained('gpt2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21364/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21363/comments | https://api.github.com/repos/huggingface/transformers/issues/21363/events | https://github.com/huggingface/transformers/issues/21363 | 1,562,163,644 | I_kwDOCUB6oc5dHLm8 | 21,363 | TPU out of memory (OOM) with flax train a language model GPT2 | {
"login": "sarataylor2000",
"id": 121573171,
"node_id": "U_kgDOBz8PMw",
"avatar_url": "https://avatars.githubusercontent.com/u/121573171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarataylor2000",
"html_url": "https://github.com/sarataylor2000",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Or you just need to use a smaller batch size to avoid the OOM error. cc @sanchit-gandhi who may have other ideas.",
"\r\n\r\n\r\n> Or you just need to use a smaller batch size to avoid the OOM error. cc @sanchit-gandhi who may have other ideas.\r\n\r\nthanks for the reply i really appreciate it\r\n smaller batch... | 1,675 | 1,678 | 1,678 | NONE | null | I'm training the GPT2 on the Flax and TPU i get TPU out of memory error while i have enough memory and without filling the memory it says out of memory like this:
** jax._src.traceback_util.UnfilteredStackTrace: jaxlib.xla_extension.XlaRuntimeError: RESO**URCE_EXHAUSTED: Ran out of memory in memory space hbm. Used 17.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21363/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21362/comments | https://api.github.com/repos/huggingface/transformers/issues/21362/events | https://github.com/huggingface/transformers/pull/21362 | 1,561,867,132 | PR_kwDOCUB6oc5IyO4D | 21,362 | Fix `GitModelIntegrationTest.test_batched_generation` device issue | {
"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,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
In PR #21282, `input_ids` is not on the target device and CI fails with
```bash
E RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper__index_select)
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21362/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21362",
"html_url": "https://github.com/huggingface/transformers/pull/21362",
"diff_url": "https://github.com/huggingface/transformers/pull/21362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21362.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21361/comments | https://api.github.com/repos/huggingface/transformers/issues/21361/events | https://github.com/huggingface/transformers/pull/21361 | 1,561,835,759 | PR_kwDOCUB6oc5IyIMR | 21,361 | Fix TextGeneration and Text2TextGeneration pipeline issue with return_dict_in_generate | {
"login": "tokestermw",
"id": 4722119,
"node_id": "MDQ6VXNlcjQ3MjIxMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4722119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tokestermw",
"html_url": "https://github.com/tokestermw",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21361). All of your documentation changes will be reflected on that endpoint.",
"> Hi thank you for this PR. Do you mind sharing in which context you need to use this return changing flag?\r\n\r\nCurrently I use the scores ... | 1,675 | 1,680 | 1,680 | 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/21361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21361/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21361",
"html_url": "https://github.com/huggingface/transformers/pull/21361",
"diff_url": "https://github.com/huggingface/transformers/pull/21361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21361.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21360/comments | https://api.github.com/repos/huggingface/transformers/issues/21360/events | https://github.com/huggingface/transformers/issues/21360 | 1,561,703,048 | I_kwDOCUB6oc5dFbKI | 21,360 | Segment Fault when exporting GPT-2 as ONNX format | {
"login": "BorisPolonsky",
"id": 12964401,
"node_id": "MDQ6VXNlcjEyOTY0NDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/12964401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BorisPolonsky",
"html_url": "https://github.com/BorisPolonsky",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Make sure you have the optimum library installed to have the latest version of our ONNX export, and if the bug still persists, please open an issue in that repo as they will be able to help you :-) ",
"> Make sure you have the optimum library installed to have the latest version of our ONNX export, and if the bu... | 1,675 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.15.79.1-microsoft-standard-WSL2-x86_64-with-debian-buster-sid
- Python version: 3.7.11
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.10.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21360/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21359/comments | https://api.github.com/repos/huggingface/transformers/issues/21359/events | https://github.com/huggingface/transformers/issues/21359 | 1,561,473,666 | I_kwDOCUB6oc5dEjKC | 21,359 | Difference between FlaxViTModel and FlaxCLIPVisionTransformer | {
"login": "ashors1",
"id": 71393111,
"node_id": "MDQ6VXNlcjcxMzkzMTEx",
"avatar_url": "https://avatars.githubusercontent.com/u/71393111?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashors1",
"html_url": "https://github.com/ashors1",
"followers_url": "https://api.github.com/users/ashors... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for bugs and feature requests only.",
"I think they're equivalent (one would need to check they are both applying pre-norm or post-norm etc.), but the reason we have 2 different implementations is because Transform... | 1,675 | 1,675 | 1,675 | NONE | null | Hi, I noticed that HuggingFace has two different Flax-based implementations of the vision transformer, the [FlaxCLIPVisionTransformer](https://github.com/huggingface/transformers/blob/main/src/transformers/models/clip/modeling_flax_clip.py#L535) and the [FlaxViTModule](https://github.com/huggingface/transformers/blob/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21359/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21358/comments | https://api.github.com/repos/huggingface/transformers/issues/21358/events | https://github.com/huggingface/transformers/issues/21358 | 1,561,421,463 | I_kwDOCUB6oc5dEWaX | 21,358 | `TFAutoModelForSequenceClassification` Onnx export not working | {
"login": "rohitgr7",
"id": 30778939,
"node_id": "MDQ6VXNlcjMwNzc4OTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/30778939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rohitgr7",
"html_url": "https://github.com/rohitgr7",
"followers_url": "https://api.github.com/users/roh... | [] | closed | false | null | [] | [
"Uhmmm I am not knowledgeable about ONNX -- maybe @michaelbenayoun has some ideas? 🤔 ",
"It works on my side. In any case you can try exporting it with optimum:\r\n\r\n```python\r\noptimum-cli export onnx --model distilbert-base-uncased onnx/\r\n```",
"seems like the issue is with `numpy==1.24.1`. Works with `... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21358/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21357/comments | https://api.github.com/repos/huggingface/transformers/issues/21357/events | https://github.com/huggingface/transformers/issues/21357 | 1,561,338,865 | I_kwDOCUB6oc5dECPx | 21,357 | 'T5Config' object has no attribute '__deepcopy__' | {
"login": "NouamaneTazi",
"id": 29777165,
"node_id": "MDQ6VXNlcjI5Nzc3MTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NouamaneTazi",
"html_url": "https://github.com/NouamaneTazi",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [] | 1,675 | 1,675 | 1,675 | MEMBER | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.4.0-125-generic-x86_64-with-glibc2.17
- Python version: 3.8.15
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21357/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21356/comments | https://api.github.com/repos/huggingface/transformers/issues/21356/events | https://github.com/huggingface/transformers/pull/21356 | 1,561,209,518 | PR_kwDOCUB6oc5IwFCN | 21,356 | Patch rag tf generate | {
"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 | [] | [
"Just need to rebase",
"Oups seems that this is to prehemptive! This will be for the tf timestamps PR #21334 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21356). All of your documentation changes will be reflected on that endpoint."
] | 1,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
Patches the failing tests on `main`. After merging #21324, which added support for `logits_processor` in TF framework. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21356/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21356",
"html_url": "https://github.com/huggingface/transformers/pull/21356",
"diff_url": "https://github.com/huggingface/transformers/pull/21356.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21356.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21355/comments | https://api.github.com/repos/huggingface/transformers/issues/21355/events | https://github.com/huggingface/transformers/issues/21355 | 1,561,199,327 | I_kwDOCUB6oc5dDgLf | 21,355 | Is a Transformer-based image caption model trained to predict the last token only in training phase? | {
"login": "adeljalalyousif",
"id": 97432157,
"node_id": "U_kgDOBc6yXQ",
"avatar_url": "https://avatars.githubusercontent.com/u/97432157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adeljalalyousif",
"html_url": "https://github.com/adeljalalyousif",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"You should ask your question on the [forums](https://discuss.huggingface.co/) where the community can help you, as we keep issues for bugs and feature requests only.",
"Thanks for this advice"
] | 1,674 | 1,675 | 1,675 | NONE | null | For the following code (which is snippet from https://keras.io/examples/vision/image_captioning/), I do not see the steps for entering the input sequence to model token by token in training phase. But instead of that, the input sequence is entered at once except the last toke by: batch_seq_inp = batch_seq[:, :-1] in th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21355/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21354/comments | https://api.github.com/repos/huggingface/transformers/issues/21354/events | https://github.com/huggingface/transformers/pull/21354 | 1,561,179,908 | PR_kwDOCUB6oc5Iv--t | 21,354 | fix the issue that the output dict of jit model could not get [0] | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@sgugger @yao-matrix please help to review",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Fixes # (issue)
when the model is optimized by jit.trace. and then used in pipeline inference for token classification. there is error like KeyError: 0,
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21354/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21354",
"html_url": "https://github.com/huggingface/transformers/pull/21354",
"diff_url": "https://github.com/huggingface/transformers/pull/21354.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21354.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21353/comments | https://api.github.com/repos/huggingface/transformers/issues/21353/events | https://github.com/huggingface/transformers/issues/21353 | 1,561,171,545 | I_kwDOCUB6oc5dDZZZ | 21,353 | Megatron-11B | {
"login": "KnutJaegersberg",
"id": 17965169,
"node_id": "MDQ6VXNlcjE3OTY1MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/17965169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KnutJaegersberg",
"html_url": "https://github.com/KnutJaegersberg",
"followers_url": "https://api... | [
{
"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 | [] | [
"I'm still learning prompting, but after poking around a bit with this model using the pylib I shared above, I found the generated text was of quite low quality for the model size. I got way better results with GPT-J and even GPT-2. \r\nDespite its size, I doubt this model is useful enough. ",
"When I got coheren... | 1,674 | 1,675 | null | NONE | null | ### Model description
I discovered two implementations of this facebook model on the hub, which was trained on the same corpus as Roberta/Bert. I want to try out some prompting, but when I try to download it with
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("hyunwoong... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21353/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21352/comments | https://api.github.com/repos/huggingface/transformers/issues/21352/events | https://github.com/huggingface/transformers/pull/21352 | 1,561,136,657 | PR_kwDOCUB6oc5Iv2Rn | 21,352 | Remove duplicate declarations in dummy inputs for TFLongformer | {
"login": "peakji",
"id": 219051,
"node_id": "MDQ6VXNlcjIxOTA1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/219051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peakji",
"html_url": "https://github.com/peakji",
"followers_url": "https://api.github.com/users/peakji/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Remove duplicated lines in [modeling_tf_longformer.py](https://github.com/huggingface/transformers/compare/main...peakji:transformers:patch-1#diff-782b222e9d393fe6750cf8e4cd870bcf3748a92ade5086e518b4d716a80080f8).
## Before submitting
- [x] This PR fixes a typo or improves the docs (you c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21352/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21352/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21352",
"html_url": "https://github.com/huggingface/transformers/pull/21352",
"diff_url": "https://github.com/huggingface/transformers/pull/21352.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21352.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21351/comments | https://api.github.com/repos/huggingface/transformers/issues/21351/events | https://github.com/huggingface/transformers/pull/21351 | 1,561,120,893 | PR_kwDOCUB6oc5IvzNO | 21,351 | translate index to zh(#20095) | {
"login": "bfss",
"id": 31245245,
"node_id": "MDQ6VXNlcjMxMjQ1MjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/31245245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bfss",
"html_url": "https://github.com/bfss",
"followers_url": "https://api.github.com/users/bfss/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh Could you have a look please?",
"@ydshieh I'm ok with the translation."
] | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Translate index doc to zh
#20095 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21351/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21351/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21351",
"html_url": "https://github.com/huggingface/transformers/pull/21351",
"diff_url": "https://github.com/huggingface/transformers/pull/21351.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21351.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21350/comments | https://api.github.com/repos/huggingface/transformers/issues/21350/events | https://github.com/huggingface/transformers/pull/21350 | 1,561,097,235 | PR_kwDOCUB6oc5Ivuiz | 21,350 | Corrected | {
"login": "HsiangNianian",
"id": 44714368,
"node_id": "MDQ6VXNlcjQ0NzE0MzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/44714368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HsiangNianian",
"html_url": "https://github.com/HsiangNianian",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh could have a quick look?"
] | 1,674 | 1,675 | 1,675 | 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/21350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21350/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21350",
"html_url": "https://github.com/huggingface/transformers/pull/21350",
"diff_url": "https://github.com/huggingface/transformers/pull/21350.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21350.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21349/comments | https://api.github.com/repos/huggingface/transformers/issues/21349/events | https://github.com/huggingface/transformers/pull/21349 | 1,560,966,222 | PR_kwDOCUB6oc5IvVET | 21,349 | Add Ernie-M Model to huggingface | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"Great work @susnato ! Looking forward to reviewing your PR :) \r\nLet us know when you think the PR is ready",
"Hi @younesbelkada the official paddlenlp implementation of ErnieM does not have any LM head class, since it was neither trained on Causal nor on Masked LM. It was pretrained on both Cross Attention Mas... | 1,674 | 1,676 | 1,676 | 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/21349/reactions",
"total_count": 4,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21349/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21349",
"html_url": "https://github.com/huggingface/transformers/pull/21349",
"diff_url": "https://github.com/huggingface/transformers/pull/21349.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21349.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21348/comments | https://api.github.com/repos/huggingface/transformers/issues/21348/events | https://github.com/huggingface/transformers/pull/21348 | 1,560,912,430 | PR_kwDOCUB6oc5IvKnm | 21,348 | Template for framework-agnostic tests | {
"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._",
"> I might be missing something, but not clear to me how/where this is tested here.\r\n\r\n@amyeroberts I see, this example does not test numerical differences :) \r\n\r\nHowever, consider the tests [here](https://github.com/huggingfa... | 1,674 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
There are a few cross-framework pain points I often encounter:
1. Ensuring the interface of `.generate()` or models stay consistent across frameworks;
2. Ensuring that TF doesn't get neglected and satisfies 1., when contributors add features/fixes on the PT side;
3. Blocking cases where t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21348/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21348/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21348",
"html_url": "https://github.com/huggingface/transformers/pull/21348",
"diff_url": "https://github.com/huggingface/transformers/pull/21348.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21348.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21347/comments | https://api.github.com/repos/huggingface/transformers/issues/21347/events | https://github.com/huggingface/transformers/pull/21347 | 1,560,886,369 | PR_kwDOCUB6oc5IvFZq | 21,347 | Generate: Relaxed `max_length` and `max_new_tokens` coexistence | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"cc @lewtun -- thank you for raising the issue 🙏 ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
TL;DR: stops raising an exception in `.generate()` when `max_length` and `max_new_tokens` are both set -- `max_new_tokens` will take precedence.
Context: Some downstream uses of `.generate()`, for legacy reasons, set `max_length` (e.g. pipelines, API). If a user tries manually setting `max... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21347/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21347/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21347",
"html_url": "https://github.com/huggingface/transformers/pull/21347",
"diff_url": "https://github.com/huggingface/transformers/pull/21347.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21347.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21346/comments | https://api.github.com/repos/huggingface/transformers/issues/21346/events | https://github.com/huggingface/transformers/issues/21346 | 1,560,664,386 | I_kwDOCUB6oc5dBdlC | 21,346 | Stored XSS | {
"login": "Dark-Aura",
"id": 65353593,
"node_id": "MDQ6VXNlcjY1MzUzNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/65353593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dark-Aura",
"html_url": "https://github.com/Dark-Aura",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @Dark-Aura, 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 https://hackerone.com/hugging_face. We'll need to send you an invite since this is a private program, so please feel free to send us an email at security@h... | 1,674 | 1,675 | 1,675 | NONE | null | ### System Info
Hi Team,
I've discovered a **stored cross-site scripting** vulnerability on your domain (https://transformer.huggingface.co/). Is your organization currently conducting a bug bounty program for this website? If so, kindly provide me with the appropriate information. Additionally, would it be possible ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21346/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21345/comments | https://api.github.com/repos/huggingface/transformers/issues/21345/events | https://github.com/huggingface/transformers/pull/21345 | 1,560,538,878 | PR_kwDOCUB6oc5It-yf | 21,345 | Add the GeLU activation from pytorch with the tanh approximation | {
"login": "jlamypoirier",
"id": 18523627,
"node_id": "MDQ6VXNlcjE4NTIzNjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/18523627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jlamypoirier",
"html_url": "https://github.com/jlamypoirier",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for working on this! Does the new implementation in Pytorch produce the exact same results as `gelu_fast`? If that is the case, I would prefer we just replace the current `gelu_fast` with this when PyTorch is 1.12 or above.",
... | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | Fixes #21344. See that issue for more details. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21345/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21345",
"html_url": "https://github.com/huggingface/transformers/pull/21345",
"diff_url": "https://github.com/huggingface/transformers/pull/21345.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21345.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21344/comments | https://api.github.com/repos/huggingface/transformers/issues/21344/events | https://github.com/huggingface/transformers/issues/21344 | 1,560,513,935 | I_kwDOCUB6oc5dA42P | 21,344 | Add the pytorch implementation of the OpenAI GeLU approximation | {
"login": "jlamypoirier",
"id": 18523627,
"node_id": "MDQ6VXNlcjE4NTIzNjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/18523627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jlamypoirier",
"html_url": "https://github.com/jlamypoirier",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | ### Feature request
Add support for the pytorch implementation of OpenAI's approximation of the GeLU function, added in pytorch 1.12. This implementation is equivalent to `gelu_new` or `gelu_fast` but much faster. It can come as a separate activation function, for example `gelu_new_python`, to avoid distrupting exis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21344/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21343/comments | https://api.github.com/repos/huggingface/transformers/issues/21343/events | https://github.com/huggingface/transformers/pull/21343 | 1,560,501,811 | PR_kwDOCUB6oc5It2p_ | 21,343 | [`run_(clm|mlm).py` examples] add streaming dataset support | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Reworked w/o `kwargs` and copying the code where needed, please let me know when it's good for you and I can replicate to mlm",
"should I figure out when streaming was added and put a assert if an earlier datasets is used?",
"Goo... | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | This PR adds streaming dataset support. It's fine if it remains a PR for those who might need it. if it's to be merged should probably check when streaming was added to `datasets` and require that version.
1. API-wise everything is as before but need to pass `--streaming` to load the dataset in a streaming mode.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21343/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21343",
"html_url": "https://github.com/huggingface/transformers/pull/21343",
"diff_url": "https://github.com/huggingface/transformers/pull/21343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21343.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21342/comments | https://api.github.com/repos/huggingface/transformers/issues/21342/events | https://github.com/huggingface/transformers/issues/21342 | 1,560,352,428 | I_kwDOCUB6oc5dARas | 21,342 | Errors while training apple/mobilevit-xx-small on image-classification example with and without deepspeed | {
"login": "prathikr",
"id": 31260940,
"node_id": "MDQ6VXNlcjMxMjYwOTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/31260940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prathikr",
"html_url": "https://github.com/prathikr",
"followers_url": "https://api.github.com/users/pra... | [] | closed | false | null | [] | [
"cc @amyeroberts and @alaradirik ",
"See #21221 - the example scripts aren't meant to work out-of-the-box for any model, as MobileViT for instance doesn't normalizes the images with a mean and std, so one needs to comment out the normalization line.",
"@NielsRogge thank you, I can confirm that commenting out th... | 1,674 | 1,676 | 1,676 | CONTRIBUTOR | null | ### System Info
- transformers installed from source
- python 3.8
- ZeRO-Stage-1
### Who can help?
@amyeroberts @NielsRogge @JingyaHuang
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, .... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21342/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/21342/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21341/comments | https://api.github.com/repos/huggingface/transformers/issues/21341/events | https://github.com/huggingface/transformers/pull/21341 | 1,560,098,532 | PR_kwDOCUB6oc5Isd4a | 21,341 | Generate: TF `compute_transition_scores` | {
"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._",
"@patrickvonplaten reverted the change in the order of operations in beam sample, and added a comment to based on our offline conversation.\r\n\r\nLMK if you're happy with the PR 🙏 "
] | 1,674 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
This PR adds the TF `compute_transition_scores`, akin to PT's #21191.
What seemingly started off as a simple task, ended up being a complex task -- the TF side had many missing and/or incorrect secondary `generate` outputs 😬 This means that we need to beef up the TF side of `generate` tes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21341/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21341",
"html_url": "https://github.com/huggingface/transformers/pull/21341",
"diff_url": "https://github.com/huggingface/transformers/pull/21341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21341.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21340/comments | https://api.github.com/repos/huggingface/transformers/issues/21340/events | https://github.com/huggingface/transformers/pull/21340 | 1,559,845,571 | PR_kwDOCUB6oc5Irm-x | 21,340 | Nystromformer ONNX export | {
"login": "whr778",
"id": 5939523,
"node_id": "MDQ6VXNlcjU5Mzk1MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5939523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whr778",
"html_url": "https://github.com/whr778",
"followers_url": "https://api.github.com/users/whr778/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi there. The ONNX integration has moved to the [optimum library](https://github.com/huggingface/optimum) so you should open your pull request there :-)",
"Hi, okay. Should I delete this PR or fix the error and submit another PR ... | 1,674 | 1,674 | 1,674 | NONE | null | # This PR implements ONNX export functionality for Nystromformer models.
In addition to running the test cases, I exported a locally built Nystromformer 2048 input sequence model to ONNX and ran prediction.
I verified the prediction output.
Fixes # (https://github.com/huggingface/transformers/issues/21339)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21340/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21340/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21340",
"html_url": "https://github.com/huggingface/transformers/pull/21340",
"diff_url": "https://github.com/huggingface/transformers/pull/21340.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21340.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21339/comments | https://api.github.com/repos/huggingface/transformers/issues/21339/events | https://github.com/huggingface/transformers/issues/21339 | 1,559,844,285 | I_kwDOCUB6oc5c-VW9 | 21,339 | Add Nystromformer support to ONNX export | {
"login": "whr778",
"id": 5939523,
"node_id": "MDQ6VXNlcjU5Mzk1MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5939523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whr778",
"html_url": "https://github.com/whr778",
"followers_url": "https://api.github.com/users/whr778/foll... | [] | closed | false | null | [] | [
"Moving code to optimum"
] | 1,674 | 1,674 | 1,674 | NONE | null | ### Feature request
Add Nystromformer support to ONNX export
### Motivation
Nystromformer models are very compute inexpensive long sequence models which perform exceptionally well.
### Your contribution
I will be submitting a PR (code and docs are complete) PR is in progress. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21339/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21339/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21338/comments | https://api.github.com/repos/huggingface/transformers/issues/21338/events | https://github.com/huggingface/transformers/pull/21338 | 1,559,821,683 | PR_kwDOCUB6oc5Irhu7 | 21,338 | Automated compatible models list for task guides | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,676 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a script that aggregates model architectures compatible with a task illustrated in a task guide and adds a list of links to them in a <Tip> in the guide. This serves several purposes:
1. Reinforces the idea that task guides are applicable to more than one model architecture.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21338/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21338",
"html_url": "https://github.com/huggingface/transformers/pull/21338",
"diff_url": "https://github.com/huggingface/transformers/pull/21338.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21338.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21337/comments | https://api.github.com/repos/huggingface/transformers/issues/21337/events | https://github.com/huggingface/transformers/pull/21337 | 1,559,791,937 | PR_kwDOCUB6oc5IrbRI | 21,337 | Fix `RobertaPreLayerNorm` doctest | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
Fix `RobertaPreLayerNorm` doctest. The doctest should have 0 failure against this commit 🔥 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21337/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21337",
"html_url": "https://github.com/huggingface/transformers/pull/21337",
"diff_url": "https://github.com/huggingface/transformers/pull/21337.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21337.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21336/comments | https://api.github.com/repos/huggingface/transformers/issues/21336/events | https://github.com/huggingface/transformers/pull/21336 | 1,559,602,486 | PR_kwDOCUB6oc5Iqxwf | 21,336 | Cleanup the usage of `layer_norm_eps` in some 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._",
"@sgugger @NielsRogge Just want to hear from you to make sure we are good for this change 🙏 before I continue.\r\n\r\nI can definitely just add these config classes to a list of edge cases in my (WIP) tests. But I feel it's better t... | 1,674 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
**(No breaking change in this PR)**
**(So far I only change `OneFormerConfig`, but I will update other config classes whose default `layer_norm_eps = 1e-5`)**
Fix the missing usage of `config.layer_norm_eps` in some pytorch models: **if the default value in the config class is `1e-05`** (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21336/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21336",
"html_url": "https://github.com/huggingface/transformers/pull/21336",
"diff_url": "https://github.com/huggingface/transformers/pull/21336.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21336.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21335/comments | https://api.github.com/repos/huggingface/transformers/issues/21335/events | https://github.com/huggingface/transformers/issues/21335 | 1,559,576,324 | I_kwDOCUB6oc5c9T8E | 21,335 | TypeError: _forward_unimplemented() got an unexpected keyword argument 'input_ids' | {
"login": "QuantumStatic",
"id": 67118602,
"node_id": "MDQ6VXNlcjY3MTE4NjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/67118602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QuantumStatic",
"html_url": "https://github.com/QuantumStatic",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"`DistilBertPreTrainedModel` is an abstract class and shouldn't be used directly. Maybe you wanted to use `DistilBertModel` or `DistilBertForPretraining`?",
"Thank you for your quick response. It was my silly mistake to use an abstract class for pre-training. I was able to import `DistilBertModel`, however the im... | 1,674 | 1,690 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.10.8
- Huggingface_hub version: 0.11.0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
### Who can help?
@ArthurZucker and @younesbelkada since I am using `distilbert-base-uncased`<br>(and maybe @sgugger, sin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21335/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21334/comments | https://api.github.com/repos/huggingface/transformers/issues/21334/events | https://github.com/huggingface/transformers/pull/21334 | 1,559,527,973 | PR_kwDOCUB6oc5IqhiX | 21,334 | Tf timestamps whisper + update generate support | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21334). All of your documentation changes will be reflected on that endpoint.",
"Awesome thanks for the review 🤗 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think ... | 1,674 | 1,691 | 1,691 | COLLABORATOR | null | # What does this PR
This PR updates the way we generation TF and FLAX to fix the breaking changes that we had.
It also adds support for the timestamps in `TF`.
Follows #21965 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21334/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21334/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21334",
"html_url": "https://github.com/huggingface/transformers/pull/21334",
"diff_url": "https://github.com/huggingface/transformers/pull/21334.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21334.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21333/comments | https://api.github.com/repos/huggingface/transformers/issues/21333/events | https://github.com/huggingface/transformers/pull/21333 | 1,559,471,102 | PR_kwDOCUB6oc5IqVLP | 21,333 | Little cleanup: let huggingface_hub manage token retrieval | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Yes that would be cool if a Great Depreciation is initiated! :) I can help if needed.\r\n\r\nIt seems the tests are failing with some `ModuleNotFoundError: No module named 'transformers_modules.local'` errors. Is it related to the PR... | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Since [`huggingface_hub==0.11.0` release](https://github.com/huggingface/huggingface_hub/releases/tag/v0.11.0), `hfh` always send the stored token when making requests to the hub, unless explicitly told no (`use_auth_token=False`). Before that, `transformers` had implemented some workarounds ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21333/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21333",
"html_url": "https://github.com/huggingface/transformers/pull/21333",
"diff_url": "https://github.com/huggingface/transformers/pull/21333.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21333.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21332/comments | https://api.github.com/repos/huggingface/transformers/issues/21332/events | https://github.com/huggingface/transformers/pull/21332 | 1,559,421,203 | PR_kwDOCUB6oc5IqKbx | 21,332 | Add variant to transformers | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> pytorch_model.{variant}.bin sounds better to me, to keep the file-extension (not so important for .bin, but more important for .h5, .safetensors or any other format)\r\n\r\nEven for `.bin` files, I'd say it's good to keep the file ... | 1,674 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
This PR adds a `"variant"` keyword argument to PyTorch's `from_pretrained` and `save_pretrained` so that multiple weight variants can be saved in the model repo.
You can try it out by running:
```python
from transformers import CLIPTextModel
path = "huggingface/the-no-branch-repo" ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21332/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21332/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21332",
"html_url": "https://github.com/huggingface/transformers/pull/21332",
"diff_url": "https://github.com/huggingface/transformers/pull/21332.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21332.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21331/comments | https://api.github.com/repos/huggingface/transformers/issues/21331/events | https://github.com/huggingface/transformers/pull/21331 | 1,559,010,929 | PR_kwDOCUB6oc5Iox8x | 21,331 | Bump onnx from 1.11.0 to 1.13.0 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | Bumps [onnx](https://github.com/onnx/onnx) from 1.11.0 to 1.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/onnx/onnx/releases">onnx's releases</a>.</em></p>
<blockquote>
<h2>v1.13.0</h2>
<p>ONNX v1.13.0 is now available with exciting new features! We would like to thank... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21331/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21331",
"html_url": "https://github.com/huggingface/transformers/pull/21331",
"diff_url": "https://github.com/huggingface/transformers/pull/21331.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21331.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21330/comments | https://api.github.com/repos/huggingface/transformers/issues/21330/events | https://github.com/huggingface/transformers/issues/21330 | 1,558,953,837 | I_kwDOCUB6oc5c679t | 21,330 | Add XLM-V | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjc... | closed | false | null | [] | [
"Can I work on this issue? And can you point me to where should I learn more about this?",
"Some more info:\r\n\r\nWeights can be - according to this tweet [this](https://twitter.com/LiangDavis/status/1618738467315531777) found here:\r\n\r\nhttps://dl.fbaipublicfiles.com/fairseq/xlmv/xlmv.base.tar.gz",
"Hi guy... | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | ### Model description
[XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Models](https://arxiv.org/abs/2301.10472)
Large multilingual language models typically rely on a single vocabulary shared across 100+ languages. As these models have increased in parameter count and depth, vocabulary ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21330/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21330/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21329/comments | https://api.github.com/repos/huggingface/transformers/issues/21329/events | https://github.com/huggingface/transformers/pull/21329 | 1,558,708,368 | PR_kwDOCUB6oc5Invrg | 21,329 | Add VQGAN-CLIP research project | {
"login": "ErwannMillon",
"id": 18487334,
"node_id": "MDQ6VXNlcjE4NDg3MzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/18487334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ErwannMillon",
"html_url": "https://github.com/ErwannMillon",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi there,\r\nThanks for the feedback, I fixed the style issues and removed the face image. \r\nAlso refactored the code to have more accurate function names, used just the tokenizer, changed the assertions to exceptions, and removed ... | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Implements VQGAN-CLIP using huggingface CLIP models
Related to #21064
This Research Project allows users to generate or edit images with a single line of code. It wraps the huggingface CLIPProcessor class, allowing images to be processed as torch tensors in order to preserve gradient flo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21329/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/21329/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21329",
"html_url": "https://github.com/huggingface/transformers/pull/21329",
"diff_url": "https://github.com/huggingface/transformers/pull/21329.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21329.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21328/comments | https://api.github.com/repos/huggingface/transformers/issues/21328/events | https://github.com/huggingface/transformers/pull/21328 | 1,558,495,525 | PR_kwDOCUB6oc5InBmn | 21,328 | Fix M2M100 positional embedding creation for ONNX | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,674 | 1,674 | MEMBER | null | # What does this PR do?
This PR changes the reshape step when computing the sinusoidal positional embeddings in M2M100 to make it work with ONNX.
Shape inference is incorrect before:
 in a progressive way and make the changes to pass that test in the same time.
I tried to change more places in single PR to avo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21327",
"html_url": "https://github.com/huggingface/transformers/pull/21327",
"diff_url": "https://github.com/huggingface/transformers/pull/21327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21327.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21326/comments | https://api.github.com/repos/huggingface/transformers/issues/21326/events | https://github.com/huggingface/transformers/issues/21326 | 1,558,463,650 | I_kwDOCUB6oc5c5ESi | 21,326 | Deepspeed with Trainer RecursionError: maximum recursion depth exceeded while calling a Python object | {
"login": "bettyballin",
"id": 16786715,
"node_id": "MDQ6VXNlcjE2Nzg2NzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/16786715?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bettyballin",
"html_url": "https://github.com/bettyballin",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"In general this belongs to https://github.com/microsoft/DeepSpeed/issues as this is a deepspeed issue. I see you file it here https://github.com/microsoft/DeepSpeedExamples/issues/84#issuecomment-1405311822 but I think this is the wrong place.\r\n\r\nI have run into this problem myself recently - it was triggered ... | 1,674 | 1,674 | 1,674 | NONE | null | ### System Info
System Info:
- `transformers` version: 4.25.1
- Platform: Linux-5.4.0-137-generic-x86_64-with-glibc2.31
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
### Who can help?
@stas00
### Information
- [X] The official example scripts
- [ ]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21326/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21325/comments | https://api.github.com/repos/huggingface/transformers/issues/21325/events | https://github.com/huggingface/transformers/issues/21325 | 1,558,445,557 | I_kwDOCUB6oc5c4_31 | 21,325 | Token batching | {
"login": "bpopeters",
"id": 10211311,
"node_id": "MDQ6VXNlcjEwMjExMzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/10211311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bpopeters",
"html_url": "https://github.com/bpopeters",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi there, what you are asking for is not supported. Note that Transformers is primarily a library of models. You can adapt the data preprocessing part of any of our existing examples to suit your needs, but we won't support every feature out of the box as it's not the goal of the library.",
"Hello,\r\n\r\nThank ... | 1,674 | 1,681 | 1,678 | NONE | null | Hello,
Many frameworks support _token batching_, in which batches are constructed not so that they contain the same number of sequences, but rather so that they contain approximately the same number of tokens (so a batch could consist either of a large number of short sequences or a small number of long sequences). ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21325/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/21325/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21324/comments | https://api.github.com/repos/huggingface/transformers/issues/21324/events | https://github.com/huggingface/transformers/pull/21324 | 1,558,370,357 | PR_kwDOCUB6oc5ImmhP | 21,324 | [Whisper] another patch | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
This fixes some issues I came up with when benchmarking the model + the CI-tests are not passing.
We updated the configs online, which changed a lot of things.
Also TF's forced decoder logit processor was wrong | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21324/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21324",
"html_url": "https://github.com/huggingface/transformers/pull/21324",
"diff_url": "https://github.com/huggingface/transformers/pull/21324.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21324.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21323/comments | https://api.github.com/repos/huggingface/transformers/issues/21323/events | https://github.com/huggingface/transformers/pull/21323 | 1,558,347,592 | PR_kwDOCUB6oc5ImhuE | 21,323 | Generate: better `compute_transition_scores` examples | {
"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,674 | 1,674 | 1,674 | MEMBER | null | # What does this PR do?
Adds further notes and details to the examples in `compute_transition_scores`, so it can be used out of the box with encoder-decoder models.
Inspired from the interaction in #21321 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21323/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21323/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21323",
"html_url": "https://github.com/huggingface/transformers/pull/21323",
"diff_url": "https://github.com/huggingface/transformers/pull/21323.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21323.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21321/comments | https://api.github.com/repos/huggingface/transformers/issues/21321/events | https://github.com/huggingface/transformers/issues/21321 | 1,558,097,123 | I_kwDOCUB6oc5c3qzj | 21,321 | `compute_transition_scores` becomes erroneous when setting the minimal length of generation | {
"login": "Aktsvigun",
"id": 36672861,
"node_id": "MDQ6VXNlcjM2NjcyODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aktsvigun",
"html_url": "https://github.com/Aktsvigun",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @Aktsvigun 👋 Thank you for raising this issue, it is great to iron out usage difficulties 🤗 \r\n\r\nThere is no bug, you forgot to account for `length_penalty` -- see the other example in `compute_transition_scores`'s docstring. I'm pasting the corrected snippet below.\r\n\r\nTwo further notes:\r\n- `normali... | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | ### System Info
transformers==4.27.0.dev0 (latest from master)
### Who can help?
@gante @pat
### 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21321/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21320/comments | https://api.github.com/repos/huggingface/transformers/issues/21320/events | https://github.com/huggingface/transformers/pull/21320 | 1,558,066,402 | PR_kwDOCUB6oc5Ilkxs | 21,320 | [`Vision-Encoder- Decoder`] Add `vision-encoder-decoder` on `AutoProcessor` | {
"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 | [] | [
"See https://github.com/huggingface/transformers/pull/21319#issuecomment-1404938821",
"Closing in favor of opening PRs on the Hub as described in the comment! ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21320). All of your documentation changes will be reflected... | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Similarly as https://github.com/huggingface/transformers/pull/21319 & #21299 a doctest was failing because the correct processor was not mapped in the `AutoProcessor` mapping for `vision-encoder-decoder`
This fixes also a doctest that was failing, link to failing job: https://github.com/hu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21320/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21320",
"html_url": "https://github.com/huggingface/transformers/pull/21320",
"diff_url": "https://github.com/huggingface/transformers/pull/21320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21320.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21319/comments | https://api.github.com/repos/huggingface/transformers/issues/21319/events | https://github.com/huggingface/transformers/pull/21319 | 1,558,053,849 | PR_kwDOCUB6oc5IliGj | 21,319 | [`Speech-Encoder-Decoder`] Add `speech-encoder-decoder` to `AutoProcessor` | {
"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 | [] | [
"Hi @younesbelkada ! Thank you for the PR(s). In my opinion, (generic) composite models like (text/vision/speech) encoder-decoder models are not meant to use `Auto` mappings, as their design is to compose any pair of models (whenever it works).\r\n\r\nThe fix should be updating the config file on the hub for these ... | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Currently loading the correct processor for `speech-encoder-decoder` using `AutoProcessor` is broken on `main`.
The issue and the fix is very identical as https://github.com/huggingface/transformers/pull/21299 , as a doctest was also failing. Link to failing job: https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21319/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21319",
"html_url": "https://github.com/huggingface/transformers/pull/21319",
"diff_url": "https://github.com/huggingface/transformers/pull/21319.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21319.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21318/comments | https://api.github.com/repos/huggingface/transformers/issues/21318/events | https://github.com/huggingface/transformers/pull/21318 | 1,558,042,191 | PR_kwDOCUB6oc5Ilfjz | 21,318 | [Doctest] Fix `Perceiver` doctest | {
"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,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a failing doctest for `PerceiverModel`. Link to failing job: https://github.com/huggingface/transformers/actions/runs/4002271138/jobs/6869333719
With #21225 being merged, the snippet [here](https://github.com/huggingface/transformers/blob/31336dcf3f93dee19cd13c981f16982d61204... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21318/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21318",
"html_url": "https://github.com/huggingface/transformers/pull/21318",
"diff_url": "https://github.com/huggingface/transformers/pull/21318.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21318.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21317/comments | https://api.github.com/repos/huggingface/transformers/issues/21317/events | https://github.com/huggingface/transformers/issues/21317 | 1,557,983,194 | I_kwDOCUB6oc5c3O_a | 21,317 | trainer get_optimizer_cls_and_kwargs doesn't seem to use optim_args | {
"login": "zupatisc",
"id": 61888674,
"node_id": "MDQ6VXNlcjYxODg4Njc0",
"avatar_url": "https://avatars.githubusercontent.com/u/61888674?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zupatisc",
"html_url": "https://github.com/zupatisc",
"followers_url": "https://api.github.com/users/zup... | [] | closed | false | null | [] | [
"Yes, this is intended as the regular adam kwargs have their own training argument.",
"Oh okay I see, is there anything speaking against using optim_args to pass kwargs to adafactor?",
"Adafactor in the library is deprecated an not maintained, you should rely on another implementation.",
"Thanks for the info ... | 1,674 | 1,674 | 1,674 | NONE | null | Hello,
I was reading the code for the trainer and I noticed that the optimizer arguments that get passed to the trainer with the TrainingArguments don't seem to be actually applied for any optimizers aside from AnyPrecisionAdamW, is this intended?
I don't think this question really fits into any of the templates so I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21317/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21316/comments | https://api.github.com/repos/huggingface/transformers/issues/21316/events | https://github.com/huggingface/transformers/pull/21316 | 1,557,834,126 | PR_kwDOCUB6oc5Ikywn | 21,316 | Small QoL for qa. | {
"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,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Adding a small qol to avoid panic exceptions down at the tokenizer level.
Fixes https://github.com/huggingface/tokenizers/issues/944
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21316/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21316",
"html_url": "https://github.com/huggingface/transformers/pull/21316",
"diff_url": "https://github.com/huggingface/transformers/pull/21316.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21316.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21315/comments | https://api.github.com/repos/huggingface/transformers/issues/21315/events | https://github.com/huggingface/transformers/pull/21315 | 1,557,830,646 | PR_kwDOCUB6oc5IkyDD | 21,315 | check paths in `utils/documentation_tests.txt` | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
This PR adds a new check to ensure the paths in `utils/documentation_tests.txt` are all valid, so doctest CI won't fail from the beginning.
related PR: #21314 - ~~We need to wait that PR merged before margining this one.~~ It's merged.
The effect of this PR
<img width="800" alt="Scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21315/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21315",
"html_url": "https://github.com/huggingface/transformers/pull/21315",
"diff_url": "https://github.com/huggingface/transformers/pull/21315.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21315.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21314/comments | https://api.github.com/repos/huggingface/transformers/issues/21314/events | https://github.com/huggingface/transformers/pull/21314 | 1,557,795,420 | PR_kwDOCUB6oc5Ikqiy | 21,314 | Fix 2 paths in the doctest list | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
doctest has 0 failures
```
🌞 There were no failures: all 0 tests passed. The suite ran in 0h0m0s.
```
which is caused by
```
ERROR: file or directory not found: src/transformers/models/maskformer/configuration_mask2former.py
collecting ... collected 0 items
```
😭😭😭
This PR mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21314/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21314",
"html_url": "https://github.com/huggingface/transformers/pull/21314",
"diff_url": "https://github.com/huggingface/transformers/pull/21314.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21314.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21313/comments | https://api.github.com/repos/huggingface/transformers/issues/21313/events | https://github.com/huggingface/transformers/issues/21313 | 1,557,657,757 | I_kwDOCUB6oc5c1_id | 21,313 | post_process_instance_segmentation does not resize outputs? | {
"login": "nickponline",
"id": 590151,
"node_id": "MDQ6VXNlcjU5MDE1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/590151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickponline",
"html_url": "https://github.com/nickponline",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"cc @alaradirik ",
"@alaradirik @NielsRogge what's weird is `post_process_semantic_segmentation` works as expects but not `post_process_instance_segmentation`\r\n\r\n```\r\nresults = processor.post_process_semantic_segmentation(outputs, target_sizes=[(1000, 1000), (1000, 1000)] )\r\nresults[0]['segmentation'].cpu... | 1,674 | 1,680 | 1,680 | NONE | null | ### System Info
```
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
import transformers
transformers.__version__
'4.25.1'
```
### Who can help?
```
results = processor.post_process_instance_segmentation(outputs, target_sizes=[(1000, 1000), (1000, 1000)] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21313/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21312/comments | https://api.github.com/repos/huggingface/transformers/issues/21312/events | https://github.com/huggingface/transformers/pull/21312 | 1,557,651,714 | PR_kwDOCUB6oc5IkMyx | 21,312 | [pure bf16 training] w/ `AnyPrecisionAdamW` and Kahan summation | {
"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... | [
{
"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_21312). All of your documentation changes will be reflected on that endpoint."
] | 1,674 | 1,677 | null | CONTRIBUTOR | null | This PR was prompted by [this discussion](https://github.com/pytorch/torchdistx/pull/52#discussion_r1082027732) with @lessw2020.
The PR works, just keeping it as Draft for now as I haven't polished it to be ready for merging.
# How to perform pure bf16 training (not mixed) running with `AnyPrecisionAdamW` also i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21312/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21312",
"html_url": "https://github.com/huggingface/transformers/pull/21312",
"diff_url": "https://github.com/huggingface/transformers/pull/21312.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21312.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21311/comments | https://api.github.com/repos/huggingface/transformers/issues/21311/events | https://github.com/huggingface/transformers/issues/21311 | 1,557,415,991 | I_kwDOCUB6oc5c1Eg3 | 21,311 | [WHISPER] Add language to whisper output | {
"login": "altryne",
"id": 463317,
"node_id": "MDQ6VXNlcjQ2MzMxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/463317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/altryne",
"html_url": "https://github.com/altryne",
"followers_url": "https://api.github.com/users/altryne/fo... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"We'll be adding a `tokenizer_kwargs`, to allow the `skip_special_tokens` to be overwritten. This should allow you to do something like \r\n```\r\n>>> out = pipeline(..., tokenizer_kwargs={\"skip_special_tokens\": False}, return_timestamps=True, max_length = 2)\r\n\"<startoftranscript><en>\"\r\n```\r\nThen either y... | 1,674 | 1,677 | 1,677 | CONTRIBUTOR | null | ### Feature request
Adding the translated language in whisper output, in addition to currently returned `text` and `chunks`
Whisper outputs language tag and for autodetection is important to have this feature as some use-cases don't know the language of the translation.
### Motivation
One example usage is, f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21311/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/21311/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21310/comments | https://api.github.com/repos/huggingface/transformers/issues/21310/events | https://github.com/huggingface/transformers/pull/21310 | 1,557,396,583 | PR_kwDOCUB6oc5IjXPY | 21,310 | Update Hebrew language code to he per IANA registry | {
"login": "altryne",
"id": 463317,
"node_id": "MDQ6VXNlcjQ2MzMxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/463317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/altryne",
"html_url": "https://github.com/altryne",
"followers_url": "https://api.github.com/users/altryne/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Cool! thanks for this, it would be best to also update the models online wdyt @sanchit-gandhi ",
"Funny bug that happens now, I cannot process hebrew. \r\n\r\nI use original whisper to detect language (because #21311 is not fixed y... | 1,674 | 1,675 | 1,674 | CONTRIBUTOR | null | Here's my original PR into whisper that changes the same: https://github.com/openai/whisper/pull/401
# What does this PR do?
Changes the language code for the Hebrew language from `iw` to `he`
Per [IANA registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry), `iw` was depr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21310/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21310",
"html_url": "https://github.com/huggingface/transformers/pull/21310",
"diff_url": "https://github.com/huggingface/transformers/pull/21310.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21310.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21309/comments | https://api.github.com/repos/huggingface/transformers/issues/21309/events | https://github.com/huggingface/transformers/issues/21309 | 1,557,300,564 | I_kwDOCUB6oc5c0oVU | 21,309 | Documentation example error for Train a TensorFlow model with Keras | {
"login": "lexipalmer13",
"id": 56708031,
"node_id": "MDQ6VXNlcjU2NzA4MDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/56708031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lexipalmer13",
"html_url": "https://github.com/lexipalmer13",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"Hi @lexipalmer13 - that code runs fine for me locally, but we did have a lot of compatibility issues with TF 2.11. Version 4.26, which we released two days ago, should fix those issues. Can you try running `pip install --upgrade transformers` to see if it works for you with the newest versi... | 1,674 | 1,675 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: macOS-13.1-arm64-arm-64bit
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21309/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21308/comments | https://api.github.com/repos/huggingface/transformers/issues/21308/events | https://github.com/huggingface/transformers/pull/21308 | 1,557,143,656 | PR_kwDOCUB6oc5Iigmr | 21,308 | Small fix to ExponentialDecayLengthPenalty docstring | {
"login": "njhill",
"id": 16958488,
"node_id": "MDQ6VXNlcjE2OTU4NDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/16958488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/njhill",
"html_url": "https://github.com/njhill",
"followers_url": "https://api.github.com/users/njhill/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | ## What does this PR do?
Currently, the `ExponentialDecayLengthPenalty` doc string incorrectly states that its `exponential_decay_length_penalty` tuple parameter is optional.
Also changed the corresponding type hint to be more specific.
## Before submitting
- [x] This PR fixes a typo or improves the docs (y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21308/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21308",
"html_url": "https://github.com/huggingface/transformers/pull/21308",
"diff_url": "https://github.com/huggingface/transformers/pull/21308.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21308.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21307/comments | https://api.github.com/repos/huggingface/transformers/issues/21307/events | https://github.com/huggingface/transformers/pull/21307 | 1,557,046,298 | PR_kwDOCUB6oc5IiLsJ | 21,307 | [WHISPER] Small patch | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
A small nit might be causing fails in the CI. This will patch it | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21307/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21307",
"html_url": "https://github.com/huggingface/transformers/pull/21307",
"diff_url": "https://github.com/huggingface/transformers/pull/21307.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21307.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21306/comments | https://api.github.com/repos/huggingface/transformers/issues/21306/events | https://github.com/huggingface/transformers/issues/21306 | 1,557,023,896 | I_kwDOCUB6oc5czkyY | 21,306 | Conversion Script Tatoeba | {
"login": "hthanhbmt",
"id": 7088460,
"node_id": "MDQ6VXNlcjcwODg0NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7088460?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hthanhbmt",
"html_url": "https://github.com/hthanhbmt",
"followers_url": "https://api.github.com/users/ht... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"I'll have a look thanks for reporting",
"Sorry, but it seems that all the formats are messed up w.r.t. the old scripts. These are not maintained and thus we don't plan on fixing this. If you want to however, feel free to contribute!"
] | 1,674 | 1,681 | 1,681 | NONE | null | ### System Info
I follow this guide https://github.com/huggingface/transformers/tree/main/scripts/tatoeba to convert models from Tatoeba Translation Challenge to Huggingface but when I ran
`python3 src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py --models kor-eng --save_dir converted`
it returns... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21306/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21305/comments | https://api.github.com/repos/huggingface/transformers/issues/21305/events | https://github.com/huggingface/transformers/issues/21305 | 1,556,956,844 | I_kwDOCUB6oc5czUas | 21,305 | [`Blenderbot`] Discrepancy between `BlenderbotTokenizer` and `BlenderbotTokenizerFast` | {
"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 | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hi @younesbelkada \r\n\r\nIt would be nice if you also show `inputs ` and `inputs_fast` (we can definitely check ourselves), or mention if this is the same or not :-)",
"Thanks a lot! I have updated the description with more details ",
"I'll have a look but the fact that the second scripts works well is alread... | 1,674 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
`main` branch
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21305/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/21305/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21304/comments | https://api.github.com/repos/huggingface/transformers/issues/21304/events | https://github.com/huggingface/transformers/pull/21304 | 1,556,934,370 | PR_kwDOCUB6oc5Ihzne | 21,304 | Use `model_class.__name__` and compare against `XXX_MAPPING_NAMES` | {
"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._",
"@sgugger Is this kind of change OK for you ..? If so, I will apply the same change to other places.",
"The 2 failed tests are known to be flaky (for now) - Merge the PR without re-runing CI."
] | 1,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
Currently, in `tests/test_modeling_common.py`, there are a lot of condition like
```python
if model_class in get_values(MODEL_MAPPING)
```
which implies in order to get this information, all models must be able to be imported, or rely on some of our mechanism to make sure the execution wo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21304/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21304",
"html_url": "https://github.com/huggingface/transformers/pull/21304",
"diff_url": "https://github.com/huggingface/transformers/pull/21304.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21304.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21303/comments | https://api.github.com/repos/huggingface/transformers/issues/21303/events | https://github.com/huggingface/transformers/issues/21303 | 1,556,908,233 | I_kwDOCUB6oc5czIjJ | 21,303 | Image Classification Pipeline returns score= 1.0 | {
"login": "guillaumeguy",
"id": 5290678,
"node_id": "MDQ6VXNlcjUyOTA2Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5290678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaumeguy",
"html_url": "https://github.com/guillaumeguy",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"There is no pipeline available for regression tasks, you need to use the model directly and takes its outputs.",
"Thanks @sgugger! Super fast answer! \r\n\r\nAs I found the pipelines to be very helpful, I'm sharing my solution below for folks that want to still use them. \r\n\r\nOne can just rewrite the function... | 1,674 | 1,675 | 1,675 | NONE | null | ### System Info
Vision Transformers Documentation mentions that they do support regression when num_labels == 1. However, it seems incompatible with Pipeline.
In this code, the logits are normalized into scores. However, when num_labels = 1, it effectively turns the score to `1`.
https://github.com/huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21302/comments | https://api.github.com/repos/huggingface/transformers/issues/21302/events | https://github.com/huggingface/transformers/pull/21302 | 1,556,905,509 | PR_kwDOCUB6oc5IhtQ4 | 21,302 | Documentation code sample fixes | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,674 | 1,676 | 1,674 | CONTRIBUTOR | null | Several code examples in the docs will fail if used as is. In many cases, it's a missing dependency, other times, this is due to naming inconsistency, one may be related to a change in API, and a few are due to the execution order (i.e., things used before defined in a tutorial).
This maintenance PR fixes these issue... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21302",
"html_url": "https://github.com/huggingface/transformers/pull/21302",
"diff_url": "https://github.com/huggingface/transformers/pull/21302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21302.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21301/comments | https://api.github.com/repos/huggingface/transformers/issues/21301/events | https://github.com/huggingface/transformers/pull/21301 | 1,556,865,815 | PR_kwDOCUB6oc5Ihkqe | 21,301 | Fix TF `generate` (probably) | {
"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 | [] | [
"@ArthurZucker The PR #20944 failed the test\r\n```bash\r\ntests/models/encoder_decoder/test_modeling_tf_encoder_decoder.py::TFBertEncoderDecoderModelTest::test_bert2bert_summarization\r\n```\r\nwhile one commit before `7cb596fa` works well - assuming the changes in this PR is applied.\r\n\r\nWith #20944, the outpu... | 1,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
We have CI failures for `TFBertEncoderDecoderModelTest.test_bert2bert_summarization` and `TFGPT2EncoderDecoderModelTest.test_bert2gpt2_summarization`.
The error message is
```bash
> if generation_config.min_length is not None and generation_config.min_length > generation_config... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21301/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21301",
"html_url": "https://github.com/huggingface/transformers/pull/21301",
"diff_url": "https://github.com/huggingface/transformers/pull/21301.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21301.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21300/comments | https://api.github.com/repos/huggingface/transformers/issues/21300/events | https://github.com/huggingface/transformers/issues/21300 | 1,556,831,172 | I_kwDOCUB6oc5cy1vE | 21,300 | Adding NLLB-200 - MoE - 54.5B for no language left behind | {
"login": "PierreColombo",
"id": 22492839,
"node_id": "MDQ6VXNlcjIyNDkyODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/22492839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PierreColombo",
"html_url": "https://github.com/PierreColombo",
"followers_url": "https://api.githu... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"WDYT @ArthurZucker @younesbelkada given your work on MoEs?",
"Sure, we can add this to the to dos, @PierreColombo could you add the link to the open sourced checkpoints? ",
"Hi Thanks for your positive answer.\r\n\r\nCode is here: https://github.com/facebookresearch/fairseq/tree/nllb\r\n\r\nCheckpoints are her... | 1,674 | 1,679 | 1,679 | NONE | null | ### System Info
Hello @LysandreJik,
Thanks a lot for your work on no language left behind.
Is there any plan to add the 54.4B Model?
Kindest regards
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21300/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/21300/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21299/comments | https://api.github.com/repos/huggingface/transformers/issues/21299/events | https://github.com/huggingface/transformers/pull/21299 | 1,556,684,892 | PR_kwDOCUB6oc5Ig97x | 21,299 | [Hubert] Fix Hubert processing auto | {
"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._",
"Thanks!"
] | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Currently on the `main` branch, the scripts provided on the docstring of `Hubert` fails:
```
from transformers import AutoProcessor, HubertModel
from datasets import load_dataset
import soundfile as sf
processor = AutoProcessor.from_pretrained("facebook/hubert-large-ls960-ft")
model =... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21299/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21299",
"html_url": "https://github.com/huggingface/transformers/pull/21299",
"diff_url": "https://github.com/huggingface/transformers/pull/21299.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21299.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21298/comments | https://api.github.com/repos/huggingface/transformers/issues/21298/events | https://github.com/huggingface/transformers/pull/21298 | 1,556,581,086 | PR_kwDOCUB6oc5Ignlm | 21,298 | [Whisper] Add SpecAugment | {
"login": "bofenghuang",
"id": 38185248,
"node_id": "MDQ6VXNlcjM4MTg1MjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bofenghuang",
"html_url": "https://github.com/bofenghuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks very nice now that everything's living in the modelling file! Great that you've leveraged very closely from Wav2Vec2 as well. \r\n\r\nI see the problem that you're currently working around with the padded audio inputs! Here you... | 1,674 | 1,678 | 1,677 | 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/21298/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/21298/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21298",
"html_url": "https://github.com/huggingface/transformers/pull/21298",
"diff_url": "https://github.com/huggingface/transformers/pull/21298.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21298.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21297/comments | https://api.github.com/repos/huggingface/transformers/issues/21297/events | https://github.com/huggingface/transformers/pull/21297 | 1,556,574,278 | PR_kwDOCUB6oc5IgmH2 | 21,297 | [Doctest] Fix `Blenderbot` doctest | {
"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._",
"Actually, as discussed with @ydshieh offline, there seems to be a discrepency between `BlenderbotTokenizer` & `BlenderbotTokenizerFast`. \r\nThe PR #21225 changed the docstring to use `AutoTokenizer` instead of `BlenderbotTokenizer`.... | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the doctest `transformers.models.blenderbot.modeling_blenderbot.BlenderbotForConditionalGeneration.forward` . Link to failing job is here: https://github.com/huggingface/transformers/actions/runs/4002271138/jobs/6869333719
Updating the prediction with the correct result seem... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21297/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21297",
"html_url": "https://github.com/huggingface/transformers/pull/21297",
"diff_url": "https://github.com/huggingface/transformers/pull/21297.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21297.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21296/comments | https://api.github.com/repos/huggingface/transformers/issues/21296/events | https://github.com/huggingface/transformers/pull/21296 | 1,556,566,641 | PR_kwDOCUB6oc5IgkgD | 21,296 | [CI-Daily] replace `past` in prepare inputs for generation | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
This will fix the failing test. It is a little nit, that escaped during #20944
cc @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21296/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21296",
"html_url": "https://github.com/huggingface/transformers/pull/21296",
"diff_url": "https://github.com/huggingface/transformers/pull/21296.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21296.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21295/comments | https://api.github.com/repos/huggingface/transformers/issues/21295/events | https://github.com/huggingface/transformers/pull/21295 | 1,556,380,406 | PR_kwDOCUB6oc5If73q | 21,295 | Update `OneFormerModelIntegrationTest` 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._"
] | 1,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
The test failures are likely a hardware/environment difference between the contributor and our CI runners. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21295/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21295",
"html_url": "https://github.com/huggingface/transformers/pull/21295",
"diff_url": "https://github.com/huggingface/transformers/pull/21295.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21295.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21294/comments | https://api.github.com/repos/huggingface/transformers/issues/21294/events | https://github.com/huggingface/transformers/pull/21294 | 1,556,331,725 | PR_kwDOCUB6oc5IfxOc | 21,294 | Fix `EfficientFormer` | {
"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,674 | 1,674 | 1,674 | COLLABORATOR | null | # What does this PR do?
Fix `EfficientFormer`:
- correct checkpoints
- fix an device issue regarding `EfficientFormerSelfAttention.ab`, see [failed job run page](https://github.com/huggingface/transformers/actions/runs/3992425421/jobs/6848316487)
The error:
```bash
(line 136) RuntimeError: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21294/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21294",
"html_url": "https://github.com/huggingface/transformers/pull/21294",
"diff_url": "https://github.com/huggingface/transformers/pull/21294.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21294.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21293/comments | https://api.github.com/repos/huggingface/transformers/issues/21293/events | https://github.com/huggingface/transformers/issues/21293 | 1,556,319,468 | I_kwDOCUB6oc5cw4zs | 21,293 | from transformers import T5Model -> No module named 'torch._C' | {
"login": "ndvbd",
"id": 845175,
"node_id": "MDQ6VXNlcjg0NTE3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/845175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ndvbd",
"html_url": "https://github.com/ndvbd",
"followers_url": "https://api.github.com/users/ndvbd/followers"... | [] | closed | false | null | [] | [
"Solved it by:\r\n\r\n```\r\npip3 uninstall torch\r\npip3 install torch\r\n\r\n```\r\nVery weird."
] | 1,674 | 1,674 | 1,674 | NONE | null | ### System Info
Prompt says to use "transformers-cli env", but it's not clear where is the documentation for installing transformers-cli on Ubuntu...
python version: 3.10.6
system: ubuntu 20 (no gpu, laptop)
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modifie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21293/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21292 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21292/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21292/comments | https://api.github.com/repos/huggingface/transformers/issues/21292/events | https://github.com/huggingface/transformers/pull/21292 | 1,556,303,812 | PR_kwDOCUB6oc5IfrQb | 21,292 | Moving to cleaner tokenizer version or `oneformer`. | {
"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,674 | 1,674 | 1,674 | CONTRIBUTOR | null | # What does this PR do?
Enables `oneformer` models on `image-segmentation` pipeline.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21292/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21292",
"html_url": "https://github.com/huggingface/transformers/pull/21292",
"diff_url": "https://github.com/huggingface/transformers/pull/21292.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21292.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21291/comments | https://api.github.com/repos/huggingface/transformers/issues/21291/events | https://github.com/huggingface/transformers/pull/21291 | 1,555,912,805 | PR_kwDOCUB6oc5IeZ4u | 21,291 | add GPTSAN model (reopen) | {
"login": "tanreinama",
"id": 51933889,
"node_id": "MDQ6VXNlcjUxOTMzODg5",
"avatar_url": "https://avatars.githubusercontent.com/u/51933889?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanreinama",
"html_url": "https://github.com/tanreinama",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"oh... I still get an error that I don't understand. Do you know what is wrong? I pulled and merged from the latest main.",
"I will sync and pull main again.",
"Do you want a review? ",
"@ArthurZucker \r\nyes. this is ok.",
"@... | 1,674 | 1,676 | 1,676 | CONTRIBUTOR | null | # Model description
**Before PR was automatically closed as a result of sync and pull, so it will be reopened.**
GPTSAN is a Japanese language model using Switch Transformer. It has the same structure as the model introduced as Prefix LM in the T5 paper, and works with both Test Generation and Masked Language Mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21291/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21291/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21291",
"html_url": "https://github.com/huggingface/transformers/pull/21291",
"diff_url": "https://github.com/huggingface/transformers/pull/21291.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21291.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21290/comments | https://api.github.com/repos/huggingface/transformers/issues/21290/events | https://github.com/huggingface/transformers/pull/21290 | 1,555,713,297 | PR_kwDOCUB6oc5Idul_ | 21,290 | [`bnb`] Fine-tuning HF 8-bit models | {
"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._",
"As the training support has just been added in `bitsandbytes==0.37.0` I proposed new changes, I also added new tests\r\nThis PR is now ready for review"
] | 1,674 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
This PR attempts to add the official support of fine-tuning 8-bit models using `transformers`, `bitsandbytes` and adaptors (such as LoRA), supported by `peft`.
With this PR, it will be possible to fine-tune large models with no cost, for e.g. it will be possible to fine-tune `opt-6.7b` in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21290/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21290/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21290",
"html_url": "https://github.com/huggingface/transformers/pull/21290",
"diff_url": "https://github.com/huggingface/transformers/pull/21290.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21290.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21289/comments | https://api.github.com/repos/huggingface/transformers/issues/21289/events | https://github.com/huggingface/transformers/issues/21289 | 1,555,636,135 | I_kwDOCUB6oc5cuR-n | 21,289 | convert fast tokenizers to slow | {
"login": "ahmedlone127",
"id": 66001253,
"node_id": "MDQ6VXNlcjY2MDAxMjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/66001253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedlone127",
"html_url": "https://github.com/ahmedlone127",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I don't think it's possible to get the sentencepiece model from the `tokenizer.json` file but maybe @Narsil knows a way.",
"hey @Narsil can you please give some insight on this?",
"You could try and create inverse scripts for the conversion you found. But it's not going to be trivial.\n\n\nYou need to create ... | 1,674 | 1,701 | 1,677 | NONE | null | ### Feature request
Recently noticed that the models being uploaded now are only their fast versions and the sentencepeice model (that's included in the slow version) is missing. I need the sentence peice model of some tokenizers for a personal project and wanted to know what's the best way to go about that. After I l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21289/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21289/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21288/comments | https://api.github.com/repos/huggingface/transformers/issues/21288/events | https://github.com/huggingface/transformers/pull/21288 | 1,555,518,339 | PR_kwDOCUB6oc5IdEGz | 21,288 | Fix `TrainingArguments.label_names` docs to reflect the correct default value behaviour | {
"login": "fredtcaroli",
"id": 7407656,
"node_id": "MDQ6VXNlcjc0MDc2NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7407656?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fredtcaroli",
"html_url": "https://github.com/fredtcaroli",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This was never flagged as a breaking change (indeed I only found this because it broke one of my scripts). I wonder if I should add \"🚨 🚨 🚨\" to the PR name to indicate a breaking change",
"The breaking change is in the PR that ... | 1,674 | 1,674 | 1,674 | CONTRIBUTOR | null | Fixes #21287
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21288/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21288",
"html_url": "https://github.com/huggingface/transformers/pull/21288",
"diff_url": "https://github.com/huggingface/transformers/pull/21288.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21288.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21287/comments | https://api.github.com/repos/huggingface/transformers/issues/21287/events | https://github.com/huggingface/transformers/issues/21287 | 1,555,470,283 | I_kwDOCUB6oc5ctpfL | 21,287 | [docs] TrainingArguments default label_names is not what is described in the documentation | {
"login": "fredsensibill",
"id": 77297340,
"node_id": "MDQ6VXNlcjc3Mjk3MzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/77297340?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fredsensibill",
"html_url": "https://github.com/fredsensibill",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Indeed. Do you want to open a PR to fix the documentation?"
] | 1,674 | 1,674 | 1,674 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: macOS-12.6.1-arm64-arm-64bit
- Python version: 3.8.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1 (False)
- 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/21287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21287/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.