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/17574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17574/comments | https://api.github.com/repos/huggingface/transformers/issues/17574/events | https://github.com/huggingface/transformers/pull/17574 | 1,261,959,192 | PR_kwDOCUB6oc45LFSF | 17,574 | [generate] return past_key_values | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17574). All of your documentation changes will be reflected on that endpoint.",
"We'll just need to fix the failing tests now :-) Think you'll have to overwrite this \"checking\" function in the respective individual test f... | 1,654 | 1,701 | 1,697 | MEMBER | null | # What does this PR do?
Allows returning `past_key_values` from `generate` when `use_cache=True`.
Like other returned values, `past_key_values` are also returned as `Tuple`, one element per generated token.
Fixes #17016 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17574/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17574",
"html_url": "https://github.com/huggingface/transformers/pull/17574",
"diff_url": "https://github.com/huggingface/transformers/pull/17574.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17574.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17573/comments | https://api.github.com/repos/huggingface/transformers/issues/17573/events | https://github.com/huggingface/transformers/pull/17573 | 1,261,751,105 | PR_kwDOCUB6oc45KX4a | 17,573 | Auto-build Docker images before on-merge if setup.py was changed | {
"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": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Do not merge for now. The push CI in transformers is somehow tricky, after the recent change in #17369.\r\nI will review tomorrow, but I think some changes have to be made.",
"@muellerzr Thank you for the PR. \r\n\r\nThe most direc... | 1,654 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR introduces a new workflow that will check if the `setup.py` was modified during a pull request merge. If so, it will trigger the docker images to be rebuilt before running the `on-merge` tests.
It also changes `self-push` to be ran on a `workflow_run`, specifically the new `check-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17573/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17573",
"html_url": "https://github.com/huggingface/transformers/pull/17573",
"diff_url": "https://github.com/huggingface/transformers/pull/17573.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17573.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17572/comments | https://api.github.com/repos/huggingface/transformers/issues/17572/events | https://github.com/huggingface/transformers/pull/17572 | 1,261,744,070 | PR_kwDOCUB6oc45KWWf | 17,572 | DETR: Add comment regarding backbones | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17572). 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,654 | 1,659 | 1,659 | MEMBER | null | Adds an informative message in DETR to mention that the backbone gets initialized for its architecture and not necessarily for its weights. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17572/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17572",
"html_url": "https://github.com/huggingface/transformers/pull/17572",
"diff_url": "https://github.com/huggingface/transformers/pull/17572.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17572.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17571/comments | https://api.github.com/repos/huggingface/transformers/issues/17571/events | https://github.com/huggingface/transformers/pull/17571 | 1,261,736,790 | PR_kwDOCUB6oc45KUyB | 17,571 | Add batchnorm running calc weight to porting script | {
"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._",
"Closing as the change was added in this PR :https://github.com/huggingface/transformers/pull/17271\r\n\r\n@sgugger I'll open a follow-up PR to address your comments. ",
"Actually, I misread the file where it's modified ๐
\r\nIt's ... | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Add two weight name mappings for PyTorch -> TensorFlow necessary for cross-loading weights for batchnorm layers which have been trained with `tracking_running_stats=True`.
This was necessary for cross-loading weights for the ResNet and RegNet ports. #17536 , #17554
## Before submitting... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17571/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17571/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17571",
"html_url": "https://github.com/huggingface/transformers/pull/17571",
"diff_url": "https://github.com/huggingface/transformers/pull/17571.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17571.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17570/comments | https://api.github.com/repos/huggingface/transformers/issues/17570/events | https://github.com/huggingface/transformers/pull/17570 | 1,261,561,053 | PR_kwDOCUB6oc45Juhf | 17,570 | enable cpu distribution training using mpirun | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger please have review or invite someone else.",
"I open a issue https://github.com/huggingface/transformers/issues/17581 for it.",
"@yao-matrix"
] | 1,654 | 1,666 | 1,655 | CONTRIBUTOR | null | *command like
* mpirun -n 2 python3 run_qa.py --no_cuda --xpu_backend ccl xxxx
*MASTER_ADDR and MASTER_PORT should be set as env
*export MASTER_ADDR=127.0.0.1
*export MASTER_PORT=29500
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
# What does this PR do?
<!--
Congratulations! You've made it this far!... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17570/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/17570/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17570",
"html_url": "https://github.com/huggingface/transformers/pull/17570",
"diff_url": "https://github.com/huggingface/transformers/pull/17570.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17570.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17569/comments | https://api.github.com/repos/huggingface/transformers/issues/17569/events | https://github.com/huggingface/transformers/issues/17569 | 1,261,531,239 | I_kwDOCUB6oc5LMXBn | 17,569 | Microsoft's SpeechT5 for Spoken Language Processing (ASR, TTS, ST...) | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU... | closed | false | null | [] | [
"Piecing these modules together should be a fun challenge! Happy to help with integration here :-)",
"Hi @sanchit-gandhi, if compute resources would not be a problem here ( just have a 4GB GPU on my laptop or Google Colab with me here :upside_down_face: ) then I want to help in adding this model as well",
"He... | 1,654 | 1,680 | 1,680 | CONTRIBUTOR | null | ### Model description
Motivated by the success of [T5](https://arxiv.org/abs/1910.10683) for pre-training NLP models, [SpeechT5](https://arxiv.org/abs/2110.07205) explores a cross-modal framework for learning joint contextual representations for speech and text data via a shared encoder-decoder structure.
The model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17569/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17569/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17568/comments | https://api.github.com/repos/huggingface/transformers/issues/17568/events | https://github.com/huggingface/transformers/issues/17568 | 1,261,488,981 | I_kwDOCUB6oc5LMMtV | 17,568 | LayoutLMv3 not downloading via official code samples | {
"login": "microcoder-py",
"id": 71311548,
"node_id": "MDQ6VXNlcjcxMzExNTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/71311548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/microcoder-py",
"html_url": "https://github.com/microcoder-py",
"followers_url": "https://api.githu... | [
{
"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 believe LayoutLM-v3 is not in an official release yet, so you'll need to install from source in order to use it for now.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that ... | 1,654 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
Used the official code sample for the microsoft/layoutlmv3-base model, but it is not working
Link to code: https://huggingface.co/docs/transformers/main/en/model_doc/layoutlmv3#transformers.LayoutLMv3Model
Error:
KeyError Traceback (most recent call... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17568/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17567/comments | https://api.github.com/repos/huggingface/transformers/issues/17567/events | https://github.com/huggingface/transformers/issues/17567 | 1,261,459,910 | I_kwDOCUB6oc5LMFnG | 17,567 | Permission denied | {
"login": "muhammad-ahmed-ghani",
"id": 63394104,
"node_id": "MDQ6VXNlcjYzMzk0MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/63394104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muhammad-ahmed-ghani",
"html_url": "https://github.com/muhammad-ahmed-ghani",
"followers_url... | [
{
"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, can you also open a Discussion on the model repo, i.e. https://huggingface.co/hkunlp/from_all_T5_large_prefix_spider_with_cell_value2 (and link this issue to/from there)?\r\n\r\nThanks ๐ "
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | ### System Info
```shell
transformers==4.19.2
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17567/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17566/comments | https://api.github.com/repos/huggingface/transformers/issues/17566/events | https://github.com/huggingface/transformers/issues/17566 | 1,261,334,851 | I_kwDOCUB6oc5LLnFD | 17,566 | Trouble parallelizing GPT-NeoX | {
"login": "StellaAthena",
"id": 15899312,
"node_id": "MDQ6VXNlcjE1ODk5MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/15899312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StellaAthena",
"html_url": "https://github.com/StellaAthena",
"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 | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Gently pinging @patil-suraj and maybe also @sgugger regarding `accelerate` here - I think `accelerate` should be used here rather than `parallelize` no? \r\n\r\n@LysandreJik @sgugger should we maybe fully deprecate `parallelize()` now?",
"Yes the `parallelize` API will be fully deprecated soon (like this week or... | 1,654 | 1,660 | 1,660 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17566/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17565/comments | https://api.github.com/repos/huggingface/transformers/issues/17565/events | https://github.com/huggingface/transformers/pull/17565 | 1,261,207,890 | PR_kwDOCUB6oc45Ii1b | 17,565 | Added translation of index.mdx to Portuguese Issue #16824 | {
"login": "rzimmerdev",
"id": 35232794,
"node_id": "MDQ6VXNlcjM1MjMyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/35232794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rzimmerdev",
"html_url": "https://github.com/rzimmerdev",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you again @rzimmerdev for the translation of `index.mdx` and for correcting mistakes in `training.mdx`!\r\n\r\n@sgugger looks good to me :). If possible, this would be a good addition to the next release."
] | 1,654 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Creates folder pt in docs/source for translating documentation to Portuguese
Currently, only the index.mdx file was translated as of this PR.
Fixes issue #16824
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17565/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17565",
"html_url": "https://github.com/huggingface/transformers/pull/17565",
"diff_url": "https://github.com/huggingface/transformers/pull/17565.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17565.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17564/comments | https://api.github.com/repos/huggingface/transformers/issues/17564/events | https://github.com/huggingface/transformers/issues/17564 | 1,261,191,632 | I_kwDOCUB6oc5LLEHQ | 17,564 | Shard checkpoint for `tf` and `flax` | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 1834056761,
"node_id": "MDU6... | closed | false | null | [] | [] | 1,654 | 1,655 | 1,655 | COLLABORATOR | null | ### Feature request
The same sharding capabilities as pytorch should be available to `flax` and `tf`. This is required in order to push the OPT30B model.
### Motivation
Pushing $>45GB$ models (and have the same behaviour as in pytorch ).
### Your contribution
Could start working on that when I will be back from ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17564/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17563/comments | https://api.github.com/repos/huggingface/transformers/issues/17563/events | https://github.com/huggingface/transformers/pull/17563 | 1,261,176,709 | PR_kwDOCUB6oc45IclV | 17,563 | Remove RuntimeErrors for NaN-checking in 20B | {
"login": "zphang",
"id": 1668462,
"node_id": "MDQ6VXNlcjE2Njg0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1668462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zphang",
"html_url": "https://github.com/zphang",
"followers_url": "https://api.github.com/users/zphang/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Fixes # (issue)
https://github.com/huggingface/transformers/issues/17452#issuecomment-1142141196
## 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.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17563/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17563",
"html_url": "https://github.com/huggingface/transformers/pull/17563",
"diff_url": "https://github.com/huggingface/transformers/pull/17563.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17563.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17562/comments | https://api.github.com/repos/huggingface/transformers/issues/17562/events | https://github.com/huggingface/transformers/issues/17562 | 1,261,169,555 | I_kwDOCUB6oc5LK-uT | 17,562 | Add a stop_sequence option to text generation pipeline | {
"login": "Jcwscience",
"id": 14113132,
"node_id": "MDQ6VXNlcjE0MTEzMTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/14113132?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jcwscience",
"html_url": "https://github.com/Jcwscience",
"followers_url": "https://api.github.com/use... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"cc @Narsil ",
"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,654 | 1,696 | 1,696 | NONE | null | ### Feature request
A stop sequence option to allow text generation models to stop generating when a specific token is reached.
### Motivation
When I use GPT-J on a slower machine every extra generated token counts. If I need the model to answer a question for example, the only way I can ensure it isnโt cut off is t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17562/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17561/comments | https://api.github.com/repos/huggingface/transformers/issues/17561/events | https://github.com/huggingface/transformers/issues/17561 | 1,261,123,682 | I_kwDOCUB6oc5LKzhi | 17,561 | TokenClassification with DestillBert does not learn | {
"login": "KyloPrem",
"id": 26967090,
"node_id": "MDQ6VXNlcjI2OTY3MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/26967090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KyloPrem",
"html_url": "https://github.com/KyloPrem",
"followers_url": "https://api.github.com/users/Kyl... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) as well?\r\n\r\nThanks!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this stil... | 1,654 | 1,657 | 1,657 | NONE | null | Hey guys,
I need to classify a sequence of tokens in a given sentence as either 0: **unrelevant** or 1: **relevant**. I tried to follow the tutorial for TokenClassification with DestillBert/Bert from Huggingface for NER, but the transfer does not seem to result in a model that learns to make predictions. I am not s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17561/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17560/comments | https://api.github.com/repos/huggingface/transformers/issues/17560/events | https://github.com/huggingface/transformers/pull/17560 | 1,261,003,050 | PR_kwDOCUB6oc45H7Cg | 17,560 | Fix some typos. | {
"login": "Yulv-git",
"id": 34329208,
"node_id": "MDQ6VXNlcjM0MzI5MjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/34329208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yulv-git",
"html_url": "https://github.com/Yulv-git",
"followers_url": "https://api.github.com/users/Yul... | [] | 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,654 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Fix some typos.
<!--
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, pl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17560/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17560",
"html_url": "https://github.com/huggingface/transformers/pull/17560",
"diff_url": "https://github.com/huggingface/transformers/pull/17560.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17560.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17559/comments | https://api.github.com/repos/huggingface/transformers/issues/17559/events | https://github.com/huggingface/transformers/issues/17559 | 1,260,991,693 | I_kwDOCUB6oc5LKTTN | 17,559 | Save a Pytorch Bert finetuned model with custom forward function and heads with Hugginface | {
"login": "Ch-rode",
"id": 61243245,
"node_id": "MDQ6VXNlcjYxMjQzMjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/61243245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ch-rode",
"html_url": "https://github.com/Ch-rode",
"followers_url": "https://api.github.com/users/Ch-rod... | [] | closed | false | null | [] | [
"Hi, \r\nI believe in order to load your model via Transformersโ `AutoModel` you need to implement your custom model class into Transofmersโ repo, and โregisterโ it in โmodels/autoโ package. \r\nHope this helps.",
"This issue has been automatically marked as stale because it has not had recent activity. If you th... | 1,654 | 1,657 | 1,657 | NONE | null | ### System Info
I have created my own BertClassifier model, starting from a pretrained and then added my own classification heads composed by different layers. After the training I want to save the model using `model.save_pretrained()` but when I print it after uploading it from pretrained I don't see my classifie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17559/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17558/comments | https://api.github.com/repos/huggingface/transformers/issues/17558/events | https://github.com/huggingface/transformers/pull/17558 | 1,260,912,305 | PR_kwDOCUB6oc45HqcO | 17,558 | Spanish Docs - fix gendered sentence | {
"login": "omarespejel",
"id": 4755430,
"node_id": "MDQ6VXNlcjQ3NTU0MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarespejel",
"html_url": "https://github.com/omarespejel",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Fixes a gendered sentence in [es/index.mdx](https://github.com/huggingface/transformers/blob/main/docs/source/es/index.mdx).
## Notes
FYI @osanseviero, I believe this was the sentence that was still gendered in the Spanish docs :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17558/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17558",
"html_url": "https://github.com/huggingface/transformers/pull/17558",
"diff_url": "https://github.com/huggingface/transformers/pull/17558.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17558.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17557/comments | https://api.github.com/repos/huggingface/transformers/issues/17557/events | https://github.com/huggingface/transformers/issues/17557 | 1,260,897,845 | I_kwDOCUB6oc5LJ8Y1 | 17,557 | T5ForConditionalGeneration does not require resize_position_embeddings when input sequence length is longer than 512? | {
"login": "mshen2",
"id": 23084582,
"node_id": "MDQ6VXNlcjIzMDg0NTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/23084582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mshen2",
"html_url": "https://github.com/mshen2",
"followers_url": "https://api.github.com/users/mshen2/fo... | [] | closed | false | null | [] | [
"cc @patrickvonplaten ",
"Hey @mshen2,\r\n\r\nI don't think BART uses relative position embeddings, but rather \"fixed\" position embeddings (\"fixed\" in the sence that if seq_len > 1024 is provided the model gives an index error).\r\n\r\nCould you maybe look into this line of code in BART: https://github.com/hu... | 1,654 | 1,657 | 1,657 | NONE | null | Hi, thanks in advance! I am looking at the run_summarization.py under examples/pytorch/summarization/, in the following code snippets where I want to set `max_source_length` bigger than 512 where 512 is the max length T5 was pre-trained on:
```
if (
hasattr(model.config, "max_position_embeddings")
a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17557/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17555/comments | https://api.github.com/repos/huggingface/transformers/issues/17555/events | https://github.com/huggingface/transformers/pull/17555 | 1,260,695,732 | PR_kwDOCUB6oc45G_5v | 17,555 | Fixes the LevitIntegrationTest | {
"login": "AnugunjNaman",
"id": 42839570,
"node_id": "MDQ6VXNlcjQyODM5NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/42839570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnugunjNaman",
"html_url": "https://github.com/AnugunjNaman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | There was a mismatch of logits which wasn't corrected. It's done now.
@NielsRogge | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17555/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17555",
"html_url": "https://github.com/huggingface/transformers/pull/17555",
"diff_url": "https://github.com/huggingface/transformers/pull/17555.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17555.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17554/comments | https://api.github.com/repos/huggingface/transformers/issues/17554/events | https://github.com/huggingface/transformers/pull/17554 | 1,260,624,661 | PR_kwDOCUB6oc45Gy1M | 17,554 | TF implementation of RegNets | {
"login": "ariG23498",
"id": 36856589,
"node_id": "MDQ6VXNlcjM2ODU2NTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/36856589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ariG23498",
"html_url": "https://github.com/ariG23498",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@amyeroberts \r\n\r\nIf we run the following:\r\n\r\n```\r\nfrom PIL import Image\r\nimport numpy as np\r\n\r\nfrom src.transformers.models.regnet.modeling_tf_regnet import (\r\n TFRegNetForImageClassification\r\n)\r\nfrom transfo... | 1,654 | 1,656 | 1,656 | CONTRIBUTOR | null | In this PR in which we (/w @sayakpaul) are proting the RegNets model into TensorFlow.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17554/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17554",
"html_url": "https://github.com/huggingface/transformers/pull/17554",
"diff_url": "https://github.com/huggingface/transformers/pull/17554.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17554.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17553/comments | https://api.github.com/repos/huggingface/transformers/issues/17553/events | https://github.com/huggingface/transformers/pull/17553 | 1,260,425,778 | PR_kwDOCUB6oc45GIUs | 17,553 | [deepspeed / testing] reset global state | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | This PR:
- adds a reset to the global state at the end of each in-pytest deepspeed test (and API to do that)
- fixes `test_load_best_model_zero2_fp16` to run the trainingargs first to get the ds config state right
cc: @ydshieh, who discovered the issues on CI
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17553/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17553",
"html_url": "https://github.com/huggingface/transformers/pull/17553",
"diff_url": "https://github.com/huggingface/transformers/pull/17553.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17553.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17552/comments | https://api.github.com/repos/huggingface/transformers/issues/17552/events | https://github.com/huggingface/transformers/pull/17552 | 1,260,245,732 | PR_kwDOCUB6oc45FhnV | 17,552 | Add examples telemetry | {
"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._",
"Thanks a lot for working on this @sgugger - that's super useful!"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
This PR adds a function to send telemetry to help us track the examples usage and uses it in the current examples. For now, I've just added in the PyTorch `run_glue.py`, but will paste it in all other examples if you agree with the format/data tracked. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17552/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/17552/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17552",
"html_url": "https://github.com/huggingface/transformers/pull/17552",
"diff_url": "https://github.com/huggingface/transformers/pull/17552.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17552.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17551/comments | https://api.github.com/repos/huggingface/transformers/issues/17551/events | https://github.com/huggingface/transformers/issues/17551 | 1,260,203,927 | I_kwDOCUB6oc5LHS-X | 17,551 | Character limit when tokenizing? | {
"login": "luadamek",
"id": 40247176,
"node_id": "MDQ6VXNlcjQwMjQ3MTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/40247176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/luadamek",
"html_url": "https://github.com/luadamek",
"followers_url": "https://api.github.com/users/lua... | [
{
"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 @SaulLu ",
"Hi @luadamek ,\r\n\r\nThank you for your detailed issue! I think you found a limitation of the Wordpiece model of the `tokenizers` library. \r\n\r\nIndeed, looking at the content of the tokens we can see that in the last case the text is identified as unknown:\r\n```python\r\nfrom transformers imp... | 1,654 | 1,661 | 1,661 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17551/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17550/comments | https://api.github.com/repos/huggingface/transformers/issues/17550/events | https://github.com/huggingface/transformers/pull/17550 | 1,260,203,882 | PR_kwDOCUB6oc45FYlk | 17,550 | [deepspeed] fix load_best_model test | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | Fixes https://github.com/huggingface/transformers/pull/17151 to run `from_pretrained` with emulated dist env.
While it was working on my setup on CI it failed with:
```
tests/deepspeed/test_deepspeed.py:756: in test_load_best_model
model = T5ForConditionalGeneration.from_pretrained(T5_TINY)
src/transformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17550/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17550",
"html_url": "https://github.com/huggingface/transformers/pull/17550",
"diff_url": "https://github.com/huggingface/transformers/pull/17550.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17550.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17549/comments | https://api.github.com/repos/huggingface/transformers/issues/17549/events | https://github.com/huggingface/transformers/pull/17549 | 1,260,202,730 | PR_kwDOCUB6oc45FYWj | 17,549 | fix `train_new_from_iterator` in the case of byte-level tokenizers | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
This PR aims at allowing to use `train_new_from_iterator` when the original tokenizer backend was using a ByteLevel pre-tokenization. Before this fix, the vocabulary learn wasn't correct because the initial bytes were missing.
Fixes #17371
## Before submitting
- [ ] This PR fixes a typ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17549/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17549",
"html_url": "https://github.com/huggingface/transformers/pull/17549",
"diff_url": "https://github.com/huggingface/transformers/pull/17549.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17549.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17548/comments | https://api.github.com/repos/huggingface/transformers/issues/17548/events | https://github.com/huggingface/transformers/pull/17548 | 1,260,200,515 | PR_kwDOCUB6oc45FX5K | 17,548 | Update index.mdx | {
"login": "BritneyMuller",
"id": 5594118,
"node_id": "MDQ6VXNlcjU1OTQxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5594118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BritneyMuller",
"html_url": "https://github.com/BritneyMuller",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"@sgugger I don't think I agree with the suggestion. This is not my area of expertise ๐
, but I think HTML elements should be indented (e.g. `<img>` child element indented within the `<a>` parent element), even on a markdown file. ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/trans... | 1,654 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?

This removes the extra space in front of the new /support image. Thank you for the suggestion @sgugger !
Got too excited to merge the previous ima... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17548/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17548",
"html_url": "https://github.com/huggingface/transformers/pull/17548",
"diff_url": "https://github.com/huggingface/transformers/pull/17548.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17548.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17547/comments | https://api.github.com/repos/huggingface/transformers/issues/17547/events | https://github.com/huggingface/transformers/pull/17547 | 1,260,178,698 | PR_kwDOCUB6oc45FTUP | 17,547 | Update index.mdx | {
"login": "BritneyMuller",
"id": 5594118,
"node_id": "MDQ6VXNlcjU1OTQxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5594118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BritneyMuller",
"html_url": "https://github.com/BritneyMuller",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
This PR updates our Expert Acceleration Program image with a new image featuring our experts.
This is similar to our [Transformers/README.md image update](https://github.com/huggingface/transformers/pull/16615) that has proven to be successful.
: Update run_glue_no_trainer.py | {
"login": "bofenghuang",
"id": 38185248,
"node_id": "MDQ6VXNlcjM4MTg1MjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bofenghuang",
"html_url": "https://github.com/bofenghuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | @sgugger @patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17546/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17546",
"html_url": "https://github.com/huggingface/transformers/pull/17546",
"diff_url": "https://github.com/huggingface/transformers/pull/17546.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17546.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17545/comments | https://api.github.com/repos/huggingface/transformers/issues/17545/events | https://github.com/huggingface/transformers/issues/17545 | 1,260,047,976 | I_kwDOCUB6oc5LGs5o | 17,545 | Repetitive sampling generations from opt1.3b but not from opt350m | {
"login": "ZhangShiyue",
"id": 11383558,
"node_id": "MDQ6VXNlcjExMzgzNTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/11383558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhangShiyue",
"html_url": "https://github.com/ZhangShiyue",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Interesting, thanks for opening the issue! \r\n\r\n@stephenroller @suchenzang have you see similar behavior with the fairseq model ? Could this be due to a bug in porting the model?",
"One thing I'd like to add here is that we enable `topk=50` by default -> does changing this value maybe help? But it indeed look... | 1,654 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.4.0-104-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.7.1+cu110 (True)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17545/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17544/comments | https://api.github.com/repos/huggingface/transformers/issues/17544/events | https://github.com/huggingface/transformers/issues/17544 | 1,260,008,570 | I_kwDOCUB6oc5LGjR6 | 17,544 | Descriptors cannot not be created directly. | {
"login": "juliencarbonnell",
"id": 3306328,
"node_id": "MDQ6VXNlcjMzMDYzMjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3306328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/juliencarbonnell",
"html_url": "https://github.com/juliencarbonnell",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"plus one",
"This error doesn't show up when you run the code on google colab. you should try that @gunjan075 in the meantime",
"I have the same problem with the T0 model. My protobuf version is `4.21.1`. Any idea how to fix it? Cannot use Google Colab, only desktop machines.\r\n\r\nEnvironment specs:\r\n```\r\... | 1,654 | 1,692 | 1,657 | NONE | null | Hi @patrickvonplaten
I'm trying to import the following:
from transformers import BartTokenizer, BartForConditionalGeneration
tokenizer = BartTokenizer.from_pretrained('facebook/bart-large')
and get the error:
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17544/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/17544/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17543/comments | https://api.github.com/repos/huggingface/transformers/issues/17543/events | https://github.com/huggingface/transformers/issues/17543 | 1,259,871,144 | I_kwDOCUB6oc5LGBuo | 17,543 | word_ids() is not available when using FlauBERT | {
"login": "rgriot",
"id": 47383574,
"node_id": "MDQ6VXNlcjQ3MzgzNTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47383574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rgriot",
"html_url": "https://github.com/rgriot",
"followers_url": "https://api.github.com/users/rgriot/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 | [] | [
"Hi @rgriot ,\r\n\r\nYou do get this error because Flaubert does not have a fast version implemented (yet!) in the library and unfortunately only fast versions support this feature.\r\n\r\nIf you're interested, feel free to work on a PR to add this fast version to FlauBERT! :hugs: ",
"This issue has been automati... | 1,654 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17543/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17542/comments | https://api.github.com/repos/huggingface/transformers/issues/17542/events | https://github.com/huggingface/transformers/issues/17542 | 1,259,865,909 | I_kwDOCUB6oc5LGAc1 | 17,542 | Lazy load in pipelines | {
"login": "devrimcavusoglu",
"id": 46989091,
"node_id": "MDQ6VXNlcjQ2OTg5MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/46989091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devrimcavusoglu",
"html_url": "https://github.com/devrimcavusoglu",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Hi @devrimcavusoglu ,\r\n\r\nI am unsure I understand the actual issue, do you have a reproducing script ? \r\nFor `preprocess` / `postprocess` you never need the model (everything model related should be in `_forward`).\r\n\r\nUsually pipelines are intended to run on many example (either live be... | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | ### Feature request
Currently pipeline classes expect model and tokenizer objects. I think it'd be beneficial to have lazy load option with load/unload options implemented in the base pipeline class. That would yield better memory utilization especially in custom classes that are derived from primitive pipelines. E.g ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17542/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17541/comments | https://api.github.com/repos/huggingface/transformers/issues/17541/events | https://github.com/huggingface/transformers/issues/17541 | 1,259,703,922 | I_kwDOCUB6oc5LFY5y | 17,541 | [RAG] token discrepancy between question token which should be input to generator and the one actually encoded in postprocess_docs() | {
"login": "4kasha",
"id": 44837011,
"node_id": "MDQ6VXNlcjQ0ODM3MDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/44837011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/4kasha",
"html_url": "https://github.com/4kasha",
"followers_url": "https://api.github.com/users/4kasha/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 | [] | [
"Interesting question! @ola13 do you have a good answer here maybe? \r\n\r\nIntuitively I would think that this shouldn't be a problem since the model was trained also this way, but think @ola13 knows best here :-) ",
"Hi, sorry for the delayed response! Thanks for your question @4kasha!\r\n\r\nTo answer your poi... | 1,654 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (False)
- Tensorflow version (GPU?): 2.8.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17540/comments | https://api.github.com/repos/huggingface/transformers/issues/17540/events | https://github.com/huggingface/transformers/issues/17540 | 1,259,699,909 | I_kwDOCUB6oc5LFX7F | 17,540 | TFRemBertModelTest.test_resize_token_embeddings not working | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"@gante Feel free to add WIP tag :-)",
"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/... | 1,654 | 1,666 | null | COLLABORATOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Windows-10-10.0.22000-SP0
- Python version: 3.9.11
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17540/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17539/comments | https://api.github.com/repos/huggingface/transformers/issues/17539/events | https://github.com/huggingface/transformers/pull/17539 | 1,259,695,336 | PR_kwDOCUB6oc45DtDL | 17,539 | Fx support for Deberta-v[1-2], Hubert and LXMERT | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,655 | 1,654 | MEMBER | null | # What does this PR do?
Adds `torch.fx` tracing support for:
- Deberta v1
- Deberta v2
- Hubert
- LXMERT | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17539/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17539",
"html_url": "https://github.com/huggingface/transformers/pull/17539",
"diff_url": "https://github.com/huggingface/transformers/pull/17539.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17539.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17538/comments | https://api.github.com/repos/huggingface/transformers/issues/17538/events | https://github.com/huggingface/transformers/issues/17538 | 1,259,609,365 | I_kwDOCUB6oc5LFB0V | 17,538 | Will data be loaded into multiple GPUs automatically? | {
"login": "Leli1024",
"id": 33652168,
"node_id": "MDQ6VXNlcjMzNjUyMTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/33652168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Leli1024",
"html_url": "https://github.com/Leli1024",
"followers_url": "https://api.github.com/users/Lel... | [] | 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,654 | 1,659 | 1,659 | NONE | null | Will models that use TensorFlow as a backend be loaded into all available GPU memory or not?
I'm interested in training the OPT model's 1.3b and 30b variants. However there is no cloud computing GPU i can use which has more than 16gb at a time. The problem is that each individual sample in the batch is at least 24gb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17538/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17537/comments | https://api.github.com/repos/huggingface/transformers/issues/17537/events | https://github.com/huggingface/transformers/issues/17537 | 1,259,533,521 | I_kwDOCUB6oc5LEvTR | 17,537 | Loading sharded model in `tf` from pytorch checkpoints | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "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": "... | [
"Indeed, nice catch! Putting @sgugger in the loop",
"Simple reproducer:\r\n```py\r\nfrom transformers import TFBertModel\r\n\r\nmodel = TFBertModel.from_pretrained(\"sgugger/bert-sharded\")\r\n```",
"Putting it on my TODO (might take a few weeks as I have more urgent items, and we don't have a good solution on ... | 1,654 | 1,659 | 1,659 | COLLABORATOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.13.0.dev20220521 (False)
- Tensorflow version (GPU?): 2.9.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.4.2 (cpu)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17537/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/17537/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17536/comments | https://api.github.com/repos/huggingface/transformers/issues/17536/events | https://github.com/huggingface/transformers/pull/17536 | 1,259,477,608 | PR_kwDOCUB6oc45C-dS | 17,536 | [WIP] Add ResNets in TF | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Should have checked before. \r\n\r\nClosing in spirit of https://github.com/huggingface/transformers/pull/17427"
] | 1,654 | 1,654 | 1,654 | MEMBER | null | This PR adds the OG of the OGs when it comes to computer vision models: ResNet. There are a few rough edges we need to figure out in the cross-loading of weights.
When I ran `RUN_SLOW=1 python -m pytest tests/models/resnet/test_modeling_resnet.py`, during the integration test, it complained about weight mismatches ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17536/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17536",
"html_url": "https://github.com/huggingface/transformers/pull/17536",
"diff_url": "https://github.com/huggingface/transformers/pull/17536.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17536.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17535/comments | https://api.github.com/repos/huggingface/transformers/issues/17535/events | https://github.com/huggingface/transformers/issues/17535 | 1,259,474,655 | I_kwDOCUB6oc5LEg7f | 17,535 | require_accelerate wrapper missing? | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 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 | [] | [
"As seen offline, cannot reproduce this but let's keep it open in case someone runs into the same issue/we identify a reproducible example.",
"Okay found the reproducing script :) (you need to have a good internet connection) Every sharded model would work I think\r\n\r\n```python \r\n>>> from transformers impor... | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.13.0.dev20220521 (False)
- Tensorflow version (GPU?): 2.9.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.4.2 (cpu)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17535/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17534/comments | https://api.github.com/repos/huggingface/transformers/issues/17534/events | https://github.com/huggingface/transformers/issues/17534 | 1,259,405,939 | I_kwDOCUB6oc5LEQJz | 17,534 | How to use finetuner.py to train t5-large model | {
"login": "ZeyiLiao",
"id": 97815464,
"node_id": "U_kgDOBdSLqA",
"avatar_url": "https://avatars.githubusercontent.com/u/97815464?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZeyiLiao",
"html_url": "https://github.com/ZeyiLiao",
"followers_url": "https://api.github.com/users/ZeyiLiao/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 | [] | [
"This approach you tried is very old and is not supported any longer.\r\n\r\nPlease switch to modern tools and it should just work. \r\n\r\nHere are a few current examples:\r\n\r\nstraight DDP:\r\n```\r\nrm -r output_dir; PYTHONPATH=src USE_TF=0 CUDA_VISIBLE_DEVICES=0,1 python \\\r\nexamples/pytorch/translation/run... | 1,654 | 1,670 | 1,658 | NONE | null | ### System Info
```shell
- `transformers` version: 4.3.0.dev0
- Platform: Linux-4.15.0-177-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: <Yes>
- Using distributed or parallel set-up in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17534/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17533/comments | https://api.github.com/repos/huggingface/transformers/issues/17533/events | https://github.com/huggingface/transformers/pull/17533 | 1,258,708,162 | PR_kwDOCUB6oc45AN9O | 17,533 | Fix all offload and MP 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._"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
This should fix all GPU tests for model parallelism and offload. I stopped trying to make the model bigger since it was causing so many failures (unrelated to current failing tests). Then there was a tiny bug in `from_pretrained` when tied wieghts are present, as highlighted by the failure of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17533/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17533",
"html_url": "https://github.com/huggingface/transformers/pull/17533",
"diff_url": "https://github.com/huggingface/transformers/pull/17533.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17533.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17532/comments | https://api.github.com/repos/huggingface/transformers/issues/17532/events | https://github.com/huggingface/transformers/pull/17532 | 1,258,628,334 | PR_kwDOCUB6oc44_8ZW | 17,532 | Update URL for Hub PR docs | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | MEMBER | null | # What does this PR do?
Now that the new Hub docs have been deployed, we can point users to the rendered version on Hub PRs instead of the raw Markdown. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17532/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17532",
"html_url": "https://github.com/huggingface/transformers/pull/17532",
"diff_url": "https://github.com/huggingface/transformers/pull/17532.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17532.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17531/comments | https://api.github.com/repos/huggingface/transformers/issues/17531/events | https://github.com/huggingface/transformers/pull/17531 | 1,258,617,835 | PR_kwDOCUB6oc44_6rh | 17,531 | Clean imports to fix test_fetcher | {
"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._",
"Failure is flaky, so merging :-)"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
We noticed that a lot of tests are being picked from some modeling files, there are two reasons for that.
1. The circular import being `modeling_tf_utils` and `modelcard` makes `modeling_tf_utils` be a file impacted by `modelcard`. `modeling_tf_utils` triggers pretty much all tests as it's... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17531/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/17531/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17531",
"html_url": "https://github.com/huggingface/transformers/pull/17531",
"diff_url": "https://github.com/huggingface/transformers/pull/17531.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17531.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17530/comments | https://api.github.com/repos/huggingface/transformers/issues/17530/events | https://github.com/huggingface/transformers/pull/17530 | 1,258,566,822 | PR_kwDOCUB6oc44_xaf | 17,530 | Add installation.mdx Italian translation | {
"login": "mfumanelli",
"id": 53374883,
"node_id": "MDQ6VXNlcjUzMzc0ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/53374883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfumanelli",
"html_url": "https://github.com/mfumanelli",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Grazie @mfumanelli! \r\n\r\nLGTM @sgugger :)"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Italian translation of doc related to the installation of ๐ค Transformers.
See issue: #17459
## 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.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17530/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17530",
"html_url": "https://github.com/huggingface/transformers/pull/17530",
"diff_url": "https://github.com/huggingface/transformers/pull/17530.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17530.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17529/comments | https://api.github.com/repos/huggingface/transformers/issues/17529/events | https://github.com/huggingface/transformers/issues/17529 | 1,258,328,788 | I_kwDOCUB6oc5LAJLU | 17,529 | MarianMT Doesn't export to ONNX correctly | {
"login": "calebdkofahl",
"id": 95653486,
"node_id": "U_kgDOBbOObg",
"avatar_url": "https://avatars.githubusercontent.com/u/95653486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calebdkofahl",
"html_url": "https://github.com/calebdkofahl",
"followers_url": "https://api.github.com/users... | [] | 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,654 | 1,663 | 1,663 | NONE | null | I am running Python FastAPI in a docker container via VSCode's devcontainer setup. I am using the pre-trained MarianMT model for translation of chinese_simple to english and running into an error when trying to use the exported model from the transformers.onnx module. This is the error I am receiving:
```sh
ERROR: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17529/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17528/comments | https://api.github.com/repos/huggingface/transformers/issues/17528/events | https://github.com/huggingface/transformers/issues/17528 | 1,258,306,260 | I_kwDOCUB6oc5LADrU | 17,528 | Issues with mypy when using Transformers | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"This is not a bug in Transformers, so let's remove that label please. MyPy is not part of the Python standard library and we never say anywhere we support it.\r\n\r\nIf you want to work on a PR that has some fixes that don't make the code unreadable, we'll be happy to have a look, but no one in the team is going t... | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.18.1-arch1-1-x86_64-with-glibc2.35
- Python version: 3.9.12
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17528/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17527/comments | https://api.github.com/repos/huggingface/transformers/issues/17527/events | https://github.com/huggingface/transformers/pull/17527 | 1,258,227,828 | PR_kwDOCUB6oc44-plN | 17,527 | Update configuration_auto.py | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Documentation fix for Autoconfig
<!--
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 contribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17527",
"html_url": "https://github.com/huggingface/transformers/pull/17527",
"diff_url": "https://github.com/huggingface/transformers/pull/17527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17527.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17526/comments | https://api.github.com/repos/huggingface/transformers/issues/17526/events | https://github.com/huggingface/transformers/issues/17526 | 1,258,129,566 | I_kwDOCUB6oc5K_Yie | 17,526 | center_crop in image_utils.py is broken for inputs that are not PIL Images | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
},
{
"id": 4235521865,
"node_id": "LA_kwDOCUB6oc78dO9J",
"url": "ht... | closed | false | null | [] | [
"You tagged the wrong Niels ;) also cc'ing @sgugger ",
"LOL, sorry Niels and other Niels.",
"That's because we don't convert images back to PIL in `center_crop` (which always happens in `resize`), but happy to look at a PR adding support for this.",
"I can add it to my to-do list, as it would be better to hav... | 1,654 | 1,658 | 1,658 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.1 (cpu)
- Jax version: 0.3.7... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17526/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17525/comments | https://api.github.com/repos/huggingface/transformers/issues/17525/events | https://github.com/huggingface/transformers/issues/17525 | 1,258,035,475 | I_kwDOCUB6oc5K_BkT | 17,525 | Is the addition of the 'OPTforSequenceClassification' class scheduled? | {
"login": "penpaperkeycode",
"id": 45441848,
"node_id": "MDQ6VXNlcjQ1NDQxODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/45441848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/penpaperkeycode",
"html_url": "https://github.com/penpaperkeycode",
"followers_url": "https://api... | [
{
"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": ""
}
] | closed | false | null | [] | [
"Don't think anyone is working on this yet (cc @younesbelkada), so feel free to contribute",
"Hey! We are not working on that as Niels mentioned ๐ \r\nOpening a PR for each framework (`pytorch`, `tensorflow` and `flax`) is recommended. If you have any question about adding these models, feel free to reach out! "... | 1,654 | 1,658 | 1,658 | NONE | null | ### Feature request
Is the addition of the 'OPTforSequenceClassification' class scheduled?
Is someone handling it?
When adding these functions, I wonder if it is possible to PR one by one, or if I have to PR all classes supported by other models.
### Motivation
Added function of OPT class, which is being activel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17525/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17524/comments | https://api.github.com/repos/huggingface/transformers/issues/17524/events | https://github.com/huggingface/transformers/pull/17524 | 1,257,958,893 | PR_kwDOCUB6oc449vzF | 17,524 | Fix bug - layer names and activation from previous refactor | {
"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._",
"Hey @amyeroberts! Could you show a snippet of where the current implementation is faulty (ideally for both resnet and maskformer)? Running a model load with either current `main` or this PR seems to result in the same layers being lo... | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Removes two issues introduced by the PR, removing `nn.Sequential` subclasses: https://github.com/huggingface/transformers/commit/bdc01711d67161ef5c2097b6d2d885645e0a0f08
1. `nn.Sequential` block removed within an `__init__` causing differences in layer naming, resulting in weights not bein... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17524/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17524",
"html_url": "https://github.com/huggingface/transformers/pull/17524",
"diff_url": "https://github.com/huggingface/transformers/pull/17524.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17524.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17523/comments | https://api.github.com/repos/huggingface/transformers/issues/17523/events | https://github.com/huggingface/transformers/issues/17523 | 1,257,947,939 | I_kwDOCUB6oc5K-sMj | 17,523 | Not able to import tensorflow OPT | {
"login": "Leli1024",
"id": 33652168,
"node_id": "MDQ6VXNlcjMzNjUyMTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/33652168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Leli1024",
"html_url": "https://github.com/Leli1024",
"followers_url": "https://api.github.com/users/Lel... | [
{
"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 just tried this with latest source install and it's working for me. Make sure you have TF installed to be able to import TF models.",
"> I just tried this with latest source install and it's working for me. Make sure you have TF installed to be able to import TF models.\r\n\r\nI have tensorflow installed, even... | 1,654 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
Using the latest git repo as a source install, when I try to import TFOPTForCasualLM I will get the following error.
ImportError: cannot import name 'TFOPTForCasualLM' from 'transformers' (/anaconda/envs/azureml_py38/lib/python3.8/site-packages/transformers/__init__.py)
```
```
### Who... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17523/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17522/comments | https://api.github.com/repos/huggingface/transformers/issues/17522/events | https://github.com/huggingface/transformers/pull/17522 | 1,257,892,518 | PR_kwDOCUB6oc449hoZ | 17,522 | [WIP] Adding support for `clip` in `feature-extraction`. | {
"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_17522). 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,654 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Adds support for the feature extraction pipeline for clip.
<!--
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 you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17522/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17522",
"html_url": "https://github.com/huggingface/transformers/pull/17522",
"diff_url": "https://github.com/huggingface/transformers/pull/17522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17522.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17521/comments | https://api.github.com/repos/huggingface/transformers/issues/17521/events | https://github.com/huggingface/transformers/issues/17521 | 1,257,881,647 | I_kwDOCUB6oc5K-cAv | 17,521 | Support returning raw logits in `generate` | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [] | closed | false | null | [] | [
"cc @patil-suraj @gante as well",
"I'm personally fine with adding a `output_logits` flag to `generate` since it already has 50+ flags it won't make a difference and it's a useful feature indeed. What do you think @patil-suraj @gante ?",
"I'm cool with it ๐ (and it might be interesting to use as part of PT-TF... | 1,654 | 1,707 | 1,659 | CONTRIBUTOR | null | ### Feature request
Support returning raw logits in `generate` by either:
1. creating a new arg that enables return of raw logits
2. or support callback that allow users to collect the raw logits
### Motivation
* Raw logits "would be the most understandable & consistent across generation methods" (@patrickvonp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17521/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17521/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17520/comments | https://api.github.com/repos/huggingface/transformers/issues/17520/events | https://github.com/huggingface/transformers/issues/17520 | 1,257,422,816 | I_kwDOCUB6oc5K8r_g | 17,520 | Loading BertModel from BertForMaskedLM without randomly initializing weights | {
"login": "jmeadows17",
"id": 85583107,
"node_id": "MDQ6VXNlcjg1NTgzMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/85583107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmeadows17",
"html_url": "https://github.com/jmeadows17",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! The model returns several outputs:\r\n\r\n```\r\n last_hidden_state: torch.FloatTensor = None\r\n pooler_output: torch.FloatTensor = None\r\n hidden_states: Optional[Tuple[torch.FloatTensor]] = None\r\n past_key_values: Optional[Tuple[Tuple[torch.FloatTensor]]] = None\r\n attentions: Optional[T... | 1,654 | 1,657 | 1,657 | NONE | null | I've trained a `BertForMaskedLM` model for a few days, and I've `save_pretrained()` it.
I want to compare encoder vectors from a `BertModel`, with the embeddings from
this trained `BertForMaskedLM`.
However, simply using `BertModel.from_pretrained("path/to/new_BertForMaskedLM_model")`
warns me that "You should ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17520/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17519/comments | https://api.github.com/repos/huggingface/transformers/issues/17519/events | https://github.com/huggingface/transformers/pull/17519 | 1,257,363,731 | PR_kwDOCUB6oc447wUH | 17,519 | Clean README in post release job as well. | {
"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 | [] | [] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
The README cleanup (removing the main in the links to the doc) hasn't been done in the past releases because we do them on branches (so it has been done, but not on main). This PR redoes the cleanup in the `post-release` job (which is always done on main) and updates the instruction in the se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17519/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17519",
"html_url": "https://github.com/huggingface/transformers/pull/17519",
"diff_url": "https://github.com/huggingface/transformers/pull/17519.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17519.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17518/comments | https://api.github.com/repos/huggingface/transformers/issues/17518/events | https://github.com/huggingface/transformers/pull/17518 | 1,257,356,605 | PR_kwDOCUB6oc447uqN | 17,518 | Fix when Accelerate is not installed | {
"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,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
As pointed out in #17516, the current `from_pretrained` on the main branch tries to use a function in Accelerate even if it's not necessary. This PR adds a check on the offloading (which requires Accelerate and is enforced at [this line](https://github.com/huggingface/transformers/blob/58fb3c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17518/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17518",
"html_url": "https://github.com/huggingface/transformers/pull/17518",
"diff_url": "https://github.com/huggingface/transformers/pull/17518.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17518.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17517/comments | https://api.github.com/repos/huggingface/transformers/issues/17517/events | https://github.com/huggingface/transformers/pull/17517 | 1,257,347,689 | PR_kwDOCUB6oc447sld | 17,517 | Check list of models in the main README and sort it | {
"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,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
In our effort to have the repo consistency check catch all potential mistakes a contributor can make when adding a new model, this PR adds a new script to make sure all added models are also put in the main README. As a bonus, it also enforces that said README is sorted in alphabetical order ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17517/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17517",
"html_url": "https://github.com/huggingface/transformers/pull/17517",
"diff_url": "https://github.com/huggingface/transformers/pull/17517.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17517.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17516/comments | https://api.github.com/repos/huggingface/transformers/issues/17516/events | https://github.com/huggingface/transformers/issues/17516 | 1,257,035,206 | I_kwDOCUB6oc5K7NXG | 17,516 | NameError: name 'save_offload_index' is not defined when use --model_revision sharded | {
"login": "edchengg",
"id": 20430102,
"node_id": "MDQ6VXNlcjIwNDMwMTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/20430102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edchengg",
"html_url": "https://github.com/edchengg",
"followers_url": "https://api.github.com/users/edc... | [
{
"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 | [] | [
"@sgugger, would you please kindly look at this - this looks related to the accelerate import - probably not checking if it was imported and using it anyway? \r\n\r\nhttps://github.com/huggingface/transformers/blob/58fb3c9f98877bf76efb03e376a5c92cf80f7952/src/transformers/modeling_utils.py#L75-L80\r\n\r\nhttps://gi... | 1,654 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-4.15.0-142-generic-x86_64-with-debian-stretch-sid
- Python version: 3.7.7
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow version (GPU?): 2.9.0 (True)
- Flax version (CPU?/GPU?/TPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17516/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17515/comments | https://api.github.com/repos/huggingface/transformers/issues/17515/events | https://github.com/huggingface/transformers/pull/17515 | 1,256,614,044 | PR_kwDOCUB6oc445CWZ | 17,515 | Fix flakey no-trainer test | {
"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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes an occasional fail in `test_accelerate_examples::test_run_squad_no_trainer` due to multi-gpu's sometimes showing a slight drop in accuracy.
## 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/17515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17515/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17515",
"html_url": "https://github.com/huggingface/transformers/pull/17515",
"diff_url": "https://github.com/huggingface/transformers/pull/17515.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17515.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17514/comments | https://api.github.com/repos/huggingface/transformers/issues/17514/events | https://github.com/huggingface/transformers/issues/17514 | 1,256,568,556 | I_kwDOCUB6oc5K5bbs | 17,514 | Flax OPT batch generation test | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "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": "... | [
"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,654 | 1,658 | 1,657 | COLLABORATOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.13.0.dev20220521 (False)
- Tensorflow version (GPU?): 2.9.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.4.2 (cpu)
- Jax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17514/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17513/comments | https://api.github.com/repos/huggingface/transformers/issues/17513/events | https://github.com/huggingface/transformers/pull/17513 | 1,256,524,326 | PR_kwDOCUB6oc444tRi | 17,513 | Implemented loss for training AudioFrameClassification | {
"login": "MorenoLaQuatra",
"id": 10062811,
"node_id": "MDQ6VXNlcjEwMDYyODEx",
"avatar_url": "https://avatars.githubusercontent.com/u/10062811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MorenoLaQuatra",
"html_url": "https://github.com/MorenoLaQuatra",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @MorenoLaQuatra, thank you for the contribution! :hugs: \r\n\r\nAs you may have seen, the `check_repository_consistency` test doesn't pass. That's because `WavLMForAudioClassification` is auto-copied from `Wav2Vec2ForAudioClassifi... | 1,654 | 1,654 | 1,654 | 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/17513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17513/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17513",
"html_url": "https://github.com/huggingface/transformers/pull/17513",
"diff_url": "https://github.com/huggingface/transformers/pull/17513.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17513.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17512/comments | https://api.github.com/repos/huggingface/transformers/issues/17512/events | https://github.com/huggingface/transformers/pull/17512 | 1,256,464,580 | PR_kwDOCUB6oc444flP | 17,512 | fix OPT-Flax CI tests | {
"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 | {
"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": "... | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Fixes the OPT Flax tests.
A `require_flax` decorator was missing. The test is also `slow` so it will not be run.
@lysandre
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17512/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17512",
"html_url": "https://github.com/huggingface/transformers/pull/17512",
"diff_url": "https://github.com/huggingface/transformers/pull/17512.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17512.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17511/comments | https://api.github.com/repos/huggingface/transformers/issues/17511/events | https://github.com/huggingface/transformers/pull/17511 | 1,256,463,508 | PR_kwDOCUB6oc444fVl | 17,511 | Fix `TFRemBertModelTest.test_resize_token_embeddings` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"A quick look on \r\nhttps://github.com/huggingface/transformers/blob/028d4b7c8be2c2fc1146fcc1e9bd253c1a7ea346/src/transformers/modeling_utils.py#L1315\r\n\r\n~~I couldn't find equivalent logic about `is_input_output_equals` that was in TF.~~\r\n\r\nGuess it is because we use `self.config.tie_word_embeddings` to ch... | 1,654 | 1,662 | 1,654 | COLLABORATOR | null | # What does this PR do?
Fix `TFRemBertModelTest.test_resize_token_embeddings`.
This method
https://github.com/huggingface/transformers/blob/028d4b7c8be2c2fc1146fcc1e9bd253c1a7ea346/src/transformers/modeling_tf_utils.py#L1449
assumes that `word_embedding_weight` has the same shape as `old_lm_head_decoder`, b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17511/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17511",
"html_url": "https://github.com/huggingface/transformers/pull/17511",
"diff_url": "https://github.com/huggingface/transformers/pull/17511.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17511.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17510/comments | https://api.github.com/repos/huggingface/transformers/issues/17510/events | https://github.com/huggingface/transformers/pull/17510 | 1,256,201,823 | PR_kwDOCUB6oc443kxS | 17,510 | Fix Tapas tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Time for (the fix of) Tapas.
Need to add a few `require_tensorflow_probability`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17510/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17510",
"html_url": "https://github.com/huggingface/transformers/pull/17510",
"diff_url": "https://github.com/huggingface/transformers/pull/17510.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17510.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17509/comments | https://api.github.com/repos/huggingface/transformers/issues/17509/events | https://github.com/huggingface/transformers/issues/17509 | 1,256,121,625 | I_kwDOCUB6oc5K3uUZ | 17,509 | Finetuning AudioFrameClassification model | {
"login": "MorenoLaQuatra",
"id": 10062811,
"node_id": "MDQ6VXNlcjEwMDYyODEx",
"avatar_url": "https://avatars.githubusercontent.com/u/10062811?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MorenoLaQuatra",
"html_url": "https://github.com/MorenoLaQuatra",
"followers_url": "https://api.gi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [
{
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.git... | [
"Hi, if possible could you share your code for how to fine-tune WavLMForAudioFrameClassification for custom dataset.\r\nThank you very much.",
"I can share with you some code I actually use to train an AudioFrameClassification model. It is not intended for Speaker Diarization but the concept behind is the same.\r... | 1,654 | 1,662 | 1,654 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.10.0-051000-generic-x86_64-with-glibc2.32
- Python version: 3.9.12
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.7.1+cu110 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17509/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17508/comments | https://api.github.com/repos/huggingface/transformers/issues/17508/events | https://github.com/huggingface/transformers/pull/17508 | 1,255,939,808 | PR_kwDOCUB6oc442o4d | 17,508 | Fix CTRL tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"I verified the fix on GCP VM.",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Fix ctrl tests failed due to GPU memory issue. The fix is the same as in #16881
Job page (failed test)
https://github.com/huggingface/transformers/runs/6682129553?check_suite_focus=true | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17508/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17508",
"html_url": "https://github.com/huggingface/transformers/pull/17508",
"diff_url": "https://github.com/huggingface/transformers/pull/17508.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17508.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17507/comments | https://api.github.com/repos/huggingface/transformers/issues/17507/events | https://github.com/huggingface/transformers/pull/17507 | 1,255,517,470 | PR_kwDOCUB6oc441IKr | 17,507 | Translation/italian: added pipeline_tutorial.mdx [Issue: #17459] | {
"login": "nickprock",
"id": 11136646,
"node_id": "MDQ6VXNlcjExMTM2NjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickprock",
"html_url": "https://github.com/nickprock",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @nickprock! Thank you very much for your contribution to the ๐ค Italian documentation! ๐\r\nCan I ask you if you can fix a couple of things?\r\n\r\n- \"Usare uno specifico tokenizer or modello\" --> \"Usare uno specifico tokenizer o modello\"\r\n- \"La mansione text-generation ha un [~generation_utils.Generat... | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | - added italian translation of pipeline_tutorial.mdx
- updated _toctree.yml | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17507/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17507",
"html_url": "https://github.com/huggingface/transformers/pull/17507",
"diff_url": "https://github.com/huggingface/transformers/pull/17507.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17507.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17506/comments | https://api.github.com/repos/huggingface/transformers/issues/17506/events | https://github.com/huggingface/transformers/pull/17506 | 1,255,457,591 | PR_kwDOCUB6oc4406kl | 17,506 | Fix LayoutXLMProcessorTest | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Fix `LayoutXLMProcessorTest` test failure found in
https://github.com/huggingface/transformers/runs/6663596212?check_suite_focus=true
```
E ValueError: Calling LayoutXLMTokenizerFast.from_pretrained() with the path to a single file or url is not supported for this tokeniz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17506/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17506",
"html_url": "https://github.com/huggingface/transformers/pull/17506",
"diff_url": "https://github.com/huggingface/transformers/pull/17506.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17506.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17505/comments | https://api.github.com/repos/huggingface/transformers/issues/17505/events | https://github.com/huggingface/transformers/issues/17505 | 1,255,205,189 | I_kwDOCUB6oc5K0OlF | 17,505 | Training large huggingface models on Azure with CUDA? [OPT] | {
"login": "Leli1024",
"id": 33652168,
"node_id": "MDQ6VXNlcjMzNjUyMTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/33652168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Leli1024",
"html_url": "https://github.com/Leli1024",
"followers_url": "https://api.github.com/users/Lel... | [] | closed | false | null | [] | [
"Hi, for training such large models, a Tesla K80 won't suffice. You typically need # of parameters * 18 in terms of bytes of RAM when fine-tuning. So for the 30 billion parameter model, it's 30 billion * 18 = 540 GB. It's because you need 18 bytes per parameter to store not only the parameter itself, but also its g... | 1,654 | 1,654 | 1,654 | NONE | null | I am trying to finetune the 1.3b and 30b OPT variant models respectively, however each time I try to train them I will always get the following error:
```
RuntimeError: CUDA out of memory. Tried to allocate 16.00 MiB (GPU 0; 11.17 GiB total capacity; 1.95 GiB already allocated; 8.50 MiB free; 1.95 GiB reserved in tot... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17505/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17504/comments | https://api.github.com/repos/huggingface/transformers/issues/17504/events | https://github.com/huggingface/transformers/issues/17504 | 1,254,691,304 | I_kwDOCUB6oc5KyRHo | 17,504 | bad_words_ids not working | {
"login": "Jack000",
"id": 2636509,
"node_id": "MDQ6VXNlcjI2MzY1MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2636509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jack000",
"html_url": "https://github.com/Jack000",
"followers_url": "https://api.github.com/users/Jack000/... | [] | 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... | [
"I wrote a function to enumerate all possible permutations of \" Badword\", but it quickly blows up with hundreds of permutations like [\" B\",\"a\",\"d\",\"w\",\"o\",\"r\",\"d\"]. Limiting the token length works ok, but still doesn't prevent generation of variations like [\" Bad\",\"words\"]\r\n\r\nI think this ov... | 1,654 | 1,670 | 1,670 | NONE | null | ### Feature request
I'm using gpt2 for text generation with a word blacklist and noticed that some words on the blacklist were still being generated.
I found that even though the word ["badword"] would not be generated, it would still generate ["bad", "word"] in two tokens.
an example of this is [11908] and [728... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17503/comments | https://api.github.com/repos/huggingface/transformers/issues/17503/events | https://github.com/huggingface/transformers/pull/17503 | 1,254,537,464 | PR_kwDOCUB6oc44xnOa | 17,503 | Fix MP and CPU offload tests for Funnel and GPT-Neo | {
"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,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
This PR should fix the last failing GPU/multi-GPU tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17503/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17503",
"html_url": "https://github.com/huggingface/transformers/pull/17503",
"diff_url": "https://github.com/huggingface/transformers/pull/17503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17503.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17502/comments | https://api.github.com/repos/huggingface/transformers/issues/17502/events | https://github.com/huggingface/transformers/pull/17502 | 1,254,315,616 | PR_kwDOCUB6oc44w6Ul | 17,502 | support ONNX export of XDropout in deberta{,_v2} and sew_d | {
"login": "garymm",
"id": 421339,
"node_id": "MDQ6VXNlcjQyMTMzOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/421339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/garymm",
"html_url": "https://github.com/garymm",
"followers_url": "https://api.github.com/users/garymm/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@michaelbenayoun thanks for taking a look. I added a test.\r\nUnfortunately I couldn't use the existing testing style because none of the affected models have an ONNX config (that's tracked by https://github.com/huggingface/transform... | 1,654 | 1,659 | 1,659 | CONTRIBUTOR | null | # What does this PR do?
Enables `torch.onnx.export` of the `StableDropout` module in training mode.
In training mode, the `XDropout` torch.autograd.Function is included. This change
adds a `symbolic` function to `XDropout` which produces an ONNX graph that
is equivalent to the `forward` function.
## Before s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17502/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17502/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17502",
"html_url": "https://github.com/huggingface/transformers/pull/17502",
"diff_url": "https://github.com/huggingface/transformers/pull/17502.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17502.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17501/comments | https://api.github.com/repos/huggingface/transformers/issues/17501/events | https://github.com/huggingface/transformers/pull/17501 | 1,254,198,363 | PR_kwDOCUB6oc44wkvL | 17,501 | Refactor to inherit from nn.Module instead of nn.ModuleList | {
"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._",
"Let us know when you'd like for us to review! :)",
"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 no... | 1,654 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
Refactors classes inheriting from `nn.ModuleList` to inherit from `nn.Module` instead. This is to make debugging and inspecting layer outputs more easy.
See also: https://github.com/huggingface/transformers/pull/17493
The following was run to check the weight loading in:
```
from tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17501/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17501",
"html_url": "https://github.com/huggingface/transformers/pull/17501",
"diff_url": "https://github.com/huggingface/transformers/pull/17501.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17501.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17500/comments | https://api.github.com/repos/huggingface/transformers/issues/17500/events | https://github.com/huggingface/transformers/pull/17500 | 1,254,134,398 | PR_kwDOCUB6oc44wXKQ | 17,500 | Fix `tokenizer` type annotation in `pipeline(...)` | {
"login": "willfrey",
"id": 13784361,
"node_id": "MDQ6VXNlcjEzNzg0MzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/13784361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willfrey",
"html_url": "https://github.com/willfrey",
"followers_url": "https://api.github.com/users/wil... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | I think you mean to accept either an instance of `PreTrainedTokenizer` or `PreTrainedTokenizerFast` inside of the `pipeline(...)` factory function, if the `tokenizer` argument isn't a `str`.
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17500/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17500",
"html_url": "https://github.com/huggingface/transformers/pull/17500",
"diff_url": "https://github.com/huggingface/transformers/pull/17500.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17500.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17499/comments | https://api.github.com/repos/huggingface/transformers/issues/17499/events | https://github.com/huggingface/transformers/pull/17499 | 1,254,126,904 | PR_kwDOCUB6oc44wVip | 17,499 | Debug LukeForMaskedLM | {
"login": "ryokan0123",
"id": 17979572,
"node_id": "MDQ6VXNlcjE3OTc5NTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/17979572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryokan0123",
"html_url": "https://github.com/ryokan0123",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Fix some undesirable behaviors of `LukeForMaskedLM`.
#### 1. Make `LukeForMaskedLM` accept inputs without entity ids
**Beforeโ:**
```
>>> from transformers import LukeForMaskedLM, MLukeTokenizer
>>> import torch
>>> text = "test string"
>>> model = LukeForMaskedLM.from_pretrained('... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17499/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17499",
"html_url": "https://github.com/huggingface/transformers/pull/17499",
"diff_url": "https://github.com/huggingface/transformers/pull/17499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17499.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17498/comments | https://api.github.com/repos/huggingface/transformers/issues/17498/events | https://github.com/huggingface/transformers/pull/17498 | 1,254,115,387 | PR_kwDOCUB6oc44wTjK | 17,498 | [GPT2Tokenizer] Raise ValueError for Fast GPT2Tokenizer with bos token for now | {
"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 | [] | [
"cc @thomasw21 @SaulLu @mishig25 @ArthurZucker ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks @patrickvonplaten ! It seems really good to have this error raised while figuring out how to do the processor.",
"> Also make it's worth doing a patch release here actually... | 1,654 | 1,667 | 1,654 | 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/17498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17498/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17498",
"html_url": "https://github.com/huggingface/transformers/pull/17498",
"diff_url": "https://github.com/huggingface/transformers/pull/17498.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17498.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17497/comments | https://api.github.com/repos/huggingface/transformers/issues/17497/events | https://github.com/huggingface/transformers/pull/17497 | 1,254,104,613 | PR_kwDOCUB6oc44wRTn | 17,497 | CLI: tool to convert PT into TF weights and open hub PR | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,654 | 1,654 | MEMBER | null | # What does this PR do?
This PR adds a CLI to convert PT weights into TF weights, validate them, and (optionally) open a PR. The open PR part depends on https://github.com/huggingface/huggingface_hub/pull/884, and is wrapped in a try/except for the time being.
Here are 3 PRs open with the tool (`transformers-cli ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17497/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17497",
"html_url": "https://github.com/huggingface/transformers/pull/17497",
"diff_url": "https://github.com/huggingface/transformers/pull/17497.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17497.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17496/comments | https://api.github.com/repos/huggingface/transformers/issues/17496/events | https://github.com/huggingface/transformers/pull/17496 | 1,254,090,612 | PR_kwDOCUB6oc44wOR_ | 17,496 | Exclude Databricks from notebook env | {
"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,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
This PR makes sures `is_in_notebook()` returns `False` when inside Databricks.
Fixes #17406 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17496/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17496",
"html_url": "https://github.com/huggingface/transformers/pull/17496",
"diff_url": "https://github.com/huggingface/transformers/pull/17496.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17496.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17495/comments | https://api.github.com/repos/huggingface/transformers/issues/17495/events | https://github.com/huggingface/transformers/pull/17495 | 1,254,086,216 | PR_kwDOCUB6oc44wNVs | 17,495 | has_attentions - consistent test skipping logic and tf tests | {
"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._",
"@NielsRogge, @ydshieh, @patrickvonplaten adding you to cover: git blame ownership, test ownership, some git blame and general transformers ownership. I hope that's OK. Feel free to remove yourselves and/or add others you think are mo... | 1,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Two linked changes regarding the control of tests being run:
**PyTorch and TF consistency**: `has_attentions` flag is used in `test_modeling_common.py` to control some of the logic in tests that are run, only applying them if the model has attention(s). This PR adds equivalent logic to te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17495/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/17495/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17495",
"html_url": "https://github.com/huggingface/transformers/pull/17495",
"diff_url": "https://github.com/huggingface/transformers/pull/17495.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17495.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17494/comments | https://api.github.com/repos/huggingface/transformers/issues/17494/events | https://github.com/huggingface/transformers/pull/17494 | 1,254,077,357 | PR_kwDOCUB6oc44wLb8 | 17,494 | Fix TF _generate | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,662 | 1,654 | COLLABORATOR | null | # What does this PR do?
To be added | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17494/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17494",
"html_url": "https://github.com/huggingface/transformers/pull/17494",
"diff_url": "https://github.com/huggingface/transformers/pull/17494.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17494.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17493/comments | https://api.github.com/repos/huggingface/transformers/issues/17493/events | https://github.com/huggingface/transformers/pull/17493 | 1,253,972,666 | PR_kwDOCUB6oc44v085 | 17,493 | Refactor classes to inherit from nn.Module instead of nn.Sequential | {
"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,654 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Refactors classes that inherit from `nn.Sequential` to inherit from `nn.Module` instead. This is to make the code easier to debug and inspect.
Changes:
* Explicit `forward` method implemented for classes
* Iterating over layers and them registering to the module using `add_module(str_in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17493",
"html_url": "https://github.com/huggingface/transformers/pull/17493",
"diff_url": "https://github.com/huggingface/transformers/pull/17493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17493.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17492/comments | https://api.github.com/repos/huggingface/transformers/issues/17492/events | https://github.com/huggingface/transformers/pull/17492 | 1,253,874,060 | PR_kwDOCUB6oc44vf-M | 17,492 | Adding the Portuguese version of the tasks/token_classification.mdx documentation | {
"login": "jonatasgrosman",
"id": 5097052,
"node_id": "MDQ6VXNlcjUwOTcwNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5097052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonatasgrosman",
"html_url": "https://github.com/jonatasgrosman",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you @jonatasgrosman for the translation! ๐ค\r\n\r\nLGTM @sgugger."
] | 1,654 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Adding the Portuguese version of the tasks/token_classification.mdx documentation
Work on #16824
## 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.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17492",
"html_url": "https://github.com/huggingface/transformers/pull/17492",
"diff_url": "https://github.com/huggingface/transformers/pull/17492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17492.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17491/comments | https://api.github.com/repos/huggingface/transformers/issues/17491/events | https://github.com/huggingface/transformers/pull/17491 | 1,253,861,785 | PR_kwDOCUB6oc44vdV9 | 17,491 | [ViT_MAE] fix num of channels in `patchify` and `unpatchify` | {
"login": "johnnv1",
"id": 20444345,
"node_id": "MDQ6VXNlcjIwNDQ0MzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/20444345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnnv1",
"html_url": "https://github.com/johnnv1",
"followers_url": "https://api.github.com/users/johnnv... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge I didn't find what is breaking the doc now",
"@NielsRogge , can you re-run the gh action? looks like something interrupted it",
"Hi,\r\n\r\nI've created PR #17710 that fixes some more things, like the variable names a... | 1,654 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Fix the hard-coded number of channels in `patchify` and `unpatchify` methods.
Fixes #17473
## Who can review?
@NielsRogge
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17491/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17491",
"html_url": "https://github.com/huggingface/transformers/pull/17491",
"diff_url": "https://github.com/huggingface/transformers/pull/17491.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17491.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17490/comments | https://api.github.com/repos/huggingface/transformers/issues/17490/events | https://github.com/huggingface/transformers/issues/17490 | 1,253,752,917 | I_kwDOCUB6oc5KusBV | 17,490 | GPT-2 Forward w/ and w/o caching of past values gives different results | {
"login": "rajcscw",
"id": 7319647,
"node_id": "MDQ6VXNlcjczMTk2NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7319647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajcscw",
"html_url": "https://github.com/rajcscw",
"followers_url": "https://api.github.com/users/rajcscw/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @rajcscw,\r\n\r\nI'm not 100% sure what your codesnippet is doing there exactly (note that I wouldn't try to pass the position_ids, but instead let GPT2 handle that).\r\n\r\nWe have exactly that test in transformers which you can find here: https://github.com/huggingface/transformers/blob/975dd2bbbcd4e8bdaf07c... | 1,653 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-3.10.0-1160.45.1.el7.x86_64-x86_64-with-debian-buster-sid
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0 (True)
- Tensorflow version (GPU?): 2.9.0 (False)
- Flax version (CPU?/GPU?/TPU?): not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17490/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17489/comments | https://api.github.com/repos/huggingface/transformers/issues/17489/events | https://github.com/huggingface/transformers/issues/17489 | 1,253,557,310 | I_kwDOCUB6oc5Kt8Q- | 17,489 | `do_eval` is True when setting `do_predict`=True | {
"login": "yana-xuyan",
"id": 38536635,
"node_id": "MDQ6VXNlcjM4NTM2NjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/38536635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yana-xuyan",
"html_url": "https://github.com/yana-xuyan",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, could you post a code-snippet to reproduce this. I just tried this command and it works as expected and does not run eval.\r\n\r\n```bash\r\npython examples/pytorch/summarization/run_summarization.py \\\r\n --model_name_or_path t5-small \\\r\n --do_predict \\\r\n --dataset_name xsum \\ \r\n ... | 1,653 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.12.3
- Platform: Linux-3.10.0-1062.el7.x86_64-x86_64-with-centos-7.7.1908-Core
- Python version: 3.7.13
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17489/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17488/comments | https://api.github.com/repos/huggingface/transformers/issues/17488/events | https://github.com/huggingface/transformers/issues/17488 | 1,253,501,951 | I_kwDOCUB6oc5Ktuv_ | 17,488 | _batch_encode_plus() got an unexpected keyword argument 'is_pretokenized' using BertTokenizerFast | {
"login": "anitchakraborty",
"id": 24213939,
"node_id": "MDQ6VXNlcjI0MjEzOTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/24213939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anitchakraborty",
"html_url": "https://github.com/anitchakraborty",
"followers_url": "https://api... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"Hi @anitchakraborty ,\r\n\r\nCould you share an example of `training_set[0][\"input_ids\"]`. I don't see \"input_ids\" in the columns of the kaggle dataset you shared - which are \"Sentence #\", \"Word\", \"POS\" and \"Tag\". Without a toy example, we can't reproduce your problem and it's hard for us to help you."... | 1,653 | 1,706 | null | NONE | null | ### System Info
```shell
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
for token, label in zip(tokenizer.convert_ids_to_tokens(training_set[0]["input_ids"]), training_set[0]["labels"]):
print('{0:10} {1}'.format(token, label))
The error I am getting is:
Traceback (most recent call last... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17488/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17487/comments | https://api.github.com/repos/huggingface/transformers/issues/17487/events | https://github.com/huggingface/transformers/issues/17487 | 1,253,496,405 | I_kwDOCUB6oc5KttZV | 17,487 | How can i use bpe tokenizer in t5 pretrain from scratch | {
"login": "520jefferson",
"id": 5691554,
"node_id": "MDQ6VXNlcjU2OTE1NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5691554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/520jefferson",
"html_url": "https://github.com/520jefferson",
"followers_url": "https://api.github.com... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @520jefferson,\r\n\r\nCould you please provide us with a codesnippet that we can copy-paste directly into a terminal? We sadly don't have the time to try to guess what we should reproduce.\r\n\r\nThanks a lot!",
"Hey @patrickvonplaten \r\ni just want to make sure whether the run_t5_mlm_flax.py script provid... | 1,653 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
transformers version: 4.20.0.dev0
when i use the transformers/examples/flax/language-modeling/run_t5_mlm_flax.py to pretrain the t5 from scratch, the preprocess i use the bpe codes to split sentence but not the original tokenizer. How can i use the bpe codes?
```
### Who can help?
@... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17487/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17486/comments | https://api.github.com/repos/huggingface/transformers/issues/17486/events | https://github.com/huggingface/transformers/issues/17486 | 1,253,460,850 | I_kwDOCUB6oc5Ktkty | 17,486 | Transformers get stuck in from_pretraind | {
"login": "luisgg98",
"id": 45603226,
"node_id": "MDQ6VXNlcjQ1NjAzMjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/45603226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/luisgg98",
"html_url": "https://github.com/luisgg98",
"followers_url": "https://api.github.com/users/lui... | [
{
"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 am experiencing the same problem with the .from_pretrained calls. For me the temporary solution was to use a VPN, but of course it isn't fun. I was wondering why we need internet connection at all, since after the first call the data should be cached locally. Maybe add a flag in the call to explicitly run offlin... | 1,653 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-4.15.0-180-generic-x86_64-with-debian-11.0
- Python version: 3.7.11
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17486/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17485/comments | https://api.github.com/repos/huggingface/transformers/issues/17485/events | https://github.com/huggingface/transformers/pull/17485 | 1,253,444,788 | PR_kwDOCUB6oc44uESA | 17,485 | Add HF.co for PRs / Issues regarding specific model checkpoints | {
"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._",
"cc @lhoestq for datasets"
] | 1,653 | 1,654 | 1,654 | 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/17485/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/17485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17485",
"html_url": "https://github.com/huggingface/transformers/pull/17485",
"diff_url": "https://github.com/huggingface/transformers/pull/17485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17485.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17484/comments | https://api.github.com/repos/huggingface/transformers/issues/17484/events | https://github.com/huggingface/transformers/pull/17484 | 1,253,420,938 | PR_kwDOCUB6oc44t_Tk | 17,484 | Fix checkpoint name | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"cc @zphang :-)",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Fix some `eleutherai/gpt-neox-20b` to `EleutherAI/gpt-neox-20b`.
The uppercase vs. lowercase in the checkpoint name matters, otherwise I got error like
`is not a local folder and is not a valid model identifier listed on` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17484/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17484",
"html_url": "https://github.com/huggingface/transformers/pull/17484",
"diff_url": "https://github.com/huggingface/transformers/pull/17484.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17484.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17483/comments | https://api.github.com/repos/huggingface/transformers/issues/17483/events | https://github.com/huggingface/transformers/issues/17483 | 1,253,270,459 | I_kwDOCUB6oc5Ks2O7 | 17,483 | Performance (perplexity) decrease after conversion megatronGTP2 to hugging face model | {
"login": "skdirwj",
"id": 8908319,
"node_id": "MDQ6VXNlcjg5MDgzMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8908319?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skdirwj",
"html_url": "https://github.com/skdirwj",
"followers_url": "https://api.github.com/users/skdirwj/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,653 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
transformers==4.19.2
PyTorch: 1.11.0
CUDA: cu11.0
Train GPUs: 1node (A100 8gpus)
Test GPUs: A100 1gpu
Megatron-LM: https://github.com/NVIDIA/Megatron-LM
```
### Who can help?
@younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17483/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17482/comments | https://api.github.com/repos/huggingface/transformers/issues/17482/events | https://github.com/huggingface/transformers/issues/17482 | 1,253,165,091 | I_kwDOCUB6oc5Kscgj | 17,482 | model.parallelize() for OPT models | {
"login": "MikeWangWZHL",
"id": 44760150,
"node_id": "MDQ6VXNlcjQ0NzYwMTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/44760150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MikeWangWZHL",
"html_url": "https://github.com/MikeWangWZHL",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@sgugger can share more on that, but we now recommend leveraging `accelerate` in order to parallelize models. See [tweet](https://twitter.com/huggingface/status/1524783489593360385) that contains a [colab example](https://colab.research.google.com/drive/14wnxMvD9zsiBQo2FtTpxn6w2cpXCcb-7#scrollTo=XUlpcU3iQNhu&uniqi... | 1,653 | 1,658 | 1,658 | NONE | null | ### Feature request
It would be great if we can have function for fitting OPT model on multiple GPUs using **model.parallelize()**, similar to what we already have for [GPT-J](https://github.com/huggingface/transformers/blob/6e535425feae20ca61a8b10ae5e8a7fab4d394ba/src/transformers/models/gptj/modeling_gptj.py#L494)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17482/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/17482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17481/comments | https://api.github.com/repos/huggingface/transformers/issues/17481/events | https://github.com/huggingface/transformers/issues/17481 | 1,253,155,173 | I_kwDOCUB6oc5KsaFl | 17,481 | modeling_swin.py img_mask doesn't have expected torch dtype | {
"login": "LiweiPeng",
"id": 8562078,
"node_id": "MDQ6VXNlcjg1NjIwNzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8562078?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LiweiPeng",
"html_url": "https://github.com/LiweiPeng",
"followers_url": "https://api.github.com/users/Li... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your interest in Swin Transformer! Do you mind opening a PR to fix this?\r\n\r\nThanks!",
"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 d... | 1,653 | 1,661 | 1,661 | NONE | null | ### System Info
```shell
transformers: master branch
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details bel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17481/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17480/comments | https://api.github.com/repos/huggingface/transformers/issues/17480/events | https://github.com/huggingface/transformers/issues/17480 | 1,253,126,457 | I_kwDOCUB6oc5KsTE5 | 17,480 | MarianMTModel no longer has postprocess_next_token_scores function | {
"login": "dsvilarkovic",
"id": 18049803,
"node_id": "MDQ6VXNlcjE4MDQ5ODAz",
"avatar_url": "https://avatars.githubusercontent.com/u/18049803?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dsvilarkovic",
"html_url": "https://github.com/dsvilarkovic",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @patil-suraj ",
"Hi @dsvilarkovic !\r\n\r\nThis functionality still exists, but the `generate` method is refactored to support this more cleanly. This is now implemented as `LogitsProcessor`. cf #6949",
"This issue has been automatically marked as stale because it has not had recent activity. If you think t... | 1,653 | 1,657 | 1,657 | NONE | null | Hello I just saw that in file https://github.com/huggingface/transformers/blob/v4.19.2/src/transformers/data/test_generation_utils.py you mention calling the postprocess_next_token_scores() method from MarianMTModel, which doesn't seem to exist anymore in it's source file anymore: https://github.com/huggingface/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17479/comments | https://api.github.com/repos/huggingface/transformers/issues/17479/events | https://github.com/huggingface/transformers/pull/17479 | 1,253,045,544 | PR_kwDOCUB6oc44swxY | 17,479 | TF: BART compatible with XLA generation | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh tagging you for TF review, as Matt is off and you are also familiar with generate :)",
"> @ydshieh tagging you for TF review, as Matt is off and you are also familiar with generate :)\r\n\r\nActually not very familiar, but... | 1,653 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
Adds `position_ids` to `TFBart`, so that we can do generation with a padded past -- a requirement for XLA generation.
This PR was built on top of #17426 (so it will contain its diff until it gets merged), and is a requirement for #17458.
๐จ Important notes:
1. **Review suggestion**: c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17479/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/17479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17479",
"html_url": "https://github.com/huggingface/transformers/pull/17479",
"diff_url": "https://github.com/huggingface/transformers/pull/17479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17479.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17478/comments | https://api.github.com/repos/huggingface/transformers/issues/17478/events | https://github.com/huggingface/transformers/issues/17478 | 1,253,038,954 | I_kwDOCUB6oc5Kr9tq | 17,478 | Training hangs in the end while calling dist.barrier() | {
"login": "hasansalimkanmaz",
"id": 49716619,
"node_id": "MDQ6VXNlcjQ5NzE2NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/49716619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hasansalimkanmaz",
"html_url": "https://github.com/hasansalimkanmaz",
"followers_url": "https://... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I do not see a `dist.barrier()` at line 1536 of the `trainer.py` file and I can't really help you without knowing which training script you are launching and how you launched it.",
"Maybe the line corresponds to the HF version that I use. The new line number is 1679 according to main branch. You can check out fr... | 1,653 | 1,697 | 1,654 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.0-1073-azure-x86_64-with-glibc2.27
- Python version: 3.8.0
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.10.1+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17478/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17477/comments | https://api.github.com/repos/huggingface/transformers/issues/17477/events | https://github.com/huggingface/transformers/pull/17477 | 1,252,996,190 | PR_kwDOCUB6oc44smhx | 17,477 | Allow from transformers import TypicalLogitsWarper | {
"login": "teticio",
"id": 44233095,
"node_id": "MDQ6VXNlcjQ0MjMzMDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/44233095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/teticio",
"html_url": "https://github.com/teticio",
"followers_url": "https://api.github.com/users/tetici... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Currently, in order to use the `TypicalLogitsWarper` outside of `generate` (with `typical_p` > 0) it can only imported from `transformers.generation_logits_process`. I have simply added it to the relevant `__init__.py` so that it can be imported directly from `transformers`, like the other `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17477",
"html_url": "https://github.com/huggingface/transformers/pull/17477",
"diff_url": "https://github.com/huggingface/transformers/pull/17477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17476/comments | https://api.github.com/repos/huggingface/transformers/issues/17476/events | https://github.com/huggingface/transformers/issues/17476 | 1,252,848,712 | I_kwDOCUB6oc5KrPRI | 17,476 | PyTorch JIT trace on Swin Transformer pretrained checkpoint fails | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [
{
"id": 3081136536,
"node_id": "MDU6TGFiZWwzMDgxMTM2NTM2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue",
"name": "Good Difficult Issue",
"color": "684CC7",
"default": false,
"description": ""
},
{
"id": 3817266200,
"node_id": ... | closed | false | null | [] | [
"Using `check_trace=False` with `torch.jit.trace` avoids this problem. The traced model seems to work OK and gives the same results as the original (tested with several different input images).\r\n\r\nIt's probably still a good idea to make the trace work without the error (if possible) but as using `check_trace=Fa... | 1,653 | 1,661 | 1,658 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.1 (cpu)
- Jax version: 0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17476/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17475/comments | https://api.github.com/repos/huggingface/transformers/issues/17475/events | https://github.com/huggingface/transformers/issues/17475 | 1,252,833,154 | I_kwDOCUB6oc5KrLeC | 17,475 | Add support for pruning whole layers in transformer models. | {
"login": "chrisdt1998",
"id": 71395013,
"node_id": "MDQ6VXNlcjcxMzk1MDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/71395013?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisdt1998",
"html_url": "https://github.com/chrisdt1998",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"WDYT @NielsRogge?\r\n\r\n@chrisdt1998 do you have an example of how big of a change it would result in the code?",
"Yes, the change would be about 10 lines of code added to the prune_heads method in the ViTAttention class in modeling_vit.py. This could also be extended to other transformer models in the same cor... | 1,653 | 1,655 | 1,655 | NONE | null | ### Feature request
Dear HuggingFace team,
In the ViT Model folder (namely modeling_vit.py), there is an option to prune the attention heads of a model. However, at the moment, if I want to prune a whole layer, I get an error due to the dense layer because the input features is of size 0 and hence I get an issue wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17475/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17474/comments | https://api.github.com/repos/huggingface/transformers/issues/17474/events | https://github.com/huggingface/transformers/pull/17474 | 1,252,689,218 | PR_kwDOCUB6oc44rlUY | 17,474 | BLOOM | {
"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 commit's history should be better now..! @patrickvonplaten ",
"_The documentation is not available anymore as the PR was closed or merged._",
"There are several unresolved discussions in the original PR:\r\n\r\n- https://github.com/huggingface/transformers/pull/17202#discussion_r883151955\r\n- https://gith... | 1,653 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Adding BLOOM models into transformers library - recreating the PR as the old PR has a bad git commit history
Original PR: #17202
- [x] add a generation test with a small model pushed on the hub
- [x] slow tests needs to be modified accordingly
- [x] add final credits to all reviewers in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17474/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17474",
"html_url": "https://github.com/huggingface/transformers/pull/17474",
"diff_url": "https://github.com/huggingface/transformers/pull/17474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17474.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.