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/21487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21487/comments | https://api.github.com/repos/huggingface/transformers/issues/21487/events | https://github.com/huggingface/transformers/pull/21487 | 1,573,922,802 | PR_kwDOCUB6oc5JaRLJ | 21,487 | [`Doc`] Fix int8 docs | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Since the `0.37.0` release of `bitsandbytes`, all GPUs architectures should support int8 matrix multiplication. This PR clarifies this on the documentation
cc @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21487",
"html_url": "https://github.com/huggingface/transformers/pull/21487",
"diff_url": "https://github.com/huggingface/transformers/pull/21487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21487.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21486/comments | https://api.github.com/repos/huggingface/transformers/issues/21486/events | https://github.com/huggingface/transformers/pull/21486 | 1,573,891,655 | PR_kwDOCUB6oc5JaKlq | 21,486 | [Tests] Improve flax test_attention_outputs | {
"login": "Shubhamai",
"id": 51819922,
"node_id": "MDQ6VXNlcjUxODE5OTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/51819922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shubhamai",
"html_url": "https://github.com/Shubhamai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
A copy of https://github.com/huggingface/transformers/pull/20701 by [NielsRogge](https://github.com/NielsRogge) for making corresponding changes in flax. These changes are also necessary for passing tests in [flax convnext implementation PR](https://github.com/huggingface/transformers/pull/21... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21486/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21486",
"html_url": "https://github.com/huggingface/transformers/pull/21486",
"diff_url": "https://github.com/huggingface/transformers/pull/21486.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21486.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21485/comments | https://api.github.com/repos/huggingface/transformers/issues/21485/events | https://github.com/huggingface/transformers/pull/21485 | 1,573,890,709 | PR_kwDOCUB6oc5JaKag | 21,485 | Convnext flax | {
"login": "Shubhamai",
"id": 51819922,
"node_id": "MDQ6VXNlcjUxODE5OTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/51819922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shubhamai",
"html_url": "https://github.com/Shubhamai",
"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_21485). All of your documentation changes will be reflected on that endpoint.",
"@sanchit-gandhi this PR is also ready for your review in case it was missed. And again, thank you so much for taking the time to review the PR... | 1,675 | 1,686 | 1,686 | CONTRIBUTOR | null | # Flax Implementation of `facebook/convnext-tiny-224`
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21485",
"html_url": "https://github.com/huggingface/transformers/pull/21485",
"diff_url": "https://github.com/huggingface/transformers/pull/21485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21485.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21484/comments | https://api.github.com/repos/huggingface/transformers/issues/21484/events | https://github.com/huggingface/transformers/issues/21484 | 1,573,538,960 | I_kwDOCUB6oc5dykyQ | 21,484 | Add/fix documentation around VideoMAEForPretraining's `bool_masked_pos` argument | {
"login": "nateraw",
"id": 32437151,
"node_id": "MDQ6VXNlcjMyNDM3MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nateraw",
"html_url": "https://github.com/nateraw",
"followers_url": "https://api.github.com/users/natera... | [] | closed | false | null | [] | [
"Thanks for raising this issue!\r\n\r\nVideoMAE indeed uses the same mask ratio (number of masked patches) per video to make batching possible. See [this class](https://github.com/MCG-NJU/VideoMAE/blob/main/masking_generator.py) which the authors use to generate boolean masks.\r\n\r\nIn the tests, I just define the... | 1,675 | 1,679 | 1,679 | CONTRIBUTOR | null | ### System Info
N/A
### Who can help?
@NielsRogge @amyeroberts
### 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/21484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21483/comments | https://api.github.com/repos/huggingface/transformers/issues/21483/events | https://github.com/huggingface/transformers/pull/21483 | 1,573,488,369 | PR_kwDOCUB6oc5JY1cN | 21,483 | [tokenizer] sanitize saved config | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | this PR fixes tokenizer's `save_pretrained` to remove the `name_or_path` entry from `tokenizer_config.json` because:
1. it usually contains the local path that was used to save the model, which is not only invalid once published on the hub, it could potentially reveal some personal information.
2. it is not used anyw... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21483/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21483",
"html_url": "https://github.com/huggingface/transformers/pull/21483",
"diff_url": "https://github.com/huggingface/transformers/pull/21483.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21483.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21482/comments | https://api.github.com/repos/huggingface/transformers/issues/21482/events | https://github.com/huggingface/transformers/issues/21482 | 1,573,418,145 | I_kwDOCUB6oc5dyHSh | 21,482 | Running Trainer.train() with deepspeed throws OSError: handle is closed error when saving checkpoint | {
"login": "benproton",
"id": 35586465,
"node_id": "MDQ6VXNlcjM1NTg2NDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/35586465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benproton",
"html_url": "https://github.com/benproton",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"thank you for the detailed report, @benproton \r\n\r\nAs you may have derived from the traceback this has nothing to do with deepspeed\r\n\r\nYou have an issue inside `wandb`, which is a 3rd party package, you can either remove it:\r\n\r\n```\r\npip uninstall wandb\r\n```\r\n\r\nor a better long term solution - in... | 1,675 | 1,676 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.12.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21481/comments | https://api.github.com/repos/huggingface/transformers/issues/21481/events | https://github.com/huggingface/transformers/pull/21481 | 1,573,367,022 | PR_kwDOCUB6oc5JYbAC | 21,481 | Bump oauthlib from 3.2.1 to 3.2.2 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | Bumps [oauthlib](https://github.com/oauthlib/oauthlib) from 3.2.1 to 3.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oauthlib/oauthlib/releases">oauthlib's releases</a>.</em></p>
<blockquote>
<h2>3.2.2</h2>
<h2>OAuth2.0 Provider:</h2>
<ul>
<li>CVE-2022-36087</li>
</ul>
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21481",
"html_url": "https://github.com/huggingface/transformers/pull/21481",
"diff_url": "https://github.com/huggingface/transformers/pull/21481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21481.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21480/comments | https://api.github.com/repos/huggingface/transformers/issues/21480/events | https://github.com/huggingface/transformers/pull/21480 | 1,573,172,316 | PR_kwDOCUB6oc5JXwJ4 | 21,480 | Update quality tooling for formatting | {
"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?
This updates the quality tools for 2023. Mainly:
- use black 23
- replace isort and flake8 by ruff, which is faster and merges imports contrarily to isort
- change a few rules in the isorting | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21480/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21480",
"html_url": "https://github.com/huggingface/transformers/pull/21480",
"diff_url": "https://github.com/huggingface/transformers/pull/21480.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21480.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21479/comments | https://api.github.com/repos/huggingface/transformers/issues/21479/events | https://github.com/huggingface/transformers/pull/21479 | 1,573,171,214 | PR_kwDOCUB6oc5JXv6u | 21,479 | [`pipeline`] A simple fix for half-precision & 8bit 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._",
"Thanks for the well thought out issue and proposed fix. \n\nI don't particularly like the fix because it depends on some weird internal and still forces users to use `device_map` and `device` iiuc.\n\nCouldn't we just use `device_map... | 1,675 | 1,677 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Currently on the `main` branch of `transformers` if a user wants to run a `pipeline` using large models (thus, ideally loaded with `device_map=...`) and in half precision (or in int8), they may encounter some issues when calling `pipeline` with `top_p` & `top_k` sampling:
```bash
RuntimeErr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21479/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/21479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21479",
"html_url": "https://github.com/huggingface/transformers/pull/21479",
"diff_url": "https://github.com/huggingface/transformers/pull/21479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21479.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21478/comments | https://api.github.com/repos/huggingface/transformers/issues/21478/events | https://github.com/huggingface/transformers/pull/21478 | 1,573,161,886 | PR_kwDOCUB6oc5JXt6N | 21,478 | Fix epoch number when resuming training | {
"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 @stas00 pointed out in #21390, the epoch number reported after skipping some batches in a training resumed was wrong. This PR fixes it and adds a test. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21478/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/21478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21478",
"html_url": "https://github.com/huggingface/transformers/pull/21478",
"diff_url": "https://github.com/huggingface/transformers/pull/21478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21478.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21477/comments | https://api.github.com/repos/huggingface/transformers/issues/21477/events | https://github.com/huggingface/transformers/pull/21477 | 1,572,984,556 | PR_kwDOCUB6oc5JXH2I | 21,477 | OPT: BLIP2-ready `prepare_inputs_for_generation` | {
"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 @NielsRogge ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
This PR makes 2 changes to OPT's `prepare_inputs_for_generation`:
1. Adds the possibility of passing `inputs_embeds`
2. Removes the case when `attantion_mask is None`: a) it is redundant, the base case of inferring an attention mask with all ones is also in the model itself [here](https://g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21477/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/21477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21477",
"html_url": "https://github.com/huggingface/transformers/pull/21477",
"diff_url": "https://github.com/huggingface/transformers/pull/21477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21476/comments | https://api.github.com/repos/huggingface/transformers/issues/21476/events | https://github.com/huggingface/transformers/pull/21476 | 1,572,931,424 | PR_kwDOCUB6oc5JW8Sq | 21,476 | [`BLIP`] update blip path on slow tests | {
"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._",
"Can you add it to hf-internal-testing instead? Might be better there. Happy to merge any PR or approve your demand to join ;-)",
"Thanks for adding! I've transferred it :) ",
"@sgugger , I think that we can merge this! 🙏 "
] | 1,675 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
This PR updates the path to the image we use for running BLIP slow tests - as pointed out by @NielsRogge better to upload these images on the Hub in case they get removed from the original place
Happy also to move the Hub repo on `hf-internal-testing` but I am not a member of the org
Also... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21476",
"html_url": "https://github.com/huggingface/transformers/pull/21476",
"diff_url": "https://github.com/huggingface/transformers/pull/21476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21476.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21475/comments | https://api.github.com/repos/huggingface/transformers/issues/21475/events | https://github.com/huggingface/transformers/pull/21475 | 1,572,900,045 | PR_kwDOCUB6oc5JW1mo | 21,475 | Generate: TF can now generate from embeddings in encoder-decoder models | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(merging -- the failing test, `test_from_pretrained_dynamic_model_distant` is a known flaky)"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
TF generation test addition PR 2 (out of ???).
In an effort to move generation integration tests to be framework-agnostic, I'll be adding low-hanging fruit to TF. This PR brings the ability to generate from input embeddings, with encoder-decoder models (or, more specifically, from non-inpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21475",
"html_url": "https://github.com/huggingface/transformers/pull/21475",
"diff_url": "https://github.com/huggingface/transformers/pull/21475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21475.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21474/comments | https://api.github.com/repos/huggingface/transformers/issues/21474/events | https://github.com/huggingface/transformers/pull/21474 | 1,572,720,342 | PR_kwDOCUB6oc5JWPB7 | 21,474 | Generate: TF `.generate()` can now be exported with dynamic length | {
"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,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
As requested by @mfuntowicz, makes TF `.generate()` exportable with dynamic input length 🔥 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21474/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/21474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21474",
"html_url": "https://github.com/huggingface/transformers/pull/21474",
"diff_url": "https://github.com/huggingface/transformers/pull/21474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21474.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21473/comments | https://api.github.com/repos/huggingface/transformers/issues/21473/events | https://github.com/huggingface/transformers/pull/21473 | 1,572,567,002 | PR_kwDOCUB6oc5JVtxr | 21,473 | Removing `more_itertools` dependency. | {
"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._",
"I don't think the failure is linked in any way to this PR, is it ?"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Removes `more_itertools` optional dependency.
Fixes #20508
<!--
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 ext... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21473/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21473",
"html_url": "https://github.com/huggingface/transformers/pull/21473",
"diff_url": "https://github.com/huggingface/transformers/pull/21473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21473.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21472/comments | https://api.github.com/repos/huggingface/transformers/issues/21472/events | https://github.com/huggingface/transformers/pull/21472 | 1,572,544,463 | PR_kwDOCUB6oc5JVo2c | 21,472 | Resnet flax | {
"login": "Shubhamai",
"id": 51819922,
"node_id": "MDQ6VXNlcjUxODE5OTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/51819922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shubhamai",
"html_url": "https://github.com/Shubhamai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Very cool! Sorry to only reply here now - looks like you've made a really solid start to this PR! Let's get the Batch Norm PR merged ASAP and then go full send on Flax ResNet! 🚀\r\n\r\nFeel free to ping me with any questions / queri... | 1,675 | 1,679 | 1,679 | CONTRIBUTOR | null | # Flax Implementation of `microsoft/resnet-50`
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21472",
"html_url": "https://github.com/huggingface/transformers/pull/21472",
"diff_url": "https://github.com/huggingface/transformers/pull/21472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21471/comments | https://api.github.com/repos/huggingface/transformers/issues/21471/events | https://github.com/huggingface/transformers/issues/21471 | 1,572,479,213 | I_kwDOCUB6oc5duiDt | 21,471 | Add TF GPTNeoX | {
"login": "JIPHF",
"id": 12882600,
"node_id": "MDQ6VXNlcjEyODgyNjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/12882600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JIPHF",
"html_url": "https://github.com/JIPHF",
"followers_url": "https://api.github.com/users/JIPHF/follow... | [] | closed | false | null | [] | [
"(@Rocketknight1 FYI)",
"@JIPHF If you're happy to make a PR for this, then please do! Let us know if you need any help with that.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease n... | 1,675 | 1,678 | 1,678 | NONE | null | ### Feature request
Add the GPTNeoX model in TensorFlow.
### Motivation
Having GPTNeoX in TensorFlow would benefit the community.
### Your contribution
@gante is it possible to assign this to me? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21471/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21470/comments | https://api.github.com/repos/huggingface/transformers/issues/21470/events | https://github.com/huggingface/transformers/pull/21470 | 1,572,337,077 | PR_kwDOCUB6oc5JU71R | 21,470 | make SpeechT5 doc examples deterministic | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you @hollance . Before I could merge, could you change the docstrings that contain(s)\r\n\r\n```\r\ndataset = load_dataset(...) \r\n```\r\nto \r\n```\r\ndataset = load_dataset(...) # doctest: +IGNORE_RESULT\r\n```\r\n\r\n🙏 T... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Fixes an issue with the doc examples for SpeechT5. Due to the dropout layer being used in inference mode, the predicted sequence length is not always the same, which causes the doc tests to fail. Setting the seed fixes this.
<!--
Congratulations! You've made it this far! You're not quite ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21470",
"html_url": "https://github.com/huggingface/transformers/pull/21470",
"diff_url": "https://github.com/huggingface/transformers/pull/21470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21470.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21469/comments | https://api.github.com/repos/huggingface/transformers/issues/21469/events | https://github.com/huggingface/transformers/issues/21469 | 1,572,307,142 | I_kwDOCUB6oc5dt4DG | 21,469 | ForcedBOSTokenLogitsProcessor take input_ids.shape[-1] as number of generated tokens | {
"login": "Dounm",
"id": 9065640,
"node_id": "MDQ6VXNlcjkwNjU2NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9065640?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dounm",
"html_url": "https://github.com/Dounm",
"followers_url": "https://api.github.com/users/Dounm/follower... | [] | closed | false | null | [] | [
"Hey @Dounm 👋 \r\n\r\n`ForcedBOSTokenLogitsProcessor` is normally used with encoder-decoder models. For those models, when the generation loop begins, it only contains one token per batch/beam by default -- `model.generation_config.decoder_start_token_id ` or `model.generation_config.bos_token_ids`. As such, `Forc... | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
`ForcedBOSTokenLogitsProcessor` enforces the specified token as the first generated token.
In the code below, it takes `input_ids.shape[-1]` as the length of the generated tokens, but as I know, `input_ids.shape[-1]` equals to `prompt_length + generated_length`.
https://github.com/huggingface/trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21468/comments | https://api.github.com/repos/huggingface/transformers/issues/21468/events | https://github.com/huggingface/transformers/issues/21468 | 1,572,286,302 | I_kwDOCUB6oc5dty9e | 21,468 | Error when fine-tuning XLM-RoBERTa base on TF/Keras | {
"login": "scottlin19",
"id": 37428823,
"node_id": "MDQ6VXNlcjM3NDI4ODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/37428823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scottlin19",
"html_url": "https://github.com/scottlin19",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,675 | 1,675 | 1,675 | NONE | null | Hello,
I am trying to finetune XLM-RoBERTa for text classification on tensorflow-keras. I am using the `TFXLMRobertaForSequenceClassification` class for training
I am using google colab GPU for finetuning. Tensoflow version is 2.9.2
en_y_pred = model.predict(en_x_test_in, batch_size=128, verbose=1)
**Invalid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21468/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21467/comments | https://api.github.com/repos/huggingface/transformers/issues/21467/events | https://github.com/huggingface/transformers/issues/21467 | 1,572,135,458 | I_kwDOCUB6oc5dtOIi | 21,467 | Whisper: Decode with condition_on_previous_text=False | {
"login": "m-bain",
"id": 36994049,
"node_id": "MDQ6VXNlcjM2OTk0MDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/36994049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m-bain",
"html_url": "https://github.com/m-bain",
"followers_url": "https://api.github.com/users/m-bain/fo... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi we could add this as a generation config argument, and in the `prepare_inputs_for_generation` can just remove all the input_ids if asked. WDYT? \r\nMy question is more about the usage/quality tradeoff but doesn't seem like something hard to maintain. ",
"Quality is much better without conditio... | 1,675 | 1,704 | 1,689 | CONTRIBUTOR | null | ### Feature request
Whisper speech recognition without conditioning on previous text.
As in https://github.com/openai/whisper/blob/7858aa9c08d98f75575035ecd6481f462d66ca27/whisper/transcribe.py#L278
### Motivation
Whisper implementation is great however conditioning the decoding on previous text can cau... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21466/comments | https://api.github.com/repos/huggingface/transformers/issues/21466/events | https://github.com/huggingface/transformers/issues/21466 | 1,572,074,030 | I_kwDOCUB6oc5ds_Iu | 21,466 | Datasets performance :( | {
"login": "webshared",
"id": 6676463,
"node_id": "MDQ6VXNlcjY2NzY0NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6676463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/webshared",
"html_url": "https://github.com/webshared",
"followers_url": "https://api.github.com/users/we... | [] | closed | false | null | [] | [
"Hi there. Please use the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for bugs and feature requests only. Also make sure to include the code you are running or no one will be able to help.",
"This issue has been automatically marked as stale because it has not had recent ac... | 1,675 | 1,678 | 1,678 | NONE | null | I am using https://huggingface.co/docs/transformers/model_doc/time_series_transformer as an example to setup time series transformers for my use case.
I have modified the training script to just traverse all batches and dump a summary - essentially max and min value of first & last time feature elements for each of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21466/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21465/comments | https://api.github.com/repos/huggingface/transformers/issues/21465/events | https://github.com/huggingface/transformers/issues/21465 | 1,571,755,774 | I_kwDOCUB6oc5drxb- | 21,465 | Obtaining text embeddings from CLIP | {
"login": "preethiseshadri518",
"id": 60128552,
"node_id": "MDQ6VXNlcjYwMTI4NTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/60128552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/preethiseshadri518",
"html_url": "https://github.com/preethiseshadri518",
"followers_url": "ht... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nYou can use both as text embeddings.\r\n\r\nThe former (`text_embeds`) are embeddings which are in the same embedding space as the image embeddings (so it allows you to compare images and text - which is what people mainly use CLIP for). However if you just want text embeddings, and don't care about ima... | 1,675 | 1,703 | 1,675 | NONE | null | I am trying to obtain text embeddings from CLIP as shown below. However, I am confused about the difference between text_embeds vs. pooler_output, since they output different things. According to the documentation, text_embeds is "the text embeddings obtained by applying the projection layer to the pooler_output", but ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21465/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/21465/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21464/comments | https://api.github.com/repos/huggingface/transformers/issues/21464/events | https://github.com/huggingface/transformers/issues/21464 | 1,571,744,414 | I_kwDOCUB6oc5druqe | 21,464 | How can I fine-tune other languages in trocr? CER over 1 | {
"login": "saeu5407",
"id": 55076217,
"node_id": "MDQ6VXNlcjU1MDc2MjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/55076217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saeu5407",
"html_url": "https://github.com/saeu5407",
"followers_url": "https://api.github.com/users/sae... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nRefer to this thread: https://github.com/huggingface/transformers/issues/18163. Also, please ask such questions on our [forum](https://discuss.huggingface.co/), as we'd like to keep Github issues for bugs/feature requests.\r\n\r\nThanks!"
] | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
I want to do fine-tuning using trocr.
There is a problem that CER exceeds 1.
The correct answer for the dataset is one word, but it seems that the predict value is too long.
What's the problem? Should I implement the new language with the following code?
I've been learning several times, but I'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21464/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21463/comments | https://api.github.com/repos/huggingface/transformers/issues/21463/events | https://github.com/huggingface/transformers/pull/21463 | 1,571,720,648 | PR_kwDOCUB6oc5JS3rt | 21,463 | [examples] improve block_size warning message | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | there is an odd warning inside the examples wrt model_max_length value e.g. in `run_clm.py`
```
01/28/2023 16:03:50 - WARNING - __main__ - The tokenizer picked seems to have a very large `model_max_length`
(1000000000000000019884624838656). Picking 1024 instead. You can change that default value by passing --block_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21463",
"html_url": "https://github.com/huggingface/transformers/pull/21463",
"diff_url": "https://github.com/huggingface/transformers/pull/21463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21462/comments | https://api.github.com/repos/huggingface/transformers/issues/21462/events | https://github.com/huggingface/transformers/issues/21462 | 1,571,597,583 | I_kwDOCUB6oc5drK0P | 21,462 | HubertModel output wrong `last_hidden_state` shape. | {
"login": "celsofranssa",
"id": 11181748,
"node_id": "MDQ6VXNlcjExMTgxNzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11181748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/celsofranssa",
"html_url": "https://github.com/celsofranssa",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @celsofranssa! Really great question! In the HuBERT model, we take an input sequence of raw audio waveforms, _downsample_ them using a series of 1d-convolutional networks, and pass the downsampled hidden-states to a Transformer network.\r\n\r\nIn this case, `sequence_length` is referring to the downsampled seq... | 1,675 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.26.0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.9.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21462/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21461/comments | https://api.github.com/repos/huggingface/transformers/issues/21461/events | https://github.com/huggingface/transformers/pull/21461 | 1,571,595,043 | PR_kwDOCUB6oc5JSfCX | 21,461 | Fix multiple `eos_token_id`s in model.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 documentation is not available anymore as the PR was closed or merged._",
"Hey @tokestermw 👋 \r\n\r\nThank you for spotting the issues and adding a fix! One request, for two reasons: a) thin function wrappers are very undesirable, as they add another abstraction layer b) tensor ops should ideally be done w... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/pull/20727 for using multiple `eos_token_id`s
## Small repro
```python
import math
import torch
unfinished_sequences = torch.tensor([1,1,1])
next_tokens = torch.tensor([797, 641, 98])
unfinished_sequences.mul((math.prod(next_tokens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21461/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21461",
"html_url": "https://github.com/huggingface/transformers/pull/21461",
"diff_url": "https://github.com/huggingface/transformers/pull/21461.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21461.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21460/comments | https://api.github.com/repos/huggingface/transformers/issues/21460/events | https://github.com/huggingface/transformers/pull/21460 | 1,571,567,582 | PR_kwDOCUB6oc5JSZuP | 21,460 | Fix `SpeechT5ForSpeechToSpeechIntegrationTests` 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._",
"Ah yes, nice catch. I don't have merge rights though.\r\n\r\nCould you also fix this in modeling_speecht5? I think that has the same issue. Around line 2871:\r\n\r\n```python\r\n if speaker_embeddings is None:\r\n s... | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Just a torch device issue being ifxed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21460",
"html_url": "https://github.com/huggingface/transformers/pull/21460",
"diff_url": "https://github.com/huggingface/transformers/pull/21460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21460.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21459/comments | https://api.github.com/repos/huggingface/transformers/issues/21459/events | https://github.com/huggingface/transformers/pull/21459 | 1,571,382,057 | PR_kwDOCUB6oc5JR0N9 | 21,459 | adding a tip for deepspeed integration in multi-node environment | {
"login": "izapolsk",
"id": 21039333,
"node_id": "MDQ6VXNlcjIxMDM5MzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/21039333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/izapolsk",
"html_url": "https://github.com/izapolsk",
"followers_url": "https://api.github.com/users/iza... | [] | closed | false | null | [] | [
"@stas00, could you please review ? ^^",
"_The documentation is not available anymore as the PR was closed or merged._",
"Maybe, it's also worth adding `use_node_local_storage: true` when `save_on_each_node=True` and use_node_local_storage isn't defined in deepspeed config file.",
"Great additions, @izapolsk... | 1,675 | 1,676 | 1,676 | CONTRIBUTOR | null | This PR
1. adds a tip for training in multi-node environment with deepspeed w/o shared filesystem
2. automatically configures deepspeed to inject:
```
{
"checkpoint": {
"use_node_local_storage": true
}
}
```
when `--save_on_each_node` is passed.
-------------------
note from @stas00: I took this ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21459/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21459",
"html_url": "https://github.com/huggingface/transformers/pull/21459",
"diff_url": "https://github.com/huggingface/transformers/pull/21459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21459.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21458/comments | https://api.github.com/repos/huggingface/transformers/issues/21458/events | https://github.com/huggingface/transformers/pull/21458 | 1,571,089,662 | PR_kwDOCUB6oc5JRI9v | 21,458 | [i18n-fr] Translate index page to French | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [] | 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?
Translated the `index.mdx` file of the documentation to French.
Part of #21456
Thank you in advance for your review.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor gui... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21458",
"html_url": "https://github.com/huggingface/transformers/pull/21458",
"diff_url": "https://github.com/huggingface/transformers/pull/21458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21458.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21457/comments | https://api.github.com/repos/huggingface/transformers/issues/21457/events | https://github.com/huggingface/transformers/pull/21457 | 1,571,083,479 | PR_kwDOCUB6oc5JRHv7 | 21,457 | Fix `PushToHubCallback` import in Share a model docs | {
"login": "ireneisdoomed",
"id": 45119610,
"node_id": "MDQ6VXNlcjQ1MTE5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/45119610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ireneisdoomed",
"html_url": "https://github.com/ireneisdoomed",
"followers_url": "https://api.githu... | [] | 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?
Fixes a typo in the Share a model docs section. The example to push a Tensorflow model to the Hub used to call the method`PushToHubCallback` from `transformers.keras.callbacks`, resulting in `ImportError`.
This PR corrects that example in all languages so that `PushToHubCallback` is import... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21457/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/21457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21457",
"html_url": "https://github.com/huggingface/transformers/pull/21457",
"diff_url": "https://github.com/huggingface/transformers/pull/21457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21457.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21456/comments | https://api.github.com/repos/huggingface/transformers/issues/21456/events | https://github.com/huggingface/transformers/issues/21456 | 1,570,993,422 | I_kwDOCUB6oc5do3UO | 21,456 | [i18n-fr] Translating docs to fr | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [
{
"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 | [] | [
"Question for @ArthurZucker and/or @sgugger\r\nI am currently translating the autoclass tutorial and am not sure about the best translation for the terms `checkpoint` and `feature`. \r\nThe literal translation would be `point de contrôle` and `caractéristiques` respectively, however, I wonder if they are spot on. S... | 1,675 | 1,704 | null | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the french-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21456/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/21456/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21455/comments | https://api.github.com/repos/huggingface/transformers/issues/21455/events | https://github.com/huggingface/transformers/pull/21455 | 1,570,958,857 | PR_kwDOCUB6oc5JQusw | 21,455 | Fix Whisper Positional Embeddings when using decoder context | {
"login": "andyehrenberg",
"id": 32784181,
"node_id": "MDQ6VXNlcjMyNzg0MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/32784181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andyehrenberg",
"html_url": "https://github.com/andyehrenberg",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21455). All of your documentation changes will be reflected on that endpoint.",
"cc @ArthurZucker ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs... | 1,675 | 1,681 | 1,679 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21455/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/21455/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21455",
"html_url": "https://github.com/huggingface/transformers/pull/21455",
"diff_url": "https://github.com/huggingface/transformers/pull/21455.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21455.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21454/comments | https://api.github.com/repos/huggingface/transformers/issues/21454/events | https://github.com/huggingface/transformers/pull/21454 | 1,570,891,767 | PR_kwDOCUB6oc5JQg-R | 21,454 | Generate: TF can now accept custom logits processors | {
"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,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
TF generation test addition PR 1 (out of ???).
In an effort to move generation integration tests to be framework-agnostic, I'll be adding low-hanging fruit to TF. This PR brings custom logits processors to TF `.generate()`. The code added is almost copy-paste from PT. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21454/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21454",
"html_url": "https://github.com/huggingface/transformers/pull/21454",
"diff_url": "https://github.com/huggingface/transformers/pull/21454.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21454.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21453/comments | https://api.github.com/repos/huggingface/transformers/issues/21453/events | https://github.com/huggingface/transformers/pull/21453 | 1,570,819,288 | PR_kwDOCUB6oc5JQSHy | 21,453 | A new test to check config attributes being used | {
"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 Ready for review - The failing tests will be addressed (by adding specific rules in subclasses) once the PR is approved 🙏 .",
"The report looks like (if unused attributes are detected)\r\n```bash\r\nValueError: The follow... | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Add a new test to check config attributes being used.
For edge cases, I only add rules to 2 files. If the concept is approved, **I will add more to pass CI**, and continue the work of cleaning up in follow-up PR(s). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21453/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21453",
"html_url": "https://github.com/huggingface/transformers/pull/21453",
"diff_url": "https://github.com/huggingface/transformers/pull/21453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21453.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21452/comments | https://api.github.com/repos/huggingface/transformers/issues/21452/events | https://github.com/huggingface/transformers/pull/21452 | 1,570,812,835 | PR_kwDOCUB6oc5JQQ0D | 21,452 | Added documentation for DagsHubCallback | {
"login": "jinensetpal",
"id": 52078103,
"node_id": "MDQ6VXNlcjUyMDc4MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/52078103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jinensetpal",
"html_url": "https://github.com/jinensetpal",
"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 | CONTRIBUTOR | null | # What does this PR do?
Adds documentation for [DagsHubCallback](https://github.com/huggingface/transformers/blob/59d5edef34ae0fa56065a2e863736d4f133c558b/src/transformers/integrations.py#L1054-L1100)!
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21452/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21452",
"html_url": "https://github.com/huggingface/transformers/pull/21452",
"diff_url": "https://github.com/huggingface/transformers/pull/21452.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21452.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21451/comments | https://api.github.com/repos/huggingface/transformers/issues/21451/events | https://github.com/huggingface/transformers/issues/21451 | 1,570,634,852 | I_kwDOCUB6oc5dnfxk | 21,451 | AutomaticSpeechRecognitionPipeline throws dict key error even with the correct keys | {
"login": "dsingal0",
"id": 41652974,
"node_id": "MDQ6VXNlcjQxNjUyOTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/41652974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dsingal0",
"html_url": "https://github.com/dsingal0",
"followers_url": "https://api.github.com/users/dsi... | [] | closed | false | null | [] | [
"cc @Narsil and @sanchit-gandhi ",
"This is just because the `sample` is consumed when passed to the pipeline:\r\n\r\n```python\r\nimport torch\r\nfrom transformers import pipeline\r\nfrom datasets import load_dataset\r\n\r\ndevice = \"cuda:0\" if torch.cuda.is_available() else \"cpu\"\r\n\r\npipe = pipeline(\r\n... | 1,675 | 1,678 | 1,678 | CONTRIBUTOR | null | ValueError: When passing a dictionary to AutomaticSpeechRecognitionPipeline, the dict needs to contain a "raw" key containing the numpy array representing the audio and a "sampling_rate" key, containing the sampling_rate associated with that array
reproduced by using the following code:
```
import torch
from tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21451/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/21451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21450/comments | https://api.github.com/repos/huggingface/transformers/issues/21450/events | https://github.com/huggingface/transformers/pull/21450 | 1,570,545,110 | PR_kwDOCUB6oc5JPXkv | 21,450 | Typos/fixes to link syntax | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I was just checking what that formatting looked like before committing to it!"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | Noticed a couple of small errors and incorrect link syntax in the TPU tutorial, sorry about that! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21450",
"html_url": "https://github.com/huggingface/transformers/pull/21450",
"diff_url": "https://github.com/huggingface/transformers/pull/21450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21450.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21449/comments | https://api.github.com/repos/huggingface/transformers/issues/21449/events | https://github.com/huggingface/transformers/issues/21449 | 1,570,542,005 | I_kwDOCUB6oc5dnJG1 | 21,449 | Longformer FP16 training broken since transformers 4.21 | {
"login": "geniki",
"id": 13801078,
"node_id": "MDQ6VXNlcjEzODAxMDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/13801078?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geniki",
"html_url": "https://github.com/geniki",
"followers_url": "https://api.github.com/users/geniki/fo... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Hi @geniki Thank you for reporting the issue.\r\n\r\n> but the problem should be easy to reproduce with any Longformer + FP16 example\r\n\r\nIt would be really nice if you can provide an example script that could reproduce the issue you reported, especially you mentioned `should be easy to reproduce` 🙏 Looking fo... | 1,675 | 1,678 | 1,678 | NONE | null | ### System Info
transformers 4.20 / transformers 4.21
Ubuntu 20, python 3.8
### Who can help?
@ydshieh
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21448/comments | https://api.github.com/repos/huggingface/transformers/issues/21448/events | https://github.com/huggingface/transformers/pull/21448 | 1,570,454,948 | PR_kwDOCUB6oc5JPDvc | 21,448 | Deprecate parallelize API | {
"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?
This PR deprecates the parallelize API now that the big model API has been tested for a bit. Using `device_map="balanced"` in the call to `from_pretrained` will do the same thing as the API, and it's still possible to pass along a custom `device_map` (although they are not in the same format)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21448/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21448",
"html_url": "https://github.com/huggingface/transformers/pull/21448",
"diff_url": "https://github.com/huggingface/transformers/pull/21448.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21448.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21447/comments | https://api.github.com/repos/huggingface/transformers/issues/21447/events | https://github.com/huggingface/transformers/pull/21447 | 1,570,366,371 | PR_kwDOCUB6oc5JOwHG | 21,447 | For IterableDataset, return DataLoader using self._train_batch_size. … | {
"login": "agossard",
"id": 76619631,
"node_id": "MDQ6VXNlcjc2NjE5NjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/76619631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agossard",
"html_url": "https://github.com/agossard",
"followers_url": "https://api.github.com/users/ago... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | …This is consistent with how we generate a regular DataLoader, and leads to the correct args.per_device_train_batch_size eventually ending up on each GPU.
Fixes # 21444#issuecomment-1416252207
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21447/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21447",
"html_url": "https://github.com/huggingface/transformers/pull/21447",
"diff_url": "https://github.com/huggingface/transformers/pull/21447.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21447.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21446/comments | https://api.github.com/repos/huggingface/transformers/issues/21446/events | https://github.com/huggingface/transformers/pull/21446 | 1,570,340,149 | PR_kwDOCUB6oc5JOqcR | 21,446 | Added timesformer configuration | {
"login": "AdiaWu",
"id": 60185619,
"node_id": "MDQ6VXNlcjYwMTg1NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/60185619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdiaWu",
"html_url": "https://github.com/AdiaWu",
"followers_url": "https://api.github.com/users/AdiaWu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @AdiaWu and @JuheonChu, thank you for the contribution 🚀 The doctest is confirmed to pass with this change, but there are 2 lines that should not be deleted in this PR. Once that part is reverted, we are ready to merge 💯 ",
"H... | 1,675 | 1,676 | 1,676 | CONTRIBUTOR | null | Co-authored-by: JuheonChu <chuj@dickinson.edu>
# 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 aw... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21446/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21446",
"html_url": "https://github.com/huggingface/transformers/pull/21446",
"diff_url": "https://github.com/huggingface/transformers/pull/21446.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21446.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21445/comments | https://api.github.com/repos/huggingface/transformers/issues/21445/events | https://github.com/huggingface/transformers/pull/21445 | 1,570,310,693 | PR_kwDOCUB6oc5JOkEM | 21,445 | Avoid flaky generation sampling tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Avoid the CI failure
```bash
tests/models/switch_transformers/test_modeling_switch_transformers.py::SwitchTransformersModelTest::test_beam_sample_generate_dict_output
(line 3099) RuntimeError: probability tensor contains either inf, nan or element < 0
```
For
```bash
tests/models/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21445",
"html_url": "https://github.com/huggingface/transformers/pull/21445",
"diff_url": "https://github.com/huggingface/transformers/pull/21445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21445.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21444/comments | https://api.github.com/repos/huggingface/transformers/issues/21444/events | https://github.com/huggingface/transformers/issues/21444 | 1,570,272,257 | I_kwDOCUB6oc5dmHQB | 21,444 | Trainer get_train_dataloader creates wrong batch size when using IterableDataset and multi-gpu training on single machine | {
"login": "agossard",
"id": 76619631,
"node_id": "MDQ6VXNlcjc2NjE5NjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/76619631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agossard",
"html_url": "https://github.com/agossard",
"followers_url": "https://api.github.com/users/ago... | [] | closed | false | null | [] | [
"Sounds like the `self.args.per_device_train_batch_size` should be `self._train_batch_size` indeed. Do you want to open a PR?\r\n\r\nAs an aside, using DataParallel is not the recommended way to run a multiple GPUs by PyTorch, you should launch your training script with `torchrun`",
"Thanks, Sylvain. I issue the ... | 1,675 | 1,678 | 1,678 | CONTRIBUTOR | null | ### System Info
@sgugger
I'm not sure if I'm missing something here or not. But I am doing masked language modeling with RobertaForMaskedLM and working in pytorch on an AWS machine with 8 V100s. I set args.per_device_train_batch_size=32. If I train with a regular Dataset object, the data loader will produce a big ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21444/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21443/comments | https://api.github.com/repos/huggingface/transformers/issues/21443/events | https://github.com/huggingface/transformers/pull/21443 | 1,570,265,994 | PR_kwDOCUB6oc5JOadi | 21,443 | [CI ] Remove `past` in favor of `pat_key_values` | {
"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 | [] | [
"Other tests might also pass! ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Git overides the `use_cache` arguments (only if labels are provided) to `False` see [here](https://github.com/ArthurZucker/transformers/blob/c2f9aacee9326b9db886036497a4d157666cb040/src/transformers... | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Related to #20944, The `past` arg was removed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21443",
"html_url": "https://github.com/huggingface/transformers/pull/21443",
"diff_url": "https://github.com/huggingface/transformers/pull/21443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21443.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21442/comments | https://api.github.com/repos/huggingface/transformers/issues/21442/events | https://github.com/huggingface/transformers/pull/21442 | 1,570,095,472 | PR_kwDOCUB6oc5JN1Tn | 21,442 | Draft Pull request | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 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/21442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21442/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21442",
"html_url": "https://github.com/huggingface/transformers/pull/21442",
"diff_url": "https://github.com/huggingface/transformers/pull/21442.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21442.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21441/comments | https://api.github.com/repos/huggingface/transformers/issues/21441/events | https://github.com/huggingface/transformers/pull/21441 | 1,570,046,139 | PR_kwDOCUB6oc5JNqvx | 21,441 | Add BLIP-2 | {
"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._",
"@sgugger all comments are addressed, feel free to approve :)",
"@NielsRogge Curious, what is the timeline for this to make it into a stable release version?",
"Usually there's a Transformers release once every 1 to 2 months, so a... | 1,675 | 1,676 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
This PR adds BLIP-2 to the library.
To do:
- [x] make sure generation works exactly as the original implementation, (maybe @gante can have a look here - based on original code [here](https://github.com/salesforce/LAVIS/blob/main/lavis/models/blip2_models/blip2_opt.py#L207-L211)). Edit: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21441/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21441",
"html_url": "https://github.com/huggingface/transformers/pull/21441",
"diff_url": "https://github.com/huggingface/transformers/pull/21441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21441.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21440/comments | https://api.github.com/repos/huggingface/transformers/issues/21440/events | https://github.com/huggingface/transformers/issues/21440 | 1,569,882,242 | I_kwDOCUB6oc5dkoCC | 21,440 |  | {
"login": "iamnmn9",
"id": 41872440,
"node_id": "MDQ6VXNlcjQxODcyNDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/41872440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamnmn9",
"html_url": "https://github.com/iamnmn9",
"followers_url": "https://api.github.com/users/iamnmn... | [] | closed | false | null | [] | [
"Please do not spam the repository by opening duplicate issues. You can find help to debug your training by posting on the [forums](https://discuss.huggingface.co/) as we keep issues for bugs in the library and feature requests only. You will need to share how you are launching your script for anyone to be able to ... | 1,675 | 1,675 | 1,675 | NONE | null | 
I have 8 gpu's in this machine.

I think its not taking all 8 gpu's. Already tried changing ba... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21440/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21439/comments | https://api.github.com/repos/huggingface/transformers/issues/21439/events | https://github.com/huggingface/transformers/issues/21439 | 1,569,480,777 | I_kwDOCUB6oc5djGBJ | 21,439 | BertTokenizer cannot properly tokenize words with dashes | {
"login": "poteminr",
"id": 38759021,
"node_id": "MDQ6VXNlcjM4NzU5MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/38759021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poteminr",
"html_url": "https://github.com/poteminr",
"followers_url": "https://api.github.com/users/pot... | [] | closed | false | null | [] | [
"I am not sure what you would like us to do about that. If we change the tokenizer, the model will get inputs different from its training and thus won't perform as well. You should use a different model with a tokenizer that suits your needs :-)",
"This is not an issue on our side, it's just the way the WordPiece... | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
- `transformers` version: 4.26.0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.9.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21439/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21438/comments | https://api.github.com/repos/huggingface/transformers/issues/21438/events | https://github.com/huggingface/transformers/pull/21438 | 1,569,477,172 | PR_kwDOCUB6oc5JLvNY | 21,438 | Fix device issue in a `ConvBertModelTest` test | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
CI failed after #21398 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21438/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21438",
"html_url": "https://github.com/huggingface/transformers/pull/21438",
"diff_url": "https://github.com/huggingface/transformers/pull/21438.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21438.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21437/comments | https://api.github.com/repos/huggingface/transformers/issues/21437/events | https://github.com/huggingface/transformers/issues/21437 | 1,569,470,135 | I_kwDOCUB6oc5djDa3 | 21,437 | BertTokenizer cannot properly tokenize words with dashes | {
"login": "poteminr",
"id": 38759021,
"node_id": "MDQ6VXNlcjM4NzU5MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/38759021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poteminr",
"html_url": "https://github.com/poteminr",
"followers_url": "https://api.github.com/users/pot... | [] | closed | false | null | [] | [] | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
The `BertTokenizer` doesn't tokenize words with dashes correctly. I tried to use tokenizer for **Italian** and **English** languages and got unexpected results. This issue similar to https://github.com/huggingface/transformers/issues/5136.
### Who can help?
@ArthurZucker
### Information
- [ ] The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21437/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21436/comments | https://api.github.com/repos/huggingface/transformers/issues/21436/events | https://github.com/huggingface/transformers/pull/21436 | 1,569,369,503 | PR_kwDOCUB6oc5JLYJB | 21,436 | exclude deleted files in the fixup script | {
"login": "dtuit",
"id": 8114067,
"node_id": "MDQ6VXNlcjgxMTQwNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8114067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dtuit",
"html_url": "https://github.com/dtuit",
"followers_url": "https://api.github.com/users/dtuit/follower... | [] | 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?
Running `make fixup` after a file is deleted on a branch causes `black` to exit with an error.
`Error: Invalid value for 'SRC ...': Path /path/to/deleted/file' does not exist.`
This PR resolves the error by setting the `git diff` flag `--diff-filter=d` to exclude deleted files from the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21436",
"html_url": "https://github.com/huggingface/transformers/pull/21436",
"diff_url": "https://github.com/huggingface/transformers/pull/21436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21436.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21435/comments | https://api.github.com/repos/huggingface/transformers/issues/21435/events | https://github.com/huggingface/transformers/pull/21435 | 1,569,303,617 | PR_kwDOCUB6oc5JLJ_c | 21,435 | Make beam sample more robust | {
"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._",
"Uhmmm... if all tokens in a batch have `-inf` scores, something has gone very wrong. `-inf` can only happen when some tokens are forbidden (e.g. through `NoBadWordsLogitsProcessor`), and if they are all forbidden then it means `.gene... | 1,675 | 1,679 | 1,675 | COLLABORATOR | null | # What does this PR do?
Make beam sample more robust.
The probability (more generally, scores) in `torch.multinomial` could not contain `nan`. However, the computation
```python
probs = nn.functional.softmax(next_token_scores, dim=-1)
```
could have `next_token_scores` being all `-inf` (along some batch dim.)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21435",
"html_url": "https://github.com/huggingface/transformers/pull/21435",
"diff_url": "https://github.com/huggingface/transformers/pull/21435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21435.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21434/comments | https://api.github.com/repos/huggingface/transformers/issues/21434/events | https://github.com/huggingface/transformers/pull/21434 | 1,569,200,893 | PR_kwDOCUB6oc5JKzss | 21,434 | add customizable ending learning rate arguments to warmup schedulers | {
"login": "NoTody",
"id": 88493484,
"node_id": "MDQ6VXNlcjg4NDkzNDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/88493484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoTody",
"html_url": "https://github.com/NoTody",
"followers_url": "https://api.github.com/users/NoTody/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21434). All of your documentation changes will be reflected on that endpoint.",
"Not sure I can properly review this code, sorry I never touch that file.",
"Thank you for your PR, but the Transformers library is primarily... | 1,675 | 1,678 | 1,678 | NONE | null | # What does this PR do?
I noticed that in the original implementation, the learning rate for cosine and linear scheduler with warmup is always scheduled to 0. However, in many new research such as Masked Autoencoder, BEiT, they scheduled the learning rate to some no 0 end learning rate (1e-6 in their case). Hence, I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21434",
"html_url": "https://github.com/huggingface/transformers/pull/21434",
"diff_url": "https://github.com/huggingface/transformers/pull/21434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21434.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21433/comments | https://api.github.com/repos/huggingface/transformers/issues/21433/events | https://github.com/huggingface/transformers/issues/21433 | 1,569,142,703 | I_kwDOCUB6oc5dhzev | 21,433 | Problem with tokenization using the 'distil-bert-uncased' tokenizer | {
"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 | [] | [
"You are not dropping the text columns of your dataset, so the Trainer is then unable to make tensors out of them. You need to either remove the problematic columns of the dataset or remove the `remove_unused_columns=False` argument.",
"Could you please explain how removing the text column will help? Wouldn't the... | 1,675 | 1,678 | 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)
- 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/21433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21433/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21432/comments | https://api.github.com/repos/huggingface/transformers/issues/21432/events | https://github.com/huggingface/transformers/pull/21432 | 1,569,103,117 | PR_kwDOCUB6oc5JKeuE | 21,432 | annotated TFvisionEncoderDecoder input type hints | {
"login": "miyu386",
"id": 60191117,
"node_id": "MDQ6VXNlcjYwMTkxMTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/60191117?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miyu386",
"html_url": "https://github.com/miyu386",
"followers_url": "https://api.github.com/users/miyu38... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello @Rocketknight1, I have one failing CircleCI test yet to resolve [here](https://app.circleci.com/pipelines/github/huggingface/transformers/56839/workflows/c6593d32-bae5-46fa-96cb-d0d05bdee084/jobs/687513?invite=true#step-110-771... | 1,675 | 1,676 | 1,676 | CONTRIBUTOR | null | Co-authored-by: JuheonChu <chuj@dickinson.edu>
Co-authored-by: AdiaWu <wua@dickinson.edu>
# 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 tit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21432",
"html_url": "https://github.com/huggingface/transformers/pull/21432",
"diff_url": "https://github.com/huggingface/transformers/pull/21432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21432.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21431/comments | https://api.github.com/repos/huggingface/transformers/issues/21431/events | https://github.com/huggingface/transformers/pull/21431 | 1,568,747,489 | PR_kwDOCUB6oc5JJZdZ | 21,431 | 🚨🚨🚨 Enforce single model initialization | {
"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._",
"@stas00 In initial discussions with @LysandreJik , he mentioned he preferred not having a wrapper. Though the argument about init weights code in the wild is a sound one, so showed how it could look like with the last two commits.",
... | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
There are currently three problems with the mode inits:
**Problem 1:** When not using the fast init (so in practice when using the model constructor or `AutoXxx.from_config` instead of `from_pretrained`) weights are initialized multiple times. @stas00 showed the example of `OPTForCausalLM`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21431/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/21431/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21431",
"html_url": "https://github.com/huggingface/transformers/pull/21431",
"diff_url": "https://github.com/huggingface/transformers/pull/21431.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21431.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21430/comments | https://api.github.com/repos/huggingface/transformers/issues/21430/events | https://github.com/huggingface/transformers/pull/21430 | 1,568,712,949 | PR_kwDOCUB6oc5JJSIK | 21,430 | Add `inputs_embeds` support for `.generate()` with BLOOM models | {
"login": "akreal",
"id": 243812,
"node_id": "MDQ6VXNlcjI0MzgxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/243812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akreal",
"html_url": "https://github.com/akreal",
"followers_url": "https://api.github.com/users/akreal/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"There seems to be a CircleCI issue when triggering the tests 🤔 \r\n\r\n@akreal could you try following [these instructions](https://support.circleci.com/hc/en-us/articles/360056873811-Your-access-to-a-project-from-CircleCI-was-revok... | 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/21430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21430/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21430",
"html_url": "https://github.com/huggingface/transformers/pull/21430",
"diff_url": "https://github.com/huggingface/transformers/pull/21430.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21430.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21429/comments | https://api.github.com/repos/huggingface/transformers/issues/21429/events | https://github.com/huggingface/transformers/pull/21429 | 1,568,676,349 | PR_kwDOCUB6oc5JJKXg | 21,429 | Add tutorial doc for TF + TPU | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sayakpaul The spaces have been removed because the extra content after them got moved to a whole other doc!"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | This is the sidebar tutorial for training with TF + TPU, to go with [the code notebook](https://github.com/huggingface/notebooks/pull/313).
Note that the Markdown is exported straight from Notion, so some formatting will probably look very wrong - I'm working on cleanup! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21429/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21429",
"html_url": "https://github.com/huggingface/transformers/pull/21429",
"diff_url": "https://github.com/huggingface/transformers/pull/21429.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21429.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21428/comments | https://api.github.com/repos/huggingface/transformers/issues/21428/events | https://github.com/huggingface/transformers/pull/21428 | 1,568,514,805 | PR_kwDOCUB6oc5JInJE | 21,428 | do not scale gradient in bf16 mode | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | 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?
Turn off gradient scaling in the trainer when bf16 mode is selected. Only use gradient scaling in float16 mode.
## Who can review?
@sgugger and @stas00 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21428/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/21428/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21428",
"html_url": "https://github.com/huggingface/transformers/pull/21428",
"diff_url": "https://github.com/huggingface/transformers/pull/21428.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21428.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21427/comments | https://api.github.com/repos/huggingface/transformers/issues/21427/events | https://github.com/huggingface/transformers/pull/21427 | 1,568,354,015 | PR_kwDOCUB6oc5JIDx- | 21,427 | Refactor whisper asr pipeline to include language too. | {
"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._",
"Still not finished (I'm seeing weird drops in WER when changing parameter combinations) but as a starter @sgugger if you have early feedback I'd take it.",
"Ok, I found that whisper doesn't play well **at all** without `return_time... | 1,675 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
## Why a refacto of this magnitude ?
- Earlier iterations tried to keep in line with `pipeline`, which started a cascade of `if ... else ` just for `whisper`.
- Those cascade of functions where all loosing the `language` information which would make it tough to include
`language` in th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21427/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21427",
"html_url": "https://github.com/huggingface/transformers/pull/21427",
"diff_url": "https://github.com/huggingface/transformers/pull/21427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21427.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21426/comments | https://api.github.com/repos/huggingface/transformers/issues/21426/events | https://github.com/huggingface/transformers/pull/21426 | 1,568,311,477 | PR_kwDOCUB6oc5JH6t- | 21,426 | Allow to add more information in `is_flaky` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
As mentioned once offline, I think it's better for us to make a bit more effort to describe the situation for tests decorated by `is_flaky`. We don't always know the exact reasons (and for known cases, we don't always have good way to fix - at least not in a few months sometimes). A `descript... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21426/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21426",
"html_url": "https://github.com/huggingface/transformers/pull/21426",
"diff_url": "https://github.com/huggingface/transformers/pull/21426.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21426.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21425/comments | https://api.github.com/repos/huggingface/transformers/issues/21425/events | https://github.com/huggingface/transformers/pull/21425 | 1,568,304,310 | PR_kwDOCUB6oc5JH5NF | 21,425 | [`ImageProcessor`] Refactor default `mean` & `std` to `OPENAI_CLIP_MEAN` & `OPENAI_CLIP_STD` | {
"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,675 | 1,676 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
Initially this PR was intended to fix a small nit for BLIP feature extractors, the default normalization `mean` & `std` are currently incorrect as pointed out by @NielsRogge , BLIP uses the mean and std that are identical to CLIP: https://github.com/salesforce/LAVIS/blob/5ddd9b4e5149dbc514e81... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21425/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21425",
"html_url": "https://github.com/huggingface/transformers/pull/21425",
"diff_url": "https://github.com/huggingface/transformers/pull/21425.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21425.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21424/comments | https://api.github.com/repos/huggingface/transformers/issues/21424/events | https://github.com/huggingface/transformers/pull/21424 | 1,568,244,732 | PR_kwDOCUB6oc5JHsa5 | 21,424 | Add tips for generation with Int8 models | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<3 "
] | 1,675 | 1,675 | 1,675 | MEMBER | 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/21424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21424",
"html_url": "https://github.com/huggingface/transformers/pull/21424",
"diff_url": "https://github.com/huggingface/transformers/pull/21424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21424.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21423/comments | https://api.github.com/repos/huggingface/transformers/issues/21423/events | https://github.com/huggingface/transformers/pull/21423 | 1,568,219,538 | PR_kwDOCUB6oc5JHnA4 | 21,423 | Fixes bug in the creation of ExponentialDecayLengthPenalty | {
"login": "jorgemcgomes",
"id": 3987574,
"node_id": "MDQ6VXNlcjM5ODc1NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3987574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorgemcgomes",
"html_url": "https://github.com/jorgemcgomes",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"merging as the failing test (`tests/models/cvt/test_modeling_cvt.py::CvtModelTest::test_save_load_fast_init_to_base`) is a known flaky test"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | input_ids_seq_length doesn't exist in the GenerationConfig, it exists as local variable in the function.
Setting exponential_decay_length_penalty therefore results in an error: `AttributeError: 'GenerationConfig' object has no attribute 'input_ids_seq_length'`
This simple change fixes this issue, and the exponent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21423/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21423",
"html_url": "https://github.com/huggingface/transformers/pull/21423",
"diff_url": "https://github.com/huggingface/transformers/pull/21423.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21423.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21422/comments | https://api.github.com/repos/huggingface/transformers/issues/21422/events | https://github.com/huggingface/transformers/pull/21422 | 1,568,080,797 | PR_kwDOCUB6oc5JHJPD | 21,422 | Add distinct section names for PyTorch and TF | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for fixing this!"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | Super-small fix here - the section names for PyTorch and TF were identical in the notebooks doc, which meant that when you clicked on one of the TF categories in the TOC you got sent to the PyTorch one instead (because it came first).
This PR adds separate section names so this doesn't happen! (Thanks @mishig25 for ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21422",
"html_url": "https://github.com/huggingface/transformers/pull/21422",
"diff_url": "https://github.com/huggingface/transformers/pull/21422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21422.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21421/comments | https://api.github.com/repos/huggingface/transformers/issues/21421/events | https://github.com/huggingface/transformers/pull/21421 | 1,568,041,797 | PR_kwDOCUB6oc5JHAxA | 21,421 | Use torch `1.13.1` in push/scheduled CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
Well, I should update these much earlier. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21421",
"html_url": "https://github.com/huggingface/transformers/pull/21421",
"diff_url": "https://github.com/huggingface/transformers/pull/21421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21421.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21420/comments | https://api.github.com/repos/huggingface/transformers/issues/21420/events | https://github.com/huggingface/transformers/issues/21420 | 1,567,867,023 | I_kwDOCUB6oc5dc8CP | 21,420 | [examples/research_projects/onnx/summarization] is outdated | {
"login": "un-certainty",
"id": 102007104,
"node_id": "U_kgDOBhSBQA",
"avatar_url": "https://avatars.githubusercontent.com/u/102007104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/un-certainty",
"html_url": "https://github.com/un-certainty",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This is an unmaintained example, it won't work without using the transformers version corresponding to the time it was written.",
"@sgugger Thanks for your quick reply.\r\n\r\nFor some reason, I have to use transformer==4.25.0. I wonder if @fatcat-z has any suggestion on how to adapt the code?",
"Hi,\r\n\r\nFo... | 1,675 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.25.0
- Platform: Linux-4.19.91-24.1.al7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21420/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21419/comments | https://api.github.com/repos/huggingface/transformers/issues/21419/events | https://github.com/huggingface/transformers/pull/21419 | 1,567,826,002 | PR_kwDOCUB6oc5JGRsu | 21,419 | Fix Graphormer test suite | {
"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._"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
Fixes comment in #21367, @ydshieh
Updated shape of model instantiation when calling pretrained in test suite, + updated values in the integration test.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21419",
"html_url": "https://github.com/huggingface/transformers/pull/21419",
"diff_url": "https://github.com/huggingface/transformers/pull/21419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21419.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21418/comments | https://api.github.com/repos/huggingface/transformers/issues/21418/events | https://github.com/huggingface/transformers/pull/21418 | 1,567,707,935 | PR_kwDOCUB6oc5JF4Fi | 21,418 | add new model of MGP-STR | {
"login": "wdp-007",
"id": 4025053,
"node_id": "MDQ6VXNlcjQwMjUwNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4025053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wdp-007",
"html_url": "https://github.com/wdp-007",
"followers_url": "https://api.github.com/users/wdp-007/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,678 | 1,678 | 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/21418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21418/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21418",
"html_url": "https://github.com/huggingface/transformers/pull/21418",
"diff_url": "https://github.com/huggingface/transformers/pull/21418.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21418.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21417/comments | https://api.github.com/repos/huggingface/transformers/issues/21417/events | https://github.com/huggingface/transformers/issues/21417 | 1,567,532,412 | I_kwDOCUB6oc5dbqV8 | 21,417 | (maybe) redundant code in transformers/src/transformers/models/bert/ | {
"login": "Joqsan",
"id": 6027118,
"node_id": "MDQ6VXNlcjYwMjcxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6027118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Joqsan",
"html_url": "https://github.com/Joqsan",
"followers_url": "https://api.github.com/users/Joqsan/foll... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep issues for bugs and feature requests only."
] | 1,675 | 1,675 | 1,675 | NONE | null | Hi,
I was looking at the BERT code and noticed that `BertOutput` and `BertSelfOutput` are almost the same, except for the `in_features` argument to `nn.Linear`?
https://github.com/huggingface/transformers/blob/92ce53aab859012f7714dae6d6fce7a7d701e75f/src/transformers/models/bert/modeling_bert.py#L376-L387
http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21417/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21416/comments | https://api.github.com/repos/huggingface/transformers/issues/21416/events | https://github.com/huggingface/transformers/pull/21416 | 1,567,496,941 | PR_kwDOCUB6oc5JFLh5 | 21,416 | Fixed RAG script which was failing on dummy example | {
"login": "kaustubhdhole",
"id": 8274216,
"node_id": "MDQ6VXNlcjgyNzQyMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8274216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaustubhdhole",
"html_url": "https://github.com/kaustubhdhole",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi there. This is an unmaintained research project, so we normally don't accept PRs on it. You can try pinging the original authors and see if they accept your suggestion :-)",
"@sgugger looks all good to me.",
"Thanks for havin... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Fixed RAG script which was failing on test_epoch_end in dummy example
The dummy example fails when test_epoch_end is called. The prefix="test" should be dynamic in the log metrics too.
Also, test_finetune.sh was failing when test file was not present.
@shamanez would be ideal to review.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21416/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21416",
"html_url": "https://github.com/huggingface/transformers/pull/21416",
"diff_url": "https://github.com/huggingface/transformers/pull/21416.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21416.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21415/comments | https://api.github.com/repos/huggingface/transformers/issues/21415/events | https://github.com/huggingface/transformers/issues/21415 | 1,567,462,904 | I_kwDOCUB6oc5dbZX4 | 21,415 | layoutlmv3-base-chinese convert onnx | {
"login": "githublsk",
"id": 77612906,
"node_id": "MDQ6VXNlcjc3NjEyOTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/77612906?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/githublsk",
"html_url": "https://github.com/githublsk",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"ONNX will only convert the model, not the tokenizer.\r\n\r\nONNX conversion is now moved to the Optimum package, no need to pass --feature anymore as it will infer that automatically based on the checkpoint. Docs here: https://huggingface.co/docs/optimum/exporters/onnx/usage_guides/export_a_model.",
"Closing thi... | 1,675 | 1,675 | 1,675 | NONE | null | ### Feature request
When use layoutlmv3-base-chinese converting to onnx, the comand line is as follows: python3.7 -m transformers.onnx --model=model path --feature token-classification, we find it lacks of vocab_file and merges_file, can you support us above two files, thank you very much, if not, can you give us some... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21415/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21414/comments | https://api.github.com/repos/huggingface/transformers/issues/21414/events | https://github.com/huggingface/transformers/pull/21414 | 1,567,462,465 | PR_kwDOCUB6oc5JFEA- | 21,414 | 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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi there! MPNet is an encoder model, so there are no checkpoints available that will work for causal LM objective. Why are you interested in adding this model?",
"Hi @sgugger!\r\nI've recently been using sentense-transformers libra... | 1,675 | 1,675 | 1,675 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21414/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21414",
"html_url": "https://github.com/huggingface/transformers/pull/21414",
"diff_url": "https://github.com/huggingface/transformers/pull/21414.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21414.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21413/comments | https://api.github.com/repos/huggingface/transformers/issues/21413/events | https://github.com/huggingface/transformers/issues/21413 | 1,567,287,778 | I_kwDOCUB6oc5dauni | 21,413 | Error: Both `max_new_tokens` and `max_length` have been set but they serve the same purpose | {
"login": "arastumudgal",
"id": 76526750,
"node_id": "MDQ6VXNlcjc2NTI2NzUw",
"avatar_url": "https://avatars.githubusercontent.com/u/76526750?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arastumudgal",
"html_url": "https://github.com/arastumudgal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @arastumudgal \r\nIf I am not mistaken, the fix should have been addressed in https://github.com/huggingface/transformers/pull/21347\r\nIf you install `transformers` from the `main` branch `pip install git+https://github.com/huggingface/transformers`, your script should work\r\n",
"Hi @younesbelkada \r\n\r\n`... | 1,675 | 1,678 | 1,678 | NONE | null | ### System Info
- `transformers` version: 4.26.0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (False)
- Tensorflow version (GPU?): 2.9.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21413/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21412/comments | https://api.github.com/repos/huggingface/transformers/issues/21412/events | https://github.com/huggingface/transformers/issues/21412 | 1,567,173,401 | I_kwDOCUB6oc5daSsZ | 21,412 | [Whisper] Word level and character level timestamps | {
"login": "Rishabh-Choudhry",
"id": 28778171,
"node_id": "MDQ6VXNlcjI4Nzc4MTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/28778171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rishabh-Choudhry",
"html_url": "https://github.com/Rishabh-Choudhry",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @Narsil ",
"Hi @Rishabh-Choudhry .\r\n\r\nThis is impossible to do with `whisper`. Whisper simply doesn't work in such a way, it output \"timestamp\" tokens, roughly when it feels like. And that's all we can do with them.\r\n\r\nI've seen hybrid approaches where you use `wav2vec2` (and simil... | 1,675 | 1,688 | 1,685 | NONE | null | ### Feature request
`output = pipe(audio_file,chunk_length_s=30,return_timestamps=True)`
Getting word level and character level timestamps with Whisper model asr pipeline upon using `return_timestamps=True`
### Motivation
The timestamps returned currently are at stride level. For our use case, we want to get accu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21412/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21411/comments | https://api.github.com/repos/huggingface/transformers/issues/21411/events | https://github.com/huggingface/transformers/issues/21411 | 1,567,123,650 | I_kwDOCUB6oc5daGjC | 21,411 | UnboundLocalError: local variable 'image_processor_class' referenced before assignment | {
"login": "shikhartuli",
"id": 40000988,
"node_id": "MDQ6VXNlcjQwMDAwOTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/40000988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shikhartuli",
"html_url": "https://github.com/shikhartuli",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.0.dev0
- Platform: Linux-4.18.0-425.3.1.el8.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.16
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.5.3 (cpu)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21411/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21410/comments | https://api.github.com/repos/huggingface/transformers/issues/21410/events | https://github.com/huggingface/transformers/pull/21410 | 1,567,113,194 | PR_kwDOCUB6oc5JD47d | 21,410 | Fix image_processor_class bug | {
"login": "shikhartuli",
"id": 40000988,
"node_id": "MDQ6VXNlcjQwMDAwOTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/40000988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shikhartuli",
"html_url": "https://github.com/shikhartuli",
"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 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the image_process_class bug.
Fixes #21411
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21410/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21410",
"html_url": "https://github.com/huggingface/transformers/pull/21410",
"diff_url": "https://github.com/huggingface/transformers/pull/21410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21410.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21409/comments | https://api.github.com/repos/huggingface/transformers/issues/21409/events | https://github.com/huggingface/transformers/pull/21409 | 1,567,108,639 | PR_kwDOCUB6oc5JD4CT | 21,409 | Fix task guide formatting | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | MEMBER | null | Fixes formatting for some of the task guides where links to `AutoModelForX` in the Train sections aren't properly rendered because there wasn't a blank line after the `<Tip>` block preceding the text. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21409/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21409",
"html_url": "https://github.com/huggingface/transformers/pull/21409",
"diff_url": "https://github.com/huggingface/transformers/pull/21409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21409.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21408/comments | https://api.github.com/repos/huggingface/transformers/issues/21408/events | https://github.com/huggingface/transformers/pull/21408 | 1,566,776,922 | PR_kwDOCUB6oc5JCwUg | 21,408 | Refactor model summary | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I don't think a model summary with sections per modality can work. I'm okay with removing the specific of each model currently in the model summary (make sure they are present in the corresponding model pages however as we don't want... | 1,675 | 1,676 | 1,676 | MEMBER | null | This PR refactors the [model summary](https://huggingface.co/docs/transformers/model_summary):
- updated with speech/audio, computer vision, and multimodal models (picked based on the ones with the most doc views, this can be refined to show or hide other models)
- embeds a timeline of when models are released to p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21408",
"html_url": "https://github.com/huggingface/transformers/pull/21408",
"diff_url": "https://github.com/huggingface/transformers/pull/21408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21408.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21407/comments | https://api.github.com/repos/huggingface/transformers/issues/21407/events | https://github.com/huggingface/transformers/issues/21407 | 1,566,659,240 | I_kwDOCUB6oc5dYVKo | 21,407 | multi gpu training. | {
"login": "iamnmn9",
"id": 41872440,
"node_id": "MDQ6VXNlcjQxODcyNDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/41872440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamnmn9",
"html_url": "https://github.com/iamnmn9",
"followers_url": "https://api.github.com/users/iamnmn... | [] | closed | false | null | [] | [
"If you have multiple GPUs it will run on multiple GPUs.",
"\r\nI have 8 gpu's in this machine.\r\n)]) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21407/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21406/comments | https://api.github.com/repos/huggingface/transformers/issues/21406/events | https://github.com/huggingface/transformers/pull/21406 | 1,566,605,514 | PR_kwDOCUB6oc5JCLES | 21,406 | Enable PyTorch/XLA Fully Sharded Data Parallel (FSDP) | {
"login": "AlexWertheim",
"id": 90242206,
"node_id": "MDQ6VXNlcjkwMjQyMjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/90242206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexWertheim",
"html_url": "https://github.com/AlexWertheim",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks so much for the feedback!\r\n\r\n> I think this can all be added via the new `fsdp_config` training arguments instead of adding four new training arguments in a class that already has too many of them (and for which users have... | 1,675 | 1,681 | 1,676 | CONTRIBUTOR | null | # What does this PR do?
This PR enables the user to make use of the [PyTorch/XLA implementation of FSDP](https://github.com/pytorch/xla/tree/master/torch_xla/distributed/fsdp), including the newly added [auto-wrap feature](https://github.com/pytorch/xla/pull/4318). Four arguments have been added to `training_args.py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21406/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21406/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21406",
"html_url": "https://github.com/huggingface/transformers/pull/21406",
"diff_url": "https://github.com/huggingface/transformers/pull/21406.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21406.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21405/comments | https://api.github.com/repos/huggingface/transformers/issues/21405/events | https://github.com/huggingface/transformers/pull/21405 | 1,566,404,503 | PR_kwDOCUB6oc5JBgcm | 21,405 | Generate: decoder-only models can generate with `inputs_embeds` | {
"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,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
2-in-1 PR 🔥
### 1 - Experimenting with input embeddings
Accepting `.generate()` calls with `inputs_embeds` on decoder-only models is a long-standing request (#6535) -- see [this recent comment ](https://github.com/huggingface/transformers/issues/6535#issuecomment-1353658984) in particul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21405/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/21405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21405",
"html_url": "https://github.com/huggingface/transformers/pull/21405",
"diff_url": "https://github.com/huggingface/transformers/pull/21405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21405.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21404/comments | https://api.github.com/repos/huggingface/transformers/issues/21404/events | https://github.com/huggingface/transformers/pull/21404 | 1,566,218,839 | PR_kwDOCUB6oc5JA52U | 21,404 | Added DagshubCallback | {
"login": "jinensetpal",
"id": 52078103,
"node_id": "MDQ6VXNlcjUyMDc4MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/52078103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jinensetpal",
"html_url": "https://github.com/jinensetpal",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you so much for the lightning review, @sgugger!\r\n\r\nI've made the relevant changes. I also added a check within `get_available_reporting_integrations` to ensure available integrations are reported accurately. \r\n\r\nSince `... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Adds a Trainer Integration with [DagsHub](https://dagshub.com/). It extends the MLFlow integration that already currently exists to also track and push artifacts using DVC, into DagsHub repositories. The idea is to allow users to integrate an MLOps stack to their current setups with minimal e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21404/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21404",
"html_url": "https://github.com/huggingface/transformers/pull/21404",
"diff_url": "https://github.com/huggingface/transformers/pull/21404.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21404.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21403/comments | https://api.github.com/repos/huggingface/transformers/issues/21403/events | https://github.com/huggingface/transformers/issues/21403 | 1,566,203,110 | I_kwDOCUB6oc5dWlzm | 21,403 | How to sending my request about parameters in inference API? | {
"login": "ZJU-Fangyin",
"id": 61076726,
"node_id": "MDQ6VXNlcjYxMDc2NzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/61076726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZJU-Fangyin",
"html_url": "https://github.com/ZJU-Fangyin",
"followers_url": "https://api.github.com/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi there, this is the Transformers repository. You can address your questions about the inference API [here](https://github.com/huggingface/api-inference-community)",
"Can I modify parameters of Hosted inference API?\r\n For example, I want the multiple output of this Summarization task rather than one:\r\n<i... | 1,675 | 1,675 | null | NONE | null | ### Model description
<img width="999" alt="image" src="https://user-images.githubusercontent.com/61076726/216067290-7969e29b-8c83-41fa-80a6-6c71bc4bac16.png">
I can't find where I can modify, and, does generating inference not include beam search?
### Open source status
- [X] The model implementation is availabl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21403/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21402/comments | https://api.github.com/repos/huggingface/transformers/issues/21402/events | https://github.com/huggingface/transformers/issues/21402 | 1,566,196,273 | I_kwDOCUB6oc5dWkIx | 21,402 | ModelError while deploying FlanT5-xl | {
"login": "RonLek",
"id": 28918901,
"node_id": "MDQ6VXNlcjI4OTE4OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/28918901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RonLek",
"html_url": "https://github.com/RonLek",
"followers_url": "https://api.github.com/users/RonLek/fo... | [] | closed | false | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [
{
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url"... | [
"Hello @RonLek \r\n\r\nThanks for the issue! \r\nNote that starting from `flan-t5-xl`, the weights of the model are sharded. \r\nSharded weights loading has been supported after the release of `transformers==4.17.0` (precisely in `transformers==4.18.0`: https://github.com/huggingface/transformers/releases/tag/v4.18... | 1,675 | 1,681 | 1,681 | NONE | null | ### System Info
transformers_version==4.17.0
Plaform = Sagemaker Notebook
python==3.9.0
### Who can help?
@ArthurZucker @younesbelkada
### 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/21402/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/21402/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21401/comments | https://api.github.com/repos/huggingface/transformers/issues/21401/events | https://github.com/huggingface/transformers/pull/21401 | 1,566,054,983 | PR_kwDOCUB6oc5JAWO1 | 21,401 | Fix some pipeline tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Let's stop adding tests of new models in the pipelines until the metaclass is removed and we have a mixin class that all model testers inherit from (I think that is the plan, right?) \r\n\r\nYes, that's the plan! For now, no new mo... | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
- change `feature_extractor=...` to `image_processor=...` in `test_pipeline_XXX` files, if `XXX` is vision tasks.
- this doesn't affect any backward compatibility - they are just testing files
- change `self.feature_extractor(...)` to `self.image_processor()` in some vision pipeline files... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21401",
"html_url": "https://github.com/huggingface/transformers/pull/21401",
"diff_url": "https://github.com/huggingface/transformers/pull/21401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21400/comments | https://api.github.com/repos/huggingface/transformers/issues/21400/events | https://github.com/huggingface/transformers/pull/21400 | 1,565,934,288 | PR_kwDOCUB6oc5I_727 | 21,400 | Add Pix2Struct | {
"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._",
"@younesbelkada @ArthurZucker 👋 how is this PR going? Do you need some help to get it over the finish line? Happy to collab if helpful.",
"Hi @ankrgyl \r\nThanks so much for proposing your help on this PR! \r\n\r\nI fixed now few t... | 1,675 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Fixes #20663
Paper: https://arxiv.org/pdf/2210.03347.pdf
Code: https://github.com/google-research/pix2struct
`Pix2Struct` is a series of Image-text models that has been fine-tuned on various datasets and tasks.
 for surch questions as we keep issues for bugs and feature requests only.The resume training functionality is intended in case of instance crash and you should use the same hyperparameters.",
"This issue has been automatically marked as stale because it ha... | 1,675 | 1,678 | 1,678 | NONE | null | I tried the following settings, which will be covered by the learning rate of checkpoint
```
training_args = TrainingArguments(
learning_rate=5e-4, # larger than before 5e-5
)
...
trainer.train(resume_from_checkpoint=True)``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21399/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21398/comments | https://api.github.com/repos/huggingface/transformers/issues/21398/events | https://github.com/huggingface/transformers/pull/21398 | 1,565,688,959 | PR_kwDOCUB6oc5I_Gk2 | 21,398 | Fix the issue of using only inputs_embeds in convbert model | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | Fixes #21395
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21398",
"html_url": "https://github.com/huggingface/transformers/pull/21398",
"diff_url": "https://github.com/huggingface/transformers/pull/21398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21398.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21397/comments | https://api.github.com/repos/huggingface/transformers/issues/21397/events | https://github.com/huggingface/transformers/pull/21397 | 1,565,245,260 | PR_kwDOCUB6oc5I9nOg | 21,397 | Parallelize LongT5 | {
"login": "JamesDeAntonis",
"id": 33379057,
"node_id": "MDQ6VXNlcjMzMzc5MDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/33379057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesDeAntonis",
"html_url": "https://github.com/JamesDeAntonis",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Yes, just pass along `device_map=\"auto\"` or `device_map=\"balanced\"` in your call to `from_pretrained` to have the model be parallelized. It will work for training and inference.",
"Oh sweet! Didn't know about this. I just trie... | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Adds parallelization to LongT5
Fixes # (issue)
[21396](https://github.com/huggingface/transformers/issues/21396)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](ht... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21397/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21397",
"html_url": "https://github.com/huggingface/transformers/pull/21397",
"diff_url": "https://github.com/huggingface/transformers/pull/21397.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21397.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21396/comments | https://api.github.com/repos/huggingface/transformers/issues/21396/events | https://github.com/huggingface/transformers/issues/21396 | 1,565,237,724 | I_kwDOCUB6oc5dS6Hc | 21,396 | Parallelize LongT5 | {
"login": "JamesDeAntonis",
"id": 33379057,
"node_id": "MDQ6VXNlcjMzMzc5MDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/33379057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesDeAntonis",
"html_url": "https://github.com/JamesDeAntonis",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nWe've just deprecated the parallelize API as it can now be done using the `from_pretrained` method.\r\n\r\nSee https://github.com/huggingface/transformers/pull/21448"
] | 1,675 | 1,675 | 1,675 | CONTRIBUTOR | null | ### Feature request
Similar to regular T5, it'd be nice if LongT5 had parallelization support
### Motivation
This allows for training larger models / input sizes by using several gpus
### Your contribution
I have a pull request ready for this | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21395/comments | https://api.github.com/repos/huggingface/transformers/issues/21395/events | https://github.com/huggingface/transformers/issues/21395 | 1,565,144,183 | I_kwDOCUB6oc5dSjR3 | 21,395 | UnboundLocalError: local variable 'seq_length' referenced before assignment | {
"login": "zhuzihan728",
"id": 55835587,
"node_id": "MDQ6VXNlcjU1ODM1NTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/55835587?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhuzihan728",
"html_url": "https://github.com/zhuzihan728",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I think it might be a bug, request you to post a sample script of your usage to reproduce the error.",
"> I think it might be a bug, request you to post a sample script of your usage to reproduce the error.\r\n\r\n```\r\nimport torch\r\nfrom transformers import ConvBertConfig, ConvBertForTokenClassification\r\ne... | 1,675 | 1,675 | 1,675 | NONE | null | ### System Info
Hi, I am using the `ConvBertForTokenClassification` model in models.convbert and encountered the bug when passing only `input_embeds` to `forward()`.
The traceback says that at line 833 in modeling_convbert.py
```
if token_type_ids is None:
if hasattr(self.embeddings, "token_type_ids"):
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21394/comments | https://api.github.com/repos/huggingface/transformers/issues/21394/events | https://github.com/huggingface/transformers/issues/21394 | 1,565,102,411 | I_kwDOCUB6oc5dSZFL | 21,394 | [WHISPER] - ValueError: Malformed soundfile | {
"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 | [] | [
"Hey @altryne! Indeed, it should be possible to load up any audio file using transformers `pipeline` alone. Could you share the full traceback of the error? This will help in pinpointing its exact nature! It would be great if you are able to share the `.mp3` file! My email is `sanchit@huggingface.co`. Thanks!",
"... | 1,675 | 1,679 | 1,679 | CONTRIBUTOR | null | ### System Info
I had a few files with this error.
In @openai/whisper the same files worked, so I figured this was a bug.
Digging a little bit, this has to do with some ffmpeg parameters inside :
`File "/usr/local/lib/python3.9/site-packages/transformers/pipelines/audio_utils.py", line 41, in ffmpeg_read`
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21394/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21394/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21393/comments | https://api.github.com/repos/huggingface/transformers/issues/21393/events | https://github.com/huggingface/transformers/pull/21393 | 1,564,828,717 | PR_kwDOCUB6oc5I8Ob4 | 21,393 | Moved LiLT under multimodal models in TOC | {
"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,675 | 1,676 | 1,675 | CONTRIBUTOR | null | LiLT was listed under text models, however, it should be listed under multimodal. The PR fixes this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21393/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21393",
"html_url": "https://github.com/huggingface/transformers/pull/21393",
"diff_url": "https://github.com/huggingface/transformers/pull/21393.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21393.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21392/comments | https://api.github.com/repos/huggingface/transformers/issues/21392/events | https://github.com/huggingface/transformers/pull/21392 | 1,564,805,206 | PR_kwDOCUB6oc5I8Jdi | 21,392 | Remove more unused attributes in config classes | {
"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?
Remove another set of unused attributes in config classes.
There are still 20~30 things to check, probably I will open the PR of the new test and merge it first (skipping some failing cases), and continue to clean them up later. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21392/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21392",
"html_url": "https://github.com/huggingface/transformers/pull/21392",
"diff_url": "https://github.com/huggingface/transformers/pull/21392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21392.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21391/comments | https://api.github.com/repos/huggingface/transformers/issues/21391/events | https://github.com/huggingface/transformers/issues/21391 | 1,564,751,179 | I_kwDOCUB6oc5dRDVL | 21,391 | T5/Flan-T5 text generation with `load_in_8bit=True` gives error `expected scalar type Float but found Half` | {
"login": "steve-marmalade",
"id": 85196623,
"node_id": "MDQ6VXNlcjg1MTk2NjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/85196623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/steve-marmalade",
"html_url": "https://github.com/steve-marmalade",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi @steve-marmalade \r\nThanks for the issue and your interest in 8bit models\r\nThis issue has been flagged in https://github.com/huggingface/transformers/pull/21281 and fixed :-) \r\nPlease use the `main` branch of `transformers` - I ran your script on the `main` branch and it worked fine\r\n`pip install git+htt... | 1,675 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.14.0a0+410ce96 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21391/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21390/comments | https://api.github.com/repos/huggingface/transformers/issues/21390/events | https://github.com/huggingface/transformers/pull/21390 | 1,564,644,824 | PR_kwDOCUB6oc5I7nQg | 21,390 | Skip batches fast with accelerate | {
"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._",
"Thank you for implementing this, Sylvain,\r\n\r\nIs this PR going to sit for a bit until the new Accelerate comes out? \r\n\r\nCurrently I have to work on some other urgent things and SLURM makes it hard to quickly test things, but w... | 1,675 | 1,675 | 1,675 | COLLABORATOR | null | # What does this PR do?
This PR uses the lastest from `Accelerate` to quickly skip batches when resuming training (it's only going to be quicker for a regular dataset, iterable datasets will still require a manual pass though the first batches).
Note that the RNG seeds can't be reloaded before we have started the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21390/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/21390/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21390",
"html_url": "https://github.com/huggingface/transformers/pull/21390",
"diff_url": "https://github.com/huggingface/transformers/pull/21390.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21390.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21389/comments | https://api.github.com/repos/huggingface/transformers/issues/21389/events | https://github.com/huggingface/transformers/pull/21389 | 1,564,513,531 | PR_kwDOCUB6oc5I7K-0 | 21,389 | Generate: fix TF XLA tests on models with `max_position_embeddings` or `max_target_positions` | {
"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,675 | 1,675 | 1,675 | MEMBER | null | # What does this PR do?
Extracted from #20901 -- the lines added in this PR were incorrectly removed [here](https://github.com/huggingface/transformers/commit/0f78529f982eceb79c5855d0466c287ec8a18df1), causing some XLA tests to fail.
These changes fixes 8 slow TF tests on `test_xla_generate_slow`. They were also ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21389/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21389",
"html_url": "https://github.com/huggingface/transformers/pull/21389",
"diff_url": "https://github.com/huggingface/transformers/pull/21389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21389.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21388/comments | https://api.github.com/repos/huggingface/transformers/issues/21388/events | https://github.com/huggingface/transformers/pull/21388 | 1,564,431,115 | PR_kwDOCUB6oc5I65HA | 21,388 | Added: links from model docs to respective model checkpoints on Hub | {
"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 | [] | [
"> Note that we're not changing the copyright years of the files: they are copyrighted from the year they were created.\r\n\r\nI can revert them back, but I'd love to know why?",
"Because there are many many many files in the library ;-) I also think it is bad practice to remove the year of the creation of the fi... | 1,675 | 1,677 | 1,676 | CONTRIBUTOR | null | To aid navigation and discoverability, this PR adds links to respective model checkpoints on Hub to model docs (one link per model, in a format `https://huggingface.co/models?sort=downloads&search=YOSO`).
A couple of maintenance changes are also included (copyright update and removal of obsolete disclaimers).
UPD:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21388/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21388",
"html_url": "https://github.com/huggingface/transformers/pull/21388",
"diff_url": "https://github.com/huggingface/transformers/pull/21388.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21388.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.