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/17974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17974/comments | https://api.github.com/repos/huggingface/transformers/issues/17974/events | https://github.com/huggingface/transformers/issues/17974 | 1,290,577,149 | I_kwDOCUB6oc5M7KT9 | 17,974 | openai's CLIP model not working with pytorch 1.12 in some environments | {
"login": "buhrmann",
"id": 190342,
"node_id": "MDQ6VXNlcjE5MDM0Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/190342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/buhrmann",
"html_url": "https://github.com/buhrmann",
"followers_url": "https://api.github.com/users/buhrman... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,662 | 1,662 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.170+-x86_64-with-glibc2.31
- Python version: 3.9.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.7.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17973/comments | https://api.github.com/repos/huggingface/transformers/issues/17973/events | https://github.com/huggingface/transformers/pull/17973 | 1,290,556,914 | PR_kwDOCUB6oc46qenB | 17,973 | XLA train step fixes | {
"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'd be interested in having @ydshieh's review as well",
"> If I understand correctly, this changes the loss returned by TensorFlow models from a matrix to a vector, which is obviously breaking. While I don't know how many TensorFlo... | 1,656 | 1,656 | 1,656 | MEMBER | null | This PR makes a bunch of changes to the TF codebase to improve XLA support, in preparation for our upcoming big TF release. The goal is to allow users to use `jit_compile` on the vast majority of our models, which should yield large performance improvements for TF. In particular:
- Rewrites to the `train_step` and `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17973/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17973",
"html_url": "https://github.com/huggingface/transformers/pull/17973",
"diff_url": "https://github.com/huggingface/transformers/pull/17973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17972/comments | https://api.github.com/repos/huggingface/transformers/issues/17972/events | https://github.com/huggingface/transformers/pull/17972 | 1,290,530,982 | PR_kwDOCUB6oc46qZCw | 17,972 | [Do NOT merge π ] Skip a particular exception in `test_sample_generate` | {
"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 maybe put this PR on hold for 1,2 weeks to see if #18053 has solved the issue or not :-)",
"OK, thank you for taking time on this."
] | 1,656 | 1,662 | 1,657 | COLLABORATOR | null | # What does this PR do?
A continuation of #17937 to fix a CI failure
```
# sample
probs = nn.functional.softmax(next_token_scores, dim=-1)
> next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
E RuntimeError: probability tensor contains either `inf`, `nan... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17972/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17972",
"html_url": "https://github.com/huggingface/transformers/pull/17972",
"diff_url": "https://github.com/huggingface/transformers/pull/17972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17971/comments | https://api.github.com/repos/huggingface/transformers/issues/17971/events | https://github.com/huggingface/transformers/issues/17971 | 1,290,520,931 | I_kwDOCUB6oc5M68lj | 17,971 | TrainingArguments does not support `mps` device (Mac M1 GPU) | {
"login": "saattrupdan",
"id": 47701536,
"node_id": "MDQ6VXNlcjQ3NzAxNTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/47701536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saattrupdan",
"html_url": "https://github.com/saattrupdan",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"A simple hack fixed the issue, by simply overwriting the `device` attribute of `TrainingArguments`:\r\n\r\n```python\r\nimport torch\r\nfrom transformers import TrainingArguments\r\n\r\n\r\nclass TrainingArgumentsWithMPSSupport(TrainingArguments):\r\n\r\n @property\r\n def device(self) -> torch.device:\r\n ... | 1,656 | 1,692 | 1,660 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.8.9
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17971/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17970/comments | https://api.github.com/repos/huggingface/transformers/issues/17970/events | https://github.com/huggingface/transformers/pull/17970 | 1,290,505,440 | PR_kwDOCUB6oc46qThI | 17,970 | Ensure PT model is in evaluation mode and lightweight forward pass done | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | Small update to the `pt-to-tf` CLI. Sets the pytorch model into evaluate model and uses `no_grad` context to make the memory requirements lighter.
## 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 guideli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17970/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17970",
"html_url": "https://github.com/huggingface/transformers/pull/17970",
"diff_url": "https://github.com/huggingface/transformers/pull/17970.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17970.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17969/comments | https://api.github.com/repos/huggingface/transformers/issues/17969/events | https://github.com/huggingface/transformers/pull/17969 | 1,290,494,107 | PR_kwDOCUB6oc46qRGF | 17,969 | TF: T5 can now handle a padded past (i.e. XLA 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 | [] | [
"related issue: https://github.com/huggingface/transformers/issues/17935",
"_The documentation is not available anymore as the PR was closed or merged._",
"Great job on finding and fixing the bug here @gante - cool that T5 works now :-)"
] | 1,656 | 1,656 | 1,656 | MEMBER | null | # What does this PR do?
In TF T5, we now fetch the correct slice of `position_bias` -- [the same way we do it in FLAX](https://github.com/huggingface/transformers/blob/main/src/transformers/models/t5/modeling_flax_t5.py#L339). The key difference is that FLAX relies on an [external variable](https://github.com/huggin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17969",
"html_url": "https://github.com/huggingface/transformers/pull/17969",
"diff_url": "https://github.com/huggingface/transformers/pull/17969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17968/comments | https://api.github.com/repos/huggingface/transformers/issues/17968/events | https://github.com/huggingface/transformers/pull/17968 | 1,290,490,147 | PR_kwDOCUB6oc46qQRe | 17,968 | Mask t5 relative position bias then head pruned | {
"login": "hadaev8",
"id": 20247085,
"node_id": "MDQ6VXNlcjIwMjQ3MDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/20247085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hadaev8",
"html_url": "https://github.com/hadaev8",
"followers_url": "https://api.github.com/users/hadaev... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the PR @hadaev8! \r\n\r\nCould you add a test for the newly added functionality ? :-) ",
"@patrickvonplaten \r\nNever did it, how it should looks like?",
"Hey @hadaev8,\r\n\r\nThe test should be added to this file here... | 1,656 | 1,662 | 1,662 | CONTRIBUTOR | null | # What does this PR do?
Fixes #17886
## 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-requests),... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17968/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17968",
"html_url": "https://github.com/huggingface/transformers/pull/17968",
"diff_url": "https://github.com/huggingface/transformers/pull/17968.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17968.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17967/comments | https://api.github.com/repos/huggingface/transformers/issues/17967/events | https://github.com/huggingface/transformers/pull/17967 | 1,290,447,162 | PR_kwDOCUB6oc46qHE3 | 17,967 | Drop columns after loading samples in prepare_tf_dataset | {
"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 think this PR is ready to go, but it's waiting on https://github.com/huggingface/datasets/pull/4553 to be merged and a release in Datasets. Tests will fail until that makes it through, so I won't merge until then!"
] | 1,656 | 1,657 | 1,657 | MEMBER | null | Another super-small fix to `prepare_tf_dataset()` - this time we apply the same fix we applied to `to_tf_dataset()`, and keep columns until after samples have been loaded from the dataset. This ensures that columns that are needed to compute the transform aren't dropped. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17967/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17967",
"html_url": "https://github.com/huggingface/transformers/pull/17967",
"diff_url": "https://github.com/huggingface/transformers/pull/17967.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17967.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17966/comments | https://api.github.com/repos/huggingface/transformers/issues/17966/events | https://github.com/huggingface/transformers/pull/17966 | 1,290,361,658 | PR_kwDOCUB6oc46p0vl | 17,966 | [Flax] Bump to v0.4.1 | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Nice finding! I am not competent regarding which versions we want to always support, but LGTM",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks @patil-suraj! The latest version would be v0.5.2 (see https://github.com/google/flax/releases). Is the best way to test this by... | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
The `flatten_dict` operator with the kwarg argument `sep` was added to `modeling_flax_utils` in https://github.com/huggingface/transformers/pull/17760:
https://github.com/huggingface/transformers/blob/f25457b273348733bfeb19a51ab0d21bd30a08b8/src/transformers/modeling_flax_utils.py#L127
Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17966/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/17966/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17966",
"html_url": "https://github.com/huggingface/transformers/pull/17966",
"diff_url": "https://github.com/huggingface/transformers/pull/17966.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17966.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17965/comments | https://api.github.com/repos/huggingface/transformers/issues/17965/events | https://github.com/huggingface/transformers/pull/17965 | 1,290,318,688 | PR_kwDOCUB6oc46prdr | 17,965 | time series forecasting model | {
"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._",
"cc'ing @mishig25 here - there seems to be an issue with the docs being built. The model is added to the toctree, but it's saying:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/usr/local/bin/doc-builder\", line 8, in <... | 1,656 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
This PR implements a vanilla encoder-decoder Transformer for time-series forecasting.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17965/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17965",
"html_url": "https://github.com/huggingface/transformers/pull/17965",
"diff_url": "https://github.com/huggingface/transformers/pull/17965.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17965.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17964/comments | https://api.github.com/repos/huggingface/transformers/issues/17964/events | https://github.com/huggingface/transformers/pull/17964 | 1,290,309,359 | PR_kwDOCUB6oc46ppbu | 17,964 | skip some ipex tests until it works with torch 1.12 | {
"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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
skip some ipex tests until it works with torch 1.12 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17964",
"html_url": "https://github.com/huggingface/transformers/pull/17964",
"diff_url": "https://github.com/huggingface/transformers/pull/17964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17964.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17963/comments | https://api.github.com/repos/huggingface/transformers/issues/17963/events | https://github.com/huggingface/transformers/pull/17963 | 1,290,304,677 | PR_kwDOCUB6oc46poa1 | 17,963 | BLOOM - modifying 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17963). All of your documentation changes will be reflected on that endpoint.",
"Hi, @younesbelkada \r\n\r\nCould you explain a bit more on ` One should always use padding_side=left when doing batched generations`?\r\nAnd w... | 1,656 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
- changed the non passing tests to fp32
- reduced sequence length
- remove padding test
All these matters have been discussed on Slack but mainly:
1- Generations tests were not passing because the linear layers does not give the same results between torch 1.11 and torch 1.12
2- batch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17963",
"html_url": "https://github.com/huggingface/transformers/pull/17963",
"diff_url": "https://github.com/huggingface/transformers/pull/17963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17962/comments | https://api.github.com/repos/huggingface/transformers/issues/17962/events | https://github.com/huggingface/transformers/issues/17962 | 1,290,176,053 | I_kwDOCUB6oc5M5oY1 | 17,962 | IPEX integration in Trainer breaks with PyTorch 1.12 | {
"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 | [] | [
"@sgugger Thanks for reporting. IPEX v1.12 will be releasing to support latest PyTorch version by next week. The team will look into the issue and let you know whether the issue is getting fixed in upcoming release. cc @jianan-gu ",
"@sgugger , this is Eikan from IPEX team. This is a version-mismatch issue. IPEX ... | 1,656 | 1,657 | 1,657 | COLLABORATOR | null | All the tests for the IPEX integration in Trainer started to break with the latest PyTorch release. Error is:
```
ImportError: /usr/local/lib/python3.8/dist-packages/intel_extension_for_pytorch/lib/libintel-ext-pt-cpu.so: undefined symbol: _ZNK3c1010TensorImpl5sizesEv
```
cc @hshen14 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17961/comments | https://api.github.com/repos/huggingface/transformers/issues/17961/events | https://github.com/huggingface/transformers/pull/17961 | 1,290,082,664 | PR_kwDOCUB6oc46o4OQ | 17,961 | add ONNX support for BLOOM | {
"login": "NouamaneTazi",
"id": 29777165,
"node_id": "MDQ6VXNlcjI5Nzc3MTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NouamaneTazi",
"html_url": "https://github.com/NouamaneTazi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"As you told me offline that the slow tests were passing (under torch1.11.0), looks good to me! Thanks for working on that π₯ ",
"I'm not too sure about the changes in `modeling_bloom.py`. Looks like not leveraging the bool type and... | 1,656 | 1,656 | 1,656 | MEMBER | null | # What does this PR do?
add ONNX support for BLOOM
## 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/17961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17961",
"html_url": "https://github.com/huggingface/transformers/pull/17961",
"diff_url": "https://github.com/huggingface/transformers/pull/17961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17961.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17960/comments | https://api.github.com/repos/huggingface/transformers/issues/17960/events | https://github.com/huggingface/transformers/issues/17960 | 1,289,999,740 | I_kwDOCUB6oc5M49V8 | 17,960 | Suggestion for introducing "shift_labels" argument for Trainer | {
"login": "seungeunrho",
"id": 8207326,
"node_id": "MDQ6VXNlcjgyMDczMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8207326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seungeunrho",
"html_url": "https://github.com/seungeunrho",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I don't think a new TrainingArgument is the right answer here. Some models shift the labels internally, I think it's all the models for causal LM (not jsut GPT-2), so I think instead of a flag, there should be a check when the loss is computed by the `Trainer` for label smoothing to see if the model class name is ... | 1,656 | 1,702 | 1,656 | CONTRIBUTOR | null | ### Feature request
Add an argument to determine shifting the `labels` or not.
In [TrainingArguments](https://github.com/huggingface/transformers/blob/v4.20.1/src/transformers/training_args.py#L104) class, an argument named `shift_labels` should be added.
During training, at [here](https://github.com/huggin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17960/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17959/comments | https://api.github.com/repos/huggingface/transformers/issues/17959/events | https://github.com/huggingface/transformers/pull/17959 | 1,289,991,645 | PR_kwDOCUB6oc46okjN | 17,959 | CLI: convert sharded PT 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._",
"BTW could we add 2 tests, `test_load_sharded_tf_to_pt` and `load_sharded_pt_to_tf` ",
"TF shards -> PT probably won't work, but I will add the test for PT shards -> TF π "
] | 1,656 | 1,656 | 1,656 | MEMBER | null | # What does this PR do?
This PR adds a major upgrade and a minor change to the `pt-to-tf` CLI.
Major upgrade: we can now convert sharded PT models. It updates how the `from_pt` loading works so as to be able to load from shards. It also updates how the `pt-to-tf` CLI stores the models, so it uses sharding capabil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17959",
"html_url": "https://github.com/huggingface/transformers/pull/17959",
"diff_url": "https://github.com/huggingface/transformers/pull/17959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17959.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17958/comments | https://api.github.com/repos/huggingface/transformers/issues/17958/events | https://github.com/huggingface/transformers/pull/17958 | 1,289,961,715 | PR_kwDOCUB6oc46oeEt | 17,958 | [wip] testing new docstring ui | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17958). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,656 | 1,659 | 1,659 | 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 with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17958",
"html_url": "https://github.com/huggingface/transformers/pull/17958",
"diff_url": "https://github.com/huggingface/transformers/pull/17958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17958.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17957/comments | https://api.github.com/repos/huggingface/transformers/issues/17957/events | https://github.com/huggingface/transformers/issues/17957 | 1,289,620,312 | I_kwDOCUB6oc5M3gtY | 17,957 | ERORR: "Missing XLA Configuration" while running the script? | {
"login": "karndeepsingh",
"id": 49562460,
"node_id": "MDQ6VXNlcjQ5NTYyNDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/49562460?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karndeepsingh",
"html_url": "https://github.com/karndeepsingh",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,659 | 1,659 | NONE | null | Hi,
I was trying to train the clip model on the images and text. And using clip-Italian repository and they are using HFScripts to train the model and got the error related to torch_xla.
Please help me to remove the following error. I am trying to train it on GPU device, it seems that error is due to torch_xla which ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17957/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17956/comments | https://api.github.com/repos/huggingface/transformers/issues/17956/events | https://github.com/huggingface/transformers/issues/17956 | 1,289,521,596 | I_kwDOCUB6oc5M3Im8 | 17,956 | `dlopen: cannot load any more object with static TLS` after installing sentencepiece | {
"login": "cyk1337",
"id": 13767887,
"node_id": "MDQ6VXNlcjEzNzY3ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyk1337",
"html_url": "https://github.com/cyk1337",
"followers_url": "https://api.github.com/users/cyk133... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @cyk1337,\r\n\r\n`\"./t5-v1_1-base\"` looks like a local path, could you share its content with us so that we can reproduce the error please?",
"> Hi @cyk1337,\r\n> \r\n> `\"./t5-v1_1-base\"` looks like a local path, could you share its content with us so that we can reproduce the error please?\r\n\r\nHi @Sau... | 1,656 | 1,656 | 1,656 | NONE | null | ### System Info
- `transformers` version: 4.19.2 (tried 4.20 / 4.21dev)
- Platform: Linux-3.10.0_3-0-0-12-x86_64-with-centos-6.3-Final
- Python version: 3.7.11
- PyTorch version (GPU?): 1.7.0 (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/17956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17956/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17955/comments | https://api.github.com/repos/huggingface/transformers/issues/17955/events | https://github.com/huggingface/transformers/issues/17955 | 1,289,416,235 | I_kwDOCUB6oc5M2u4r | 17,955 | tune save checkpoint throwing error due to float32 | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,686 | 1,662 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.13.0-27-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu113 (True)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: yes
- Usin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17955/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/17955/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17954/comments | https://api.github.com/repos/huggingface/transformers/issues/17954/events | https://github.com/huggingface/transformers/issues/17954 | 1,289,271,338 | I_kwDOCUB6oc5M2Lgq | 17,954 | codegen-16B-mono (Salesforce) fails to load tokenizer and model | {
"login": "weidotwisc",
"id": 3663272,
"node_id": "MDQ6VXNlcjM2NjMyNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3663272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weidotwisc",
"html_url": "https://github.com/weidotwisc",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @weidotwisc ,\r\n\r\nYou get these errors because CodeGen was only merged onto the master branch of the repo 5 days ago (PR https://github.com/huggingface/transformers/pull/17443) and therefore has not been released yet. :smile: \r\n\r\nIf you want to use it now without waiting for a release, you can install a ... | 1,656 | 1,656 | 1,656 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-4.18.0-193.19.1.el8_2.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.10
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.7.1+cu110 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17954/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17953/comments | https://api.github.com/repos/huggingface/transformers/issues/17953/events | https://github.com/huggingface/transformers/pull/17953 | 1,289,167,711 | PR_kwDOCUB6oc46l1Lg | 17,953 | Add ONNX support for LayoutLMv3 | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"@NielsRogge The supported tasks are question answering, token classification and sequence classification. Is there any other use case that should be supported?\r\n\r\nAlso, the order of input arguments for the `forward` method of `LayoutLMv3ForSequenceClassification` and `LayoutLMv3ForQuestionAnswering` is differe... | 1,656 | 1,673 | 1,656 | 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/17953/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17953",
"html_url": "https://github.com/huggingface/transformers/pull/17953",
"diff_url": "https://github.com/huggingface/transformers/pull/17953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17952/comments | https://api.github.com/repos/huggingface/transformers/issues/17952/events | https://github.com/huggingface/transformers/issues/17952 | 1,289,162,913 | I_kwDOCUB6oc5M1xCh | 17,952 | Trainer.predict multiple progress bars | {
"login": "neverix",
"id": 46641404,
"node_id": "MDQ6VXNlcjQ2NjQxNDA0",
"avatar_url": "https://avatars.githubusercontent.com/u/46641404?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neverix",
"html_url": "https://github.com/neverix",
"followers_url": "https://api.github.com/users/neveri... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"\r\n\r\nThe cause of the issue is that `Trainer.predict()` calls `on_prediction_step` but not `on_evaluate` for `predict()`, so every prediction run after the first one will reuse... | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu113 (False)
- Tensorflow version (GPU?): 2.8.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17952/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17951/comments | https://api.github.com/repos/huggingface/transformers/issues/17951/events | https://github.com/huggingface/transformers/pull/17951 | 1,289,108,302 | PR_kwDOCUB6oc46loFQ | 17,951 | Fix number of examples for iterable dataset in distributed 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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
As pointed out in #17913, when training in distributed mode with iterable datasets, the number of examples displayed is wrong. This is because we need to go grab the length of the underlying dataset of the `IterableDatasetShard`, not the length of the `IterableDatasetShard` itself.
Fixes ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17951/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17951",
"html_url": "https://github.com/huggingface/transformers/pull/17951",
"diff_url": "https://github.com/huggingface/transformers/pull/17951.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17951.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17950/comments | https://api.github.com/repos/huggingface/transformers/issues/17950/events | https://github.com/huggingface/transformers/pull/17950 | 1,289,091,269 | PR_kwDOCUB6oc46lkM6 | 17,950 | Fix for prepare_tf_dataset when drop_remainder is not supplied | {
"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._",
"It's the same behaviour as Keras and `to_tf_dataset()`, so I think people will expect it!"
] | 1,656 | 1,656 | 1,656 | MEMBER | null | Super-minor fix for an oversight that causes a crash when `drop_remainder` is left at the default `None`! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17950/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17950",
"html_url": "https://github.com/huggingface/transformers/pull/17950",
"diff_url": "https://github.com/huggingface/transformers/pull/17950.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17950.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17949/comments | https://api.github.com/repos/huggingface/transformers/issues/17949/events | https://github.com/huggingface/transformers/pull/17949 | 1,289,014,101 | PR_kwDOCUB6oc46lS0l | 17,949 | PyTorch 1.12.0 for 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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
After the slack discussion, using PyTorch 1.12.0 for scheduled CI is a better idea, so we can see what to fix.
Another reason is that this (messy) block
https://github.com/huggingface/transformers/blob/39dad9768e75460d8bf92fc27d407562eaeb6bd0/docker/transformers-pytorch-gpu/Dockerfile#L19... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17949",
"html_url": "https://github.com/huggingface/transformers/pull/17949",
"diff_url": "https://github.com/huggingface/transformers/pull/17949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17949.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17948/comments | https://api.github.com/repos/huggingface/transformers/issues/17948/events | https://github.com/huggingface/transformers/pull/17948 | 1,289,012,939 | PR_kwDOCUB6oc46lSkB | 17,948 | PyTorch 1.12.0 | {
"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,656 | 1,657 | 1,656 | COLLABORATOR | null | # What does this PR do?
Change to PyTorch 1.12.0 for scheduled CI. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17948",
"html_url": "https://github.com/huggingface/transformers/pull/17948",
"diff_url": "https://github.com/huggingface/transformers/pull/17948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17948.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17947/comments | https://api.github.com/repos/huggingface/transformers/issues/17947/events | https://github.com/huggingface/transformers/issues/17947 | 1,289,007,037 | I_kwDOCUB6oc5M1K-9 | 17,947 | Consider adding "middle" option for tokenizer truncation_side argument | {
"login": "AndreaSottana",
"id": 48888970,
"node_id": "MDQ6VXNlcjQ4ODg4OTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/48888970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreaSottana",
"html_url": "https://github.com/AndreaSottana",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"WDYT @SaulLu @Narsil ?",
"Hi @AndreaSottana,\r\n\r\nThank you very much for sharing a feature proposal! :hugs: \r\n\r\nI understand your use case, my feeling is that for the moment I will not push for the addition of this feature. My feeling is that at the moment it is something that can be implemented on-top of... | 1,656 | 1,674 | 1,660 | CONTRIBUTOR | null | ### Feature request
At the moment, thanks to this PR https://github.com/huggingface/transformers/pull/14947 the option to truncate the text from the left instead of just from the right has been added. However, for some NLP tasks like summarization of long documents, it might also be advantageous to truncate the middl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17947/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17946/comments | https://api.github.com/repos/huggingface/transformers/issues/17946/events | https://github.com/huggingface/transformers/issues/17946 | 1,288,972,965 | I_kwDOCUB6oc5M1Cql | 17,946 | Decision Transformer Position Embedding Incorrect Implementation | {
"login": "charlesjsun",
"id": 16947871,
"node_id": "MDQ6VXNlcjE2OTQ3ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16947871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/charlesjsun",
"html_url": "https://github.com/charlesjsun",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "edbeeching",
"id": 7275864,
"node_id": "MDQ6VXNlcjcyNzU4NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7275864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edbeeching",
"html_url": "https://github.com/edbeeching",
"followers_url": "https://api.github.com/users... | [
{
"login": "edbeeching",
"id": 7275864,
"node_id": "MDQ6VXNlcjcyNzU4NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7275864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edbeeching",
"html_url": "https://github.com/edbeeching",
"followers_url": "https://... | [
"cc @edbeeching @simoninithomas ",
"Thanks for highlighting this, we set the position_ids to all zeros in the forward pass of the Decision Transformer Model: \r\nhttps://github.com/huggingface/transformers/blob/9fe2403bc52e342022ed132561655f84a6b6b7f3/src/transformers/models/decision_transformer/modeling_decision... | 1,656 | 1,656 | 1,656 | NONE | null | ### System Info
Not necessary (source code issue)
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
###... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17945/comments | https://api.github.com/repos/huggingface/transformers/issues/17945/events | https://github.com/huggingface/transformers/issues/17945 | 1,288,937,959 | I_kwDOCUB6oc5M06Hn | 17,945 | Unable to fine-tune WMT model | {
"login": "tatiana-iazykova",
"id": 70767376,
"node_id": "MDQ6VXNlcjcwNzY3Mzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/70767376?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tatiana-iazykova",
"html_url": "https://github.com/tatiana-iazykova",
"followers_url": "https://... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi Tatiana,\r\nI am just a user and just came across your issue. I have experienced similar things and I finally found out it was due to incompatibility between tokenizer's vocabulary and the vocabulary sizes of the encoder & decoder (check in the config). Not sure if the same reason, but maybe you could check it,... | 1,656 | 1,660 | 1,660 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Darwin-21.5.0-x86_64-i386-64bit
- Python version: 3.7.2
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17945/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17944/comments | https://api.github.com/repos/huggingface/transformers/issues/17944/events | https://github.com/huggingface/transformers/pull/17944 | 1,288,901,259 | PR_kwDOCUB6oc46k6dM | 17,944 | [Bigscience] Non-causal Decoder Generation | {
"login": "haileyschoelkopf",
"id": 65563625,
"node_id": "MDQ6VXNlcjY1NTYzNjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/65563625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haileyschoelkopf",
"html_url": "https://github.com/haileyschoelkopf",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17944). All of your documentation changes will be reflected on that endpoint.",
"Demonstration still here: https://gist.github.com/haileyschoelkopf/33b9e41d07b9222e995c6cce155724de\r\n\r\nPR now updated to include `BloomFor... | 1,656 | 1,661 | 1,661 | CONTRIBUTOR | null | @thomasw21 @Muennighoff
As we discussed, here's a quick hack to try out Prefix-LM on BLOOM via swapping out the mask for one that always attends to the first `prefix_length` tokens (as in this figure from the pretraining objectives paper).
\s*$", content, flags=re.MULTILINE)
src/transformers/dynamic_module_utils.py:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17943",
"html_url": "https://github.com/huggingface/transformers/pull/17943",
"diff_url": "https://github.com/huggingface/transformers/pull/17943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17943.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17942/comments | https://api.github.com/repos/huggingface/transformers/issues/17942/events | https://github.com/huggingface/transformers/pull/17942 | 1,288,781,077 | PR_kwDOCUB6oc46kgp7 | 17,942 | Use explicit torch version in deepspeed 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._",
"OK for me to use 1.12. We might see more test failures (for scheduled daily CI). Current CircleCI pings 1.11 to have green CI."
] | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Use explicit torch version in DeepSpeed CI docker file, as we do in
https://github.com/huggingface/transformers/blob/d49c43e93fedc1ff7d58a3617fc8a3532af054ba/docker/transformers-all-latest-gpu/Dockerfile#L12 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17942/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/17942/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17942",
"html_url": "https://github.com/huggingface/transformers/pull/17942",
"diff_url": "https://github.com/huggingface/transformers/pull/17942.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17942.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17941/comments | https://api.github.com/repos/huggingface/transformers/issues/17941/events | https://github.com/huggingface/transformers/issues/17941 | 1,288,761,418 | I_kwDOCUB6oc5M0PBK | 17,941 | Getting only <|endoftext|> token in GPT-NEOX-20B model | {
"login": "pragnakalpdev11",
"id": 68984286,
"node_id": "MDQ6VXNlcjY4OTg0Mjg2",
"avatar_url": "https://avatars.githubusercontent.com/u/68984286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pragnakalpdev11",
"html_url": "https://github.com/pragnakalpdev11",
"followers_url": "https://api... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,659 | 1,659 | NONE | null | ### System Info
Transformer Version: 4.20.1
Python : 3.8
ubuntu : 18.04
### Who can help?
@patil-suraj
### 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 data... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17941/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17940/comments | https://api.github.com/repos/huggingface/transformers/issues/17940/events | https://github.com/huggingface/transformers/pull/17940 | 1,288,760,399 | PR_kwDOCUB6oc46kcJA | 17,940 | fix `bias` keyword argument in TFDebertaEmbeddings | {
"login": "WissamAntoun",
"id": 44616226,
"node_id": "MDQ6VXNlcjQ0NjE2MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/44616226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WissamAntoun",
"html_url": "https://github.com/WissamAntoun",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can you review and approve this PR ? @sgugger @LysandreJik \r\nThank you"
] | 1,656 | 1,656 | 1,656 | 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/17940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17940",
"html_url": "https://github.com/huggingface/transformers/pull/17940",
"diff_url": "https://github.com/huggingface/transformers/pull/17940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17940.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17939/comments | https://api.github.com/repos/huggingface/transformers/issues/17939/events | https://github.com/huggingface/transformers/pull/17939 | 1,288,747,657 | PR_kwDOCUB6oc46kZWX | 17,939 | Fix img seg tests (load checkpoints from `hf-internal-testing`) | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger please feel free to merge it π (the merge btn is not available)"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Tests use `tiny-detr` checkpoints from `hf-internal-testing` org from hub
<!--
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 ref... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17939/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17939",
"html_url": "https://github.com/huggingface/transformers/pull/17939",
"diff_url": "https://github.com/huggingface/transformers/pull/17939.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17939.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17938/comments | https://api.github.com/repos/huggingface/transformers/issues/17938/events | https://github.com/huggingface/transformers/pull/17938 | 1,288,737,423 | PR_kwDOCUB6oc46kXGy | 17,938 | Add OWL-ViT model for zero-shot object detection | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Any plan to extend it for TensorFlow version? \r\nThere seems to be [conversion script](https://github.com/google-research/scenic/tree/a41d24676f64a2158bfcd7cb79b0a87673aa875b/scenic/projects/owl_vit#conversion-to-tensorflow) officia... | 1,656 | 1,659 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
- Adds OwlViT model for open-vocabulary object detection. Model takes in one or multiple text queries per image as input.
Original repo:
https://github.com/google-research/scenic/tree/a41d24676f64a2158bfcd7cb79b0a87673aa875b/scenic/projects/owl_vit
Test notebook:
https://colab.research.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17938/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17938",
"html_url": "https://github.com/huggingface/transformers/pull/17938",
"diff_url": "https://github.com/huggingface/transformers/pull/17938.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17938.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17937/comments | https://api.github.com/repos/huggingface/transformers/issues/17937/events | https://github.com/huggingface/transformers/pull/17937 | 1,288,716,431 | PR_kwDOCUB6oc46kSlU | 17,937 | Avoid nan during sampling in generate() | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | {
"login": "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... | [
"I have some doubts here, as this will make all tokens having equal probability to be sampled. But with all `-inf`, nothing could be sampled which leads to error. I feel there is no well-defined expected results in such edge cases.",
"_The documentation is not available anymore as the PR was closed or merged._",
... | 1,656 | 1,662 | 1,656 | COLLABORATOR | null | # What does this PR do?
Fix CI test error
```bash
# sample
probs = nn.functional.softmax(next_token_scores, dim=-1)
> next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
E RuntimeError: probability tensor contains either `inf`, `nan` or element < 0
```
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17937/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17937",
"html_url": "https://github.com/huggingface/transformers/pull/17937",
"diff_url": "https://github.com/huggingface/transformers/pull/17937.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17937.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17936/comments | https://api.github.com/repos/huggingface/transformers/issues/17936/events | https://github.com/huggingface/transformers/pull/17936 | 1,288,696,358 | PR_kwDOCUB6oc46kOPf | 17,936 | Fix all is_torch_tpu_available issues | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
},
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR should fix up all `torch_xla` initialization caused on import with the new check for if a TPU is available by following the same structure as [accelerate](https://github.com/huggingface/accelerate/pull/469)
Fixes # (issue)
Fixes #17752
Fixes #17900
## Before submitting
- [ ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17936/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/17936/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17936",
"html_url": "https://github.com/huggingface/transformers/pull/17936",
"diff_url": "https://github.com/huggingface/transformers/pull/17936.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17936.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17935/comments | https://api.github.com/repos/huggingface/transformers/issues/17935/events | https://github.com/huggingface/transformers/issues/17935 | 1,288,615,260 | I_kwDOCUB6oc5MzrVc | 17,935 | TF: XLA generation not working properly in some 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... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 2392046359,
"node_id": "MDU6... | open | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"@gante do you require any help with this issue? Happy to contribute",
"Hi @anmolsjoshi π \r\n\r\nIf you are comfortable with debugging XLA, absolutely :) My recommendation would be to pick a model from \"Models failing complex tests\" (the others might require significant architecture changes), and to start deb... | 1,656 | 1,677 | null | MEMBER | null | This issue is used to track TensorFlow XLA generation issues, arising from #17857. There are three categories of issues, sorted in descending order by severity:
### Key model issues
These are heavily-used models, whose quality should be prioritized.
- [x] T5 -- The quality of the results decreases with `max_le... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17935/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17934/comments | https://api.github.com/repos/huggingface/transformers/issues/17934/events | https://github.com/huggingface/transformers/pull/17934 | 1,288,542,199 | PR_kwDOCUB6oc46jspb | 17,934 | Unifying training argument type annotations | {
"login": "jannisborn",
"id": 15703818,
"node_id": "MDQ6VXNlcjE1NzAzODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/15703818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jannisborn",
"html_url": "https://github.com/jannisborn",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I understand that the tests are failing because of:\r\n\r\n```txt\r\nValueError: Only `Union[X, NoneType]` (i.e., `Optional[X]`) is allowed for `Union` because\r\nthe argument parser only supports one type per argument. Problem encou... | 1,656 | 1,656 | 1,656 | 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/17934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17934/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17934",
"html_url": "https://github.com/huggingface/transformers/pull/17934",
"diff_url": "https://github.com/huggingface/transformers/pull/17934.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17934.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17933/comments | https://api.github.com/repos/huggingface/transformers/issues/17933/events | https://github.com/huggingface/transformers/pull/17933 | 1,288,505,707 | PR_kwDOCUB6oc46jkx0 | 17,933 | ExplicitEnum subclass str (JSON dump compatible) | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The following tests are failing but that seems unrelated:\r\n\r\ntests/pipelines/test_pipelines_object_detection.py::ObjectDetectionPipelineTests::test_small_model_pt\r\ntests/pipelines/test_pipelines_image_segmentation.py::ImageSegm... | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | I found that when I wanted to write the parsed dataclasses that I get from `HfArgumentParser.parse_args_into_dataclasses()` to JSON, that I would get JSON errors. The reason being that `TypeError: Object of type IntervalStrategy is not JSON serializable`. While this is understandable (Enum members are not serializable)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17933",
"html_url": "https://github.com/huggingface/transformers/pull/17933",
"diff_url": "https://github.com/huggingface/transformers/pull/17933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17933.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17932/comments | https://api.github.com/repos/huggingface/transformers/issues/17932/events | https://github.com/huggingface/transformers/pull/17932 | 1,288,405,667 | PR_kwDOCUB6oc46jPa4 | 17,932 | Fix LayoutLMv3 documentation | {
"login": "pocca2048",
"id": 10275397,
"node_id": "MDQ6VXNlcjEwMjc1Mzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/10275397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pocca2048",
"html_url": "https://github.com/pocca2048",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Applied your suggestions!",
"Thanks, could you run `make style` and `make quality` from the root of the repo? This ensures the code quality check will pass. ",
"Applied and all checks are passing!",
"This issue has been automat... | 1,656 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
- Fixes documentation of LayoutLMv3Model and some other typos.
Fixes # (issue)
#17833
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17932/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17932",
"html_url": "https://github.com/huggingface/transformers/pull/17932",
"diff_url": "https://github.com/huggingface/transformers/pull/17932.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17932.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17931/comments | https://api.github.com/repos/huggingface/transformers/issues/17931/events | https://github.com/huggingface/transformers/pull/17931 | 1,288,354,706 | PR_kwDOCUB6oc46jEjc | 17,931 | Large model loading: add link to existing documentation | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hmmm yes, I agree, but this is still linking to `from_pretrained`, just a part of the documentation that contains more information about the `low_cpu_mem_usage`. The part I have removed glosses over it quickly, whereas the part I lin... | 1,656 | 1,656 | 1,656 | MEMBER | null | The documentation for large model loading is in two different places. This adds a link from one to the other, showing the auto device map. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17931/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17931",
"html_url": "https://github.com/huggingface/transformers/pull/17931",
"diff_url": "https://github.com/huggingface/transformers/pull/17931.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17931.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17930/comments | https://api.github.com/repos/huggingface/transformers/issues/17930/events | https://github.com/huggingface/transformers/pull/17930 | 1,288,263,086 | PR_kwDOCUB6oc46ixHh | 17,930 | Fix typo | {
"login": "Dobatymo",
"id": 7647594,
"node_id": "MDQ6VXNlcjc2NDc1OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7647594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dobatymo",
"html_url": "https://github.com/Dobatymo",
"followers_url": "https://api.github.com/users/Dobat... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Only a typo, but it can lead to confusion
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17930",
"html_url": "https://github.com/huggingface/transformers/pull/17930",
"diff_url": "https://github.com/huggingface/transformers/pull/17930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17930.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17929/comments | https://api.github.com/repos/huggingface/transformers/issues/17929/events | https://github.com/huggingface/transformers/issues/17929 | 1,288,233,900 | I_kwDOCUB6oc5MyOOs | 17,929 | "zero-shot-image-classification" pipeline with `VisionTextDualEncoderModel` needs manual feature_extractor and tokenizer input | {
"login": "Bing-su",
"id": 37621276,
"node_id": "MDQ6VXNlcjM3NjIxMjc2",
"avatar_url": "https://avatars.githubusercontent.com/u/37621276?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bing-su",
"html_url": "https://github.com/Bing-su",
"followers_url": "https://api.github.com/users/Bing-s... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"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... | [
{
"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... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,661 | 1,661 | NONE | null | ### System Info
```shell
transformers: 4.20.1
platform: windows 11, google colab
```
### Who can help?
@Narsil
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17929/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17928/comments | https://api.github.com/repos/huggingface/transformers/issues/17928/events | https://github.com/huggingface/transformers/pull/17928 | 1,288,157,853 | PR_kwDOCUB6oc46ia9Z | 17,928 | Fix trainer seq2seq qa.py evaluate log | {
"login": "iamtatsuki05",
"id": 92259109,
"node_id": "U_kgDOBX_DJQ",
"avatar_url": "https://avatars.githubusercontent.com/u/92259109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamtatsuki05",
"html_url": "https://github.com/iamtatsuki05",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,664 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
<!--
This PR fix the If eval tries to log eval logs with prediction_loss_only and logging_dir, it will not be logged, so I changed it so that logs will be saved.
-->
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17928",
"html_url": "https://github.com/huggingface/transformers/pull/17928",
"diff_url": "https://github.com/huggingface/transformers/pull/17928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17927/comments | https://api.github.com/repos/huggingface/transformers/issues/17927/events | https://github.com/huggingface/transformers/pull/17927 | 1,288,144,797 | PR_kwDOCUB6oc46iYPU | 17,927 | fix: eval logs is not saved | {
"login": "iamtatsuki05",
"id": 92259109,
"node_id": "U_kgDOBX_DJQ",
"avatar_url": "https://avatars.githubusercontent.com/u/92259109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamtatsuki05",
"html_url": "https://github.com/iamtatsuki05",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Sorry, I forgot to ping reviewers @patil-suraj @sgugger",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
<!--
This PR fix the If eval tries to log eval logs with prediction_loss_only and logging_dir, it will not be logged, so I changed it so that logs will be saved.
-->
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17927/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17927",
"html_url": "https://github.com/huggingface/transformers/pull/17927",
"diff_url": "https://github.com/huggingface/transformers/pull/17927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17927.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17926/comments | https://api.github.com/repos/huggingface/transformers/issues/17926/events | https://github.com/huggingface/transformers/pull/17926 | 1,287,799,872 | PR_kwDOCUB6oc46hSay | 17,926 | Remove imports and use forward references in ONNX feature | {
"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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Type annotations should not be responsible for imports, so moving the pretrained models import in the onnx feature file inside a TYPE_CHECKING block and using fast-forward references instead. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17926",
"html_url": "https://github.com/huggingface/transformers/pull/17926",
"diff_url": "https://github.com/huggingface/transformers/pull/17926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17926.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17925/comments | https://api.github.com/repos/huggingface/transformers/issues/17925/events | https://github.com/huggingface/transformers/pull/17925 | 1,287,772,700 | PR_kwDOCUB6oc46hNKe | 17,925 | Fix compatibility with 1.12 | {
"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._",
"We'll need a fix for all Wav2Vec2-like models it seems. Opened an issue here: https://github.com/pytorch/pytorch/issues/80569",
"This issue has been automatically marked as stale because it has not had recent activity. If you think... | 1,656 | 1,659 | 1,659 | COLLABORATOR | null | # What does this PR do?
Fixes the scatter tests by installing torch_scatter wheels for PyTorch 1.12. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17925/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17925",
"html_url": "https://github.com/huggingface/transformers/pull/17925",
"diff_url": "https://github.com/huggingface/transformers/pull/17925.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17925.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17924/comments | https://api.github.com/repos/huggingface/transformers/issues/17924/events | https://github.com/huggingface/transformers/pull/17924 | 1,287,314,719 | PR_kwDOCUB6oc46fqr5 | 17,924 | Add ViltForTokenClassification e.g. for Named-Entity-Recognition (NER) | {
"login": "gilad19",
"id": 11805822,
"node_id": "MDQ6VXNlcjExODA1ODIy",
"avatar_url": "https://avatars.githubusercontent.com/u/11805822?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gilad19",
"html_url": "https://github.com/gilad19",
"followers_url": "https://api.github.com/users/gilad1... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @gilad19, the implementation and internals look good to me! \r\n\r\nI'll defer to @NielsRogge regarding the forward call implementation and documentation.",
"Regarding the use case - exactly, apply NER on a piece of text for wh... | 1,656 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
Adding ViltForTokenClassification in order to be able to fine-tune ViLT for a token classification task (e.g. as Named-Entity-Recognition). This allows leveraging both image and text for token classification tasks using ViLT.
## Before submitting
- [ ] This PR fixes a typo or improves th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17924/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17924",
"html_url": "https://github.com/huggingface/transformers/pull/17924",
"diff_url": "https://github.com/huggingface/transformers/pull/17924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17924.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17923/comments | https://api.github.com/repos/huggingface/transformers/issues/17923/events | https://github.com/huggingface/transformers/pull/17923 | 1,287,263,018 | PR_kwDOCUB6oc46ffpB | 17,923 | skip some gpt_neox tests that require 80G RAM | {
"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._",
"What Sylvain said and I'd ask an even more different question - why are we running the same test on many identical models of different sizes. The purpose of our test suite is not to test models on the hub, it's to test the model's co... | 1,656 | 1,662 | 1,656 | COLLABORATOR | null | # What does this PR do?
GPT-NeoX requires ~80G RAM to run. Our CI runners have only 60G RAM. Skip a few tests for now.
Do you think it's better to use something like
```python
@unittest.skipUnless(psutil.virtual_memory().total / 1024 ** 3 > 80, "GPT-NeoX requires 80G RAM for testing")
```
The problem is t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17923/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17923",
"html_url": "https://github.com/huggingface/transformers/pull/17923",
"diff_url": "https://github.com/huggingface/transformers/pull/17923.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17923.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17922/comments | https://api.github.com/repos/huggingface/transformers/issues/17922/events | https://github.com/huggingface/transformers/pull/17922 | 1,287,216,808 | PR_kwDOCUB6oc46fVtU | 17,922 | fixing fsdp autowrap functionality | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for the fix. I think we should proceed differently to still support the previous nightly builds, and import the old name as the new name then.\r\n\r\nHello, I have updated the version requirement to the stable torch version ... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | ### What does this PR do?
1. PyTorch has renamed default_auto_wrap_policy to size_based_auto_wrap_policy. This PR updates the same.
## 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://git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17922/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17922",
"html_url": "https://github.com/huggingface/transformers/pull/17922",
"diff_url": "https://github.com/huggingface/transformers/pull/17922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17921/comments | https://api.github.com/repos/huggingface/transformers/issues/17921/events | https://github.com/huggingface/transformers/pull/17921 | 1,287,101,909 | PR_kwDOCUB6oc46e8-U | 17,921 | Update notification service | {
"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._",
"To make this PR visible again, @LysandreJik .\r\n\r\n**More context**: this is mainly for past CI - the summary table(s) could be very long as there are many more test failures.\r\n\r\n**Update**: I will try to save a complete table... | 1,656 | 1,658 | 1,658 | COLLABORATOR | null | # What does this PR do?
~~**Let me run a dummy test before merge**~~
- Fix failure report blocks (the tables) with too long text (might happen for past CI) - similar to #17630
- A complete version of (long) tables are saved as artifacts
- Still send successful report if it is not push CI (we are close to 0 f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17921/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17921",
"html_url": "https://github.com/huggingface/transformers/pull/17921",
"diff_url": "https://github.com/huggingface/transformers/pull/17921.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17921.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17920/comments | https://api.github.com/repos/huggingface/transformers/issues/17920/events | https://github.com/huggingface/transformers/pull/17920 | 1,287,061,808 | PR_kwDOCUB6oc46e0jE | 17,920 | Fix DisjunctiveConstraint edge case and add ConjunctiveDisjunctiveConstraint | {
"login": "boy2000-007man",
"id": 4197489,
"node_id": "MDQ6VXNlcjQxOTc0ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4197489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boy2000-007man",
"html_url": "https://github.com/boy2000-007man",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17920). All of your documentation changes will be reflected on that endpoint.",
"Hey @boy2000-007man,\r\n\r\nThanks for the fix proposal! @cwkeam could you take a look here as well? :-) \r\n\r\n@boy2000-007man - it'd be rea... | 1,656 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
- implement [`AC automaton`](https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_algorithm) to supersede Trie to fix DisjunctiveConstraint edge case
- add ConjunctiveDisjunctiveConstraint to handle the complex combinations between multiple conjunctive and disjunctive constraints
- update stron... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17920",
"html_url": "https://github.com/huggingface/transformers/pull/17920",
"diff_url": "https://github.com/huggingface/transformers/pull/17920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17919/comments | https://api.github.com/repos/huggingface/transformers/issues/17919/events | https://github.com/huggingface/transformers/pull/17919 | 1,287,040,722 | PR_kwDOCUB6oc46ewFb | 17,919 | Enable Past 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._",
"> merge it ... and monitor failures. \r\n\r\nI read your comment too quickly. So far the Past CI will be triggered only on pushing to `run-past-ci*` branches. I ran it ~ June 20 however, and I opened #18181 today.\r\n\r\nI think we c... | 1,656 | 1,658 | 1,657 | COLLABORATOR | null | # What does this PR do?
Enable Past CI | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17919/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17919",
"html_url": "https://github.com/huggingface/transformers/pull/17919",
"diff_url": "https://github.com/huggingface/transformers/pull/17919.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17919.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17918/comments | https://api.github.com/repos/huggingface/transformers/issues/17918/events | https://github.com/huggingface/transformers/pull/17918 | 1,286,981,633 | PR_kwDOCUB6oc46ejt4 | 17,918 | Pin black to 22.3.0 to benefit from a stable --preview flag | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Merging now as the code quality passes so that as few PRs are impacted as possible.",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot!"
] | 1,656 | 1,656 | 1,656 | MEMBER | null | Pins black to 22.3.0 in order to benefit from the `--preview` flag continuously. This flag adds reformats for strings, exceptions, logs, and others.
The recent black 22.6.0 version's `--preview` flag isn't compatible with the 22.3.0 and results in line changes.
This PR pins 22.3.0 as it was deemed the path with ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17918/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17918",
"html_url": "https://github.com/huggingface/transformers/pull/17918",
"diff_url": "https://github.com/huggingface/transformers/pull/17918.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17918.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17917/comments | https://api.github.com/repos/huggingface/transformers/issues/17917/events | https://github.com/huggingface/transformers/pull/17917 | 1,286,968,288 | PR_kwDOCUB6oc46eg7N | 17,917 | Fix #17893, removed dead code | {
"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._",
"Hey @clefourrier! The code quality error comes from a new release from `black`. Rebasing on `main` should solve the issue as you'll benefit from https://github.com/huggingface/transformers/pull/17918.",
"Regarding the test\r\n\r\nf... | 1,656 | 1,656 | 1,656 | MEMBER | null | # What does this PR do?
Fixes #17893
## 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-reque... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17917",
"html_url": "https://github.com/huggingface/transformers/pull/17917",
"diff_url": "https://github.com/huggingface/transformers/pull/17917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17916/comments | https://api.github.com/repos/huggingface/transformers/issues/17916/events | https://github.com/huggingface/transformers/pull/17916 | 1,286,965,681 | PR_kwDOCUB6oc46egY5 | 17,916 | [M2M100] update conversion script | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | MEMBER | null | # What does this PR do?
Update the m2m100 conversion script for newer checkpoints. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17916/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17916",
"html_url": "https://github.com/huggingface/transformers/pull/17916",
"diff_url": "https://github.com/huggingface/transformers/pull/17916.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17916.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17915/comments | https://api.github.com/repos/huggingface/transformers/issues/17915/events | https://github.com/huggingface/transformers/pull/17915 | 1,286,961,444 | PR_kwDOCUB6oc46efgm | 17,915 | Compute min_resolution in prepare_image_inputs | {
"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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
If `feature_extract_tester.min_resolution` is specified, the images have to be at least that large, otherwise we will get image width and/or height `0` and it gives error.
An error is [here](https://github.com/huggingface/transformers/runs/7071766841?check_suite_focus=true):
```
> ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17915/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17915",
"html_url": "https://github.com/huggingface/transformers/pull/17915",
"diff_url": "https://github.com/huggingface/transformers/pull/17915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17915.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17914/comments | https://api.github.com/repos/huggingface/transformers/issues/17914/events | https://github.com/huggingface/transformers/pull/17914 | 1,286,932,981 | PR_kwDOCUB6oc46eZkg | 17,914 | Fix typo in serialization.mdx | {
"login": "eltociear",
"id": 22633385,
"node_id": "MDQ6VXNlcjIyNjMzMzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22633385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eltociear",
"html_url": "https://github.com/eltociear",
"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_17914). All of your documentation changes will be reflected on that endpoint.",
"Hey @eltociear! The code quality error comes from a new release from `black`. Rebasing on `main` should solve the issue as you'll benefit from... | 1,656 | 1,659 | 1,659 | CONTRIBUTOR | null |
# What does this PR do?
overriden -> overridden
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contribut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17914/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17914",
"html_url": "https://github.com/huggingface/transformers/pull/17914",
"diff_url": "https://github.com/huggingface/transformers/pull/17914.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17914.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17913/comments | https://api.github.com/repos/huggingface/transformers/issues/17913/events | https://github.com/huggingface/transformers/issues/17913 | 1,286,871,833 | I_kwDOCUB6oc5MtBsZ | 17,913 | "num_examples" incorrect when using IterableDataset | {
"login": "Vicky-Meng",
"id": 32586021,
"node_id": "MDQ6VXNlcjMyNTg2MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/32586021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vicky-Meng",
"html_url": "https://github.com/Vicky-Meng",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"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... | [
{
"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.git... | [
"Thanks for flagging! Could you double-check the PR above fixes your issue?"
] | 1,656 | 1,656 | 1,656 | NONE | null | When using ```torch.utils.data.IterableDataset```, logging ```num_examlpes``` (as in https://github.com/huggingface/transformers/blob/main/src/transformers/trainer.py#L1518) is not the actual num_examples, but the number of examples processed on a single process.
For example, when I have 2000 training samples and 2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17913/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17912/comments | https://api.github.com/repos/huggingface/transformers/issues/17912/events | https://github.com/huggingface/transformers/issues/17912 | 1,286,820,374 | I_kwDOCUB6oc5Ms1IW | 17,912 | Training loss doesn't decrease on TPU while works fine on GPU | {
"login": "AbuUbaida",
"id": 39676946,
"node_id": "MDQ6VXNlcjM5Njc2OTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/39676946?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AbuUbaida",
"html_url": "https://github.com/AbuUbaida",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Maybe @sgugger has an idea or knows someone who does!",
"This is more of a question for the PyTorch XLA folks, since you're not using any of our tools for training.",
"> This is more of a question for the PyTorch XLA folks, since you're not using any of our tools for training.\r\n\r\nThanks I have asked them a... | 1,656 | 1,656 | 1,656 | NONE | null | For the summarization task, where I train with an encoder-decoder model on GPU, it works fine and the loss gets lower over iterations. But when I change the device to `device = xm.xla_device()` and optimizer to `xm.optimizer_step(optimizer, barrier=True)` on single-core TPU, the training loss remains nearly unchanged!!... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17912/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17911/comments | https://api.github.com/repos/huggingface/transformers/issues/17911/events | https://github.com/huggingface/transformers/issues/17911 | 1,286,798,797 | I_kwDOCUB6oc5Msv3N | 17,911 | Silero Models License Infringement | {
"login": "snakers4",
"id": 12515440,
"node_id": "MDQ6VXNlcjEyNTE1NDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/12515440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snakers4",
"html_url": "https://github.com/snakers4",
"followers_url": "https://api.github.com/users/sna... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"closing as duplicate of https://github.com/huggingface/hub-docs/issues/216 let's address the issue there"
] | 1,656 | 1,656 | 1,656 | NONE | null | ### Model description
Hi,
My name is Alexander, I am writing to you on behalf of Silero, a company maintaining our project [silero-models](https://github.com/snakers4/silero-models).
We noticed that our models are rehosted here - https://huggingface.co/spaces/pytorch/silero_tts or here https://huggingface.co/spa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17911/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17910/comments | https://api.github.com/repos/huggingface/transformers/issues/17910/events | https://github.com/huggingface/transformers/pull/17910 | 1,286,791,801 | PR_kwDOCUB6oc46d7-R | 17,910 | [SegFormer] TensorFlow port | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @sayakpaul! The code quality error comes from a new release from `black`. Rebasing on `main` should solve the issue as you'll benefit from https://github.com/huggingface/transformers/pull/17918.",
"@Rocketknight1 @sgugger this ... | 1,656 | 1,658 | 1,658 | MEMBER | null | This PR adds the SegFormer model in TensorFlow (probably the first Transformer-based segmentation model in TensorFlow for which we have PT weights available).
## TODOs
- [x] Write the foundation components
- [x] Write the image classification layer
- [x] Write components w.r.t semantic segmentation
- [x] Writ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17910",
"html_url": "https://github.com/huggingface/transformers/pull/17910",
"diff_url": "https://github.com/huggingface/transformers/pull/17910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17910.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17909/comments | https://api.github.com/repos/huggingface/transformers/issues/17909/events | https://github.com/huggingface/transformers/issues/17909 | 1,286,746,439 | I_kwDOCUB6oc5MsjFH | 17,909 | Wav2vec model further training [RuntimeError: you can only change requires_grad flags of leaf variables] | {
"login": "xinghua-qu",
"id": 36146785,
"node_id": "MDQ6VXNlcjM2MTQ2Nzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/36146785?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xinghua-qu",
"html_url": "https://github.com/xinghua-qu",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @xinghua-qu,\r\n\r\nCould you please provide a fully reproducible code snippet here? E.g. something along the lines:\r\n\r\n```python\r\nfrom transformers import Wav2Vec2Model\r\n....\r\n```\r\n\r\nMore than happy to look into solving it then - thanks!",
"This issue has been automatically marked as stale bec... | 1,656 | 1,684 | 1,659 | NONE | null | ### System Info
```shell
Latest version
```
### Who can help?
@patrickvonplaten, @anton-l
I use wav2vec model as part of my own pytorch model.
`self.configuration = Wav2Vec2Config()
self.wav2vec_feature = Wav2Vec2Model(self.configuration)
self.wav2vec_feature = self.wav2vec_feature.train()`
However, it raise... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17909/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/17909/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17908/comments | https://api.github.com/repos/huggingface/transformers/issues/17908/events | https://github.com/huggingface/transformers/pull/17908 | 1,286,596,385 | PR_kwDOCUB6oc46dThl | 17,908 | In group_texts function, drop last block if smaller than block_size | {
"login": "billray0259",
"id": 31375073,
"node_id": "MDQ6VXNlcjMxMzc1MDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/31375073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/billray0259",
"html_url": "https://github.com/billray0259",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Adds one line to both the English and Spanish versions of the [Language modeling task documentation](https://huggingface.co/docs/transformers/tasks/language_modeling) in the `group_texts` function which drops the last block if the block is smaller than `block_size`. The absence of this line c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17908",
"html_url": "https://github.com/huggingface/transformers/pull/17908",
"diff_url": "https://github.com/huggingface/transformers/pull/17908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17908.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17907/comments | https://api.github.com/repos/huggingface/transformers/issues/17907/events | https://github.com/huggingface/transformers/pull/17907 | 1,286,443,952 | PR_kwDOCUB6oc46cyxa | 17,907 | [WIP] Add VQA docs | {
"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... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17907). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,656 | 1,659 | 1,659 | MEMBER | null | This PR adds visual question answering to the pipeline tutorial (under a more general multimodal header) and the fine-tune section of the guides. It would also be nice to create a VQA Tasks video similar to the other fine-tune guides, but this is not a super high priority right now :)
## TODO
- [ ] Create fine-tu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17907/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17907",
"html_url": "https://github.com/huggingface/transformers/pull/17907",
"diff_url": "https://github.com/huggingface/transformers/pull/17907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17907.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17906/comments | https://api.github.com/repos/huggingface/transformers/issues/17906/events | https://github.com/huggingface/transformers/pull/17906 | 1,286,424,595 | PR_kwDOCUB6oc46cub8 | 17,906 | Fixing a regression with `return_all_scores` introduced in #17606 | {
"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._",
"@sgugger Do you mind just re-reviewing, I pushed the PR a little early yesterday (forgot WIP tag).\r\n\r\nThe real edge case (present in `4.19.4`) is when there's a single incoming item and `return_all_scores=True`, somehow we are al... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | <!--
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 with a description of the ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17906",
"html_url": "https://github.com/huggingface/transformers/pull/17906",
"diff_url": "https://github.com/huggingface/transformers/pull/17906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17905/comments | https://api.github.com/repos/huggingface/transformers/issues/17905/events | https://github.com/huggingface/transformers/pull/17905 | 1,286,423,493 | PR_kwDOCUB6oc46cuL0 | 17,905 | feat: add pipeline registry abstraction | {
"login": "aarnphm",
"id": 29749331,
"node_id": "MDQ6VXNlcjI5NzQ5MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/29749331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aarnphm",
"html_url": "https://github.com/aarnphm",
"followers_url": "https://api.github.com/users/aarnph... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Note that this is only to customize preprocessing and/or postprocessing as this still relies on existing auto-model classes.\r\n\r\nShould I include inside the docs to use an `AutoModel` class for better readability?",
"@Narsil C... | 1,656 | 1,656 | 1,656 | 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/17905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17905/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17905",
"html_url": "https://github.com/huggingface/transformers/pull/17905",
"diff_url": "https://github.com/huggingface/transformers/pull/17905.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17905.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17904/comments | https://api.github.com/repos/huggingface/transformers/issues/17904/events | https://github.com/huggingface/transformers/pull/17904 | 1,286,363,904 | PR_kwDOCUB6oc46cgqn | 17,904 | Add ONNX support for DETR | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"All slow tests passed @lewtun ",
"Pinging @sgugger for approval"
] | 1,656 | 1,656 | 1,656 | 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/17904/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/17904/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17904",
"html_url": "https://github.com/huggingface/transformers/pull/17904",
"diff_url": "https://github.com/huggingface/transformers/pull/17904.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17904.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17903/comments | https://api.github.com/repos/huggingface/transformers/issues/17903/events | https://github.com/huggingface/transformers/pull/17903 | 1,286,272,755 | PR_kwDOCUB6oc46cMS0 | 17,903 | Mrbean/codegen onnx | {
"login": "sam-h-bean",
"id": 43734688,
"node_id": "MDQ6VXNlcjQzNzM0Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/43734688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam-h-bean",
"html_url": "https://github.com/sam-h-bean",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Codegen was added with an ONNX config but not with the model added to the features manager so trying to actually export an ONNX config is failing.
```bash
11497 Β± RUN_SLOW=1 pytest tests/onnx/test_onnx_v2.py -k "codegen" -v
==================================================================... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17903/reactions",
"total_count": 10,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17903",
"html_url": "https://github.com/huggingface/transformers/pull/17903",
"diff_url": "https://github.com/huggingface/transformers/pull/17903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17903.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17902/comments | https://api.github.com/repos/huggingface/transformers/issues/17902/events | https://github.com/huggingface/transformers/pull/17902 | 1,286,243,005 | PR_kwDOCUB6oc46cFxl | 17,902 | Adding support for `device_map` directly in `pipeline(..)` function. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Fixes #17663
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17902/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17902",
"html_url": "https://github.com/huggingface/transformers/pull/17902",
"diff_url": "https://github.com/huggingface/transformers/pull/17902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17902.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17901/comments | https://api.github.com/repos/huggingface/transformers/issues/17901/events | https://github.com/huggingface/transformers/pull/17901 | 1,286,196,966 | PR_kwDOCUB6oc46b79L | 17,901 | `bitsandbytes` - `Linear8bitLt` integration into `transformers` 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._",
"cc-ing also @michaelbenayoun in case you want to have a look as well ;) ",
"Nice, thanks for working on it @younesbelkada! Also quite interested in the feature. I'd be particularly interested in seeing a bit of documentation so th... | 1,656 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
Adding the `bitsandbytes` - `Linear8bitLt` integration for large language models! π
This feature could reduce the size of the large models by up to 2, without a high loss in precision
Paper and main implementations from: @TimDettmers
# Usage:
Anyone with a GPU that supports mixed 8 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17901/reactions",
"total_count": 9,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 6,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17901/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17901",
"html_url": "https://github.com/huggingface/transformers/pull/17901",
"diff_url": "https://github.com/huggingface/transformers/pull/17901.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17901.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17900/comments | https://api.github.com/repos/huggingface/transformers/issues/17900/events | https://github.com/huggingface/transformers/issues/17900 | 1,286,122,370 | I_kwDOCUB6oc5MqKuC | 17,900 | new Transformer update causes an error with TPU XLA implementation | {
"login": "salrowili",
"id": 56635735,
"node_id": "MDQ6VXNlcjU2NjM1NzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/56635735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/salrowili",
"html_url": "https://github.com/salrowili",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"Maybe of interest to @sgugger ",
"cc @muellerzr It's probably linked to your recent changes for selecting the TPU device."
] | 1,656 | 1,656 | 1,656 | NONE | null | Hi,
I notice the new release of the Transformer model (4.20) causes an issue with PyTorch XLA implementation and the new error message says "Cannot replicate if number of devices (1) is different from 8" appears.
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [ ] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17900/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17899/comments | https://api.github.com/repos/huggingface/transformers/issues/17899/events | https://github.com/huggingface/transformers/pull/17899 | 1,285,939,007 | PR_kwDOCUB6oc46bF10 | 17,899 | Move logic into pixelshuffle layer | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Moves logic relating to PixelShuffle layer into layer class. This is to provide a consistent usage wrt the PyTorch pixel shuffle layer and makes sure all necessary logic is ported if any `#Copied from ` statements are used.
Also renamed layer `PixelShuffle` -> `TFSwinPixelShuffle` to ref... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17899/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17899",
"html_url": "https://github.com/huggingface/transformers/pull/17899",
"diff_url": "https://github.com/huggingface/transformers/pull/17899.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17899.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17898/comments | https://api.github.com/repos/huggingface/transformers/issues/17898/events | https://github.com/huggingface/transformers/pull/17898 | 1,285,815,403 | PR_kwDOCUB6oc46arp2 | 17,898 | Fix loss computation in TFBertForPreTraining | {
"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._",
"@sgugger I believe it's unique to BERT, because I tried searching the codebase for any similar lines and it couldn't find any. I suspect this is how it stayed undetected for so long - it uses the NSP loss and people generally don't t... | 1,656 | 1,656 | 1,656 | MEMBER | null | With thanks to @sreyan88 for writing up a clean bug report and reproducer, and to @ydshieh for locating the problematic code!
Our `hf_compute_loss()` function for `TFBertForPreTraining` was incorrect. However, it still appeared to work when the number of masked positions was evenly divisible by the batch size. Other... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17898/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17898",
"html_url": "https://github.com/huggingface/transformers/pull/17898",
"diff_url": "https://github.com/huggingface/transformers/pull/17898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17898.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17897/comments | https://api.github.com/repos/huggingface/transformers/issues/17897/events | https://github.com/huggingface/transformers/pull/17897 | 1,285,814,338 | PR_kwDOCUB6oc46arbJ | 17,897 | [Issue template] Remove render tags | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR makes sure that people's comments on Github issues regarding "System info" and "Expected behaviour" aren't rendered as shell.
This makes them a lot more readable (at least for me). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17897/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/17897/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17897",
"html_url": "https://github.com/huggingface/transformers/pull/17897",
"diff_url": "https://github.com/huggingface/transformers/pull/17897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17897.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17896/comments | https://api.github.com/repos/huggingface/transformers/issues/17896/events | https://github.com/huggingface/transformers/issues/17896 | 1,285,767,078 | I_kwDOCUB6oc5Moz-m | 17,896 | Deploying a pytorch-pretrained-bert on mobile | {
"login": "CowryCode",
"id": 23655212,
"node_id": "MDQ6VXNlcjIzNjU1MjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/23655212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CowryCode",
"html_url": "https://github.com/CowryCode",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nRegarding exporting Transformers models, refer to the guide here: https://huggingface.co/docs/transformers/serialization.\r\n\r\nAlso cc'ing @hollance who's an expert on mobile ML.",
"Thanks @NielsRogge I will explore it.\r\n\r\n@hollance, I just sent you an email at [mail@hollance.com]",
"It would ... | 1,656 | 1,707 | 1,659 | NONE | null | ### System Info
```shell
I use google colab
```
### 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)
### Reproduction
Code here https://me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17896/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17895/comments | https://api.github.com/repos/huggingface/transformers/issues/17895/events | https://github.com/huggingface/transformers/pull/17895 | 1,285,709,776 | PR_kwDOCUB6oc46aUsd | 17,895 | Fix tf pytorch test in auto | {
"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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Reopen #16044 by force push: fix some tests in `TFPTAutoModelTest`.
This is probably the last fix to have ` models_rembert` the only test failure (intended) in the CI report. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17895",
"html_url": "https://github.com/huggingface/transformers/pull/17895",
"diff_url": "https://github.com/huggingface/transformers/pull/17895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17895.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17894/comments | https://api.github.com/repos/huggingface/transformers/issues/17894/events | https://github.com/huggingface/transformers/issues/17894 | 1,285,660,877 | I_kwDOCUB6oc5MoaDN | 17,894 | Trainer in `run_image_classification.py` removes necessary `"image"` column for evaluation | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nIf `set_transform` (or `with_transform`) is used, you have to specificy `--remove_unused_columns False` to the script.\r\n\r\nElse, the error you show above occurs. Cc @nateraw",
"@NielsRogge Thank you for your quick reply, I missed it!",
"To quote @nateraw from his [blog post](https://huggingface.c... | 1,656 | 1,692 | 1,656 | COLLABORATOR | null | ### System Info
```shell
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.15.0-39-generic-x86_64-with-glibc2.35
- Python version: 3.9.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu113 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17894/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17893/comments | https://api.github.com/repos/huggingface/transformers/issues/17893/events | https://github.com/huggingface/transformers/issues/17893 | 1,285,518,543 | I_kwDOCUB6oc5Mn3TP | 17,893 | Ambiguous positional embedding management in LongformerEmbeddings | {
"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/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @clefourrier \r\n\r\nLooking the PR #7352, `LongformerEmbeddings` was originally using (or being) `RobertaEmbeddings` at that time, and both had the line `if position_ids is None:`.\r\n\r\nLooking current `RobertaEmbeddings`, there is no more such line. So I think we can remove it too for `LongformerEmbeddings`... | 1,656 | 1,656 | 1,656 | MEMBER | null | ### System Info
```shell
Current main version of the transformer lib (4.20.1?)
```
### Who can help?
@ydshieh
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17893/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17892/comments | https://api.github.com/repos/huggingface/transformers/issues/17892/events | https://github.com/huggingface/transformers/pull/17892 | 1,285,361,614 | PR_kwDOCUB6oc46ZKre | 17,892 | Fix job links in Slack report | {
"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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
The current `notification_service.py` doesn't take `artifact_path['gpu']` (`single` or `multi`) into account when storing the `job_link` information, which leads to wrong pages (sometimes) when we click the `GitHub Action Job` button on Slack.
This PR fixes this issue. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17892/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17892",
"html_url": "https://github.com/huggingface/transformers/pull/17892",
"diff_url": "https://github.com/huggingface/transformers/pull/17892.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17892.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17891/comments | https://api.github.com/repos/huggingface/transformers/issues/17891/events | https://github.com/huggingface/transformers/pull/17891 | 1,285,341,113 | PR_kwDOCUB6oc46ZGUP | 17,891 | Remove DT_DOUBLE from the T5 graph | {
"login": "szutenberg",
"id": 37601244,
"node_id": "MDQ6VXNlcjM3NjAxMjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/37601244?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/szutenberg",
"html_url": "https://github.com/szutenberg",
"followers_url": "https://api.github.com/use... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @szutenberg π Have you confirmed that the slow tests pass after this change? (you can run the slow tests with `NVIDIA_TF32_OVERRIDE=0 RUN_SLOW=1 py.test -vv tests/models/t5/test_modeling_tf_t5.py`)\r\n\r\nIt looks good to me if ... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR removes DT_DOUBLE aka tf.float64 from T5 TF graph. It comes from https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/math_ops.py#L1510 , two operands are int32 so TF casts them to float64 (`_TRUEDIV_TABLE[dtypes.int32] = dtypes.float64`).
Some accelerators do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17891/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17891",
"html_url": "https://github.com/huggingface/transformers/pull/17891",
"diff_url": "https://github.com/huggingface/transformers/pull/17891.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17891.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17890/comments | https://api.github.com/repos/huggingface/transformers/issues/17890/events | https://github.com/huggingface/transformers/pull/17890 | 1,285,306,283 | PR_kwDOCUB6oc46Y_D_ | 17,890 | Ignore `test_multi_gpu_data_parallel_forward` for `LayoutLMV2` | {
"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._",
"Ok, so it's always advised to avoid using `add_module`?",
"@NielsRogge Not really. The test `test_multi_gpu_data_parallel_forward` uses `nn.DataParallel`, but PyTorch recommendes to use `DistributedDataParallel`, see [here](https:/... | 1,656 | 1,662 | 1,656 | COLLABORATOR | null | # What does this PR do?
Ignore test_multi_gpu_data_parallel_forward for LayoutLMV2.
The reason to skip is the same as in #17864. (The usage of `add_module`) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17890",
"html_url": "https://github.com/huggingface/transformers/pull/17890",
"diff_url": "https://github.com/huggingface/transformers/pull/17890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17890.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17889/comments | https://api.github.com/repos/huggingface/transformers/issues/17889/events | https://github.com/huggingface/transformers/pull/17889 | 1,285,303,977 | PR_kwDOCUB6oc46Y-lO | 17,889 | Fix `test_number_of_steps_in_training_with_ipex` | {
"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,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Fix `test_number_of_steps_in_training_with_ipex`.
## Details
This test uses `no_cuda=True`, which will change `n_gpu` to `0` (see `_setup_devices`), and `train_batch_size` will be `8` (with the default training args). However this line
https://github.com/huggingface/transformers/blob/93f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17889/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17889",
"html_url": "https://github.com/huggingface/transformers/pull/17889",
"diff_url": "https://github.com/huggingface/transformers/pull/17889.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17889.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17888/comments | https://api.github.com/repos/huggingface/transformers/issues/17888/events | https://github.com/huggingface/transformers/pull/17888 | 1,285,302,302 | PR_kwDOCUB6oc46Y-PQ | 17,888 | Update expected values in CodeGen 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._",
"kindly ping @patil-suraj as I am eager toward 0 test failure π on CI report "
] | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Update expected values in CodeGen test `test_codegen_sample`. The currently value works for other GPU, but for Nvidia T4, we need the values in this PR.
Note that `do_sample` will call `self.sample` (in `generatioin_utils.py`) which uses `torch.multinomial`, which is not 100% reproducible... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17888/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17888",
"html_url": "https://github.com/huggingface/transformers/pull/17888",
"diff_url": "https://github.com/huggingface/transformers/pull/17888.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17888.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17887/comments | https://api.github.com/repos/huggingface/transformers/issues/17887/events | https://github.com/huggingface/transformers/pull/17887 | 1,285,299,326 | PR_kwDOCUB6oc46Y9oi | 17,887 | Update expected values in constrained beam search 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._",
"Thanks the corrections sound better as well :-)"
] | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Update expected values in constrained beam search tests.
#17814 changed `generation_utils.py` which gives new expected values in the test.
(otherwise test failed - as in the current CI report) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17887/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17887",
"html_url": "https://github.com/huggingface/transformers/pull/17887",
"diff_url": "https://github.com/huggingface/transformers/pull/17887.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17887.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17886/comments | https://api.github.com/repos/huggingface/transformers/issues/17886/events | https://github.com/huggingface/transformers/issues/17886 | 1,285,078,995 | I_kwDOCUB6oc5MmL_T | 17,886 | Pruning function in T5Attention doesnt affect _relative_position_bucket | {
"login": "hadaev8",
"id": 20247085,
"node_id": "MDQ6VXNlcjIwMjQ3MDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/20247085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hadaev8",
"html_url": "https://github.com/hadaev8",
"followers_url": "https://api.github.com/users/hadaev... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@hadaev8 \r\n\r\nIt is not clear to me about this.\r\n\r\n`_relative_position_bucket` is a `staticmethod` without using any model weight in it, and IMO there is no need to do anything when pruning a model.\r\n\r\ncc @patrickvonplaten ",
"@ydshieh \r\n\r\nRelative position bias have shape (dim, heads).\r\nFor exa... | 1,656 | 1,659 | 1,659 | CONTRIBUTOR | null | ### Who can help?
@patrickvonplaten
### Information
- [X] 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)
### Reproduction
Run pruning f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17885/comments | https://api.github.com/repos/huggingface/transformers/issues/17885/events | https://github.com/huggingface/transformers/issues/17885 | 1,285,052,186 | I_kwDOCUB6oc5MmFca | 17,885 | Replicating RoBERTa-base GLUE results | {
"login": "markblee",
"id": 3402571,
"node_id": "MDQ6VXNlcjM0MDI1NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3402571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markblee",
"html_url": "https://github.com/markblee",
"followers_url": "https://api.github.com/users/markb... | [] | closed | false | null | [] | [
"Another option would be to open a discussion in the community tab in https://huggingface.co/roberta-base/discussions and tag the model authors there",
"Thanks for the suggestion, that's a neat feature! I opened a discussion [here](https://huggingface.co/roberta-base/discussions/1) (although, it's not quite clear... | 1,656 | 1,659 | 1,659 | NONE | null | Hello! I had originally posted this on the [forums](https://discuss.huggingface.co/t/replicating-roberta-base-glue-results/19328) but it seems like there's not much foot traffic there, so hoping to get more visibility here.
I'm trying to replicate RoBERTa-base GLUE results as reported in the [model card](https://hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17885/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17884/comments | https://api.github.com/repos/huggingface/transformers/issues/17884/events | https://github.com/huggingface/transformers/issues/17884 | 1,285,030,784 | I_kwDOCUB6oc5MmAOA | 17,884 | Attention gradients for models | {
"login": "Rachneet",
"id": 16959771,
"node_id": "MDQ6VXNlcjE2OTU5Nzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16959771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rachneet",
"html_url": "https://github.com/Rachneet",
"followers_url": "https://api.github.com/users/Rac... | [] | closed | false | null | [] | [
"Hi @Rachneet ,\r\n\r\nModel interpretability is indeed interesting and useful!\r\n\r\nHowever, I think currently we don't have a plan to integrate the mechanism of getting gradients into `transformers`. There is an library [Captum](https://captum.ai/) which might be useful in this area though.\r\n\r\ncc @LysandreJ... | 1,656 | 1,659 | 1,659 | NONE | null | ### Feature request
Hi, I was wondering if there is a way to get the gradients of the attention weights. In PyTorch, we can do this via hooks and it works perfectly for getting embeddings gradients. But, I had an issue doing this for the transformer attention weights. Is there any way we can make this possible?
### M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17883/comments | https://api.github.com/repos/huggingface/transformers/issues/17883/events | https://github.com/huggingface/transformers/issues/17883 | 1,284,995,987 | I_kwDOCUB6oc5Ml3uT | 17,883 | Exception encountered when calling layer "tf_bert_for_pre_training" (type TFBertForPreTraining) | {
"login": "Sreyan88",
"id": 36225987,
"node_id": "MDQ6VXNlcjM2MjI1OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/36225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sreyan88",
"html_url": "https://github.com/Sreyan88",
"followers_url": "https://api.github.com/users/Sre... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This line seems strange to me\r\n\r\nhttps://github.com/huggingface/transformers/blob/401fcca6c561d61db6ce25d9b1cebb75325a034f/src/transformers/models/bert/modeling_tf_bert.py#L146\r\n\r\nI don't think it makes sense to reshape `masked_lm_loss ` using `next_sentence_loss`. cc @Rocketknight1 ",
"@ydshieh This is ... | 1,656 | 1,657 | 1,656 | CONTRIBUTOR | null | ### System Info
```shell
`transformers` version: 4.20.0
- Platform: Linux-5.13.0-48-generic-x86_64-with-glibc2.31
- Python version: 3.7.13
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17883/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17882/comments | https://api.github.com/repos/huggingface/transformers/issues/17882/events | https://github.com/huggingface/transformers/issues/17882 | 1,284,995,173 | I_kwDOCUB6oc5Ml3hl | 17,882 | Copied "Fine-tuning a masked language model" tutorial, got error on last step - training | {
"login": "billray0259",
"id": 31375073,
"node_id": "MDQ6VXNlcjMxMzc1MDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/31375073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/billray0259",
"html_url": "https://github.com/billray0259",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @billray0259 ,\r\n\r\nI believe that in your notebook you have modified the `group_texts` function a little, in particular by removing the following line:\r\n\r\n```python\r\n # We drop the last chunk if it's smaller than chunk_size\r\n total_length = (total_length // chunk_size) * chunk_size\r\n```\r\n\r... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.20.1
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17882/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17881/comments | https://api.github.com/repos/huggingface/transformers/issues/17881/events | https://github.com/huggingface/transformers/pull/17881 | 1,284,966,762 | PR_kwDOCUB6oc46X5V3 | 17,881 | Test fix job link in report | {
"login": "rahul-patil-08",
"id": 106728070,
"node_id": "U_kgDOBlyKhg",
"avatar_url": "https://avatars.githubusercontent.com/u/106728070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahul-patil-08",
"html_url": "https://github.com/rahul-patil-08",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"needed",
"_The documentation is not available anymore as the PR was closed or merged._",
"@rahulpatil6886 \r\n\r\nThis is a temporary branch to test another PR. This is not meant to be a PR itself."
] | 1,656 | 1,658 | 1,656 | NONE | null | 1. > [`**_**#**_**`](url) 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.
The... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17881/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17881",
"html_url": "https://github.com/huggingface/transformers/pull/17881",
"diff_url": "https://github.com/huggingface/transformers/pull/17881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17881.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17880/comments | https://api.github.com/repos/huggingface/transformers/issues/17880/events | https://github.com/huggingface/transformers/issues/17880 | 1,284,665,816 | I_kwDOCUB6oc5MknHY | 17,880 | KeyError: 'logits' | {
"login": "kkavyashankar0009",
"id": 47808165,
"node_id": "MDQ6VXNlcjQ3ODA4MTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/47808165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kkavyashankar0009",
"html_url": "https://github.com/kkavyashankar0009",
"followers_url": "https... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nYou're loading the pipeline with a `BertModel`, which doesn't include a head on top (like a sequence classification head for instance). Hence, no `logits` are computed.\r\n\r\nThe zero-shot classification pipeline makes use of sequence classifiers fine-tuned on an [NLI task](http://nlpprogress.com/engli... | 1,656 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
`transformers` version: 4.16.2
- Platform: Linux-5.13.0-48-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyTorch version (GPU?): 1.9.1+cu111 (True)
- Tensorflow version (GPU?): 2.4.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17880/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17879/comments | https://api.github.com/repos/huggingface/transformers/issues/17879/events | https://github.com/huggingface/transformers/issues/17879 | 1,284,640,520 | I_kwDOCUB6oc5Mkg8I | 17,879 | Wav2Vec2ProcessorWithLM degraded performance when transcribing multiple files | {
"login": "falcaopetri",
"id": 8387736,
"node_id": "MDQ6VXNlcjgzODc3MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8387736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/falcaopetri",
"html_url": "https://github.com/falcaopetri",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Pool creation might be required to be platform-dependent in the future (https://github.com/huggingface/transformers/pull/17070#issuecomment-1117695494), which means this would be users' responsibility if we go with a user-managed pool scenario.",
"Hey @falcaopetri,\r\n\r\nThanks for the well-explained issue here... | 1,656 | 1,659 | 1,659 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17879/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17878/comments | https://api.github.com/repos/huggingface/transformers/issues/17878/events | https://github.com/huggingface/transformers/pull/17878 | 1,284,640,134 | PR_kwDOCUB6oc46W4-k | 17,878 | Add type hints for RoFormer models | {
"login": "donelianc",
"id": 7807897,
"node_id": "MDQ6VXNlcjc4MDc4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7807897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/donelianc",
"html_url": "https://github.com/donelianc",
"followers_url": "https://api.github.com/users/do... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,660 | 1,656 | 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/17878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17878/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17878",
"html_url": "https://github.com/huggingface/transformers/pull/17878",
"diff_url": "https://github.com/huggingface/transformers/pull/17878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17878.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17877/comments | https://api.github.com/repos/huggingface/transformers/issues/17877/events | https://github.com/huggingface/transformers/pull/17877 | 1,284,396,415 | PR_kwDOCUB6oc46WF8P | 17,877 | Fix bug in gpt2's (from-scratch) special scaled weight initialization | {
"login": "karpathy",
"id": 241138,
"node_id": "MDQ6VXNlcjI0MTEzOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/241138?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karpathy",
"html_url": "https://github.com/karpathy",
"followers_url": "https://api.github.com/users/karpath... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Coming to this PR a bit late (sorry!) and this is a nice fix! I think @karpathy raises a good point about maybe factoring out a special post-init (probably not for GPT-2 since folks are used to this API, but for future models others ... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null |
I randomly noticed a minor bug in the (from-scratch) weight initialization of gpt2, where the same tensor gets re-initialized over and over many times. I don't believe the significantly more common `from_pretrained` is impacted. The original discussion and explanation is here https://github.com/huggingface/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17877/reactions",
"total_count": 38,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 28,
"rocket": 10,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17877/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17877",
"html_url": "https://github.com/huggingface/transformers/pull/17877",
"diff_url": "https://github.com/huggingface/transformers/pull/17877.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17877.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17876/comments | https://api.github.com/repos/huggingface/transformers/issues/17876/events | https://github.com/huggingface/transformers/issues/17876 | 1,284,373,165 | I_kwDOCUB6oc5Mjfqt | 17,876 | Inference API failing: `"Unknown error in run_once : postprocess() got an unexpected keyword argument 'return_all_scores'` | {
"login": "sergeyf",
"id": 1874668,
"node_id": "MDQ6VXNlcjE4NzQ2Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1874668?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sergeyf",
"html_url": "https://github.com/sergeyf",
"followers_url": "https://api.github.com/users/sergeyf/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello again. Any ideas here? ",
"Perhaps this has something to do with the `.bin` file being \"unsafe\" for some reason?\r\n\r\n\r\n",
"Looks like the error is different now:\r\n\r\n during training. | {
"login": "TrentBrick",
"id": 12433427,
"node_id": "MDQ6VXNlcjEyNDMzNDI3",
"avatar_url": "https://avatars.githubusercontent.com/u/12433427?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TrentBrick",
"html_url": "https://github.com/TrentBrick",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"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 @TrentBrick ,\r\n\r\nI think you can assign a custom padding token to GPT2, or discard the sequences that are too short (i.e. having < 1024 tokens)",
"@ydshieh is this common practice for GPT2? \r\n\r\nAnd I think the bigger issue is that an error is only thrown if my number of workers is not to the power of ... | 1,656 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
transformers 4.20.0.dev0 dev_0
python 3.7.11 h12debd9_0
linux os (docker container).
```
### Who can help?
@patil-suraj, @patrickvonplaten, @LysandreJik
### Information
- [ ] The official example scripts
- [X] My ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17875/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.