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/17071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17071/comments | https://api.github.com/repos/huggingface/transformers/issues/17071/events | https://github.com/huggingface/transformers/pull/17071 | 1,224,604,602 | PR_kwDOCUB6oc43QLWB | 17,071 | Add model UniTE to huggingface repository. | {
"login": "wanyu2018umac",
"id": 42405907,
"node_id": "MDQ6VXNlcjQyNDA1OTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/42405907?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wanyu2018umac",
"html_url": "https://github.com/wanyu2018umac",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17071). All of your documentation changes will be reflected on that endpoint.",
"Thank you for your PR. If I understand correctly, this adds a new type of sequence classification on XLMRoberta, but this won't work at all in... | 1,651 | 1,655 | 1,655 | NONE | null | # What does this PR do?
This PR adds model UniTE to the repository of Huggingface.
Paper: [UniTE: Unified Translation Evaluation](https://arxiv.org/abs/2204.13346).
Former discussion is [here](https://github.com/huggingface/transformers/issues/16366).
## Who can review?
@LysandreJik
Anyone in the community ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17071/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17071",
"html_url": "https://github.com/huggingface/transformers/pull/17071",
"diff_url": "https://github.com/huggingface/transformers/pull/17071.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17071.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17070/comments | https://api.github.com/repos/huggingface/transformers/issues/17070/events | https://github.com/huggingface/transformers/pull/17070 | 1,224,603,813 | PR_kwDOCUB6oc43QLQn | 17,070 | fix: :bug: changing context of multiprocessing while decoding for Windows | {
"login": "elsheikh21",
"id": 26064109,
"node_id": "MDQ6VXNlcjI2MDY0MTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/26064109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elsheikh21",
"html_url": "https://github.com/elsheikh21",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17070). All of your documentation changes will be reflected on that endpoint.",
"Interesting! @elsheikh21 - it seems like `pyctcdecode` is not a big fan of `\"spawn\"` :-/ . Could you maybe open an issue there: https://gith... | 1,651 | 1,661 | 1,661 | NONE | null | # What does this PR do?
- This PR aim is to fix the context for the multiprocessing used in `wav2vec_with_LM batch_decode()` to change from `fork` to `spawn` so it can run with non-Linux based systems as well.
Fixes # (issue)
- multiprocessing context when `batch_decode`
## Before submitting
- [X] Did yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17070/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17070",
"html_url": "https://github.com/huggingface/transformers/pull/17070",
"diff_url": "https://github.com/huggingface/transformers/pull/17070.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17070.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17069/comments | https://api.github.com/repos/huggingface/transformers/issues/17069/events | https://github.com/huggingface/transformers/pull/17069 | 1,224,585,850 | PR_kwDOCUB6oc43QIZ7 | 17,069 | Added spanish translation of autoclass_tutorial. | {
"login": "duedme",
"id": 38573606,
"node_id": "MDQ6VXNlcjM4NTczNjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/38573606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duedme",
"html_url": "https://github.com/duedme",
"followers_url": "https://api.github.com/users/duedme/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM! Just that little change in the `_toctree.yml`, @Duedme. Thanks!\r\n\r\nIs it ok if I merge when the change is made @sgugger?"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # Translation of autoclass_tutorial.mdx into spanish
I made the translation of autoclass_turorial.mdx into Spanish (fixes #15947). The document is located in the docs/source/es folder.
This PR also includes the translation of _toctree.yml to include autoclass_tutorial.
FYI @omarespejel
## Before submitti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17069",
"html_url": "https://github.com/huggingface/transformers/pull/17069",
"diff_url": "https://github.com/huggingface/transformers/pull/17069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17069.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17068/comments | https://api.github.com/repos/huggingface/transformers/issues/17068/events | https://github.com/huggingface/transformers/pull/17068 | 1,224,525,510 | PR_kwDOCUB6oc43P9LX | 17,068 | Add the auto_find_batch_size capability from Accelerate into Trainer | {
"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 | [] | [
"@stas00 I'm getting a test failure on the metrics:\r\n\r\n```python\r\n tests/trainer/test_trainer.py:1426: in check_mem_metrics\r\n metrics = trainer.train().metrics\r\n src/transformers/trainer.py:1215: in train\r\n ignore_keys_for_eval=ignore_keys_for_eval,\r\n src/transformers/trainer.py:1571: in _inne... | 1,651 | 1,657 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
This PR introduces the `find_executable_batch_size` decorator into `Trainer`, so the training loop is repeated if a CUDA OOM is reached, lowering the batch size.
The API looks as so:
```python
trainer = Trainer()
trainer.train(auto_find_batch_size=True)
```
By default it is False, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17068/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17068",
"html_url": "https://github.com/huggingface/transformers/pull/17068",
"diff_url": "https://github.com/huggingface/transformers/pull/17068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17068.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17067/comments | https://api.github.com/repos/huggingface/transformers/issues/17067/events | https://github.com/huggingface/transformers/pull/17067 | 1,224,464,764 | PR_kwDOCUB6oc43Pwem | 17,067 | MLflowCallback set experiment name | {
"login": "orieg",
"id": 55721,
"node_id": "MDQ6VXNlcjU1NzIx",
"avatar_url": "https://avatars.githubusercontent.com/u/55721?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orieg",
"html_url": "https://github.com/orieg",
"followers_url": "https://api.github.com/users/orieg/followers",
"f... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Oh actually, multiple checks in our CI are not running for some reason. Can you try sending empty commits to see if it triggers it?",
"@sgugger I tried an empty commit, a comment change on the py file, and a rebase. They all trigge... | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This PR includes the following:
- Resolves #12841: uses the MLFLOW_EXPERIMENT_NAME environment variable and the mlflow.set_experiment() method to ensure the experiment is created if it does not exist already.
- Fixes #17066: Checks properly for an active run using mlflow.active_run() (Bug i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17067",
"html_url": "https://github.com/huggingface/transformers/pull/17067",
"diff_url": "https://github.com/huggingface/transformers/pull/17067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17067.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17066/comments | https://api.github.com/repos/huggingface/transformers/issues/17066/events | https://github.com/huggingface/transformers/issues/17066 | 1,224,450,332 | I_kwDOCUB6oc5I-6Ec | 17,066 | Incorrect check for MLFlow active run in MLflowCallback | {
"login": "orieg",
"id": 55721,
"node_id": "MDQ6VXNlcjU1NzIx",
"avatar_url": "https://avatars.githubusercontent.com/u/55721?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orieg",
"html_url": "https://github.com/orieg",
"followers_url": "https://api.github.com/users/orieg/followers",
"f... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | ### System Info
```shell
- mlflow==1.25.1
- `transformers` version: 4.19.0.dev0
- Platform: Linux-5.10.76-linuxkit-aarch64-with-glibc2.31
- Python version: 3.9.7
- Huggingface_hub version: 0.2.1
- PyTorch version (GPU?): 1.10.2 (False)
```
### Who can help?
Should be fixed by #17067
### Information... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17066/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17065/comments | https://api.github.com/repos/huggingface/transformers/issues/17065/events | https://github.com/huggingface/transformers/issues/17065 | 1,224,408,231 | I_kwDOCUB6oc5I-vyn | 17,065 | symbol not found in flat namespace '__ZNSt8ios_base4InitC1Ev' | {
"login": "ryanrudes",
"id": 18452581,
"node_id": "MDQ6VXNlcjE4NDUyNTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/18452581?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryanrudes",
"html_url": "https://github.com/ryanrudes",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Uninstalling a couple dependencies including the transformers package itself, and then installing everything within conda solved my problem. Specifically for anyone with the same problem:\r\n\r\n```shell\r\npip uninstall torch tokenizers transformers\r\nconda install pytorch\r\nconda install -c huggingface transfo... | 1,651 | 1,651 | 1,651 | NONE | null | ### System Info
**OS**: macOS Monterey Version 12.4 Beta
**Model**: MacBook Air (M1, 2020)
**Chip**: Apple M1
**Memory**: 8GB
```shell
Python 3.9.12 | packaged by conda-forge | (main, Mar 24 2022, 23:24:38)
[Clang 12.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17065/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17064/comments | https://api.github.com/repos/huggingface/transformers/issues/17064/events | https://github.com/huggingface/transformers/pull/17064 | 1,224,353,944 | PR_kwDOCUB6oc43PZsx | 17,064 | type hints for pytorch models | {
"login": "robotjellyzone",
"id": 36916536,
"node_id": "MDQ6VXNlcjM2OTE2NTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/36916536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/robotjellyzone",
"html_url": "https://github.com/robotjellyzone",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Rocketknight1 I have added the changes suggested by you & all checks are passing!",
"Looks great, thanks for the PR!"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Fixes #16059 :
Added type hints for pytorch models - `canine`, `convbert`, `convnext`, `encoder_decoder`, `gpt2`, `gptj`, `megatron_bert`, `mobilebert`, `perceiver`, `retribert`, `swin`, `transfo_xl` & `van`.
For the code quality, I ran **`make fixup`** and reformatted the codes & als... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17064",
"html_url": "https://github.com/huggingface/transformers/pull/17064",
"diff_url": "https://github.com/huggingface/transformers/pull/17064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17064.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17063/comments | https://api.github.com/repos/huggingface/transformers/issues/17063/events | https://github.com/huggingface/transformers/pull/17063 | 1,224,273,567 | PR_kwDOCUB6oc43PJEU | 17,063 | Make sure telemetry arguments are not returned as unused kwargs | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
As pointed out in #17056, the telemetry arguments are sometimes returned as unused kwargs. This is because `AutoConfig.from_pretrained` ends up using the `from_dict` method and not the `from_pretrained` method in most cases, and that `from_dict` method does not treat those kwargs.
Fixes #1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17063",
"html_url": "https://github.com/huggingface/transformers/pull/17063",
"diff_url": "https://github.com/huggingface/transformers/pull/17063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17062/comments | https://api.github.com/repos/huggingface/transformers/issues/17062/events | https://github.com/huggingface/transformers/pull/17062 | 1,224,253,858 | PR_kwDOCUB6oc43PE5O | 17,062 | Deprecate model templates | {
"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!"
] | 1,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
This PR officially deprecates the model templates and moves their test to a daily scheduled job. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17062",
"html_url": "https://github.com/huggingface/transformers/pull/17062",
"diff_url": "https://github.com/huggingface/transformers/pull/17062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17062.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17061/comments | https://api.github.com/repos/huggingface/transformers/issues/17061/events | https://github.com/huggingface/transformers/issues/17061 | 1,224,198,777 | I_kwDOCUB6oc5I98p5 | 17,061 | End2End RAG training hangs | {
"login": "YovaKem",
"id": 29899597,
"node_id": "MDQ6VXNlcjI5ODk5NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/29899597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YovaKem",
"html_url": "https://github.com/YovaKem",
"followers_url": "https://api.github.com/users/YovaKe... | [
{
"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 this bug is caused by the laters RAY version. Actually, I fixed it in the original RAG repository :). \r\n\r\nPlease change this [line](https://github.com/huggingface/transformers/blob/main/examples/research_projects/rag-end2end-retriever/finetune_rag.py#L692) similar to [this](line). \r\n\r\nIn other words, j... | 1,651 | 1,657 | 1,651 | NONE | null | ### System Info
```shell
Python 3.9.0 (default, Nov 15 2020, 14:28:56)
...
>>> transformers.__version__
'4.17.0'
>>> torch.__version__
'1.7.1'
>>> ray.__version__
'1.11.0'
```
### Who can help?
@shamanez, thanks for a great example! I'm having trouble training a model end2end and wonder if you could help ou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17061/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17060/comments | https://api.github.com/repos/huggingface/transformers/issues/17060/events | https://github.com/huggingface/transformers/pull/17060 | 1,224,164,597 | PR_kwDOCUB6oc43OyOB | 17,060 | Add LayoutLMv3 | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Just for the purpose to keep track of the current status.\r\n\r\nAs discussed offline I think the next step to \"solve\" the tokenization tests is to figure out how `[\"hello\", \"world\"]` is tokenized in the original code: is it [`... | 1,651 | 1,662 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
This PR implements LayoutLMv3. LayoutLMv3 doesn't require a Detectron2 backbone anymore (yay!).
The PR also includes an example script that can be used to reproduce results of the paper.
Fixes #16914
To do:
- [x] fix remaining tokenizer tests. These are very black-boxy to me. Pin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17060/reactions",
"total_count": 24,
"+1": 11,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 9,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17060/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17060",
"html_url": "https://github.com/huggingface/transformers/pull/17060",
"diff_url": "https://github.com/huggingface/transformers/pull/17060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17060.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17059/comments | https://api.github.com/repos/huggingface/transformers/issues/17059/events | https://github.com/huggingface/transformers/pull/17059 | 1,224,122,025 | PR_kwDOCUB6oc43OpZ8 | 17,059 | Remove Python and use v2 action | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
Fix the model templates GitHub job which was broken with the Python 3.6 removal. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17059/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17059",
"html_url": "https://github.com/huggingface/transformers/pull/17059",
"diff_url": "https://github.com/huggingface/transformers/pull/17059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17059.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17058/comments | https://api.github.com/repos/huggingface/transformers/issues/17058/events | https://github.com/huggingface/transformers/issues/17058 | 1,223,989,644 | I_kwDOCUB6oc5I9JmM | 17,058 | Chinese parentheses can't be handled by fast tokenizer | {
"login": "realjanpaulus",
"id": 22560883,
"node_id": "MDQ6VXNlcjIyNTYwODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/22560883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/realjanpaulus",
"html_url": "https://github.com/realjanpaulus",
"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 | [] | [
"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,651 | 1,657 | 1,657 | NONE | null | ### Problem description
The chinese language has some special characters for parentheses: "(", ")" (= parentheses with an integrated whitespace). Both characters aren't part of the XLMRoBERTa Tokenizer, neither the fast nor the "slow" one. Interestingly enough, it is possible to add these characters to the tokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17058/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 6
} | https://api.github.com/repos/huggingface/transformers/issues/17058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17057/comments | https://api.github.com/repos/huggingface/transformers/issues/17057/events | https://github.com/huggingface/transformers/pull/17057 | 1,223,949,412 | PR_kwDOCUB6oc43OFDc | 17,057 | Rewrite TensorFlow train_step and test_step | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(Requesting reviews now that @gante is back)"
] | 1,651 | 1,652 | 1,652 | MEMBER | null | Draft PR for a full rewrite of the TF train/test steps. I swear this will fix like 50% of our TF issues in one PR.
Current status:
- Correctly handles output mapping across most model classes for losses + metrics
- Keras metrics are back, even with the dummy loss. (!!!!)
- Keras metrics work correctly even for mu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17057",
"html_url": "https://github.com/huggingface/transformers/pull/17057",
"diff_url": "https://github.com/huggingface/transformers/pull/17057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17056/comments | https://api.github.com/repos/huggingface/transformers/issues/17056/events | https://github.com/huggingface/transformers/issues/17056 | 1,223,938,690 | I_kwDOCUB6oc5I89KC | 17,056 | AutoConfig.from_pretrained("model", return_unused_kwargs=True) returns `"_from_auto": True` field against specification | {
"login": "GabrielKP",
"id": 40501279,
"node_id": "MDQ6VXNlcjQwNTAxMjc5",
"avatar_url": "https://avatars.githubusercontent.com/u/40501279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GabrielKP",
"html_url": "https://github.com/GabrielKP",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I can reproduce, thanks for flagging and for taking the time to give us a clear example of code that fails!\r\nI will try to dive into this and have a fix ready later today."
] | 1,651 | 1,651 | 1,651 | NONE | null | ### System Info
```shell
- `transformers` version: 4.17.0
- Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.34
- Python version: 3.9.7
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17056/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17055/comments | https://api.github.com/repos/huggingface/transformers/issues/17055/events | https://github.com/huggingface/transformers/pull/17055 | 1,223,319,797 | PR_kwDOCUB6oc43MJ8y | 17,055 | Fix RNG reload in resume training from epoch checkpoint | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
This PR fixes the reproducibility in training when checkpoints are saved every epoch. The main reason it was failing (as pointed out in #17032) is that the RNG states were never reloaded. They need to be reloaded exactly before iterating through the new epoch, as the call to this will change ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17055/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17055",
"html_url": "https://github.com/huggingface/transformers/pull/17055",
"diff_url": "https://github.com/huggingface/transformers/pull/17055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17055.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17054/comments | https://api.github.com/repos/huggingface/transformers/issues/17054/events | https://github.com/huggingface/transformers/pull/17054 | 1,223,261,712 | PR_kwDOCUB6oc43L9Rp | 17,054 | [CodeParrot] Near-deduplication with jaccard similarity | {
"login": "liyongsea",
"id": 6381544,
"node_id": "MDQ6VXNlcjYzODE1NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6381544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liyongsea",
"html_url": "https://github.com/liyongsea",
"followers_url": "https://api.github.com/users/li... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @lvwerra I agree with you. I will do that. The overall code is running now, here are the next steps:\r\n\r\n- [x] refactor the code to be used in preprocess.py and clean up\r\n- [x] document statistics and performance data in the ... | 1,651 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
This PR address the code duplication issue describe in this thread
https://twitter.com/miltos1/status/1497126435261083649?s=20&t=v5-vwaEtXLrgZ_GuZHrPKQ
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the relea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17054/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/17054/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17054",
"html_url": "https://github.com/huggingface/transformers/pull/17054",
"diff_url": "https://github.com/huggingface/transformers/pull/17054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17054.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17053/comments | https://api.github.com/repos/huggingface/transformers/issues/17053/events | https://github.com/huggingface/transformers/pull/17053 | 1,223,188,138 | PR_kwDOCUB6oc43Ltjm | 17,053 | Make Trainer compatible with sharded checkpoints | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
The `Trainer` is currently incompatible with the new sharded checkpoint feature in two places:
- resuming from a checkpoint
- loading the best model at the end of training
In both cases, the model state dict is loaded back inside the model **but** there is no model save file if the model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17053/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17053",
"html_url": "https://github.com/huggingface/transformers/pull/17053",
"diff_url": "https://github.com/huggingface/transformers/pull/17053.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17053.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17052/comments | https://api.github.com/repos/huggingface/transformers/issues/17052/events | https://github.com/huggingface/transformers/issues/17052 | 1,223,149,438 | I_kwDOCUB6oc5I58d- | 17,052 | ValueError: too many values to unpack (expected 2) using BERT to training | {
"login": "ksdihgfmata",
"id": 80060744,
"node_id": "MDQ6VXNlcjgwMDYwNzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/80060744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ksdihgfmata",
"html_url": "https://github.com/ksdihgfmata",
"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 | [] | [
"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,651 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
Preparing the dataset and dataloader and Defining the model but I get this error ValueError: too many values to unpack (expected 2).
```
### Who can help?
@LysandreJik, @sgugger
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officiall... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17052/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/17052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17051/comments | https://api.github.com/repos/huggingface/transformers/issues/17051/events | https://github.com/huggingface/transformers/issues/17051 | 1,223,112,039 | I_kwDOCUB6oc5I5zVn | 17,051 | Collection of Tokenizer issues | {
"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://... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | open | false | null | [] | [
"cc @LysandreJik @sgugger @SaulLu @Narsil @patil-suraj ",
"Internal thread: https://huggingface.slack.com/archives/C01N44FJDHT/p1647966224411599",
"Another one: https://github.com/huggingface/transformers/issues/16787#issuecomment-1100009727",
"It would be nice to add those to a project so that we may track t... | 1,651 | 1,659 | null | MEMBER | null | ### System Info
```shell
Transformers + Tokenizers
```
### Who can help?
This Issue is a summary of multiple problems that we are currently encountering with Tokenizers. To solve them we'll need a more profound discussion of:
- To what extend fast and slow tokenizers should be aligned
- Whether all slow tokenizer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17051/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/17051/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17050/comments | https://api.github.com/repos/huggingface/transformers/issues/17050/events | https://github.com/huggingface/transformers/pull/17050 | 1,223,096,503 | PR_kwDOCUB6oc43LaTX | 17,050 | Allow all imports from transformers | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | MEMBER | null | This PR enables doing `from transformers import *` when just the base `transformers` install is done. This should always have been possible, but due to some errors in the imports, it currently failed with a `sentencepiece` import error. This PR fixes that for both the FNet and CPM tokenizers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17050/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17050",
"html_url": "https://github.com/huggingface/transformers/pull/17050",
"diff_url": "https://github.com/huggingface/transformers/pull/17050.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17050.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17049/comments | https://api.github.com/repos/huggingface/transformers/issues/17049/events | https://github.com/huggingface/transformers/pull/17049 | 1,223,096,427 | PR_kwDOCUB6oc43LaSm | 17,049 | Make the sacremoses dependency optional | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | MEMBER | null | Sacremoses is currently installed by default when installing `transformers`, but it should not be needed. This is an artifact of the past, and we have since introduced optional dependencies, which applies perfectly to this situation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17049/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17049",
"html_url": "https://github.com/huggingface/transformers/pull/17049",
"diff_url": "https://github.com/huggingface/transformers/pull/17049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17049.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17048/comments | https://api.github.com/repos/huggingface/transformers/issues/17048/events | https://github.com/huggingface/transformers/pull/17048 | 1,223,046,016 | PR_kwDOCUB6oc43LPs9 | 17,048 | Fix hashing for deduplication in CodeParrot | {
"login": "thomasw21",
"id": 24695242,
"node_id": "MDQ6VXNlcjI0Njk1MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasw21",
"html_url": "https://github.com/thomasw21",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Fix hashing mechanism to be process independent. Typically `hash` doesn't generate the same hash when using different process. So this makes the maximum number of occurence of a text to be `num_proc` instead of `1` when deduplicating.
## Before submitting
- [ ] This PR fixes a typo or imp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17048/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/17048/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17048",
"html_url": "https://github.com/huggingface/transformers/pull/17048",
"diff_url": "https://github.com/huggingface/transformers/pull/17048.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17048.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17047/comments | https://api.github.com/repos/huggingface/transformers/issues/17047/events | https://github.com/huggingface/transformers/pull/17047 | 1,223,016,938 | PR_kwDOCUB6oc43LJiN | 17,047 | Add type hints for BERTGeneration | {
"login": "robsmith155",
"id": 44686932,
"node_id": "MDQ6VXNlcjQ0Njg2OTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/44686932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/robsmith155",
"html_url": "https://github.com/robsmith155",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I wasn't completely sure on what to use for the `past_key_values` argument. I set it to `Optional[Tuple[Tuple[torch.FloatTensor]]]`, but let me know if this is wrong. Also, not sure if I should also add type hints for the `BertGene... | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
I added type hints for the `BERTGenerationEncoder` and `BERTGenerationDecoder` classes as requested in [#16059](https://github.com/huggingface/transformers/issues/16059) and demonstrated in [#16074](https://github.com/huggingface/transformers/pull/16074).
I wasn't completely sure on what to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17047/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17047",
"html_url": "https://github.com/huggingface/transformers/pull/17047",
"diff_url": "https://github.com/huggingface/transformers/pull/17047.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17047.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17046/comments | https://api.github.com/repos/huggingface/transformers/issues/17046/events | https://github.com/huggingface/transformers/pull/17046 | 1,223,013,332 | PR_kwDOCUB6oc43LIxM | 17,046 | Fix no_trainer examples to properly calculate the number of samples | {
"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": 1834053813,
"node_id": "MDU6TGFiZWwxODM0MDUzODEz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch",
"name": "PyTorch",
"color": "a12bef",
"default": false,
"description": "Anything PyTorch"
},
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxO... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @muellerzr, @sgugger, in case I specify the argument `max_train_steps` instead of `num_train_epochs` while launching the training script, I need to recalculate the `num_train_epochs` after `accelerate.prepare` instead of `max_trai... | 1,651 | 1,654 | 1,651 | CONTRIBUTOR | null | # Fix number of samples for `no_trainer` scripts
## What does this add?
This PR fixes all of the no_trainer scripts to properly use the right number of training steps after the length of the dataloader was changed with `accelerator.prepare`
## Why is it needed?
Currently in a multi-process setup, the progress bar s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17046",
"html_url": "https://github.com/huggingface/transformers/pull/17046",
"diff_url": "https://github.com/huggingface/transformers/pull/17046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17045/comments | https://api.github.com/repos/huggingface/transformers/issues/17045/events | https://github.com/huggingface/transformers/pull/17045 | 1,222,968,604 | PR_kwDOCUB6oc43K_TQ | 17,045 | Clean up setup.py | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
This PR cleans up a bit the README in two ways:
- Remove support for Python 3.6 as we said the current release was the last one with Python 3.6
- Clean up a bit the authors field, description and keywords to emphasize the multimodal support.
Since the Hugging Face team is growing, I prop... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17045",
"html_url": "https://github.com/huggingface/transformers/pull/17045",
"diff_url": "https://github.com/huggingface/transformers/pull/17045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17045.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17044/comments | https://api.github.com/repos/huggingface/transformers/issues/17044/events | https://github.com/huggingface/transformers/pull/17044 | 1,222,943,550 | PR_kwDOCUB6oc43K581 | 17,044 | Update no_trainer examples to use new logger | {
"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": 1834053813,
"node_id": "MDU6TGFiZWwxODM0MDUzODEz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch",
"name": "PyTorch",
"color": "a12bef",
"default": false,
"description": "Anything PyTorch"
},
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxO... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"rereview for propagate sanity check then all good 🤗 "
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # Update `no_trainer` examples to use the new Accelerate logger
## What does this add?
- Accelerate recently added a [new logger](https://github.com/huggingface/accelerate/pull/337/) to help deal with repeat logs across all processes. If it should be logged on all, a new kwarg `main_process_only=False` should be ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17044/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17044",
"html_url": "https://github.com/huggingface/transformers/pull/17044",
"diff_url": "https://github.com/huggingface/transformers/pull/17044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17044.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17043/comments | https://api.github.com/repos/huggingface/transformers/issues/17043/events | https://github.com/huggingface/transformers/pull/17043 | 1,222,866,350 | PR_kwDOCUB6oc43Kpsl | 17,043 | [Trainer] Move logic for checkpoint loading into separate methods for easy overriding | {
"login": "calpt",
"id": 36051308,
"node_id": "MDQ6VXNlcjM2MDUxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36051308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calpt",
"html_url": "https://github.com/calpt",
"followers_url": "https://api.github.com/users/calpt/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This PR does a small refactoring in the `Trainer` class, specifically it moves the logic for the following two steps out of the training loop into separate helper methods:
- loading a pre-existing checkpoint into the Trainer before the training starts is moved into the `_load_from_checkpoi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17043",
"html_url": "https://github.com/huggingface/transformers/pull/17043",
"diff_url": "https://github.com/huggingface/transformers/pull/17043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17042/comments | https://api.github.com/repos/huggingface/transformers/issues/17042/events | https://github.com/huggingface/transformers/pull/17042 | 1,222,853,994 | PR_kwDOCUB6oc43KnJs | 17,042 | Disable Flax GPU tests on push | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
The Flax GPU tests have been failing for more than a month on every commit they are run in master (error changed 20 days ago to an install error). This is making CI checks hard to read, so disabling those tests until someone really fixes them. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17042",
"html_url": "https://github.com/huggingface/transformers/pull/17042",
"diff_url": "https://github.com/huggingface/transformers/pull/17042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17042.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17041/comments | https://api.github.com/repos/huggingface/transformers/issues/17041/events | https://github.com/huggingface/transformers/issues/17041 | 1,222,831,565 | I_kwDOCUB6oc5I4u3N | 17,041 | No separation between Torch and TF examples in create_a_model.md | {
"login": "ignacioct",
"id": 56955040,
"node_id": "MDQ6VXNlcjU2OTU1MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/56955040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ignacioct",
"html_url": "https://github.com/ignacioct",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi, thanks for your help in translating the docs! :)\r\n\r\nFrom my end on the `main` version of the docs, there are two separate blocks for PyTorch and TensorFlow content:\r\n\r\n, I've come across something that I think it is not intentional. In the section Model, we have this first paragraph explaining how to start initializing and customizing a - custom - model.
 | {
"login": "sunhaozhepy",
"id": 73462159,
"node_id": "MDQ6VXNlcjczNDYyMTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/73462159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sunhaozhepy",
"html_url": "https://github.com/sunhaozhepy",
"followers_url": "https://api.github.com/... | [] | 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,651 | 1,654 | 1,654 | NONE | null | There seems to be a problem with the HuggingFace Vision Transformer: it takes up all the memory in GPU and renders it impossible to train the model.
When I was dealing with the inference just like in `https://huggingface.co/docs/transformers/model_doc/vit` with a single image, it works well. But when I tried to do som... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17040/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17039/comments | https://api.github.com/repos/huggingface/transformers/issues/17039/events | https://github.com/huggingface/transformers/issues/17039 | 1,222,679,382 | I_kwDOCUB6oc5I4JtW | 17,039 | Unable to reproduce gigawords results from google/pegasus-gigaword | {
"login": "xu1998hz",
"id": 30398952,
"node_id": "MDQ6VXNlcjMwMzk4OTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/30398952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xu1998hz",
"html_url": "https://github.com/xu1998hz",
"followers_url": "https://api.github.com/users/xu1... | [] | closed | false | null | [] | [
"Hey @xu1998hz,\r\n\r\nWe're trying to keep Transformers issues for bugs in the core library. Could you try to use the forum instead: https://discuss.huggingface.co/ ? :-)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed ple... | 1,651 | 1,654 | 1,654 | NONE | null | @patrickvonplaten
Hi Patrick,
I am trying to reproduce the PEGASUS results for gigaword. I used gigawords in datasets library and directly use its testing portion without further preprocessing. I used PegasusForConditionalGeneration, PegasusTokenizer (I used checkpoint from Google, google/pegasus-gigaword) to dec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17038/comments | https://api.github.com/repos/huggingface/transformers/issues/17038/events | https://github.com/huggingface/transformers/pull/17038 | 1,222,647,480 | PR_kwDOCUB6oc43J7cB | 17,038 | Fix `LayoutXLM` docstrings | {
"login": "qqaatw",
"id": 24835382,
"node_id": "MDQ6VXNlcjI0ODM1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qqaatw",
"html_url": "https://github.com/qqaatw",
"followers_url": "https://api.github.com/users/qqaatw/fo... | [] | 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,651 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
A follow-up PR for #16187.
Also fix a legacy issue that the `ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING` of both `layoutlmv2` and `layoutxlm` is incorrect, which should be like [this](https://github.com/huggingface/transformers/blob/ff846e9b28358e5741dea5058433f7bcf8e7de76/src/transformers/to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17038/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17038",
"html_url": "https://github.com/huggingface/transformers/pull/17038",
"diff_url": "https://github.com/huggingface/transformers/pull/17038.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17038.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17037/comments | https://api.github.com/repos/huggingface/transformers/issues/17037/events | https://github.com/huggingface/transformers/issues/17037 | 1,222,631,983 | I_kwDOCUB6oc5I3-Iv | 17,037 | Make DETR `pixel_values` input optional | {
"login": "qqaatw",
"id": 24835382,
"node_id": "MDQ6VXNlcjI0ODM1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qqaatw",
"html_url": "https://github.com/qqaatw",
"followers_url": "https://api.github.com/users/qqaatw/fo... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,651 | 1,654 | 1,654 | CONTRIBUTOR | null | ### Feature request
Currently the `pixel_values` input of `DetrModel` and `DetrForObjectDetection` is a required argument, which is nearly useless when `encoder_outputs` is specified.
Therefore, I propose to make `pixel_values` optional and infer batch size for subsequent uses from the `encoder_outputs` when it is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17036/comments | https://api.github.com/repos/huggingface/transformers/issues/17036/events | https://github.com/huggingface/transformers/pull/17036 | 1,222,618,951 | PR_kwDOCUB6oc43J1fG | 17,036 | [Flax(Speech)EncoderDecoder] Fix bug in `decoder_module` | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | The current use of `decoder_module` assumes that `encoder_hidden_states` is the fourth positional argument of the decoder's call method. We see that this is indeed true of the two current Flax decoder models: [`FlaxGPT2LMHeadModel`](https://github.com/huggingface/transformers/blob/da47c264f9a881f5db5f6fbb59a30c95e42857... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17036/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17036",
"html_url": "https://github.com/huggingface/transformers/pull/17036",
"diff_url": "https://github.com/huggingface/transformers/pull/17036.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17036.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17035/comments | https://api.github.com/repos/huggingface/transformers/issues/17035/events | https://github.com/huggingface/transformers/pull/17035 | 1,222,601,645 | PR_kwDOCUB6oc43Jxx2 | 17,035 | [FlaxGenerate] Fix bug in `decoder_start_token_id` | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | In Python, `bool` is a subclass of `int`, and `False` has the value `0`. We observe this by calling the `__bool__` method of `0`:
```python
print((0).__bool__())
print((1).__bool__())
```
```
False
True
```
https://github.com/huggingface/transformers/blob/da47c264f9a881f5db5f6fbb59a30c95e428571f/src/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17035",
"html_url": "https://github.com/huggingface/transformers/pull/17035",
"diff_url": "https://github.com/huggingface/transformers/pull/17035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17035.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17034/comments | https://api.github.com/repos/huggingface/transformers/issues/17034/events | https://github.com/huggingface/transformers/pull/17034 | 1,222,597,320 | PR_kwDOCUB6oc43Jw3E | 17,034 | Move test model folders | {
"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._",
"Hi, @stas00 Thank you for the feedbacks.\r\n\r\n- Regarding `difficult to read` (the long command): totally agreed! I had the same feeling, and thought might be a good idea to create a tiny python script and just call it. Otherwise, ... | 1,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
As discussed offline, this PR moves model specific test folders (e.g. `tests/bert`) to `tests/models` (e.g. `tests/models/bert`)
In addition to the necessary changes on `import`, the following changes are made:
- In some test files regarding processors (tokenizer/feature extractor, etc.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17034",
"html_url": "https://github.com/huggingface/transformers/pull/17034",
"diff_url": "https://github.com/huggingface/transformers/pull/17034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17034.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17033/comments | https://api.github.com/repos/huggingface/transformers/issues/17033/events | https://github.com/huggingface/transformers/issues/17033 | 1,222,392,661 | I_kwDOCUB6oc5I3DtV | 17,033 | Multi GPU training crashes when running run_mlm_wwm.py | {
"login": "conan1024hao",
"id": 50416856,
"node_id": "MDQ6VXNlcjUwNDE2ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/50416856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/conan1024hao",
"html_url": "https://github.com/conan1024hao",
"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 | [] | [
"@conan1024hao \r\nSorry I don't know more details about multi gpu training, but you should make sure your code works well in single GPU.\r\nAnd then you could try code like this:\r\n```python\r\nexport CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7\r\n\r\npython -m torch.distributed.launch --nproc_per_node 8 run_mlm_wwm.py... | 1,651 | 1,653 | 1,653 | CONTRIBUTOR | null | ### System Info
```shell
I am running this script on a 8 A100 cards cluster.
gcc/11.2.0
python/3.8/3.8.13
cuda/11.3/11.3.1
cudnn/8.2/8.2.4
nccl/2.9/2.9.9-1
accelerate 0.7.1
datasets 2.1.0
huggingface-hub 0.5.1
protobuf 3.20.1
sentencepiece 0.1.96
tokenizers ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17033/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17032/comments | https://api.github.com/repos/huggingface/transformers/issues/17032/events | https://github.com/huggingface/transformers/issues/17032 | 1,222,230,297 | I_kwDOCUB6oc5I2cEZ | 17,032 | [Trainer]: Resume training with `save_strategy="epoch"` does not load RNG state | {
"login": "atreyasha",
"id": 35427332,
"node_id": "MDQ6VXNlcjM1NDI3MzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/35427332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atreyasha",
"html_url": "https://github.com/atreyasha",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thanks for the fully reproducible example, which will become a new test in our CI :-) This was a bit painful to debug, but the PR above should solve the issue.",
"Thanks @sgugger for the quick response"
] | 1,651 | 1,651 | 1,651 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.0.dev0
- Platform: Linux-5.15.36-1-lts-x86_64-with-glibc2.33
- Python version: 3.8.12
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17032/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17031/comments | https://api.github.com/repos/huggingface/transformers/issues/17031/events | https://github.com/huggingface/transformers/issues/17031 | 1,222,190,494 | I_kwDOCUB6oc5I2SWe | 17,031 | Training a tokenizer - add argument for preprocessing the input | {
"login": "pepi99",
"id": 45050191,
"node_id": "MDQ6VXNlcjQ1MDUwMTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/45050191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pepi99",
"html_url": "https://github.com/pepi99",
"followers_url": "https://api.github.com/users/pepi99/fo... | [] | closed | false | null | [] | [
"I have also posted my question in the huggingface forum: https://discuss.huggingface.co/t/save-tokenizer-with-argument/17389",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note th... | 1,651 | 1,654 | 1,654 | NONE | null | ### Feature request
I am training my huggingface tokenizer on my own corpora, and I want to save it with a preprocessing step. That is, if I pass some text to it, I want it to apply the preprocessing and then tokenize the text, instead of explicitly preprocessing it before that. A good example is BERTweet: https://g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17031/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17030/comments | https://api.github.com/repos/huggingface/transformers/issues/17030/events | https://github.com/huggingface/transformers/pull/17030 | 1,222,139,266 | PR_kwDOCUB6oc43IQnP | 17,030 | Added XLM onnx config | {
"login": "nandwalritik",
"id": 48522685,
"node_id": "MDQ6VXNlcjQ4NTIyNjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/48522685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nandwalritik",
"html_url": "https://github.com/nandwalritik",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello thanks for the PR it looks really clean!! 🤗 \r\n\r\nIf you have time, it could be nice to upload a converted XLM model to `ONNXConfig for all` organisation on Hugging Face's hub.",
"> Thanks for this clean PR @nandwalritik f... | 1,651 | 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/17030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17030",
"html_url": "https://github.com/huggingface/transformers/pull/17030",
"diff_url": "https://github.com/huggingface/transformers/pull/17030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17030.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17029/comments | https://api.github.com/repos/huggingface/transformers/issues/17029/events | https://github.com/huggingface/transformers/pull/17029 | 1,222,138,692 | PR_kwDOCUB6oc43IQgS | 17,029 | add `mobilebert` onnx configs | {
"login": "manandey",
"id": 6687858,
"node_id": "MDQ6VXNlcjY2ODc4NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6687858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manandey",
"html_url": "https://github.com/manandey",
"followers_url": "https://api.github.com/users/manan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @manandey thanks for the PR, it looks really clean. Did you try to convert one MobileBERT model with this config?\r\n\r\nIt could be nice to upload a converted MobileBERT model of your choice to the `ONNXConfig for all` if you hav... | 1,651 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
This PR adds MobileBert OnnxConfig to make this model available for conversion. #16308
## Who can review?
@lewtun @LysandreJik
Anyone in the community is free to review the PR once the tests have passed.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17029",
"html_url": "https://github.com/huggingface/transformers/pull/17029",
"diff_url": "https://github.com/huggingface/transformers/pull/17029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17029.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17028/comments | https://api.github.com/repos/huggingface/transformers/issues/17028/events | https://github.com/huggingface/transformers/issues/17028 | 1,221,941,227 | I_kwDOCUB6oc5I1Vfr | 17,028 | Adding a ISSUE_TEMPLATE for the translation of docs | {
"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 | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"I closed the issue for the moment.",
"This issue was mentioned in a previous community issue #17404 for translating into Italian 🇮🇹.",
"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\nPle... | 1,651 | 1,656 | 1,656 | CONTRIBUTOR | null | ### Feature request
Users can create issues to translate the docs to several languages. This technique worked for the translation of [the course](https://github.com/huggingface/course/issues) (cc @lewtun).
Since we have [several docs to translate](https://github.com/huggingface/transformers/issues/15947) a template... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17028/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17027/comments | https://api.github.com/repos/huggingface/transformers/issues/17027/events | https://github.com/huggingface/transformers/pull/17027 | 1,221,849,766 | PR_kwDOCUB6oc43HWEp | 17,027 | Add XLNet OnnxConfig | {
"login": "sijunhe",
"id": 11987277,
"node_id": "MDQ6VXNlcjExOTg3Mjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11987277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sijunhe",
"html_url": "https://github.com/sijunhe",
"followers_url": "https://api.github.com/users/sijunh... | [] | closed | false | null | [] | [
"Hi @sijunhe Nice PR, but could you rebase tre branch to avoid getting all the recent commits on this PR ?",
"Hi @sijunhe thanks for this PR! Indeed as @ChainYo suggests, could you please rebase on `main` so that it is a bit easier to review the changes from your PR?",
"Opps! Sorry about that. Merged! @lewtun @... | 1,651 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
1. Add XLNet OnnxConfig to make this model available for conversion.
2. In order to make the onnx export work, I had to remove the `**kwargs` argument in the `forward` function of the `XLNet` models. Seems like the `**kwargs` was on deprecation warning anyway and removing it didn't break any... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17027",
"html_url": "https://github.com/huggingface/transformers/pull/17027",
"diff_url": "https://github.com/huggingface/transformers/pull/17027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17027.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17026/comments | https://api.github.com/repos/huggingface/transformers/issues/17026/events | https://github.com/huggingface/transformers/issues/17026 | 1,221,830,139 | I_kwDOCUB6oc5I06X7 | 17,026 | Bert: relative_key position embedding causes error for long sequences | {
"login": "cedricrupb",
"id": 32569892,
"node_id": "MDQ6VXNlcjMyNTY5ODky",
"avatar_url": "https://avatars.githubusercontent.com/u/32569892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cedricrupb",
"html_url": "https://github.com/cedricrupb",
"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 | [] | [
"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,651 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.9.2
- Platform: Linux-5.14.15-arch1-1-x86_64-with-glibc2.33
- Python version: 3.9.7
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17026/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17025/comments | https://api.github.com/repos/huggingface/transformers/issues/17025/events | https://github.com/huggingface/transformers/issues/17025 | 1,221,826,334 | I_kwDOCUB6oc5I05ce | 17,025 | force_words_ids not working | {
"login": "ZonglinY",
"id": 48231194,
"node_id": "MDQ6VXNlcjQ4MjMxMTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/48231194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZonglinY",
"html_url": "https://github.com/ZonglinY",
"followers_url": "https://api.github.com/users/Zon... | [
{
"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 suspect this is a version issue. The [constrained beam search](https://huggingface.co/blog/constrained-beam-search) wasn't introduced until 4.17 so if you are using an older version, that might be why it didn't work. Your code worked for me on 4.18 but not on 4.15. ",
"Thanks @sijunhe! I change the version to ... | 1,651 | 1,657 | 1,654 | NONE | null | ### System Info
```shell
No inception occurs.
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17024/comments | https://api.github.com/repos/huggingface/transformers/issues/17024/events | https://github.com/huggingface/transformers/pull/17024 | 1,221,783,741 | PR_kwDOCUB6oc43HJ7P | 17,024 | Clean up vision tests | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This is a follow-up of #16799. It took me way too long to realize I don't need to overwrite `test_attention_outputs` and `test_hidden_states_outputs` as I can just set the `seq_length` attribute of the ModelTester. 😂 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17024",
"html_url": "https://github.com/huggingface/transformers/pull/17024",
"diff_url": "https://github.com/huggingface/transformers/pull/17024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17023/comments | https://api.github.com/repos/huggingface/transformers/issues/17023/events | https://github.com/huggingface/transformers/issues/17023 | 1,221,759,200 | I_kwDOCUB6oc5I0pDg | 17,023 | wavlm s3prl emotion recognition | {
"login": "sciai-ai",
"id": 52277510,
"node_id": "MDQ6VXNlcjUyMjc3NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/52277510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sciai-ai",
"html_url": "https://github.com/sciai-ai",
"followers_url": "https://api.github.com/users/sci... | [] | closed | false | null | [] | [
"Hi @sciai-ai! You can find the rough model conversion script is here: https://github.com/huggingface/transformers/blob/main/src/transformers/models/wavlm/convert_wavlm_original_s3prl_checkpoint_to_pytorch.py\r\n\r\nThe command is:\r\n```bash\r\npython convert_wavlm_original_s3prl_checkpoint_to_pytorch.py \\\r\n ... | 1,651 | 1,654 | 1,654 | NONE | null | Hi
I have trained a downstream emotion recognition task using s3prl wavlm where a checkpoint has been saved `dev-best.ckpt`. The inference setup in s3prl is not ideal requiring batches of wav files split by session rather a single wav file which is useful in production endpoints.
@anton-l can you please share ho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17023/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17022/comments | https://api.github.com/repos/huggingface/transformers/issues/17022/events | https://github.com/huggingface/transformers/pull/17022 | 1,221,747,942 | PR_kwDOCUB6oc43HDBs | 17,022 | update docs of length_penalty | {
"login": "manandey",
"id": 6687858,
"node_id": "MDQ6VXNlcjY2ODc4NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6687858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manandey",
"html_url": "https://github.com/manandey",
"followers_url": "https://api.github.com/users/manan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,660 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This PR updates the docs of `length_penalty` fixing the issues mentioned in #16930 .
c.c. @patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17022",
"html_url": "https://github.com/huggingface/transformers/pull/17022",
"diff_url": "https://github.com/huggingface/transformers/pull/17022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17022.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17021/comments | https://api.github.com/repos/huggingface/transformers/issues/17021/events | https://github.com/huggingface/transformers/pull/17021 | 1,221,741,773 | PR_kwDOCUB6oc43HB53 | 17,021 | Added es version of language_modeling.mdx doc | {
"login": "jQuinRivero",
"id": 55513213,
"node_id": "MDQ6VXNlcjU1NTEzMjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/55513213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jQuinRivero",
"html_url": "https://github.com/jQuinRivero",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@omarespejel Could you confirm this is good to merge?"
] | 1,651 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Fixes(#15947)
Added spanish version of language_modeling.mdx documentation file.
### Before submitting
- [X ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17021",
"html_url": "https://github.com/huggingface/transformers/pull/17021",
"diff_url": "https://github.com/huggingface/transformers/pull/17021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17021.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17020/comments | https://api.github.com/repos/huggingface/transformers/issues/17020/events | https://github.com/huggingface/transformers/pull/17020 | 1,221,729,921 | PR_kwDOCUB6oc43G_if | 17,020 | add torch.no_grad when in eval mode | {
"login": "JunnYu",
"id": 50394665,
"node_id": "MDQ6VXNlcjUwMzk0NjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/50394665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunnYu",
"html_url": "https://github.com/JunnYu",
"followers_url": "https://api.github.com/users/JunnYu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | 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/17020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17020",
"html_url": "https://github.com/huggingface/transformers/pull/17020",
"diff_url": "https://github.com/huggingface/transformers/pull/17020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17019/comments | https://api.github.com/repos/huggingface/transformers/issues/17019/events | https://github.com/huggingface/transformers/issues/17019 | 1,221,729,490 | I_kwDOCUB6oc5I0hzS | 17,019 | Missing torch.no_grad in run_xxx_no_trainer.py | {
"login": "JunnYu",
"id": 50394665,
"node_id": "MDQ6VXNlcjUwMzk0NjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/50394665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunnYu",
"html_url": "https://github.com/JunnYu",
"followers_url": "https://api.github.com/users/JunnYu/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 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,651 | 1,653 | 1,653 | CONTRIBUTOR | null | ### System Info
```shell
None
```
### Who can help?
@sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
missi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17018/comments | https://api.github.com/repos/huggingface/transformers/issues/17018/events | https://github.com/huggingface/transformers/pull/17018 | 1,221,696,621 | PR_kwDOCUB6oc43G4z1 | 17,018 | Fix typo in RetriBertTokenizer docstring | {
"login": "mpoemsl",
"id": 37959974,
"node_id": "MDQ6VXNlcjM3OTU5OTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/37959974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpoemsl",
"html_url": "https://github.com/mpoemsl",
"followers_url": "https://api.github.com/users/mpoems... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Fixes typo in RetriBertTokenizer docstring.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#sta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17018",
"html_url": "https://github.com/huggingface/transformers/pull/17018",
"diff_url": "https://github.com/huggingface/transformers/pull/17018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17018.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17017/comments | https://api.github.com/repos/huggingface/transformers/issues/17017/events | https://github.com/huggingface/transformers/pull/17017 | 1,221,695,601 | PR_kwDOCUB6oc43G4m7 | 17,017 | Add missing RetriBERT tokenizer tests | {
"login": "mpoemsl",
"id": 37959974,
"node_id": "MDQ6VXNlcjM3OTU5OTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/37959974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpoemsl",
"html_url": "https://github.com/mpoemsl",
"followers_url": "https://api.github.com/users/mpoems... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @SaulLu, can you give me some guidance on how to proceed?\r\n\r\nThe CI is throwing the following error:\r\n```Make sure the names of these test files match the name of the module or utils they are testing, or adapt the constant `... | 1,651 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Addresses issue [#16627](https://github.com/huggingface/transformers/issues/16627).
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17017",
"html_url": "https://github.com/huggingface/transformers/pull/17017",
"diff_url": "https://github.com/huggingface/transformers/pull/17017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17016/comments | https://api.github.com/repos/huggingface/transformers/issues/17016/events | https://github.com/huggingface/transformers/issues/17016 | 1,221,631,824 | I_kwDOCUB6oc5I0J9Q | 17,016 | Optionally return past key values from generate | {
"login": "dblakely",
"id": 20539855,
"node_id": "MDQ6VXNlcjIwNTM5ODU1",
"avatar_url": "https://avatars.githubusercontent.com/u/20539855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dblakely",
"html_url": "https://github.com/dblakely",
"followers_url": "https://api.github.com/users/dbl... | [] | 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... | [
"Hello, I have the exactly same issue! Could you please share an implementation of yours that return past key value when using generate?",
"> Hello, I have the exactly same issue! Could you please share an implementation of yours that return past key value when using generate?\r\n\r\nHi, what we do is something l... | 1,651 | 1,698 | 1,657 | CONTRIBUTOR | null | ### Feature request
The idea would be to optionally return `past_key_values` inside the generation objects (`SampleEncoderDecoderOutput`, etc). This could be controlled by a flag called `output_past_key_values` that's passed to `generate` and then forwarded to `sample`, etc.
### Motivation
Perhaps this is nich... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17015/comments | https://api.github.com/repos/huggingface/transformers/issues/17015/events | https://github.com/huggingface/transformers/pull/17015 | 1,221,510,515 | PR_kwDOCUB6oc43GYoc | 17,015 | Result of new doc style with fixes | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
This PR shows the changes in Transformers that will be occasioned by the new release of `doc-builder` with some fixes in the style command.
Code quality will fail util the next release of `hf-doc-builder` this PR will be merged just after. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17015/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17015",
"html_url": "https://github.com/huggingface/transformers/pull/17015",
"diff_url": "https://github.com/huggingface/transformers/pull/17015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17015.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17014/comments | https://api.github.com/repos/huggingface/transformers/issues/17014/events | https://github.com/huggingface/transformers/pull/17014 | 1,221,506,834 | PR_kwDOCUB6oc43GX2h | 17,014 | Replace dict/BatchEncoding instance checks by Mapping | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
We have several instance checks in the code base for `(dict, BatchEncoding)` (because `BatchEncoding` is a `UserDict` which is not an instance of `dict`). Those all miss the newer `BatchFeatures` (which is another `UserDict`) as was pointed out in #16983
In Accelerate we use the more gene... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17014",
"html_url": "https://github.com/huggingface/transformers/pull/17014",
"diff_url": "https://github.com/huggingface/transformers/pull/17014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17014.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17013/comments | https://api.github.com/repos/huggingface/transformers/issues/17013/events | https://github.com/huggingface/transformers/pull/17013 | 1,221,469,107 | PR_kwDOCUB6oc43GQHp | 17,013 | Fix code examples for doctests | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the work.\r\n\r\nOther than the `>>>` things, there are 2 failures when I ran it.\r\n\r\nFor audio pipeline:\r\n```\r\nExpected:\r\n [{'label': 'calm', 'score': 0.1315},\r\n {'label': 'neutral', 'score': 0.1307},\r\... | 1,651 | 1,651 | 1,651 | MEMBER | null | This PR fixes some code examples to pass the doctests for the pipeline and `AutoClass` tutorials.
I was unable to pass the audio code examples on my local machine because soundfile is not supported on M1 yet. I was able to run and reproduce the code snippets in Colab though so I think they should also pass on the C... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17013",
"html_url": "https://github.com/huggingface/transformers/pull/17013",
"diff_url": "https://github.com/huggingface/transformers/pull/17013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17013.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17012/comments | https://api.github.com/repos/huggingface/transformers/issues/17012/events | https://github.com/huggingface/transformers/pull/17012 | 1,221,369,942 | PR_kwDOCUB6oc43F7VM | 17,012 | Add a check on config classes docstring checkpoints | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
A follow-up for #16900: add a test to make sure all config classes have at least one valid checkpoint (unless explicitly specified to ignore).
By `valid`, it only means the format is valid, i.e. of the form `[XXX](https://huggingface.co/XXX)` with `XXX` being any string.
A more strict ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17012",
"html_url": "https://github.com/huggingface/transformers/pull/17012",
"diff_url": "https://github.com/huggingface/transformers/pull/17012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17011/comments | https://api.github.com/repos/huggingface/transformers/issues/17011/events | https://github.com/huggingface/transformers/pull/17011 | 1,221,158,986 | PR_kwDOCUB6oc43FLNW | 17,011 | Revert "Updating variable names. (#16445)" | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | This reverts commit 4f3a14e3c235c8b6b8cd2f5bc448a0cffacddf61.
# What does this PR do?
Broke `main`
<!--
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 reflect... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17011",
"html_url": "https://github.com/huggingface/transformers/pull/17011",
"diff_url": "https://github.com/huggingface/transformers/pull/17011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17011.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17010/comments | https://api.github.com/repos/huggingface/transformers/issues/17010/events | https://github.com/huggingface/transformers/issues/17010 | 1,220,982,789 | I_kwDOCUB6oc5IxrgF | 17,010 | [Data2Vec] Incompatibility with the original implementation | {
"login": "arxyzan",
"id": 38841793,
"node_id": "MDQ6VXNlcjM4ODQxNzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/38841793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arxyzan",
"html_url": "https://github.com/arxyzan",
"followers_url": "https://api.github.com/users/arxyza... | [] | closed | false | null | [] | [
"cc @patrickvonplaten @NielsRogge ",
"> Also I noticed that the encoders used for HF Data2Vec are not exactly the same models I mentioned above and there are some minor differences. The reason I'm wondering this, is because I was trying to copy the weights from your models to apply them to my own models in [my ow... | 1,651 | 1,651 | 1,651 | NONE | null | Hello dear HuggingFace team!
According to the original paper, data2vec is not an actual model but more of a self-distilling training strategy. It takes an encoder model as backbone (RoBERTa for text, BEiT for vision, wav2vec for audio as mentioned in the paper) and pre-trains the encoder (student) to predict represent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17009/comments | https://api.github.com/repos/huggingface/transformers/issues/17009/events | https://github.com/huggingface/transformers/issues/17009 | 1,220,982,647 | I_kwDOCUB6oc5Ixrd3 | 17,009 | [Data2Vec] Incompatibility with the original implementation | {
"login": "arxyzan",
"id": 38841793,
"node_id": "MDQ6VXNlcjM4ODQxNzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/38841793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arxyzan",
"html_url": "https://github.com/arxyzan",
"followers_url": "https://api.github.com/users/arxyza... | [] | closed | false | null | [] | [] | 1,651 | 1,651 | 1,651 | NONE | null | Hello dear HuggingFace team!
According to the original paper, data2vec is not an actual model but more of a self-distilling training strategy. It takes an encoder model as backbone (RoBERTa for text, BEiT for vision, wav2vec for audio as mentioned in the paper) and pre-trains the encoder (student) to predict represent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17008/comments | https://api.github.com/repos/huggingface/transformers/issues/17008/events | https://github.com/huggingface/transformers/pull/17008 | 1,220,653,957 | PR_kwDOCUB6oc43DX2k | 17,008 | Add Data2Vec for Vision 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._",
"I used these steps for styling: https://github.com/huggingface/transformers/pull/16255#discussion_r830432539. \r\n\r\nOn my end, when I am running `make style` I get the following:\r\n\r\n```\r\n...\r\n\r\ndoc-builder style src/trans... | 1,651 | 1,651 | 1,651 | MEMBER | null | This PR adds the data2vec [1] model for vision in TensorFlow.
**Todo**:
~* Fix cross-loading.~
~* Add integration test.~
~* Add remaining tests.~
~* Rest of the files remaining for the PR.~
~* TF weight uploading to Hub (to be done by someone from the 🤗 team)~
## Notes
* This PR does not add `...ForS... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17008",
"html_url": "https://github.com/huggingface/transformers/pull/17008",
"diff_url": "https://github.com/huggingface/transformers/pull/17008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17008.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17007/comments | https://api.github.com/repos/huggingface/transformers/issues/17007/events | https://github.com/huggingface/transformers/pull/17007 | 1,220,461,917 | PR_kwDOCUB6oc43CroZ | 17,007 | use scale=1.0 in floats_tensor called in speech model testers | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for fixing all the tests!"
] | 1,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
Fix the failure of `Speech2TextModelTest.test_pt_tf_model_equivalence`. This is caused by
https://github.com/huggingface/transformers/blob/e6f00a11d7fa34215184e3c797e19e6c7debe0fe/tests/speech_to_text/test_modeling_speech_to_text.py#L134-L136
where the `input_features` get a large magn... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17007",
"html_url": "https://github.com/huggingface/transformers/pull/17007",
"diff_url": "https://github.com/huggingface/transformers/pull/17007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17007.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17006/comments | https://api.github.com/repos/huggingface/transformers/issues/17006/events | https://github.com/huggingface/transformers/issues/17006 | 1,220,200,277 | I_kwDOCUB6oc5IusdV | 17,006 | Transfomers Pipline: Batching does not work for Sentence-Pair Text Classification | {
"login": "maximilianreimer",
"id": 6999824,
"node_id": "MDQ6VXNlcjY5OTk4MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6999824?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maximilianreimer",
"html_url": "https://github.com/maximilianreimer",
"followers_url": "https://ap... | [
{
"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 on version `4.18.0` and the following code works with and without GPU\r\n\r\n```\r\nfrom transformers import pipeline\r\nmodel = pipeline(\r\n task=\"text-classification\", \r\n model=\"roberta-large-mnli\", # does also happen for our own fine-tunes roberta models\r\n device=0 # does also happen on CPU\... | 1,651 | 1,651 | 1,651 | NONE | null | ### System Info
```shell
- `transformers` version: 4.6.1
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Using GPU in script?: yes / no (Both)
- Using distributed or parallel set-up in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17006/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17005/comments | https://api.github.com/repos/huggingface/transformers/issues/17005/events | https://github.com/huggingface/transformers/pull/17005 | 1,220,110,496 | PR_kwDOCUB6oc43BbNm | 17,005 | Added option to modify config parameter used by Tesseract in LayoutLMV2/LayoutXLM Processor | {
"login": "kelvinAI",
"id": 10686779,
"node_id": "MDQ6VXNlcjEwNjg2Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/10686779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kelvinAI",
"html_url": "https://github.com/kelvinAI",
"followers_url": "https://api.github.com/users/kel... | [] | 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,651 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Giving user option to set config parameter used by Tesseract when performing feature extraction. Eg. to change psm levels while performing transcription by passing in '--psm 10' to config parameter while invoking image_to_data
It is shown that changing the psm values greatly influences the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17005/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17005",
"html_url": "https://github.com/huggingface/transformers/pull/17005",
"diff_url": "https://github.com/huggingface/transformers/pull/17005.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17005.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17004/comments | https://api.github.com/repos/huggingface/transformers/issues/17004/events | https://github.com/huggingface/transformers/pull/17004 | 1,219,823,201 | PR_kwDOCUB6oc43AYYi | 17,004 | Add translating guide | {
"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._",
"Thanks for the comments @sgugger! \r\n\r\nI moved the `_toctree.yml` tip to a part where it would be more relevant. Please let me know if you would prefer it in another part 🤗",
"LGTM!"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Add a translation guide so users have all the information they need to (1) contribute to a language that's already being translated, or (2) start their own issue for translating into a new language.
# Next step
Create a Translation Template for new issues (for example, [this template for Po... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17004",
"html_url": "https://github.com/huggingface/transformers/pull/17004",
"diff_url": "https://github.com/huggingface/transformers/pull/17004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17004.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17003/comments | https://api.github.com/repos/huggingface/transformers/issues/17003/events | https://github.com/huggingface/transformers/issues/17003 | 1,219,735,615 | I_kwDOCUB6oc5Is7A_ | 17,003 | BertEmbeddings import missing for Torch in __init__ file | {
"login": "seanbenhur",
"id": 43300345,
"node_id": "MDQ6VXNlcjQzMzAwMzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/43300345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seanbenhur",
"html_url": "https://github.com/seanbenhur",
"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 | [] | [
"Feel free to open a PR to fix this :)",
"I think in that case it's the TF and Jax versions which shouldn't add the embeddings to the main init. Those are not meant to be accessed from the main init, but to be accessed from their respective modules:\r\n\r\n```py\r\n>>> from transformers.models.bert.modeling_bert ... | 1,651 | 1,651 | 1,651 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17002/comments | https://api.github.com/repos/huggingface/transformers/issues/17002/events | https://github.com/huggingface/transformers/issues/17002 | 1,219,496,112 | I_kwDOCUB6oc5IsAiw | 17,002 | HuggingFace/BigBird RuntimeError: Internal: src/sentencepiece_processor.cc | {
"login": "jtfields",
"id": 45608735,
"node_id": "MDQ6VXNlcjQ1NjA4NzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/45608735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jtfields",
"html_url": "https://github.com/jtfields",
"followers_url": "https://api.github.com/users/jtf... | [
{
"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'm not too sure what's the root cause of this, but I've created a [google colab](https://colab.research.google.com/drive/1x12Bc6aDU9sLOCI99bGKXh9zUQzKDcaR?usp=sharing) reproducing the bug - it seems like the vocab file path is not being passed in properly when it's not in the VOCAB_FILE_NAME mapping as well as a ... | 1,651 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
I'm able run the HuggingFace/BigBird code for a binary classification on a proprietary essay dataset in Google Colab with no errors. I wanted to access more powerful GPU's and converted the code from .ipynb to .py to run on Marquette's supercomputer (called Raj). Raj does not allow me to acc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17001/comments | https://api.github.com/repos/huggingface/transformers/issues/17001/events | https://github.com/huggingface/transformers/issues/17001 | 1,219,413,498 | I_kwDOCUB6oc5IrsX6 | 17,001 | Text Generation for decoder | {
"login": "XinhaoMei",
"id": 58569453,
"node_id": "MDQ6VXNlcjU4NTY5NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/58569453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XinhaoMei",
"html_url": "https://github.com/XinhaoMei",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@patrickvonplaten seems like the best person to answer your question!",
"Hey @XinhaoMei \r\n\r\n> However, when doing inference such as doing greedy search and beam search, the encoder outouts can't be passed to the decoder if I want use the generate function or greedy_search function.\r\n\r\nI think they can be... | 1,651 | 1,696 | 1,651 | NONE | null | ### Feature request
BERT and most Transformer models can be used as the decoder with the cross-attention layer randomly intialized if we set is_decoder True. We could use these model as decoder in an encoder-decoder framework while the encoder is our own defined model, and use the model for multi-modal text generation... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17000/comments | https://api.github.com/repos/huggingface/transformers/issues/17000/events | https://github.com/huggingface/transformers/issues/17000 | 1,219,162,653 | I_kwDOCUB6oc5IqvId | 17,000 | Padding vs truncation logging mixup | {
"login": "mrtoronto",
"id": 34576341,
"node_id": "MDQ6VXNlcjM0NTc2MzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/34576341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrtoronto",
"html_url": "https://github.com/mrtoronto",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Correct! Would you like to open a PR to patch it?",
"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.co... | 1,651 | 1,654 | 1,654 | NONE | null | https://github.com/huggingface/transformers/blob/31ec2cb2badfbdd4c1ac9c6c9b8a74e974984206/src/transformers/tokenization_utils_base.py#L1470
Looks like this error should probably say truncation side instead of padding side. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16999/comments | https://api.github.com/repos/huggingface/transformers/issues/16999/events | https://github.com/huggingface/transformers/pull/16999 | 1,219,120,747 | PR_kwDOCUB6oc4294Z5 | 16,999 | Refactor all require decorators to use skipUnless when possible | {
"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"
},
{
"id": 2139563322,
"node_id": "MDU6TGFiZWwyMTM5N... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you 🚀 for this PR, and also for pinning me so that I can learn!"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
I was refactoring the Accelerate tests today and I noticed we use `if .. else..` as a conditional for skipping tests based on imports. Unittest has `skipUnless` and `skipIf`, letting us simplify those decorators to be one line.
E.g.:
```python
if not _run_slow_tests:
retu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16999",
"html_url": "https://github.com/huggingface/transformers/pull/16999",
"diff_url": "https://github.com/huggingface/transformers/pull/16999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16999.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16998/comments | https://api.github.com/repos/huggingface/transformers/issues/16998/events | https://github.com/huggingface/transformers/issues/16998 | 1,219,113,876 | I_kwDOCUB6oc5IqjOU | 16,998 | Question on model_max_length (DeBERTa-V3) | {
"login": "ioana-blue",
"id": 17202292,
"node_id": "MDQ6VXNlcjE3MjAyMjky",
"avatar_url": "https://avatars.githubusercontent.com/u/17202292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ioana-blue",
"html_url": "https://github.com/ioana-blue",
"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 | [] | [
"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,651 | 1,679 | 1,660 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.8.3
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.5.1 (False)
- Tensorflow version (GPU?): 2.4.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16998/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16997/comments | https://api.github.com/repos/huggingface/transformers/issues/16997/events | https://github.com/huggingface/transformers/pull/16997 | 1,219,081,387 | PR_kwDOCUB6oc429v-A | 16,997 | Update README to latest release | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
The main README (and its variants) all have multiple links to released models that point to the main doc and not the stable doc. This is because we did the last two releases on branches different from the main one, so the README cleaned by our tools was not set on the main branch.
This PR ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16997",
"html_url": "https://github.com/huggingface/transformers/pull/16997",
"diff_url": "https://github.com/huggingface/transformers/pull/16997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16996/comments | https://api.github.com/repos/huggingface/transformers/issues/16996/events | https://github.com/huggingface/transformers/pull/16996 | 1,219,062,517 | PR_kwDOCUB6oc429r8E | 16,996 | Fix savedir for by epoch in translation example | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Fixes up the `no_trainer` translation example to properly save the `by_epoch` to the right directory (before it saved to step, causing a slow test failure) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16996",
"html_url": "https://github.com/huggingface/transformers/pull/16996",
"diff_url": "https://github.com/huggingface/transformers/pull/16996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16996.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16995/comments | https://api.github.com/repos/huggingface/transformers/issues/16995/events | https://github.com/huggingface/transformers/pull/16995 | 1,219,002,070 | PR_kwDOCUB6oc429fUb | 16,995 | [FlaxBert] Add ForCausalLM | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Looks good to me - @sanchit-gandhi could you check though which models don't pass with `1e-5` and ideally why?\r\n> \r\n> Overall `4e-2` is fine for me though cc @ydshieh what do you think?\r\n\r\nKeep `1e-5` is much better, becaus... | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Adds cross-attention blocks to the following module classes:
- FlaxBertModule
- FlaxRobertaModule (in part through copying FlaxBertModule)
- FlaxBigBirdModule (in part through copying FlaxBertModule)
- FlaxElectraModule (in part through copying FlaxBertModule)
Adds the following ForC... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16995",
"html_url": "https://github.com/huggingface/transformers/pull/16995",
"diff_url": "https://github.com/huggingface/transformers/pull/16995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16995.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16994/comments | https://api.github.com/repos/huggingface/transformers/issues/16994/events | https://github.com/huggingface/transformers/pull/16994 | 1,218,958,840 | PR_kwDOCUB6oc429WdF | 16,994 | [WIP] data2vec jax | {
"login": "BirgerMoell",
"id": 1704131,
"node_id": "MDQ6VXNlcjE3MDQxMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BirgerMoell",
"html_url": "https://github.com/BirgerMoell",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @BirgerMoell, thanks for jumping on this so quickly! Looks like a solid start on getting the new Data2Vec2Audio feature extractor written in JAX. Feel free to ask me any questions, more than happy to lend a hand! :)",
"This iss... | 1,651 | 1,655 | 1,655 | NONE | null | # What does this PR do?
This adds data2vec flax model. Work in progress, just an initial draft.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16994/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16994",
"html_url": "https://github.com/huggingface/transformers/pull/16994",
"diff_url": "https://github.com/huggingface/transformers/pull/16994.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16994.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16993/comments | https://api.github.com/repos/huggingface/transformers/issues/16993/events | https://github.com/huggingface/transformers/pull/16993 | 1,218,873,806 | PR_kwDOCUB6oc429D-c | 16,993 | Rename to reflect framework pattern AutoModelXxx -> TFAutoModelXxx | {
"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._",
"Thank you for the fix, @amyeroberts 🚀 ",
"@amyeroberts You can now merge the PR (`Squash and merge` button)"
] | 1,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
Fixes a small bug to make sure a TFAutoModel class keeps the TF naming pattern when being updated with `auto_class_update`.
## 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 guid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16993/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16993/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16993",
"html_url": "https://github.com/huggingface/transformers/pull/16993",
"diff_url": "https://github.com/huggingface/transformers/pull/16993.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16993.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16992/comments | https://api.github.com/repos/huggingface/transformers/issues/16992/events | https://github.com/huggingface/transformers/issues/16992 | 1,218,822,442 | I_kwDOCUB6oc5IpcEq | 16,992 | Undocumented distributed inference behaviour for `run_summarization.py` | {
"login": "alexcoca",
"id": 30216068,
"node_id": "MDQ6VXNlcjMwMjE2MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/30216068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcoca",
"html_url": "https://github.com/alexcoca",
"followers_url": "https://api.github.com/users/ale... | [
{
"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 | [] | [
"I'm not sure where the bug is. It sounds like you have a question, which should be asked on the [forums](https://discuss.huggingface.co/).\r\n\r\n`Trainer.predict` will return predictions in the same order as the underlying dataset, regardless of the setup you're using to get your predictions. I don't feel it requ... | 1,651 | 1,652 | null | NONE | null | ### System Info
```shell
Fails with error
Traceback (most recent call last):
File "/scratches/neuron/anaconda3/envs/T5DST-SGD/bin/transformers-cli", line 5, in <module>
from transformers.commands.transformers_cli import main
File "/scratches/neuron/anaconda3/envs/T5DST-SGD/lib/python3.8/site-package... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16992/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16991/comments | https://api.github.com/repos/huggingface/transformers/issues/16991/events | https://github.com/huggingface/transformers/issues/16991 | 1,218,791,428 | I_kwDOCUB6oc5IpUgE | 16,991 | The current equivalent of transformers.models.bert.modeling_bert.gelu | {
"login": "Pzoom522",
"id": 22963490,
"node_id": "MDQ6VXNlcjIyOTYzNDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/22963490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pzoom522",
"html_url": "https://github.com/Pzoom522",
"followers_url": "https://api.github.com/users/Pzo... | [] | closed | false | null | [] | [
"All of those have been refactored in a `ACT2FN` dictionary which is used across the codebase. You can import it as such:\r\n\r\n```py\r\nfrom transformers.activations import ACT2FN\r\n\r\ngelu_function = ACT2FN['gelu']\r\n```\r\n\r\nHope that helps!",
"Many thx. Closed : )"
] | 1,651 | 1,651 | 1,651 | NONE | null | ### System Info
```shell
- `transformers` version: 4.5.0
- Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.11.0+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
```
### Information
- [ ] The official example scripts
- [X] My own ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16990/comments | https://api.github.com/repos/huggingface/transformers/issues/16990/events | https://github.com/huggingface/transformers/pull/16990 | 1,218,712,934 | PR_kwDOCUB6oc428heR | 16,990 | [T5 Tokenizer] Model has no fixed position ids - there is no hardcode… | {
"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._",
"> Oh, that's a serious change if a user forgot to set a `max_length`. I understand it fixes a bug, but still would like @LysandreJik 's take on it as well. Thanks for the PR in any case!\r\n\r\nAgree! We should at least put some :exc... | 1,651 | 1,651 | 1,651 | MEMBER | null | …d max length
# 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, plea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16990",
"html_url": "https://github.com/huggingface/transformers/pull/16990",
"diff_url": "https://github.com/huggingface/transformers/pull/16990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16990.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16989/comments | https://api.github.com/repos/huggingface/transformers/issues/16989/events | https://github.com/huggingface/transformers/pull/16989 | 1,218,673,190 | PR_kwDOCUB6oc428ZCy | 16,989 | set eos_token_id to None to generate until max length | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
Update `check_encoder_decoder_model_generate` to generate until max length.
Otherwise, this check
```python
self.assertEqual(generated_output.shape, (input_ids.shape[0],) + (decoder_config.max_length,))
```
might fail.
### Remark
In `generate()`, we have
https://github.com/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16989",
"html_url": "https://github.com/huggingface/transformers/pull/16989",
"diff_url": "https://github.com/huggingface/transformers/pull/16989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16989.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16988/comments | https://api.github.com/repos/huggingface/transformers/issues/16988/events | https://github.com/huggingface/transformers/pull/16988 | 1,218,565,444 | PR_kwDOCUB6oc428Bqm | 16,988 | Add Tensorflow Swin model | {
"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._",
"@LysandreJik @Rocketknight1 @NielsRogge I added you as reviewers to cover the transformers, vision and tensorflow aspects of this PR. Apologies if you're not the right person to review this - and please feel free to remove yourselves... | 1,651 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Adds a tensorflow implementation of the Swin architecture and associated tests.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16988/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16988",
"html_url": "https://github.com/huggingface/transformers/pull/16988",
"diff_url": "https://github.com/huggingface/transformers/pull/16988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16988.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16987/comments | https://api.github.com/repos/huggingface/transformers/issues/16987/events | https://github.com/huggingface/transformers/issues/16987 | 1,218,548,010 | I_kwDOCUB6oc5IoZEq | 16,987 | Memory calculator for transformer models | {
"login": "marksverdhei",
"id": 46672778,
"node_id": "MDQ6VXNlcjQ2NjcyNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/46672778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marksverdhei",
"html_url": "https://github.com/marksverdhei",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Reminds me of your current work on accelerate @muellerzr!",
"On my to do (asap) is to integrate that work from Accelerate. Should be in the next few weeks here. Basically how that one works is we retry the training loop reducing the batch size until we escape the CUDA OOM (this was request *many* times in our in... | 1,651 | 1,696 | 1,654 | NONE | null | ### Feature request
This feature request is quite high level.
The feature is some tool, function, object, etc. that takes in information such as model config, trainer arguments, and max sequence length and calculates the expected memory usage. It could for instance be used to produce a warning if expected memory exc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16987/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16987/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16986/comments | https://api.github.com/repos/huggingface/transformers/issues/16986/events | https://github.com/huggingface/transformers/issues/16986 | 1,218,514,372 | I_kwDOCUB6oc5IoQ3E | 16,986 | Warning tells you you will get indexing errors in T5 for going beyond max length | {
"login": "marksverdhei",
"id": 46672778,
"node_id": "MDQ6VXNlcjQ2NjcyNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/46672778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marksverdhei",
"html_url": "https://github.com/marksverdhei",
"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 | [] | [
"Thanks a lot for the issue @marksverdhei . You're right T5 has no fixed max length - so this warning is confusing. \r\n\r\nThe reason why lots of people associate T5 with a max length of 512 was that it was pretrained on a max length of 512, but is not limited to this length! \r\n\r\nIt has shown to generalize wel... | 1,651 | 1,682 | 1,651 | NONE | null | ### System Info
```shell
- `transformers` version: 4.16.2
- Python version: 3.8.12
```
### Who can help?
@patrickvonplaten @saul
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16986/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/16986/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16985/comments | https://api.github.com/repos/huggingface/transformers/issues/16985/events | https://github.com/huggingface/transformers/issues/16985 | 1,218,459,941 | I_kwDOCUB6oc5IoDkl | 16,985 | Beginning word ids | {
"login": "oorojoo",
"id": 93263530,
"node_id": "U_kgDOBY8Wqg",
"avatar_url": "https://avatars.githubusercontent.com/u/93263530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oorojoo",
"html_url": "https://github.com/oorojoo",
"followers_url": "https://api.github.com/users/oorojoo/follow... | [] | 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,651 | 1,654 | 1,654 | NONE | null | tokenizer = AutoTokenizer.from_pretrained("roberta-base")
inputs = tokenizer('in an ideal situation, it works')
print(inputs.word_ids())
Returns
[None, 0, 1, 2, 3, 3, 3, 4, 5, 6, None]
Are there any methods to identify which token is the beginning position for a word
For example:
Returns
[None, 1, 1, 1, 1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16985/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16984/comments | https://api.github.com/repos/huggingface/transformers/issues/16984/events | https://github.com/huggingface/transformers/issues/16984 | 1,218,342,659 | I_kwDOCUB6oc5Inm8D | 16,984 | Getting a fixed size embedding from the last hidden state. | {
"login": "PrithivirajDamodaran",
"id": 7071019,
"node_id": "MDQ6VXNlcjcwNzEwMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7071019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PrithivirajDamodaran",
"html_url": "https://github.com/PrithivirajDamodaran",
"followers_url":... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nFirst of all, please use the forum for these kind of questions, we'd like to keep Github issues for bugs/feature requests.\r\n\r\nSecond, a last hidden state is typically of shape (batch_size, seq_len, hidden_size) for these kind of models, as they are Transformer-based. You feed a sequence of patches t... | 1,651 | 1,657 | 1,651 | NONE | null | I am trying to play with the bare vision model's last hidden state (like ViT, BEiT). How can I get a fixed size representation out of the last_hidden_state which is of shape (channels, height, width) say of 1D? Should I simply flatten it?
Please advice | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16984/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16983/comments | https://api.github.com/repos/huggingface/transformers/issues/16983/events | https://github.com/huggingface/transformers/issues/16983 | 1,218,285,505 | I_kwDOCUB6oc5InY_B | 16,983 | how huggingface process uneven input tensors | {
"login": "Slyne",
"id": 6286804,
"node_id": "MDQ6VXNlcjYyODY4MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6286804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Slyne",
"html_url": "https://github.com/Slyne",
"followers_url": "https://api.github.com/users/Slyne/follower... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"Please use the [forum](https://discuss.huggingface.co/) for questions like this as we keep the issues for bugs and feature requests only. In this instance, I don't think the `Trainer` will help you as you want a very specific data processing, so you should use `Accelerate`. The dispatch feature it offers is done e... | 1,651 | 1,651 | 1,651 | NONE | null | ### Feature request
For IterableDataset, it seems there's no way to handle the uneven input tensors in trainer.py. (Please correct me if I misunderstant this).
Pytorch document suggests to use join: https://pytorch.org/tutorials/advanced/generic_join.html#what-is-join
Secondly, the dataloader for IterableDatas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16982/comments | https://api.github.com/repos/huggingface/transformers/issues/16982/events | https://github.com/huggingface/transformers/issues/16982 | 1,218,264,229 | I_kwDOCUB6oc5InTyl | 16,982 | Exporting DeBerta using custom onnx configuration | {
"login": "RaiAmanRai",
"id": 102528851,
"node_id": "U_kgDOBhx3Uw",
"avatar_url": "https://avatars.githubusercontent.com/u/102528851?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RaiAmanRai",
"html_url": "https://github.com/RaiAmanRai",
"followers_url": "https://api.github.com/users/Rai... | [] | closed | false | null | [] | [
"cc @lewtun @michaelbenayoun ",
"Hi @RaiAmanRai thanks for reporting this issue! Would you be able to share a reproducible code snippet that also shows the type of inputs you're feeding to the exported model (e.g. with ONNX Runtime)?",
"Hi @lewtun , thanks for stopping by. The above mentioned code snippet was u... | 1,651 | 1,668 | 1,656 | NONE | null | ### Feature request
I am trying to export a DeBerta model, but since the current version of transformers[onnx] doesn't support DeBerta architecture, I am trying to do it by implementing a custom onnx configuration. Although, I am able to provide the required inputs, I am not really getting the required output shape ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16982/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16981/comments | https://api.github.com/repos/huggingface/transformers/issues/16981/events | https://github.com/huggingface/transformers/pull/16981 | 1,218,224,208 | PR_kwDOCUB6oc4265Fj | 16,981 | Skip RoFormer ONNX test if rjieba not installed | {
"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._",
"So this test is then currently just skipped on our ONNX tests? \r\n\r\nShould we maybe not better add `rjieba` to the test package to the test RoFormer (I couldn't find it in the `setup.py` or in the Docker file) cc @LysandreJik @sgu... | 1,651 | 1,651 | 1,651 | MEMBER | null | # What does this PR do?
This PR adds the `@require_rjieba` decorator to the slow ONNX tests to deal with the following error in our daily CI runs:
```
(line 164) ImportError: You need to install rjieba to use RoFormerTokenizer. See https://pypi.org/project/rjieba/ for installation.
```
~~I wasn't sure if `r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16981",
"html_url": "https://github.com/huggingface/transformers/pull/16981",
"diff_url": "https://github.com/huggingface/transformers/pull/16981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16980/comments | https://api.github.com/repos/huggingface/transformers/issues/16980/events | https://github.com/huggingface/transformers/pull/16980 | 1,218,212,662 | PR_kwDOCUB6oc4262jd | 16,980 | Remove masked image modeling from BEIT ONNX export | {
"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._",
"Hi,\r\n\r\nThere's a reason I haven't added BEiT to the auto classes. It's because it can't be used with the run_mim.py script, because BEiT handles masked image modeling differently compared to the other ones (which do it similar to... | 1,651 | 1,651 | 1,651 | MEMBER | null | # What does this PR do?
This PR removes masked image modeling from the list of supported features in the ONNX exporter. As explained by @NielsRogge, BEiT cannot be loaded with the `AutoModelForMaskedImageModeling` class due to:
> Well yeah that's because BEiT does masked image modeling by predicting visual tokens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16980",
"html_url": "https://github.com/huggingface/transformers/pull/16980",
"diff_url": "https://github.com/huggingface/transformers/pull/16980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16980.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16979/comments | https://api.github.com/repos/huggingface/transformers/issues/16979/events | https://github.com/huggingface/transformers/pull/16979 | 1,218,197,827 | PR_kwDOCUB6oc426zTp | 16,979 | Added translation of installation.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._",
"I'm still working on translating the remaining files, although there's already some work done on three files.",
"Maybe ~@gante~ @omarespejel ? :smile: ",
"Obrigado @rzimmerdev! @sgugger, LGTM. Ready to merge and start the Portug... | 1,651 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Creates folder pt in docs/source for translating documentation to Portuguese
Currently, only the installation.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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16979",
"html_url": "https://github.com/huggingface/transformers/pull/16979",
"diff_url": "https://github.com/huggingface/transformers/pull/16979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16979.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16978/comments | https://api.github.com/repos/huggingface/transformers/issues/16978/events | https://github.com/huggingface/transformers/issues/16978 | 1,218,146,467 | I_kwDOCUB6oc5Im3Cj | 16,978 | Data collator using in Parallel training & Disable to use DistributedDataParallel | {
"login": "CaoYiqingT",
"id": 45160643,
"node_id": "MDQ6VXNlcjQ1MTYwNjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/45160643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaoYiqingT",
"html_url": "https://github.com/CaoYiqingT",
"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 | [] | [
"Setting nproc_per_node=2 enables the multi-gpu training by ddp for the first 500 steps. But right after the 500th step, the same problem occurs as follows:\r\nTraceback (most recent call last):\r\n File \"base-Trainer.py\", line 67, in <module>\r\n main()\r\n File \"base-Trainer.py\", line 62, in main\r\n ... | 1,651 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.12.0.dev0
- Platform: Linux-4.15.0-45-generic-x86_64-with-debian-stretch-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16977/comments | https://api.github.com/repos/huggingface/transformers/issues/16977/events | https://github.com/huggingface/transformers/pull/16977 | 1,218,082,176 | PR_kwDOCUB6oc426alq | 16,977 | Update README_zh-hans.md | {
"login": "tarzanwill",
"id": 15139679,
"node_id": "MDQ6VXNlcjE1MTM5Njc5",
"avatar_url": "https://avatars.githubusercontent.com/u/15139679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tarzanwill",
"html_url": "https://github.com/tarzanwill",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16977/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16977",
"html_url": "https://github.com/huggingface/transformers/pull/16977",
"diff_url": "https://github.com/huggingface/transformers/pull/16977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16977.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16976/comments | https://api.github.com/repos/huggingface/transformers/issues/16976/events | https://github.com/huggingface/transformers/issues/16976 | 1,217,969,574 | I_kwDOCUB6oc5ImL2m | 16,976 | Bug: Finetuning large models resume checkpoint error | {
"login": "lorr1",
"id": 57237365,
"node_id": "MDQ6VXNlcjU3MjM3MzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/57237365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lorr1",
"html_url": "https://github.com/lorr1",
"followers_url": "https://api.github.com/users/lorr1/follow... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"Indeed, I saw that yesterday and am working on a fix.",
"Should be fixed by the PR mentioned above :-)",
"Thanks!!"
] | 1,651 | 1,651 | 1,651 | NONE | null | When finetuning a large model (e.g. Eleuther 6B), you shard the checkpoints upon saving [here](https://github.com/huggingface/transformers/blob/c79bbc3ba54a81dab2eac13d89f264ed64cb2460/src/transformers/modeling_utils.py#L193). However, upon resuming the checkpoint (and loading the best checkpoint after training), you c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16976/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16975/comments | https://api.github.com/repos/huggingface/transformers/issues/16975/events | https://github.com/huggingface/transformers/issues/16975 | 1,217,893,178 | I_kwDOCUB6oc5Il5M6 | 16,975 | Trainer: TypeError: an integer is required (got type NoneType) | {
"login": "loretoparisi",
"id": 163333,
"node_id": "MDQ6VXNlcjE2MzMzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/163333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loretoparisi",
"html_url": "https://github.com/loretoparisi",
"followers_url": "https://api.github.com/u... | [
{
"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 | [] | [
"Could be this issue related to this **[SF](https://stackoverflow.com/questions/70699247/typeerror-an-integer-is-required-got-type-nonetype)** answer?\r\n\r\nThe dataset looks like\r\n```\r\nDataset({\r\n features: ['label', 'text', 'input_ids', 'token_type_ids', 'attention_mask'],\r\n num_rows: 8256315\r\n})... | 1,651 | 1,651 | 1,651 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16975/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16974/comments | https://api.github.com/repos/huggingface/transformers/issues/16974/events | https://github.com/huggingface/transformers/pull/16974 | 1,217,840,509 | PR_kwDOCUB6oc425m7W | 16,974 | TF: XLA bad words logits processor and list of processors | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Rocketknight1 @patrickvonplaten I'm stuck on the ngram logits processor, so I'd like to request your suggestions regarding what to try out next :D The bad words logits processor is ready and XLA-compatible.\r\n\r\nContext:\r\n1. Wit... | 1,651 | 1,651 | 1,651 | MEMBER | null | # What does this PR do?
This PR converts to XLA-compatible the `bad_words` logits processor. As per the discussion below, I was unable to convert the `ngrams` one -- added an exception and a TODO.
Also makes a change to the list of processors -- XLA raised issues when the processors had different arguments, so I ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16974",
"html_url": "https://github.com/huggingface/transformers/pull/16974",
"diff_url": "https://github.com/huggingface/transformers/pull/16974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16974.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16973/comments | https://api.github.com/repos/huggingface/transformers/issues/16973/events | https://github.com/huggingface/transformers/pull/16973 | 1,217,793,435 | PR_kwDOCUB6oc425czv | 16,973 | Update check_models_are_tested to deal with Windows path | {
"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,651 | 1,651 | 1,651 | COLLABORATOR | null | # What does this PR do?
`TEST_FILES_WITH_NO_COMMON_TESTS` contains forward slash like `mt5/test_modeling_flax_mt5.py`.
The condition `if test_file in TEST_FILES_WITH_NO_COMMON_TESTS:` in `check_models_are_tested` would give failures to fix on Windows, like
```
camembert\test_modeling_camembert.py should defin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16973",
"html_url": "https://github.com/huggingface/transformers/pull/16973",
"diff_url": "https://github.com/huggingface/transformers/pull/16973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16972/comments | https://api.github.com/repos/huggingface/transformers/issues/16972/events | https://github.com/huggingface/transformers/issues/16972 | 1,217,738,179 | I_kwDOCUB6oc5IlTXD | 16,972 | Issue in reformer: Reformer doesn't depend on its key feature -- `LSHSelfAttention` | {
"login": "leo-liuzy",
"id": 11146950,
"node_id": "MDQ6VXNlcjExMTQ2OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/11146950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-liuzy",
"html_url": "https://github.com/leo-liuzy",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @leo-liuzy,\r\n\r\nSorry what exactly is the issue here with Reformer? Is the training not working?",
"Hi @patrickvonplaten , I am evaluating released model trained on crime and punishment (with examples randomly grabbed from crime and punishment). I found if I remove LSHSelfAttention output from producing p... | 1,651 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.0.dev0
- Platform: Linux-5.4.0-81-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16972/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.