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/19382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19382/comments | https://api.github.com/repos/huggingface/transformers/issues/19382/events | https://github.com/huggingface/transformers/pull/19382 | 1,399,835,220 | PR_kwDOCUB6oc5AUvkT | 19,382 | Added tokenize keyword arguments to feature extraction pipeline | {
"login": "quancore",
"id": 15036825,
"node_id": "MDQ6VXNlcjE1MDM2ODI1",
"avatar_url": "https://avatars.githubusercontent.com/u/15036825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quancore",
"html_url": "https://github.com/quancore",
"followers_url": "https://api.github.com/users/qua... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"After checking, the broken tests are exactly broken by the lack of `truncation` support.\r\n\r\nAlso for quality you should be able to to \r\n```\r\npip install -e .[dev] # or pip install transformers[dev]\r\nmake fixup\r\n```\r\nCh... | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
The PR adds keyword arguments for the tokenizer for the feature extraction pipeline. Fixes: https://github.com/huggingface/transformers/issues/19374
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19382",
"html_url": "https://github.com/huggingface/transformers/pull/19382",
"diff_url": "https://github.com/huggingface/transformers/pull/19382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19380/comments | https://api.github.com/repos/huggingface/transformers/issues/19380/events | https://github.com/huggingface/transformers/pull/19380 | 1,399,763,617 | PR_kwDOCUB6oc5AUftC | 19,380 | Added type hints for TF: TransfoXL | {
"login": "thliang01",
"id": 21286104,
"node_id": "MDQ6VXNlcjIxMjg2MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/21286104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thliang01",
"html_url": "https://github.com/thliang01",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I removed these Optional types as your suggested.\r\nHolp you may check it and then merge my request.\r\n@Rocketknight1 ",
"Looks good to me, thank you!"
] | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | Based on Issue #16059
I have added type hints for Tensorflow TransfoXL Model.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19380/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19380",
"html_url": "https://github.com/huggingface/transformers/pull/19380",
"diff_url": "https://github.com/huggingface/transformers/pull/19380.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19380.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19381/comments | https://api.github.com/repos/huggingface/transformers/issues/19381/events | https://github.com/huggingface/transformers/issues/19381 | 1,399,800,679 | I_kwDOCUB6oc5Tb0Nn | 19,381 | Tokenizer loading distillert instead of bert | {
"login": "mv96",
"id": 14794584,
"node_id": "MDQ6VXNlcjE0Nzk0NTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/14794584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mv96",
"html_url": "https://github.com/mv96",
"followers_url": "https://api.github.com/users/mv96/followers"... | [] | closed | false | null | [] | [
"Hi this issue probably belongs in `transformers` not in `tokenizers` so I'll transfer the issue.\r\nThat being said if you could\r\n\r\n\r\n> Please share your system info with us. You can run the command `transformers-cli env` and copy-paste its output below.\r\n\r\nThat would help, you're probably running a diff... | 1,665 | 1,668 | 1,668 | NONE | null | **Machine specs:**
MacBook Pro (13-inch, M1, 2020)
chip Apple M1
Memory 16 GB
Hello,
I try to use the Huggingface pipelines which works fine on colab but on my machine it behaves absurd
`from transformers import AutoTokenizer, TFAutoModelForMaskedLM,FillMaskPipeline
name="bert-base-uncased"
tokeni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19381/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19379/comments | https://api.github.com/repos/huggingface/transformers/issues/19379/events | https://github.com/huggingface/transformers/issues/19379 | 1,399,538,844 | I_kwDOCUB6oc5Ta0Sc | 19,379 | fill-mask with roberta-base and --targets options | {
"login": "felgaet",
"id": 87537133,
"node_id": "MDQ6VXNlcjg3NTM3MTMz",
"avatar_url": "https://avatars.githubusercontent.com/u/87537133?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/felgaet",
"html_url": "https://github.com/felgaet",
"followers_url": "https://api.github.com/users/felgae... | [] | closed | false | null | [] | [
"Hi there! Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep issues for bugs and feature requests only. In this instance, it's because RoBERTa uses a different tokenization algorithm than BERT which mark the beginning of each word with a special symbol.",
"Thanks!"
] | 1,665 | 1,665 | 1,665 | NONE | null | Dear @sgugger,
I was trying to use the fill-mask function starting from "roberta-base" and limiting the search to target words using the --targets option.
For numerous target words, however, I get the warning that the word does not exist in the vocabulary.
An example is followed:
```
from transformers import pip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19379/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19378/comments | https://api.github.com/repos/huggingface/transformers/issues/19378/events | https://github.com/huggingface/transformers/pull/19378 | 1,399,455,506 | PR_kwDOCUB6oc5ATa5a | 19,378 | Add TF whisper | {
"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,665 | 1,665 | 1,665 | COLLABORATOR | null | # What does this PR do?
Adds TF Whisper port of PyTorch implementation
## 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.m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19378/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19378",
"html_url": "https://github.com/huggingface/transformers/pull/19378",
"diff_url": "https://github.com/huggingface/transformers/pull/19378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19378.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19377/comments | https://api.github.com/repos/huggingface/transformers/issues/19377/events | https://github.com/huggingface/transformers/pull/19377 | 1,399,267,046 | PR_kwDOCUB6oc5ASwhr | 19,377 | Fix DETR docs example, add post_process_object_detection to DETR docs | {
"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 | [] | [
"I'm re-running the documentation build to check that the doc is built correctly, will merge afterwards :+1: ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
- Fixes DETR docs example
- Adds post_process_object_detection method to DETR docs
## 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/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19377",
"html_url": "https://github.com/huggingface/transformers/pull/19377",
"diff_url": "https://github.com/huggingface/transformers/pull/19377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19377.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19376/comments | https://api.github.com/repos/huggingface/transformers/issues/19376/events | https://github.com/huggingface/transformers/pull/19376 | 1,399,261,019 | PR_kwDOCUB6oc5ASvLu | 19,376 | fixed issue #19368 | {
"login": "ShivangMishra",
"id": 35092323,
"node_id": "MDQ6VXNlcjM1MDkyMzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/35092323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivangMishra",
"html_url": "https://github.com/ShivangMishra",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(merging -- the failed test is being tracked internally)"
] | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | Fixes #19368
Following the issue #19368, I've corrected the type hint as "Optional[Tuple[int, float]]".
Please merge this PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19376/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19376",
"html_url": "https://github.com/huggingface/transformers/pull/19376",
"diff_url": "https://github.com/huggingface/transformers/pull/19376.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19376.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19375/comments | https://api.github.com/repos/huggingface/transformers/issues/19375/events | https://github.com/huggingface/transformers/issues/19375 | 1,399,253,875 | I_kwDOCUB6oc5TZutz | 19,375 | DeformableDetrForObjectDetection is not supported | {
"login": "Eggwardhan",
"id": 32223217,
"node_id": "MDQ6VXNlcjMyMjIzMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/32223217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Eggwardhan",
"html_url": "https://github.com/Eggwardhan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nDeformable DETR is not yet available in a PyPi release. For now, you have to install the library from source:\r\n\r\n```\r\npip install -q git+https://github.com/huggingface/transformers.git\r\n```"
] | 1,665 | 1,665 | 1,665 | NONE | null | ### System Info
when I use
`conda create -n hug numpy matplotlib transformers python=3.8` and activated hug env, or just use `pip install transformers` ,I got the same result
```
(hug) root@e:/# python
Python 3.8.13 (default, Mar 28 2022, 11:38:47)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19374/comments | https://api.github.com/repos/huggingface/transformers/issues/19374/events | https://github.com/huggingface/transformers/issues/19374 | 1,399,199,502 | I_kwDOCUB6oc5TZhcO | 19,374 | Feature extraction pipeline not consider parameters | {
"login": "quancore",
"id": 15036825,
"node_id": "MDQ6VXNlcjE1MDM2ODI1",
"avatar_url": "https://avatars.githubusercontent.com/u/15036825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quancore",
"html_url": "https://github.com/quancore",
"followers_url": "https://api.github.com/users/qua... | [] | closed | false | null | [] | [
"Hi @quancore ,\r\n\r\n`feature-extraction` pipeline is a bit of a beast tbh since there are MANY models and architectures behind.\r\nThat being said, the use case you describe seems very legit and interesting.\r\n\r\nDo you want to open a PR for it ?\r\n\r\nIn order to prevent issues, the `tokenizer` part of the a... | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | ### System Info
- transformers==4.22.2
- python==3.9.2
- Ubuntu 22.04
### 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] My own task or data... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19374/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19373/comments | https://api.github.com/repos/huggingface/transformers/issues/19373/events | https://github.com/huggingface/transformers/pull/19373 | 1,399,142,970 | PR_kwDOCUB6oc5ASU5q | 19,373 | remove `return_dict_in_generate` condition on storing scores. | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19373). All of your documentation changes will be reflected on that endpoint."
] | 1,665 | 1,665 | 1,665 | COLLABORATOR | null | # What does this PR do?
Fixes an issue in `generate` where the `output_scores` (or `output_attentions` or `output_hidden_states` ) cannot be obtained unless `return_dict_in_generate` is set to `True`. This is problematic because it's not what we want when we have a flag for each of these outputs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19373/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19373",
"html_url": "https://github.com/huggingface/transformers/pull/19373",
"diff_url": "https://github.com/huggingface/transformers/pull/19373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19373.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19372/comments | https://api.github.com/repos/huggingface/transformers/issues/19372/events | https://github.com/huggingface/transformers/pull/19372 | 1,399,115,635 | PR_kwDOCUB6oc5ASOz7 | 19,372 | [wip: test doc-build] | {
"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._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,665 | 1,667 | 1,667 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19372/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19372",
"html_url": "https://github.com/huggingface/transformers/pull/19372",
"diff_url": "https://github.com/huggingface/transformers/pull/19372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19372.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19371/comments | https://api.github.com/repos/huggingface/transformers/issues/19371/events | https://github.com/huggingface/transformers/pull/19371 | 1,398,957,340 | PR_kwDOCUB6oc5ARryG | 19,371 | Make retribert tokenizers independent from BertTokenizer | {
"login": "Davidy22",
"id": 872968,
"node_id": "MDQ6VXNlcjg3Mjk2OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/872968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Davidy22",
"html_url": "https://github.com/Davidy22",
"followers_url": "https://api.github.com/users/Davidy2... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Are these line length check errors coming from the comments? Those are the only lines that approach the cusp of 119, and my editor tells me they're right under the line, and some of those comment lines come straight from the copied-f... | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | Part of a series of commits to step towards resolving #19303
# 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 ext... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19371/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19371",
"html_url": "https://github.com/huggingface/transformers/pull/19371",
"diff_url": "https://github.com/huggingface/transformers/pull/19371.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19371.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19370/comments | https://api.github.com/repos/huggingface/transformers/issues/19370/events | https://github.com/huggingface/transformers/pull/19370 | 1,398,785,206 | PR_kwDOCUB6oc5ARFTl | 19,370 | Removed Bert dependency from BertGeneration code base. | {
"login": "Threepointone4",
"id": 22583613,
"node_id": "MDQ6VXNlcjIyNTgzNjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/22583613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Threepointone4",
"html_url": "https://github.com/Threepointone4",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your contribution!"
] | 1,665 | 1,672 | 1,665 | CONTRIBUTOR | null |
# What does this PR do?
- Related to #19303
- Removed `BertGeneration` dependency from `Bert` code base.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great tit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19370/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19370",
"html_url": "https://github.com/huggingface/transformers/pull/19370",
"diff_url": "https://github.com/huggingface/transformers/pull/19370.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19370.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19369/comments | https://api.github.com/repos/huggingface/transformers/issues/19369/events | https://github.com/huggingface/transformers/pull/19369 | 1,398,628,256 | PR_kwDOCUB6oc5AQi0w | 19,369 | edit: cast attention_mask to long in DataCollatorCTCWithPadding | {
"login": "ddobokki",
"id": 44228269,
"node_id": "MDQ6VXNlcjQ0MjI4MjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/44228269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ddobokki",
"html_url": "https://github.com/ddobokki",
"followers_url": "https://api.github.com/users/ddo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"i add more line\r\n```\r\nif \"attention_mask\" in batch:\r\n```\r\nbcz some case, feature_extractor has config that [\"return_attention_mask\": false]\r\nbut is\r\n```\r\nif self.processor.feature_extractor.return_attention_mask:\r\... | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
many inf values generated when training Wav2Vec2ForCTC by referring to [run_speech_recognition_ctc.py](https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py) using DeepSpeed library.
because Wav2Vec2ForCTC's forword has logics... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19369/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19369",
"html_url": "https://github.com/huggingface/transformers/pull/19369",
"diff_url": "https://github.com/huggingface/transformers/pull/19369.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19369.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19368/comments | https://api.github.com/repos/huggingface/transformers/issues/19368/events | https://github.com/huggingface/transformers/issues/19368 | 1,398,571,028 | I_kwDOCUB6oc5TXIAU | 19,368 | Incorrect type hint of "exponential_decay_length_penalty" in function "generate" | {
"login": "pohunghuang-nctu",
"id": 61784186,
"node_id": "MDQ6VXNlcjYxNzg0MTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/61784186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pohunghuang-nctu",
"html_url": "https://github.com/pohunghuang-nctu",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,665 | 1,665 | 1,665 | NONE | null | Hi,
Please check below line,
https://github.com/huggingface/transformers/blob/7e7f62bfa72ca03e9f16285dad182f7c57cd8cab/src/transformers/generation_utils.py#L956
According to doc string, "exponential_decay_length_penalty (`tuple(int, float)`, *optional*, defaults to `model.config.exponential_decay_length_pena... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19368/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19368/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19367/comments | https://api.github.com/repos/huggingface/transformers/issues/19367/events | https://github.com/huggingface/transformers/pull/19367 | 1,398,438,807 | PR_kwDOCUB6oc5AP5yV | 19,367 | Improve and fix ImageSegmentationPipeline | {
"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._",
"@amyeroberts @sgugger thank you for the review! All comments are addressed, I'll merge the branch once all tests are passing.",
"> Thanks for making these changes and improving the pipeline ⭐\r\n> \r\n> I think the PR is good to go... | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
- Fixes the image segmentation pipeline test failures caused by changes to the postprocessing methods of supported models
- Updates the ImageSegmentationPipeline tests
- Improves docs, adds 'task' argument to optionally perform semantic, instance or panoptic segmentation
Note: `test_small_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19367/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19367",
"html_url": "https://github.com/huggingface/transformers/pull/19367",
"diff_url": "https://github.com/huggingface/transformers/pull/19367.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19367.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19366/comments | https://api.github.com/repos/huggingface/transformers/issues/19366/events | https://github.com/huggingface/transformers/pull/19366 | 1,398,436,169 | PR_kwDOCUB6oc5AP5N5 | 19,366 | Rework pipeline tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"Note: Flax tests are currently failing because it tries to run the tests inside the pipelines folder, will fix this tomorrow by having all non-pipeline jobs not run any of the tests in the pipelines folder. The `--ignore` flag from pytest does not work for some reason, but the test fetcher can probably fix that so... | 1,665 | 1,665 | 1,665 | COLLABORATOR | null | # What does this PR do?
The test fetcher has been pretty good at identifying which tests to run and even if we're not testing everything on each commit anymore, we've mostly avoided bad surprises.
Except for pipeline tests.
This is because the pipeline tests are structured in a way that makes it hard for the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19366/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19366",
"html_url": "https://github.com/huggingface/transformers/pull/19366",
"diff_url": "https://github.com/huggingface/transformers/pull/19366.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19366.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19365/comments | https://api.github.com/repos/huggingface/transformers/issues/19365/events | https://github.com/huggingface/transformers/pull/19365 | 1,398,409,620 | PR_kwDOCUB6oc5APzgc | 19,365 | Fix pipeline tests for Roberta-like tokenizers | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19365). All of your documentation changes will be reflected on that endpoint."
] | 1,665 | 1,665 | 1,665 | COLLABORATOR | null | # What does this PR do?
The pipeline tests rely on an inheritance test for the (weird) behavior of Roberta-like models/tokenizers having a +2 / -2 on the embeddings. This was working fine until someone decided to encourage the community to uncouple all configs, and now it breaks.
This PR fixes it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19365/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19365",
"html_url": "https://github.com/huggingface/transformers/pull/19365",
"diff_url": "https://github.com/huggingface/transformers/pull/19365.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19365.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19364/comments | https://api.github.com/repos/huggingface/transformers/issues/19364/events | https://github.com/huggingface/transformers/pull/19364 | 1,398,384,041 | PR_kwDOCUB6oc5APuBM | 19,364 | Make `Camembert` TF version independent from `Roberta` | {
"login": "Mustapha-AJEGHRIR",
"id": 66799406,
"node_id": "MDQ6VXNlcjY2Nzk5NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/66799406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mustapha-AJEGHRIR",
"html_url": "https://github.com/Mustapha-AJEGHRIR",
"followers_url": "https... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sgugger, I'm getting the following errors from circleci :\r\n```python\r\nFAILED tests/pipelines/test_pipelines_feature_extraction.py::FeatureExtractionPipelineTests::test_pt_LongformerConfig_LongformerModel_LongformerTokenizerFa... | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
related to #19303
Making the Camembert model (`Tensorflow`version) independent from Roberta
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19364",
"html_url": "https://github.com/huggingface/transformers/pull/19364",
"diff_url": "https://github.com/huggingface/transformers/pull/19364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19364.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19363/comments | https://api.github.com/repos/huggingface/transformers/issues/19363/events | https://github.com/huggingface/transformers/pull/19363 | 1,398,350,187 | PR_kwDOCUB6oc5APmyd | 19,363 | Fix DETR segmentation postprocessing output | {
"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._"
] | 1,665 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
Ensures post_process_instance_segmentation and post_process_panoptic_segmentation methods return a tensor of shape (target_height, target_width) filled with -1 values if no segment with score > threshold is found.
Applies the same changes as the MaskFormer postprocessing fix [PR](https://git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19363/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19363",
"html_url": "https://github.com/huggingface/transformers/pull/19363",
"diff_url": "https://github.com/huggingface/transformers/pull/19363.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19363.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19362/comments | https://api.github.com/repos/huggingface/transformers/issues/19362/events | https://github.com/huggingface/transformers/issues/19362 | 1,398,290,541 | I_kwDOCUB6oc5TWDht | 19,362 | Misspelled docstring for ensure_valid_input function | {
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Looks wrong indeed. Would you like to open a PR to fix it?",
"@sgugger sure, I will take care of that tomorrow."
] | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.23.0.dev0
- Platform: Linux-5.4.0-126-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1+cu102 (False)
- Tensorflow version (GPU?): 2.10.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.0 (cpu)
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19362/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19361/comments | https://api.github.com/repos/huggingface/transformers/issues/19361/events | https://github.com/huggingface/transformers/issues/19361 | 1,398,207,811 | I_kwDOCUB6oc5TVvVD | 19,361 | Moving examples in docstrings of RobertaTokenizer and LongformerTokenizer to doc source files | {
"login": "srhrshr",
"id": 2330069,
"node_id": "MDQ6VXNlcjIzMzAwNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2330069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srhrshr",
"html_url": "https://github.com/srhrshr",
"followers_url": "https://api.github.com/users/srhrshr/... | [] | closed | false | null | [] | [
"#self-assign",
"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/... | 1,664 | 1,668 | 1,668 | CONTRIBUTOR | null | ### Motivation
When using the `# Copied from` mode of do-repeat-yourself, if there are interactive examples in the source file's docstring, e.g., [`[0, 31414, 232, 328, 2]` in RobertaTokenizer](https://github.com/huggingface/transformers/blob/c28d04e9e252a1a099944e325685f14d242ecdcd/src/transformers/models/roberta/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19361/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19360/comments | https://api.github.com/repos/huggingface/transformers/issues/19360/events | https://github.com/huggingface/transformers/pull/19360 | 1,398,206,786 | PR_kwDOCUB6oc5APH-n | 19,360 | Fix gather for metrics | {
"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": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
},
{
"id": 3817266200,
... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,665 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a failing test in the CI due to `gather_for_metrics` not receiving a tuple. This will soon be redundant with a change in Accelerate, but good to have this fix in now anyways with the right version imo
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19360/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19360",
"html_url": "https://github.com/huggingface/transformers/pull/19360",
"diff_url": "https://github.com/huggingface/transformers/pull/19360.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19360.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19359/comments | https://api.github.com/repos/huggingface/transformers/issues/19359/events | https://github.com/huggingface/transformers/pull/19359 | 1,398,114,337 | PR_kwDOCUB6oc5AO0Hd | 19,359 | Make `XLMRoberta` model and config independent from `Roberta` | {
"login": "asofiaoliveira",
"id": 74454835,
"node_id": "MDQ6VXNlcjc0NDU0ODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/74454835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asofiaoliveira",
"html_url": "https://github.com/asofiaoliveira",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sgugger\r\nI ran `make style` and fixed your recommendations, but now there's an error in the `run_tests_torch`. I believe it's [this](https://app.circleci.com/pipelines/github/huggingface/transformers/48816/workflows/882fa75f-7b... | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
Removes the dependencies of `XLMRobertaConfig` and everything inside `modeling_xlm_roberta.py`. This is related to issue #19303.
I only did this for the PyTorch model as there were some models in the issue that had "PyTorch + TF" and this was not one of them. I can add for tensorflow or fl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19359/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19359",
"html_url": "https://github.com/huggingface/transformers/pull/19359",
"diff_url": "https://github.com/huggingface/transformers/pull/19359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19359.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19358/comments | https://api.github.com/repos/huggingface/transformers/issues/19358/events | https://github.com/huggingface/transformers/issues/19358 | 1,398,104,316 | I_kwDOCUB6oc5TVWD8 | 19,358 | setting max_new_tokens in text-generation pipeline with OPT produces error | {
"login": "gqfiddler",
"id": 1731695,
"node_id": "MDQ6VXNlcjE3MzE2OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1731695?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gqfiddler",
"html_url": "https://github.com/gqfiddler",
"followers_url": "https://api.github.com/users/gq... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hey @gqfiddler 👋 -- thank you for raising this issue 👀 \r\n\r\n@Narsil this seems to be a problem between how `.generate()` expects the max length to be defined, and how the `text-generation` pipeline prepares the inputs. When `max_new_tokens` is passed outside the initialization, [this line](https://github.com... | 1,664 | 1,668 | 1,668 | NONE | null | ### System Info
python 3.7.12
transformers 4.22.2
Google Vertex AI platform
### Who can help?
@LysandreJik
(Feel free to tag whoever owns OPT if that's not you! – it's not specified in the list)
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19358/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19357/comments | https://api.github.com/repos/huggingface/transformers/issues/19357/events | https://github.com/huggingface/transformers/issues/19357 | 1,398,082,702 | I_kwDOCUB6oc5TVQyO | 19,357 | List of models/tasks failing ONNX inference | {
"login": "dwyatte",
"id": 2512762,
"node_id": "MDQ6VXNlcjI1MTI3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2512762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dwyatte",
"html_url": "https://github.com/dwyatte",
"followers_url": "https://api.github.com/users/dwyatte/... | [] | closed | false | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [
{
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github... | [
"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,664 | 1,668 | 1,668 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.23.0.dev0
- Platform: Darwin-21.6.0-x86_64-i386-64bit
- Python version: 3.7.12
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): 0.5.2 (cpu)
- Jax version: 0.3.6
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19357/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19356/comments | https://api.github.com/repos/huggingface/transformers/issues/19356/events | https://github.com/huggingface/transformers/pull/19356 | 1,398,073,074 | PR_kwDOCUB6oc5AOrSj | 19,356 | Removed `Bert` interdependency in `tokenization_electra.py` | {
"login": "OtherHorizon",
"id": 33909036,
"node_id": "MDQ6VXNlcjMzOTA5MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/33909036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OtherHorizon",
"html_url": "https://github.com/OtherHorizon",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks a lot for working on this one! It's missing a few copied froms, I left suggestions. Once you're done, be sure to run `make style` on your branch (for code-formatting) and we should be good to merge!\r\n\r\n`make style` chang... | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
Related to #19303
Removes `bert` dependency from `tokenization_electra.py`
## 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/trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19356/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19356",
"html_url": "https://github.com/huggingface/transformers/pull/19356",
"diff_url": "https://github.com/huggingface/transformers/pull/19356.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19356.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19355/comments | https://api.github.com/repos/huggingface/transformers/issues/19355/events | https://github.com/huggingface/transformers/pull/19355 | 1,398,052,565 | PR_kwDOCUB6oc5AOm1V | 19,355 | Skip failing test while we resolve the issue. | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19355). All of your documentation changes will be reflected on that endpoint."
] | 1,664 | 1,664 | 1,664 | COLLABORATOR | null | # What does this PR do?
Skipping some Maskformer tests that are failing. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19355/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19355",
"html_url": "https://github.com/huggingface/transformers/pull/19355",
"diff_url": "https://github.com/huggingface/transformers/pull/19355.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19355.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19354/comments | https://api.github.com/repos/huggingface/transformers/issues/19354/events | https://github.com/huggingface/transformers/pull/19354 | 1,398,007,236 | PR_kwDOCUB6oc5AOdKf | 19,354 | Fix MaskFormer failing postprocess tests | {
"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._",
"Looks like there is still a problem with the test."
] | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
Ensures post_process_instance_segmentation and post_process_panoptic_segmentation methods return a tensor of shape (target_height, target_width) filled with -1 values if no segment with score > threshold is found.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19354/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19354",
"html_url": "https://github.com/huggingface/transformers/pull/19354",
"diff_url": "https://github.com/huggingface/transformers/pull/19354.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19354.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19353/comments | https://api.github.com/repos/huggingface/transformers/issues/19353/events | https://github.com/huggingface/transformers/issues/19353 | 1,398,000,277 | I_kwDOCUB6oc5TU8qV | 19,353 | Very different results on inference between mps and cpu for same input | {
"login": "forrestdavis",
"id": 17956221,
"node_id": "MDQ6VXNlcjE3OTU2MjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/17956221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forrestdavis",
"html_url": "https://github.com/forrestdavis",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [
{
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.githu... | [
"Interesting! @pcuenca could you take a look here? ",
"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.c... | 1,664 | 1,670 | 1,670 | NONE | null | ### System Info
transformers version: 4.22.2
Platform: macOS-12.5-arm64-arm-64bit
Python version: 3.9.13
Huggingface_hub version: 0.10.0
PyTorch version (MPS?): 1.13.0.dev20221005 (True)
### Who can help?
@patil-suraj, @patrickvonplaten, @LysandreJik
### Information
- [ ] The official example scripts
- [X] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19353/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19352/comments | https://api.github.com/repos/huggingface/transformers/issues/19352/events | https://github.com/huggingface/transformers/issues/19352 | 1,397,954,586 | I_kwDOCUB6oc5TUxga | 19,352 | bug with inputs_embeds for bert (tensorflow) | {
"login": "tomergur",
"id": 12786269,
"node_id": "MDQ6VXNlcjEyNzg2MjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/12786269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomergur",
"html_url": "https://github.com/tomergur",
"followers_url": "https://api.github.com/users/tom... | [] | closed | false | null | [] | [
"Hey @tomergur 👋 \r\n\r\nSadly, we have no power to prevent this issue. If you look at the traceback from a script like\r\n```python\r\nfrom transformers import BertConfig, TFBertForTokenClassification\r\nbert_conf = BertConfig(num_hidden_layers=2, num_labels=2)\r\nbert_model=TFBertForTokenClassification(bert_conf... | 1,664 | 1,665 | 1,665 | NONE | null | ### System Info
- `transformers` version: 4.22.2
- Platform: Linux-3.10.0-1160.31.1.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.8
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): 2.6.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19352/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19352/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19351/comments | https://api.github.com/repos/huggingface/transformers/issues/19351/events | https://github.com/huggingface/transformers/pull/19351 | 1,397,902,723 | PR_kwDOCUB6oc5AOGQf | 19,351 | Make LayoutLM tokenizers independent from BertTokenizer | {
"login": "arnaudstiegler",
"id": 26485052,
"node_id": "MDQ6VXNlcjI2NDg1MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/26485052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arnaudstiegler",
"html_url": "https://github.com/arnaudstiegler",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger The PR is ready for review :) "
] | 1,664 | 1,665 | 1,665 | 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/19351/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/19351/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19351",
"html_url": "https://github.com/huggingface/transformers/pull/19351",
"diff_url": "https://github.com/huggingface/transformers/pull/19351.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19351.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19350/comments | https://api.github.com/repos/huggingface/transformers/issues/19350/events | https://github.com/huggingface/transformers/pull/19350 | 1,397,832,771 | PR_kwDOCUB6oc5AN3O_ | 19,350 | Adding type hints for TF TransfoXL | {
"login": "thliang01",
"id": 21286104,
"node_id": "MDQ6VXNlcjIxMjg2MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/21286104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thliang01",
"html_url": "https://github.com/thliang01",
"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_19350). All of your documentation changes will be reflected on that endpoint."
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | Based on Issue #16059
As the title suggests, this PR adds type hints to the TF TransfoXL model classes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19350/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19350",
"html_url": "https://github.com/huggingface/transformers/pull/19350",
"diff_url": "https://github.com/huggingface/transformers/pull/19350.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19350.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19349/comments | https://api.github.com/repos/huggingface/transformers/issues/19349/events | https://github.com/huggingface/transformers/pull/19349 | 1,397,817,373 | PR_kwDOCUB6oc5ANz5r | 19,349 | Remove `Roberta` Interdependency from `tokenization_luke` | {
"login": "OtherHorizon",
"id": 33909036,
"node_id": "MDQ6VXNlcjMzOTA5MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/33909036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OtherHorizon",
"html_url": "https://github.com/OtherHorizon",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"> Thanks a lot for working on this one! Looking good for the properties added but the main init should retain the specificities of the Luke tokenizer, otherwise it will break it :-)\r\n\r\nHi,thanks for the super fast review. Will fix asap.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/... | 1,664 | 1,668 | 1,668 | CONTRIBUTOR | null | # What does this PR do?
Related to #19303
Removes `Roberta` dependency from `tokenization_luke.py`
## 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/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19349/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19349/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19349",
"html_url": "https://github.com/huggingface/transformers/pull/19349",
"diff_url": "https://github.com/huggingface/transformers/pull/19349.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19349.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19348/comments | https://api.github.com/repos/huggingface/transformers/issues/19348/events | https://github.com/huggingface/transformers/issues/19348 | 1,397,754,606 | I_kwDOCUB6oc5TUAru | 19,348 | Adding type hints for TFXLnet #19344 | {
"login": "thliang01",
"id": 21286104,
"node_id": "MDQ6VXNlcjIxMjg2MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/21286104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thliang01",
"html_url": "https://github.com/thliang01",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19348/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19347/comments | https://api.github.com/repos/huggingface/transformers/issues/19347/events | https://github.com/huggingface/transformers/pull/19347 | 1,397,750,608 | PR_kwDOCUB6oc5ANla6 | 19,347 | Making `ConvBert Tokenizer` independent from `bert Tokenizer` | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Done! @sgugger do i need to do same for convbert_fast?",
"@sgugger Thanks for quick feeback,\r\nFor tokenization_convbert.py i have change the comment to `# Copied from transformers.models.bert.tokenization_bert.BertTokenizer with... | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
Fixes #19303
Added `BertTokenizer` class in tokenization_convbert.py and `BertTokenizerFast` in tokenization_convbert_fast.py
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19347/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19347/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19347",
"html_url": "https://github.com/huggingface/transformers/pull/19347",
"diff_url": "https://github.com/huggingface/transformers/pull/19347.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19347.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19346/comments | https://api.github.com/repos/huggingface/transformers/issues/19346/events | https://github.com/huggingface/transformers/pull/19346 | 1,397,731,730 | PR_kwDOCUB6oc5ANhXF | 19,346 | Frees LongformerTokenizer of the Roberta dependency | {
"login": "srhrshr",
"id": 2330069,
"node_id": "MDQ6VXNlcjIzMzAwNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2330069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srhrshr",
"html_url": "https://github.com/srhrshr",
"followers_url": "https://api.github.com/users/srhrshr/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19346). All of your documentation changes will be reflected on that endpoint."
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
@sgugger ,
Per the issue #19303, the Roberta tokenizer dependency has been removed from `LongformerTokenizer`.
Thanks for reviewing the PR :)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19346/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19346",
"html_url": "https://github.com/huggingface/transformers/pull/19346",
"diff_url": "https://github.com/huggingface/transformers/pull/19346.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19346.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19344/comments | https://api.github.com/repos/huggingface/transformers/issues/19344/events | https://github.com/huggingface/transformers/pull/19344 | 1,397,705,193 | PR_kwDOCUB6oc5ANbtT | 19,344 | Adding type hints for TFXLnet | {
"login": "thliang01",
"id": 21286104,
"node_id": "MDQ6VXNlcjIxMjg2MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/21286104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thliang01",
"html_url": "https://github.com/thliang01",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Based on Issue #16059",
"Looks good to me, thanks!"
] | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | As the title suggests, this PR adds type hints to the TFXLnet model classes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19344/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19344",
"html_url": "https://github.com/huggingface/transformers/pull/19344",
"diff_url": "https://github.com/huggingface/transformers/pull/19344.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19344.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19343/comments | https://api.github.com/repos/huggingface/transformers/issues/19343/events | https://github.com/huggingface/transformers/pull/19343 | 1,397,693,967 | PR_kwDOCUB6oc5ANZUX | 19,343 | Removes Roberta and Bert config dependencies from Longformer | {
"login": "srhrshr",
"id": 2330069,
"node_id": "MDQ6VXNlcjIzMzAwNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2330069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srhrshr",
"html_url": "https://github.com/srhrshr",
"followers_url": "https://api.github.com/users/srhrshr/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Done! Thanks for bearing with me @sgugger :) "
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
@sgugger ,
Per the issue #19303, the Roberta and Bert config dependencies are removed from `LongformerConfig` and it now directly inherits from `PretrainedConfig`.
- `LongformerConfig` depends on `RobertaConfig` and `RobertaConfig` in turn inherits from `BertConfig`.
- So I've cop... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19343/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19343",
"html_url": "https://github.com/huggingface/transformers/pull/19343",
"diff_url": "https://github.com/huggingface/transformers/pull/19343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19343.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19341/comments | https://api.github.com/repos/huggingface/transformers/issues/19341/events | https://github.com/huggingface/transformers/pull/19341 | 1,397,657,586 | PR_kwDOCUB6oc5ANRse | 19,341 | 🚨 🚨 🚨 Fix ViT parameter initialization | {
"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._",
"Thanks for your PR! For such PRs, please ping both @sgugger and @amyeroberts who are better suited to do a review than I am. Thank you!",
"@alaradirik I believe setting eps in layernorm to 1e-6 rather than 1e-12 is also important ... | 1,664 | 1,668 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
This PR aims to rectify the discrepancy between the training performances of HF and Timm ViT implementations.
- Initializes torch and flax ViT dense layer weights with trunc_normal instead of normal (consistent with the TF implementation.
- Initializes cls_token and positional_embeddings wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19341/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/19341/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19341",
"html_url": "https://github.com/huggingface/transformers/pull/19341",
"diff_url": "https://github.com/huggingface/transformers/pull/19341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19341.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19340/comments | https://api.github.com/repos/huggingface/transformers/issues/19340/events | https://github.com/huggingface/transformers/issues/19340 | 1,397,651,583 | I_kwDOCUB6oc5TTnh_ | 19,340 | Roberta Gradient checkpointing to only layers, which requires grad | {
"login": "berkekisin",
"id": 70319815,
"node_id": "MDQ6VXNlcjcwMzE5ODE1",
"avatar_url": "https://avatars.githubusercontent.com/u/70319815?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/berkekisin",
"html_url": "https://github.com/berkekisin",
"followers_url": "https://api.github.com/use... | [] | 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,664 | 1,668 | 1,668 | NONE | null | ### Feature request
Current gradient checkpointing in Roberta, directly uses gradient checkpointing for all layers without checking if they require grad. In our use case we only train last 3 layers of Roberta and want to use gradient checkpointing only for the last 3 layers.
### Motivation
Adding this would fu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19340/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19340/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19339/comments | https://api.github.com/repos/huggingface/transformers/issues/19339/events | https://github.com/huggingface/transformers/issues/19339 | 1,397,636,925 | I_kwDOCUB6oc5TTj89 | 19,339 | TypeError: Operation 'neg_out_mps()' does not support input type 'int64' in MPS backend. | {
"login": "serdarildercaglar",
"id": 87153193,
"node_id": "MDQ6VXNlcjg3MTUzMTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/87153193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/serdarildercaglar",
"html_url": "https://github.com/serdarildercaglar",
"followers_url": "https... | [] | closed | false | null | [] | [
"As far as I can tell, this an issue in PyTorch not supporting an operation on MPS, so you should probably file your issue there.",
"I have overcome all the difficulties I have encountered so far with your solution suggestions about transformers. :) ",
"Has this issue been resolved?\r\n\r\nI'm running into the ... | 1,664 | 1,673 | 1,664 | NONE | null | ### System Info
transformers version: 4.22.2
checkpoint: microsoft/deberta-v3-small
task: ner
error: `TypeError: Operation 'neg_out_mps()' does not support input type 'int64' in MPS backend.
`
. | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19338). 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,664 | 1,668 | 1,668 | CONTRIBUTOR | null | Co-Authored-By: Sam Waterbury <sam.waterbury@scale.com>
# What does this PR do?
Attempts to recreate a different version of https://github.com/huggingface/transformers/pull/18949
I am under the impression, that the overall approach is doomed to not work because of how mctc models work.
However this PR als... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19338/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19338",
"html_url": "https://github.com/huggingface/transformers/pull/19338",
"diff_url": "https://github.com/huggingface/transformers/pull/19338.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19338.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19337/comments | https://api.github.com/repos/huggingface/transformers/issues/19337/events | https://github.com/huggingface/transformers/pull/19337 | 1,397,582,621 | PR_kwDOCUB6oc5ANBqM | 19,337 | Making `Camembert` independent from `Roberta`, clean | {
"login": "Mustapha-AJEGHRIR",
"id": 66799406,
"node_id": "MDQ6VXNlcjY2Nzk5NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/66799406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mustapha-AJEGHRIR",
"html_url": "https://github.com/Mustapha-AJEGHRIR",
"followers_url": "https... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | This pull request is a clean version of #19312
# What does this PR do?
related to #19303
Making the Camembert model (pytorch version) independent from Roberta
I have changed all the classes of camembert by copy paste from Roberta. I have done the litte necessary changes for every thing to work.
I'm ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19337/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19337",
"html_url": "https://github.com/huggingface/transformers/pull/19337",
"diff_url": "https://github.com/huggingface/transformers/pull/19337.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19337.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19336/comments | https://api.github.com/repos/huggingface/transformers/issues/19336/events | https://github.com/huggingface/transformers/pull/19336 | 1,397,470,540 | PR_kwDOCUB6oc5AMqPY | 19,336 | Change `BloomConfig` docstring | {
"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_19336). All of your documentation changes will be reflected on that endpoint."
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
This PR addresses small changes on the `BloomConfig` docstring that might be slightly confusing.
Original discussion from: https://huggingface.co/bigscience/bloom/discussions/120
Thanks!
cc @sgugger @VictorSanh @SaulLu | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19336/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19336",
"html_url": "https://github.com/huggingface/transformers/pull/19336",
"diff_url": "https://github.com/huggingface/transformers/pull/19336.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19336.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19335/comments | https://api.github.com/repos/huggingface/transformers/issues/19335/events | https://github.com/huggingface/transformers/pull/19335 | 1,397,456,730 | PR_kwDOCUB6oc5AMnY- | 19,335 | [tokenizers] Cache all-special-ids | {
"login": "yashneeva",
"id": 87332554,
"node_id": "MDQ6VXNlcjg3MzMyNTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/87332554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yashneeva",
"html_url": "https://github.com/yashneeva",
"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_19335). All of your documentation changes will be reflected on that endpoint.",
"@SaulLu sorry for the delay, here's my follow-up to https://github.com/huggingface/transformers/pull/19018 where I fixed the test failures :)"... | 1,664 | 1,668 | 1,668 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19335/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19335",
"html_url": "https://github.com/huggingface/transformers/pull/19335",
"diff_url": "https://github.com/huggingface/transformers/pull/19335.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19335.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19333/comments | https://api.github.com/repos/huggingface/transformers/issues/19333/events | https://github.com/huggingface/transformers/pull/19333 | 1,397,386,843 | PR_kwDOCUB6oc5AMY1- | 19,333 | Added Type hints for XLM TF | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Rocketknight1 Thanks for the feedback, I have updated the file."
] | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | Based on Issue #16059
I have added type hints for Tensorflow XLM model.
@Rocketknight1 Could you kindly check if this is fine?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19333/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19333",
"html_url": "https://github.com/huggingface/transformers/pull/19333",
"diff_url": "https://github.com/huggingface/transformers/pull/19333.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19333.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19332/comments | https://api.github.com/repos/huggingface/transformers/issues/19332/events | https://github.com/huggingface/transformers/pull/19332 | 1,397,183,863 | PR_kwDOCUB6oc5ALtQO | 19,332 | Remove bert interdependency from clip tokenizer | {
"login": "shyamsn97",
"id": 18158178,
"node_id": "MDQ6VXNlcjE4MTU4MTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/18158178?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shyamsn97",
"html_url": "https://github.com/shyamsn97",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,683 | 1,664 | 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/19332/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19332/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19332",
"html_url": "https://github.com/huggingface/transformers/pull/19332",
"diff_url": "https://github.com/huggingface/transformers/pull/19332.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19332.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19331/comments | https://api.github.com/repos/huggingface/transformers/issues/19331/events | https://github.com/huggingface/transformers/pull/19331 | 1,397,098,148 | PR_kwDOCUB6oc5ALaX6 | 19,331 | Removed interdependency of BERT's Tokenizer in tokenization of prophetnet | {
"login": "divyanshugit",
"id": 53843818,
"node_id": "MDQ6VXNlcjUzODQzODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/53843818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/divyanshugit",
"html_url": "https://github.com/divyanshugit",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
Removes BERT dependency from the ProphetNet tokenizer file.
Fixes a part of [#19303](https://github.com/huggingface/transformers/issues/19303)
## 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 t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19331/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19331",
"html_url": "https://github.com/huggingface/transformers/pull/19331",
"diff_url": "https://github.com/huggingface/transformers/pull/19331.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19331.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19330/comments | https://api.github.com/repos/huggingface/transformers/issues/19330/events | https://github.com/huggingface/transformers/pull/19330 | 1,397,051,987 | PR_kwDOCUB6oc5ALQx_ | 19,330 | [WIP]remove XLMTokenizer inheritance from FlaubertTokenizer | {
"login": "D3xter1922",
"id": 59790120,
"node_id": "MDQ6VXNlcjU5NzkwMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/59790120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/D3xter1922",
"html_url": "https://github.com/D3xter1922",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
Related to #19303
Removes `XLMTokenizer` inheritance from `FlaubertTokenizer`
## 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/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19330/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19330/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19330",
"html_url": "https://github.com/huggingface/transformers/pull/19330",
"diff_url": "https://github.com/huggingface/transformers/pull/19330.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19330.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19329/comments | https://api.github.com/repos/huggingface/transformers/issues/19329/events | https://github.com/huggingface/transformers/issues/19329 | 1,397,015,259 | I_kwDOCUB6oc5TRMLb | 19,329 | High CER when Fine Tuning TrOCR Transformers to make an OCR for arabic Language | {
"login": "DjouadaFarouk",
"id": 24492403,
"node_id": "MDQ6VXNlcjI0NDkyNDAz",
"avatar_url": "https://avatars.githubusercontent.com/u/24492403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DjouadaFarouk",
"html_url": "https://github.com/DjouadaFarouk",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @NielsRogge ",
"Hi,\r\n\r\nI would first try to overfit a single batch, as explained in [Karpathy's blog post](http://karpathy.github.io/2019/04/25/recipe/). This makes sure everything is set up properly.\r\n\r\nSeveral folks have shown to successfully fine-tune TrOCR from pre-trained encoder + decoder checkp... | 1,664 | 1,706 | 1,667 | NONE | null | Hello Everyone ,
I need Help /Guidance regarding Creating and arabic OCR using Transformers . I'm using ViT as encoder and arabert as decoder with their pretrained weights using it like this :
```
from transformers import VisionEncoderDecoderModel
model = VisionEncoderDecoderModel.from_encoder_decoder_pretrained... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19329/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19328/comments | https://api.github.com/repos/huggingface/transformers/issues/19328/events | https://github.com/huggingface/transformers/pull/19328 | 1,396,838,605 | PR_kwDOCUB6oc5AKi55 | 19,328 | Code refactor. | {
"login": "Kotmin",
"id": 70173732,
"node_id": "MDQ6VXNlcjcwMTczNzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/70173732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kotmin",
"html_url": "https://github.com/Kotmin",
"followers_url": "https://api.github.com/users/Kotmin/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19328). All of your documentation changes will be reflected on that endpoint.",
"Huh? Changing the `elif` to `if` changes what the code does.",
"This issue has been automatically marked as stale because it has not had rec... | 1,664 | 1,668 | 1,668 | NONE | null | # What does this PR do?
Fixes # (issue)
Replacing elif -> if for readability clear code and pep principles
## 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/huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19328/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19328",
"html_url": "https://github.com/huggingface/transformers/pull/19328",
"diff_url": "https://github.com/huggingface/transformers/pull/19328.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19328.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19327/comments | https://api.github.com/repos/huggingface/transformers/issues/19327/events | https://github.com/huggingface/transformers/pull/19327 | 1,396,823,994 | PR_kwDOCUB6oc5AKfwi | 19,327 | Remove interdependency from OpenAI tokenizer | {
"login": "E-Aho",
"id": 46936677,
"node_id": "MDQ6VXNlcjQ2OTM2Njc3",
"avatar_url": "https://avatars.githubusercontent.com/u/46936677?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/E-Aho",
"html_url": "https://github.com/E-Aho",
"followers_url": "https://api.github.com/users/E-Aho/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | 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/19327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19327",
"html_url": "https://github.com/huggingface/transformers/pull/19327",
"diff_url": "https://github.com/huggingface/transformers/pull/19327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19327.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19326/comments | https://api.github.com/repos/huggingface/transformers/issues/19326/events | https://github.com/huggingface/transformers/pull/19326 | 1,396,810,264 | PR_kwDOCUB6oc5AKc02 | 19,326 | removing XLMConfig inheritance from FlaubertConfig | {
"login": "D3xter1922",
"id": 59790120,
"node_id": "MDQ6VXNlcjU5NzkwMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/59790120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/D3xter1922",
"html_url": "https://github.com/D3xter1922",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can you just put the PR as ready for review and remove WIP from the title? I can't merge draft PRs :-)",
"> Can you just put the PR as ready for review and remove WIP from the title? I can't merge draft PRs :-)\r\n\r\nDone. Thanks:... | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
related to #19303
Removes `XLMConfig` dependency from `FlaubertConfig`
the `__init__` from `FlaubertConfig` differs from `XLMConfig` in the following ways:
- `pre_norm` and `layerdrop` are specific to `FlaubertConfig`. So, I have not added and `#Copied from ...`
## Before submittin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19326/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19326",
"html_url": "https://github.com/huggingface/transformers/pull/19326",
"diff_url": "https://github.com/huggingface/transformers/pull/19326.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19326.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19325/comments | https://api.github.com/repos/huggingface/transformers/issues/19325/events | https://github.com/huggingface/transformers/pull/19325 | 1,396,761,942 | PR_kwDOCUB6oc5AKSWJ | 19,325 | Use a dynamic configuration for circleCI tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Feel free to merge whenever ready"
] | 1,664 | 1,665 | 1,665 | COLLABORATOR | null | # What does this PR do?
This PR entirely rewrites the circle CI setup for the tests run at each commit, to use a configuration generated on the fly depending on which tests should be run. It also offers a Python wrapper around the circleCI API via the new util `create_circleci_config.py`.
This way, when a commit ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19325/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19325/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19325",
"html_url": "https://github.com/huggingface/transformers/pull/19325",
"diff_url": "https://github.com/huggingface/transformers/pull/19325.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19325.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19324/comments | https://api.github.com/repos/huggingface/transformers/issues/19324/events | https://github.com/huggingface/transformers/issues/19324 | 1,396,656,396 | I_kwDOCUB6oc5TP0kM | 19,324 | Better documentation for pipelines | {
"login": "rhelmeczi",
"id": 48860682,
"node_id": "MDQ6VXNlcjQ4ODYwNjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/48860682?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rhelmeczi",
"html_url": "https://github.com/rhelmeczi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"could I get assigned to this?",
"ping @Narsil @stevhliu @sgugger ",
"@Narsil @stevhliu @sgugger could I get assigned to this?",
"@rhelmeczi @DIvkov575 \r\n\r\nThanks for this proposal, this would be with delight to give the documentation some love here !\r\n\r\n`pipeline` is a bit of a magical object with MA... | 1,664 | 1,668 | 1,668 | NONE | null | ### Feature request
The [introduction to pipelines](https://huggingface.co/docs/transformers/main_classes/pipelines) documentation does not provide any details on how additional parameters can be passed to the tokenizer during the preprocessing step. After walking through all of the source code, I can see that when in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19324/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/19324/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19323/comments | https://api.github.com/repos/huggingface/transformers/issues/19323/events | https://github.com/huggingface/transformers/pull/19323 | 1,396,583,273 | PR_kwDOCUB6oc5AJsTe | 19,323 | Add Switch transformers | {
"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_19323). All of your documentation changes will be reflected on that endpoint.",
"Thanks a lot @sgugger for your comments! \r\nWould love to have another round of review as I added some modification for `accelerate` and `bnb... | 1,664 | 1,668 | 1,668 | CONTRIBUTOR | null | # What does this PR do?
This PR attempts to add Switch Transformers from t5x with @ArthurZucker & @thomwolf
The architecture seems to be similar to a t5 architecture (the architecture is copied from T5), where the FF layer is slightly modified, introducing the first Mixture of Experts (MoE) architecture inside `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19323/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19323/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19323",
"html_url": "https://github.com/huggingface/transformers/pull/19323",
"diff_url": "https://github.com/huggingface/transformers/pull/19323.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19323.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19322/comments | https://api.github.com/repos/huggingface/transformers/issues/19322/events | https://github.com/huggingface/transformers/issues/19322 | 1,396,577,006 | I_kwDOCUB6oc5TPhLu | 19,322 | LongT5ForConditionalGeneration NAN losses with bf16 | {
"login": "avacaondata",
"id": 35173563,
"node_id": "MDQ6VXNlcjM1MTczNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avacaondata",
"html_url": "https://github.com/avacaondata",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Agree that it should work with `bf16` - when you mean it fails, how does it fail? Just bad training results ? Could you define this here? \r\n\r\nAlso cc @ArthurZucker here",
"Sorry I did not specify this, you're right! What I meant is that losses are nans, therefore the model does not learn (it happens the same... | 1,664 | 1,669 | 1,669 | NONE | null | ### System Info
transformers version: 4.23.0.dev0
torch version: 1.12.1
OS: Ubuntu 20
Cuda: 11.6
The problem is that LongT5 is supposed to work with bf16=True, but it doesn't. It is known that fp16 should fail in this, and I have tried it and effectively fails. However, Longt5 is supposed to be trained on bf16... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19322/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19322/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19321/comments | https://api.github.com/repos/huggingface/transformers/issues/19321/events | https://github.com/huggingface/transformers/pull/19321 | 1,396,556,925 | PR_kwDOCUB6oc5AJmtC | 19,321 | Call _set_save_spec() when creating TF models | {
"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._"
] | 1,664 | 1,664 | 1,664 | MEMBER | null | Much like confused ducklings, subclassed Keras models tend to imprint on the first concrete input shapes they see unless we explicitly `build()` them with more general shapes. However, the default `tf.keras.Model.build()` makes several restrictive assumptions and doesn't work for us.
The solution is to directly call... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19321/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19321/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19321",
"html_url": "https://github.com/huggingface/transformers/pull/19321",
"diff_url": "https://github.com/huggingface/transformers/pull/19321.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19321.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19320/comments | https://api.github.com/repos/huggingface/transformers/issues/19320/events | https://github.com/huggingface/transformers/issues/19320 | 1,396,445,017 | I_kwDOCUB6oc5TPA9Z | 19,320 | ONNX conversion of deberta_v2 models | {
"login": "kobiche",
"id": 56874660,
"node_id": "MDQ6VXNlcjU2ODc0NjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/56874660?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kobiche",
"html_url": "https://github.com/kobiche",
"followers_url": "https://api.github.com/users/kobich... | [] | closed | false | null | [] | [
"I believe I solved it (rather 'I forced it to work')\r\n(line: 159)\r\n```python\r\n t = self.type().dtype() if hasattr(self.type(), 'dtype') else self.type().scalarType()\r\n TYPE_CAST = {\r\n 'float': torch.float64,\r\n 'int': torch.int64\r\n }\r\n t = TYPE_CAST[... | 1,664 | 1,686 | 1,670 | NONE | null | ### System Info
transformers: 4.22.2
platform: Ubuntu 20.04.2
python: 3.8.10
### Who can help?
DeBERTa-v2: @LysandreJik
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19320/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19319/comments | https://api.github.com/repos/huggingface/transformers/issues/19319/events | https://github.com/huggingface/transformers/issues/19319 | 1,396,394,206 | I_kwDOCUB6oc5TO0je | 19,319 | convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.py does not work on fairseq wav2vec2-xls-r weights | {
"login": "heatz123",
"id": 33706329,
"node_id": "MDQ6VXNlcjMzNzA2MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/33706329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/heatz123",
"html_url": "https://github.com/heatz123",
"followers_url": "https://api.github.com/users/hea... | [] | closed | false | null | [] | [
"And after some inspections on fairseq library, I found that this change can make the conversion work also on wav2vec2-xls-r weights:\r\nhttps://github.com/huggingface/transformers/blob/bc21aaca789f1a366c05e8b5e111632944886393/src/transformers/models/wav2vec2/convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.... | 1,664 | 1,665 | 1,665 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.22.2
- Platform: Linux-5.4.0-126-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19319/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19318/comments | https://api.github.com/repos/huggingface/transformers/issues/19318/events | https://github.com/huggingface/transformers/issues/19318 | 1,396,295,580 | I_kwDOCUB6oc5TOcec | 19,318 | where can I find document about BertPreTrainedModel? | {
"login": "Lim-Sung-Jun",
"id": 61612775,
"node_id": "MDQ6VXNlcjYxNjEyNzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/61612775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lim-Sung-Jun",
"html_url": "https://github.com/Lim-Sung-Jun",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"What are you trying to do with `BertPreTrainedModel`? This is an abstract class that isn't really public facing.",
"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 tha... | 1,664 | 1,668 | 1,668 | NONE | null | hello,
I am trying to find document about BertPreTrainedModel which is used on colbertv1
I only found the source code below site ( 4.11.3 bert_modeling )
https://huggingface.co/transformers/v3.5.1/_modules/transformers/modeling_bert.html
but I didn't find any document for this in the official site for latest ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19318/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19317/comments | https://api.github.com/repos/huggingface/transformers/issues/19317/events | https://github.com/huggingface/transformers/pull/19317 | 1,396,269,857 | PR_kwDOCUB6oc5AIpfR | 19,317 | HF <-> megatron checkpoint reshaping and conversion for GPT | {
"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._",
"I can't use this from transformers to megatron for accelerate-megatron-plugin to continue finetune the checkpoint. is there any thing i missing? then load the converted checkpoint with resume_from_checkpoint args, it seems that the... | 1,664 | 1,677 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
With respect to GPT model,
1. Now, user would be able to convert Megatron-LM GPT model having different tensor parallel and pipeline parallel sizes to a universal transformers checkpoint for `gpt2` model. This checkpoint is also sharded by default (10GB per shard) or the value which user prov... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19317/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19317",
"html_url": "https://github.com/huggingface/transformers/pull/19317",
"diff_url": "https://github.com/huggingface/transformers/pull/19317.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19317.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19316/comments | https://api.github.com/repos/huggingface/transformers/issues/19316/events | https://github.com/huggingface/transformers/pull/19316 | 1,396,260,708 | PR_kwDOCUB6oc5AInmq | 19,316 | Fix for sequence regression fit() in TF | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | MEMBER | null | Fixes #19308
Keras really doesn't like 1-dimensional label tensors. We've caught most of the cases where this causes problems with the dummy loss, but sequence regression slipped through and is now fixed! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19316/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19316",
"html_url": "https://github.com/huggingface/transformers/pull/19316",
"diff_url": "https://github.com/huggingface/transformers/pull/19316.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19316.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19315/comments | https://api.github.com/repos/huggingface/transformers/issues/19315/events | https://github.com/huggingface/transformers/pull/19315 | 1,396,222,869 | PR_kwDOCUB6oc5AIfon | 19,315 | Added Type hints for LED TF | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | Based on Issue #16059
I have added type hints for Tensorflow LED model.
@Rocketknight1 Could you kindly check if this is fine? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19315/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19315",
"html_url": "https://github.com/huggingface/transformers/pull/19315",
"diff_url": "https://github.com/huggingface/transformers/pull/19315.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19315.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19314/comments | https://api.github.com/repos/huggingface/transformers/issues/19314/events | https://github.com/huggingface/transformers/pull/19314 | 1,396,216,124 | PR_kwDOCUB6oc5AIePv | 19,314 | Added Type hints for LED TF | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | Based on Issue #16059
I have added type hints for Tensorflow LED model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19314/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19314",
"html_url": "https://github.com/huggingface/transformers/pull/19314",
"diff_url": "https://github.com/huggingface/transformers/pull/19314.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19314.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19313/comments | https://api.github.com/repos/huggingface/transformers/issues/19313/events | https://github.com/huggingface/transformers/pull/19313 | 1,396,216,077 | PR_kwDOCUB6oc5AIePK | 19,313 | [Docs] Fix link | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19313/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19313",
"html_url": "https://github.com/huggingface/transformers/pull/19313",
"diff_url": "https://github.com/huggingface/transformers/pull/19313.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19313.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19312/comments | https://api.github.com/repos/huggingface/transformers/issues/19312/events | https://github.com/huggingface/transformers/pull/19312 | 1,396,195,356 | PR_kwDOCUB6oc5AIZ-G | 19,312 | [WIP] Making `Camembert` independent from Roberta | {
"login": "Mustapha-AJEGHRIR",
"id": 66799406,
"node_id": "MDQ6VXNlcjY2Nzk5NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/66799406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mustapha-AJEGHRIR",
"html_url": "https://github.com/Mustapha-AJEGHRIR",
"followers_url": "https... | [] | closed | false | null | [] | [
"In the `CamembertPreTrainedModel` I left `base_model_prefix = \"roberta\"` to be equal to \"roberta\". If I change it into \"camembert\" the test fails. This is normal ?",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for your answers @sgugger. I took some time t... | 1,664 | 1,665 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
related to #19303
Making the Camembert model (pytorch version) independent from Roberta
I have changed all the classes of camembert by copy paste from Roberta. I have done the litte necessary changes for every thing to work.
I'm still wondering how to change blocks like those, I ha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19312/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19312",
"html_url": "https://github.com/huggingface/transformers/pull/19312",
"diff_url": "https://github.com/huggingface/transformers/pull/19312.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19312.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19311/comments | https://api.github.com/repos/huggingface/transformers/issues/19311/events | https://github.com/huggingface/transformers/issues/19311 | 1,395,923,064 | I_kwDOCUB6oc5TNBh4 | 19,311 | NER Training on custom Data | {
"login": "akshaydhok07",
"id": 65851551,
"node_id": "MDQ6VXNlcjY1ODUxNTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/65851551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akshaydhok07",
"html_url": "https://github.com/akshaydhok07",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I have the same question! Can anyone tell me how to design my custom data file format? Thank u!!",
"Please use the [forums](https://discuss.huggingface.co/) to discuss questions like this as we keep the issues for bugs and feature requests only.",
"你好,我已经收到您的邮件~",
"This issue has been automatically marked as... | 1,664 | 1,693 | 1,693 | NONE | null | https://github.com/huggingface/transformers/blob/4c962d5e790d06c142af35aad165c74c0bcf861a/examples/pytorch/token-classification/run_ner.py#L200
[README.md](https://github.com/huggingface/transformers/tree/main/examples/pytorch/token-classification#readme) mentions providing text files for training and validation, ho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19311/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19311/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19310/comments | https://api.github.com/repos/huggingface/transformers/issues/19310/events | https://github.com/huggingface/transformers/pull/19310 | 1,395,912,773 | PR_kwDOCUB6oc5AHeXg | 19,310 | Add `BloomForQuestionAnswering` | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I have just fixed your suggestions @sgugger 💪 Gently pinging you here, and let me know if you need me to open a PR for GPTJ too ;) !",
"Thanks a lot!!"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the class `BloomForQuestionAnswering`, insipred from [`GPTJForQuestionAnswering`](https://github.com/huggingface/transformers/blob/4c962d5e790d06c142af35aad165c74c0bcf861a/src/transformers/models/gptj/modeling_gptj.py#L1024), as the community asked for the release of this class (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19310/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19310",
"html_url": "https://github.com/huggingface/transformers/pull/19310",
"diff_url": "https://github.com/huggingface/transformers/pull/19310.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19310.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19309/comments | https://api.github.com/repos/huggingface/transformers/issues/19309/events | https://github.com/huggingface/transformers/pull/19309 | 1,395,875,574 | PR_kwDOCUB6oc5AHWeT | 19,309 | Update README.md | {
"login": "ShubhamJagtap2000",
"id": 63872951,
"node_id": "MDQ6VXNlcjYzODcyOTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/63872951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShubhamJagtap2000",
"html_url": "https://github.com/ShubhamJagtap2000",
"followers_url": "https... | [] | closed | false | null | [] | [
"> # Fixed link in the main README.md\r\n> \r\n> Fixes # (issue)\r\n> ## Before submitting\r\n> \r\n> * [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).\r\n> \r\n> * [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers... | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # Fixed link in the main README.md
<!--
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 rep... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19309/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19309",
"html_url": "https://github.com/huggingface/transformers/pull/19309",
"diff_url": "https://github.com/huggingface/transformers/pull/19309.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19309.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19308/comments | https://api.github.com/repos/huggingface/transformers/issues/19308/events | https://github.com/huggingface/transformers/issues/19308 | 1,395,790,447 | I_kwDOCUB6oc5TMhJv | 19,308 | TFSequenceClassifierOutput can't return loss batch_size when num_labels=1 | {
"login": "goreng2",
"id": 45035457,
"node_id": "MDQ6VXNlcjQ1MDM1NDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/45035457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/goreng2",
"html_url": "https://github.com/goreng2",
"followers_url": "https://api.github.com/users/goreng... | [] | closed | false | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [
{
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url"... | [
"Verified the issue, making a patch now!",
"@goreng2 I've submitted a fix at #19316. I'll let you know when this is merged to main.",
"@goreng2 The fix should now be merged, but you'll have to install from `main` to use it until the next official release. To do that, replace `pip install transformers` with `pip... | 1,664 | 1,664 | 1,664 | NONE | null | ### System Info
[**Colab Env**](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb)
- `transformers` version: 4.22.2
- Platform: Linux-5.10.133+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.14
- Huggingface_hub version: 0.10.0
- PyTorch version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19308/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19307/comments | https://api.github.com/repos/huggingface/transformers/issues/19307/events | https://github.com/huggingface/transformers/pull/19307 | 1,395,413,284 | PR_kwDOCUB6oc5AF1xD | 19,307 | Removing BertConfig inheritance from LayoutLMConfig | {
"login": "arnaudstiegler",
"id": 26485052,
"node_id": "MDQ6VXNlcjI2NDg1MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/26485052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arnaudstiegler",
"html_url": "https://github.com/arnaudstiegler",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Welcome to the repo, Arnaud :)\r\n\r\nPinging @sgugger for review"
] | 1,664 | 1,664 | 1,664 | 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/19307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19307/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19307",
"html_url": "https://github.com/huggingface/transformers/pull/19307",
"diff_url": "https://github.com/huggingface/transformers/pull/19307.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19307.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19306/comments | https://api.github.com/repos/huggingface/transformers/issues/19306/events | https://github.com/huggingface/transformers/issues/19306 | 1,395,389,899 | I_kwDOCUB6oc5TK_XL | 19,306 | T5 vocab size discrepancy between config and tokenizer | {
"login": "djaym7",
"id": 12378820,
"node_id": "MDQ6VXNlcjEyMzc4ODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/12378820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/djaym7",
"html_url": "https://github.com/djaym7",
"followers_url": "https://api.github.com/users/djaym7/fo... | [] | closed | false | null | [] | [
"I found the same issue for deberta-v3 #19301. It should be fine as long as the model's vocab is larger than the tokenizer's. ",
"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 th... | 1,664 | 1,668 | 1,668 | NONE | null | ### System Info

transformers version == '4.18.0'
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially suppor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19306/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19305/comments | https://api.github.com/repos/huggingface/transformers/issues/19305/events | https://github.com/huggingface/transformers/issues/19305 | 1,395,323,192 | I_kwDOCUB6oc5TKvE4 | 19,305 | Huge discrepancy between HuggingFace and Timm for ViT and other vision transformers | {
"login": "Phuoc-Hoan-Le",
"id": 39663189,
"node_id": "MDQ6VXNlcjM5NjYzMTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/39663189?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Phuoc-Hoan-Le",
"html_url": "https://github.com/Phuoc-Hoan-Le",
"followers_url": "https://api.githu... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
}
] | closed | false | {
"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... | [
{
"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://... | [
"cc @NielsRogge @amyeroberts @alaradirik ",
"@CharlesLeeeee thank you for bringing this up! We are aware of the discrepancy and aim to rectify it soon. We will fix the parameter initialization issue shortly and open a separate PR to add stochastic depth.\r\n\r\ncc @LysandreJik @NielsRogge @amyeroberts ",
"I bel... | 1,664 | 1,670 | 1,670 | NONE | null | ### Feature request
Differences between HugginFace and Timm implementation of Vision Transformers can be listed as below:
-Missing stochastic depth (https://arxiv.org/abs/2012.12877)
-Using m.weight.data.normal_(mean=0.0, std=0.02) instead of trunc_normal_()
-Missing trunc_normal_() init for the position embeddin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19305/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19305/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19304/comments | https://api.github.com/repos/huggingface/transformers/issues/19304/events | https://github.com/huggingface/transformers/pull/19304 | 1,395,276,368 | PR_kwDOCUB6oc5AFZeA | 19,304 | Correct typos and fix a broken link in docs | {
"login": "paulaxisabel",
"id": 102936794,
"node_id": "U_kgDOBiKw2g",
"avatar_url": "https://avatars.githubusercontent.com/u/102936794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paulaxisabel",
"html_url": "https://github.com/paulaxisabel",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
Correct typos in [docs](https://github.com/huggingface/transformers/tree/main/docs) and update the trainer doc link from https://github.com/huggingface/transformers/blob/main/docs/source/main_classes/trainer.mdx to https://github.com/huggingface/transformers/blob/main/docs/source/en/main_classe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19304/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19304",
"html_url": "https://github.com/huggingface/transformers/pull/19304",
"diff_url": "https://github.com/huggingface/transformers/pull/19304.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19304.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19303/comments | https://api.github.com/repos/huggingface/transformers/issues/19303/events | https://github.com/huggingface/transformers/issues/19303 | 1,395,019,875 | I_kwDOCUB6oc5TJlBj | 19,303 | Make all models folder independent from each other | {
"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... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
},
{
"id": 4608548278,
"node_id": "LA_kwDO... | closed | false | null | [] | [
"Hello! Happy to take LayoutLM Config and Tokenizer :) ",
"Hi, I would like to work on this. thanks.",
"Hi @OtherHorizon , as explained in the issue, please pick a model/config and/or tokenizer so that others know not to pick the same one :-)",
"Hi @sgugger, I like this philosophy, and I can work on DoRYing `... | 1,664 | 1,674 | 1,674 | COLLABORATOR | null | Transformers has a Do Repeat Yourself policy in the sense that it does not provide building blocks that we then mix and match, but we strive to have each model be self-contained in terms of code, at the price of code duplication. You can find more about this philosophy in [this blog post](https://huggingface.co/blog/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19303/reactions",
"total_count": 12,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19303/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19302/comments | https://api.github.com/repos/huggingface/transformers/issues/19302/events | https://github.com/huggingface/transformers/pull/19302 | 1,394,974,492 | PR_kwDOCUB6oc5AEX7k | 19,302 | Don't automatically add bug label | {
"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,664 | 1,664 | 1,664 | COLLABORATOR | null | # What does this PR do?
This PR removes the auto-added "bug" label in issues created with the Bug template. It's better if we had said label ourselves since those issues range from questions, to bug in the user's code and not always correspond to a bug in the library. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19302",
"html_url": "https://github.com/huggingface/transformers/pull/19302",
"diff_url": "https://github.com/huggingface/transformers/pull/19302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19302.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19301/comments | https://api.github.com/repos/huggingface/transformers/issues/19301/events | https://github.com/huggingface/transformers/issues/19301 | 1,394,855,872 | I_kwDOCUB6oc5TI8_A | 19,301 | deberta-v3 has 100 more vocabs than its tokenizer | {
"login": "wenmin-wu",
"id": 9409333,
"node_id": "MDQ6VXNlcjk0MDkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9409333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wenmin-wu",
"html_url": "https://github.com/wenmin-wu",
"followers_url": "https://api.github.com/users/we... | [
{
"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 | [] | [
"Maybe of interest to @ArthurZucker as well",
"> Maybe of interest to @ArthurZucker as well\r\n\r\nThanks Lysandre!",
"Hi @wenmin-wu, \r\n\r\nIt seems that the difference between the size of the tokenizer and the size of the `word_embeddings` matrix is voluntary on the part of the deberta-v3's authors as you ca... | 1,664 | 1,665 | 1,665 | NONE | null | ### System Info
- `transformers` version: 4.22.1
- Platform: macOS-12.6-arm64-arm-64bit
- Python version: 3.8.13
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): 2.8.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19301/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19300/comments | https://api.github.com/repos/huggingface/transformers/issues/19300/events | https://github.com/huggingface/transformers/issues/19300 | 1,394,772,166 | I_kwDOCUB6oc5TIojG | 19,300 | Trainer with save_total_limit=1 keeps 2 checkpoints when EarlyStoppingCallback is active | {
"login": "DavidNemeskey",
"id": 690386,
"node_id": "MDQ6VXNlcjY5MDM4Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/690386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DavidNemeskey",
"html_url": "https://github.com/DavidNemeskey",
"followers_url": "https://api.github.co... | [
{
"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 | [] | [
"Thanks for the writeup. That's not a bug, but very much intended. This is the only instance in which the `save_total_limit` argument is not fully respected, because:\r\n- we need to keep the best model\r\n- we also need to keep the last model to be able to resume training if a crash happens",
"@sgugger \"If a cr... | 1,664 | 1,666 | 1,666 | CONTRIBUTOR | null | ### System Info
Transformers: 4.21.3
Python: 3.10.4
OS: Linux 5.4.0-91-generic #102-Ubuntu SMP x86_64
Torch: 1.12.1+cu113
GPU: A100 40G
### Who can help?
@sgugger
### Information
As the title says. See below for details.
### Tasks
I trained BERT-based sequence classifiers.
### Reproducti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19300/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19300/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19299/comments | https://api.github.com/repos/huggingface/transformers/issues/19299/events | https://github.com/huggingface/transformers/issues/19299 | 1,394,497,369 | I_kwDOCUB6oc5THldZ | 19,299 | Model's internal loss is different than calculated loss at tf.keras.metric.Metric | {
"login": "uunal",
"id": 2520197,
"node_id": "MDQ6VXNlcjI1MjAxOTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2520197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uunal",
"html_url": "https://github.com/uunal",
"followers_url": "https://api.github.com/users/uunal/follower... | [
{
"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 @uunal, I don't think this is a bug in `transformers`. The main issue is that Keras displays the loss as the average for the whole epoch so far, but your Metric only displays the loss for the most recent batch. This is because you overwrite it with each batch. A better approach might be to store `self.total_los... | 1,664 | 1,664 | 1,664 | NONE | null | ### System Info
- `transformers` version: 4.22.1
- Platform: Linux-4.19.0-21-cloud-amd64-x86_64-with-glibc2.28
- Python version: 3.9.5
### Who can help?
@Rocketknight1
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19299/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19299/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19298/comments | https://api.github.com/repos/huggingface/transformers/issues/19298/events | https://github.com/huggingface/transformers/issues/19298 | 1,394,229,331 | I_kwDOCUB6oc5TGkBT | 19,298 | Bug with Training T5 Tokenizers on New Data | {
"login": "yangky11",
"id": 5431913,
"node_id": "MDQ6VXNlcjU0MzE5MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5431913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangky11",
"html_url": "https://github.com/yangky11",
"followers_url": "https://api.github.com/users/yangk... | [
{
"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 @yangky11 ,\r\n\r\nThank you very much for pointing this out! It is indeed a problem!\r\n\r\nTo fix it, we'll have to look into whether we need to pay special attention to the `train_new_from_iterator` method of the `T5TokenizerFast` tokenizer or (even better) whether we really need the sentinel ids to be at th... | 1,664 | 1,672 | 1,671 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.22.2
- Platform: Linux-5.10.135-122.509.amzn2.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19298/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19298/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19297/comments | https://api.github.com/repos/huggingface/transformers/issues/19297/events | https://github.com/huggingface/transformers/issues/19297 | 1,394,209,432 | I_kwDOCUB6oc5TGfKY | 19,297 | Floating point exception (core dumped) when using `transformers.onnx` | {
"login": "blakechi",
"id": 56323787,
"node_id": "MDQ6VXNlcjU2MzIzNzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56323787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blakechi",
"html_url": "https://github.com/blakechi",
"followers_url": "https://api.github.com/users/bla... | [
{
"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 | [] | [
"cc @lewtun ",
"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/C... | 1,664 | 1,670 | 1,670 | NONE | null | ### System Info
- `transformers` version: 4.22.2
- Platform: Linux-5.13.0-41-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19297/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19296/comments | https://api.github.com/repos/huggingface/transformers/issues/19296/events | https://github.com/huggingface/transformers/issues/19296 | 1,394,109,223 | I_kwDOCUB6oc5TGGsn | 19,296 | AssertionError: Padding_idx must be within num_embeddings MarianModel | {
"login": "talhaanwarch",
"id": 37379131,
"node_id": "MDQ6VXNlcjM3Mzc5MTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/37379131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/talhaanwarch",
"html_url": "https://github.com/talhaanwarch",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @talhaanwarch 👋 This seems to be an error in our default value for the size of the embeddings. Thank you for raising it!\r\n\r\nMeanwhile, you should be able to run\r\n```python\r\nfrom transformers import MarianModel, MarianConfig\r\n\r\n# Initializing a Marian Helsinki-NLP/opus-mt-en-de style configuration\r... | 1,664 | 1,665 | 1,665 | NONE | null | ### System Info
- `transformers` version: 4.22.2
- Platform: Linux-5.10.133+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.14
- Huggingface_hub version: 0.10.0
- PyTorch version (GPU?): 1.12.1+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/19296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19296/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19295/comments | https://api.github.com/repos/huggingface/transformers/issues/19295/events | https://github.com/huggingface/transformers/issues/19295 | 1,394,105,275 | I_kwDOCUB6oc5TGFu7 | 19,295 | I think group_by_length feature can be faster using a namely length list | {
"login": "comchobo",
"id": 65698076,
"node_id": "MDQ6VXNlcjY1Njk4MDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/65698076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/comchobo",
"html_url": "https://github.com/comchobo",
"followers_url": "https://api.github.com/users/com... | [] | closed | false | null | [] | [
"cc @sgugger ",
"As explained in the documentation, you should provide the `lengths` column in the dataset. If you use the `Dataset.map` method to build it, you won't need to implement any multiprocessing since it will do it for you. It will also cache the result so you only need to the computation once."
] | 1,664 | 1,665 | 1,665 | NONE | null | ### Feature request
Current group_by_length requires ```lengths``` list that can be fully-loaded from dataset:
```
class Trainer:
...
def _get_train_sampler(self) -> Optional[torch.utils.data.Sampler]:
...
if self.args.group_by_length:
if is_datasets_available() and isinstance(se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19295/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19294/comments | https://api.github.com/repos/huggingface/transformers/issues/19294/events | https://github.com/huggingface/transformers/issues/19294 | 1,394,086,521 | I_kwDOCUB6oc5TGBJ5 | 19,294 | Cant run same int8 example on local machine that works in Colab | {
"login": "auwsom",
"id": 25093612,
"node_id": "MDQ6VXNlcjI1MDkzNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/25093612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/auwsom",
"html_url": "https://github.com/auwsom",
"followers_url": "https://api.github.com/users/auwsom/fo... | [
{
"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 | [] | [
"I solved this by using \"pip install git+https://github.com/huggingface/transformers.git\" for the latest transformers package. I installed the one locally in the last month, but things must change that fast in this space. I leaving the issue for others, but closing.",
"I'm getting `\"AttributeError: /home/user/... | 1,664 | 1,672 | 1,665 | NONE | null | ### System Info
This also looks like a bug:
(but consumer hardware Dell workstation with 64GBs RAM and RTX 3060 12GBs )
```
Traceback (most recent call last):
File "/home/user/.local/bin/transformers-cli", line 5, in <module>
from transformers.commands.transformers_cli import main
File "/home/user/.local... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19294/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19293/comments | https://api.github.com/repos/huggingface/transformers/issues/19293/events | https://github.com/huggingface/transformers/issues/19293 | 1,394,082,729 | I_kwDOCUB6oc5TGAOp | 19,293 | T5 Tokenizer Prepends Space after Each Added (Extra) Token | {
"login": "ankrgyl",
"id": 565363,
"node_id": "MDQ6VXNlcjU2NTM2Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ankrgyl",
"html_url": "https://github.com/ankrgyl",
"followers_url": "https://api.github.com/users/ankrgyl/fo... | [
{
"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 | [] | [
"In case it helps with debugging, it returns a different result with `use_fast=False`:\r\n\r\n```\r\ntokenizer = AutoTokenizer.from_pretrained('t5-base', use_fast=False)\r\ntokenizer.add_tokens(['<'])\r\ntokenizer.decode(tokenizer('a<=5').input_ids)\r\n# 'a < =5</s>' (notice the space both before and after the `<`)... | 1,664 | 1,666 | 1,666 | CONTRIBUTOR | null | ### System Info
```
$ transformers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.22.1
- Platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.31
- Python version: 3.10.7
- Huggingface_hub version: 0.9.1
- PyTorch version (GPU?): 1.12.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19293/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19291/comments | https://api.github.com/repos/huggingface/transformers/issues/19291/events | https://github.com/huggingface/transformers/pull/19291 | 1,393,849,513 | PR_kwDOCUB6oc5AAoeX | 19,291 | make more clear fail on numpy tensor in marian | {
"login": "kventinel",
"id": 14203222,
"node_id": "MDQ6VXNlcjE0MjAzMjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/14203222?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kventinel",
"html_url": "https://github.com/kventinel",
"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_19291). All of your documentation changes will be reflected on that endpoint."
] | 1,664 | 1,665 | 1,665 | 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/19291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19291/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19291",
"html_url": "https://github.com/huggingface/transformers/pull/19291",
"diff_url": "https://github.com/huggingface/transformers/pull/19291.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19291.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19290/comments | https://api.github.com/repos/huggingface/transformers/issues/19290/events | https://github.com/huggingface/transformers/issues/19290 | 1,393,806,212 | I_kwDOCUB6oc5TE8uE | 19,290 | ValueError: The following `model_kwargs` are not used by the model: ['length'] | {
"login": "CrackerHax",
"id": 6037535,
"node_id": "MDQ6VXNlcjYwMzc1MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6037535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CrackerHax",
"html_url": "https://github.com/CrackerHax",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hi @CrackerHax,\r\n\r\nThanks for the issue. \r\n\r\nCould I ask you to share also the lines of code that you used to initialize the model, tokenizer and user_input which work with the `4.21.0` version of transformers and not the newer versions?",
"FYI, I'm also triggering this error when I use the latest transf... | 1,664 | 1,687 | 1,674 | NONE | null | ### System Info
4.22.2
### Who can help?
@SaulLu
### Information
- [X] The official example scripts
- [X] 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
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19290/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19290/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19289/comments | https://api.github.com/repos/huggingface/transformers/issues/19289/events | https://github.com/huggingface/transformers/issues/19289 | 1,393,797,328 | I_kwDOCUB6oc5TE6jQ | 19,289 | Call to pipeline.predict() fails | {
"login": "s-udhaya",
"id": 2215597,
"node_id": "MDQ6VXNlcjIyMTU1OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2215597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/s-udhaya",
"html_url": "https://github.com/s-udhaya",
"followers_url": "https://api.github.com/users/s-udh... | [
{
"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 @s-udhaya ,\r\n\r\nThe code you're referring to is very old in the codebase and was created for compat with stuff like scikit-learn, over which I have very little knowledge.\r\n\r\nThe recommended way to call the pipeline is to do;\r\n\r\n```python\r\nfrom transformers import pipeline\r\n\r\npipe = pipeline(\"t... | 1,664 | 1,666 | 1,666 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.21.1
- Platform: macOS-12.5.1-arm64-arm-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.2.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): 2.9.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19289/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19289/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19288/comments | https://api.github.com/repos/huggingface/transformers/issues/19288/events | https://github.com/huggingface/transformers/pull/19288 | 1,393,736,431 | PR_kwDOCUB6oc5AASyZ | 19,288 | docker-build: Update actions/checkout to v3 | {
"login": "Sushrut1101",
"id": 75667593,
"node_id": "MDQ6VXNlcjc1NjY3NTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/75667593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sushrut1101",
"html_url": "https://github.com/Sushrut1101",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your PR @Sushrut1101! I'll ping Yih-Dar @ydshieh for review but he's off for the week; he'll review when he's back! Thanks :)",
"> Thanks for your PR @Sushrut1101! I'll ping Yih-Dar @ydshieh for review but he's off for t... | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | For hacktoberfest 2022 :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19288/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19288",
"html_url": "https://github.com/huggingface/transformers/pull/19288",
"diff_url": "https://github.com/huggingface/transformers/pull/19288.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19288.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19287/comments | https://api.github.com/repos/huggingface/transformers/issues/19287/events | https://github.com/huggingface/transformers/pull/19287 | 1,393,728,640 | PR_kwDOCUB6oc5AARRA | 19,287 | fix marianMT convertion to onnx | {
"login": "kventinel",
"id": 14203222,
"node_id": "MDQ6VXNlcjE0MjAzMjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/14203222?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kventinel",
"html_url": "https://github.com/kventinel",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Can you please confirm that the slow tests pass with your change on convert.py, ie run this\r\n\r\n6 passed, 426 deselected, 35 warnings"
] | 1,664 | 1,665 | 1,665 | 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/19287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19287/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19287",
"html_url": "https://github.com/huggingface/transformers/pull/19287",
"diff_url": "https://github.com/huggingface/transformers/pull/19287.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19287.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19286 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19286/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19286/comments | https://api.github.com/repos/huggingface/transformers/issues/19286/events | https://github.com/huggingface/transformers/pull/19286 | 1,393,712,463 | PR_kwDOCUB6oc5AAOJD | 19,286 | make small fixes in logging | {
"login": "kventinel",
"id": 14203222,
"node_id": "MDQ6VXNlcjE0MjAzMjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/14203222?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kventinel",
"html_url": "https://github.com/kventinel",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"> Hello! What problem does that solve? :)\r\n\r\nFix style of imports and froze constant dict to save it unmodified and preserve from errors.",
"@LysandreJik, can you help me please with imports problems in tests?",
"I am not sure we want to accept this PR, unfortunately I do not understand what problem it fix... | 1,664 | 1,666 | 1,666 | 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/19286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19286/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19286",
"html_url": "https://github.com/huggingface/transformers/pull/19286",
"diff_url": "https://github.com/huggingface/transformers/pull/19286.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19286.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19285 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19285/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19285/comments | https://api.github.com/repos/huggingface/transformers/issues/19285/events | https://github.com/huggingface/transformers/issues/19285 | 1,393,676,703 | I_kwDOCUB6oc5TEdGf | 19,285 | A developer environment, for faster and efficient contributions. | {
"login": "AnirudhDaya",
"id": 94374523,
"node_id": "U_kgDOBaAKew",
"avatar_url": "https://avatars.githubusercontent.com/u/94374523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnirudhDaya",
"html_url": "https://github.com/AnirudhDaya",
"followers_url": "https://api.github.com/users/An... | [] | closed | false | null | [] | [
"Hey @AnirudhDaya, what difference is there with https://github.dev/huggingface/transformers ?\r\n\r\nThank you!",
"Sorry my bad. It didn't catch my eye.",
"No worries :)"
] | 1,664 | 1,664 | 1,664 | NONE | null | ### Feature request
Hello maintainers.
I would like to add gitpod to your repo to help beginners contribute.
- Gitpod is an online IDE which can be launched from any GitHub page. Within seconds, Gitpod provides a fully working development environment, including a VS Code-powered IDE and a cloud-based Linux containe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19285/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19285/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19284/comments | https://api.github.com/repos/huggingface/transformers/issues/19284/events | https://github.com/huggingface/transformers/pull/19284 | 1,393,636,509 | PR_kwDOCUB6oc4___xv | 19,284 | Added type hints for TF: rag model | {
"login": "debjit-bw",
"id": 68442560,
"node_id": "MDQ6VXNlcjY4NDQyNTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/68442560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/debjit-bw",
"html_url": "https://github.com/debjit-bw",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Rocketknight1 can you take a look at this? I just added type hints and fixed a syntax error in one previous type. Still it shows it failed these 2 tests. I have no idea what these tests do, can you shed some light on this issue?",
... | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | Based on Issue https://github.com/huggingface/transformers/issues/16059
Type hints for the [TFRagModel](https://huggingface.co/docs/transformers/model_doc/rag) have been added.
@Rocketknight1 Could you please check the changes and merge if it's fine?
Thanks a lot. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19284/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19284",
"html_url": "https://github.com/huggingface/transformers/pull/19284",
"diff_url": "https://github.com/huggingface/transformers/pull/19284.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19284.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19283 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19283/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19283/comments | https://api.github.com/repos/huggingface/transformers/issues/19283/events | https://github.com/huggingface/transformers/issues/19283 | 1,393,630,331 | I_kwDOCUB6oc5TERx7 | 19,283 | python -m transformers.onnx --model=Helsinki-NLP/opus-mt-en-zh onnx/ | {
"login": "chaodreaming",
"id": 49591435,
"node_id": "MDQ6VXNlcjQ5NTkxNDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/49591435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chaodreaming",
"html_url": "https://github.com/chaodreaming",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Also reproduced on mac",
"Fast fix: run with `--atol 1e-4`.",
"The --atol 1e-4 method can be run, but the running result seems incorrect",
"I think it's not a big difference for such big NN. In ouputs you have values much greater than 1e-4, so problem probably in some other place.",
"After exporting, the d... | 1,664 | 1,703 | 1,665 | NONE | null | ### System Info
transformers:4.22.2
python3.8.4
win10
raise ValueError(
ValueError: Outputs values doesn't match between reference model and ONNX exported model: Got max absolute difference of:
2.8133392333984375e-05
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19283/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19283/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/19282 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19282/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19282/comments | https://api.github.com/repos/huggingface/transformers/issues/19282/events | https://github.com/huggingface/transformers/pull/19282 | 1,393,625,434 | PR_kwDOCUB6oc4__9rG | 19,282 | Fix the error message in run_t5_mlm_flax.py | {
"login": "yangky11",
"id": 5431913,
"node_id": "MDQ6VXNlcjU0MzE5MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5431913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangky11",
"html_url": "https://github.com/yangky11",
"followers_url": "https://api.github.com/users/yangk... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,665 | 1,665 | 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/19282/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19282/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19282",
"html_url": "https://github.com/huggingface/transformers/pull/19282",
"diff_url": "https://github.com/huggingface/transformers/pull/19282.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19282.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19281/comments | https://api.github.com/repos/huggingface/transformers/issues/19281/events | https://github.com/huggingface/transformers/pull/19281 | 1,393,480,457 | PR_kwDOCUB6oc4__hdK | 19,281 | ci(stale.yml): upgrade actions/setup-python to v4 | {
"login": "oscard0m",
"id": 2574275,
"node_id": "MDQ6VXNlcjI1NzQyNzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2574275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oscard0m",
"html_url": "https://github.com/oscard0m",
"followers_url": "https://api.github.com/users/oscar... | [] | closed | false | null | [] | [] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null |
# What does this PR do?
Update actions/setup-python to v4 in stale.yml
<!--
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 awes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19281/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19281/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19281",
"html_url": "https://github.com/huggingface/transformers/pull/19281",
"diff_url": "https://github.com/huggingface/transformers/pull/19281.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19281.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19280 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19280/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19280/comments | https://api.github.com/repos/huggingface/transformers/issues/19280/events | https://github.com/huggingface/transformers/pull/19280 | 1,393,479,346 | PR_kwDOCUB6oc4__hPr | 19,280 | ci(stale.yml): update actions/checkout to v3 | {
"login": "oscard0m",
"id": 2574275,
"node_id": "MDQ6VXNlcjI1NzQyNzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2574275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oscard0m",
"html_url": "https://github.com/oscard0m",
"followers_url": "https://api.github.com/users/oscar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null |
# What does this PR do?
Update actions/checkout to v3 in stale.yml
<!--
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 awesom... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19280/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19280",
"html_url": "https://github.com/huggingface/transformers/pull/19280",
"diff_url": "https://github.com/huggingface/transformers/pull/19280.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19280.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/19279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/19279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/19279/comments | https://api.github.com/repos/huggingface/transformers/issues/19279/events | https://github.com/huggingface/transformers/pull/19279 | 1,393,432,906 | PR_kwDOCUB6oc4__X7K | 19,279 | Wrap Deit integration test forward passes with torch.no_grad() | {
"login": "daspartho",
"id": 59410571,
"node_id": "MDQ6VXNlcjU5NDEwNTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/59410571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daspartho",
"html_url": "https://github.com/daspartho",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,664 | 1,664 | 1,664 | CONTRIBUTOR | null | # What does this PR do?
As proposed in issue #14642, this PR wraps forward passes in Deit integration tests with torch.no_grad(). This way, no unnecessary gradients are computed during inference.
## Before submitting
- [ ] This PR fixes a typo or improves the docs.
- [X] Did you read the [contributor guideline]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/19279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/19279/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/19279",
"html_url": "https://github.com/huggingface/transformers/pull/19279",
"diff_url": "https://github.com/huggingface/transformers/pull/19279.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/19279.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.