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/22994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22994/comments | https://api.github.com/repos/huggingface/transformers/issues/22994/events | https://github.com/huggingface/transformers/issues/22994 | 1,683,599,806 | I_kwDOCUB6oc5kWbG- | 22,994 | RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation | {
"login": "oroojlooy",
"id": 20797260,
"node_id": "MDQ6VXNlcjIwNzk3MjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/20797260?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oroojlooy",
"html_url": "https://github.com/oroojlooy",
"followers_url": "https://api.github.com/users/... | [
{
"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 cannot transfer the issue to the `trl` repo but it should be opened there since the bug is in their example.",
"@sgugger I already have posted it there, and it seems that the issue is not on TRL side. ",
"`torch.autograd.set_detect_anomaly(True)` reports that the root of issue might be in line 201 in `site-p... | 1,682 | 1,704 | null | NONE | null | ### System Info
transformers 4.28.1
torch 2.0.0
torchaudio 2.0.0
torchvision 0.15.0
huggingface-hub 0.13.4
trl 0.4.2.dev0
### Who can help?
Probably people from accelerate, trainer, a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22994/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22993/comments | https://api.github.com/repos/huggingface/transformers/issues/22993/events | https://github.com/huggingface/transformers/issues/22993 | 1,683,582,306 | I_kwDOCUB6oc5kWW1i | 22,993 | Using data collator in `Pipeline` | {
"login": "neilkimn",
"id": 37108154,
"node_id": "MDQ6VXNlcjM3MTA4MTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/37108154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neilkimn",
"html_url": "https://github.com/neilkimn",
"followers_url": "https://api.github.com/users/nei... | [] | closed | false | null | [] | [
"I'm not too sure where the question is here. Each `Pipeline` has the pre/post-processing logic they need implemented in their `preprocess` and `postprocess` methods."
] | 1,682 | 1,683 | 1,683 | NONE | null | Hello,
I am in the process of moving a bunch of pre- and post-processing logic to use the [Pipeline](https://huggingface.co/docs/transformers/main_classes/pipelines). In my original code I would use a data collator in my `Trainer` constructor to take care of padding inputs among other things. The `Trainer` then takes ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22992/comments | https://api.github.com/repos/huggingface/transformers/issues/22992/events | https://github.com/huggingface/transformers/issues/22992 | 1,683,535,863 | I_kwDOCUB6oc5kWLf3 | 22,992 | Weird behavior for initial tokens in BERT Base Cased | {
"login": "mawilson1234",
"id": 5022150,
"node_id": "MDQ6VXNlcjUwMjIxNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5022150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mawilson1234",
"html_url": "https://github.com/mawilson1234",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting, I believe that this is somewhat expected, as the `mask-fill` pipeline does not exactly use just `argmax`. There is a bit more process involved in how to obtain the correct output. This is normal! 🤗 ",
"I understand why the `fill-mask` output differs from the output when using `argmax`... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
transformers version: 4.27.4
python version: 3.8.8
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22991/comments | https://api.github.com/repos/huggingface/transformers/issues/22991/events | https://github.com/huggingface/transformers/pull/22991 | 1,683,318,502 | PR_kwDOCUB6oc5PHH8G | 22,991 | 🌐 [i18n-KO] Translated `model_sharing.mdx` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> In general, additional proofreading is necessary. It is recommended to carefully review the machine-translations and revise any sections that appear unclear or inaccurate.\r\n\r\nThank you for the advice. I will proceed with more d... | 1,682 | 1,691 | 1,682 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `model_sharing.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22991/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/22991/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22991",
"html_url": "https://github.com/huggingface/transformers/pull/22991",
"diff_url": "https://github.com/huggingface/transformers/pull/22991.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22991.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22990/comments | https://api.github.com/repos/huggingface/transformers/issues/22990/events | https://github.com/huggingface/transformers/pull/22990 | 1,683,194,772 | PR_kwDOCUB6oc5PGtKc | 22,990 | Fix None value when adding info to auto_map | {
"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._",
"There are some, it's juss the case when there is only a fast tokenizer that is custom that is not tested."
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
This should fix the issue encountered in #22983: before testing if `--` in in a value of the auto map, we need to make sure it's not `None`.
Fixes #22983 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22990",
"html_url": "https://github.com/huggingface/transformers/pull/22990",
"diff_url": "https://github.com/huggingface/transformers/pull/22990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22990.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22989/comments | https://api.github.com/repos/huggingface/transformers/issues/22989/events | https://github.com/huggingface/transformers/pull/22989 | 1,683,188,209 | PR_kwDOCUB6oc5PGrvd | 22,989 | fix bug auto loading llamatokenizer | {
"login": "vxfla",
"id": 43680053,
"node_id": "MDQ6VXNlcjQzNjgwMDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/43680053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vxfla",
"html_url": "https://github.com/vxfla",
"followers_url": "https://api.github.com/users/vxfla/follow... | [] | closed | false | null | [] | [
"Lol no, but nice try. Maybe decapoda-research/llama-7b-hf should merge one of the multiple PRs they received that fixes the tokenizer on their side.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22989). All of your documentation changes will be reflected on that end... | 1,682 | 1,685 | 1,685 | NONE | null | # What does this PR do?
Huggingface decapoda-research/llama-7b-hf config decide the name of tokenizer LLaMATokenizer, while in transformers it is LlamaTokenizer.
Unify the name as LLaMATokenizer, so that we can use AutoTokenizer to load llama tokenizer.
<!--
Congratulations! You've made it this far! You're not quit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22989",
"html_url": "https://github.com/huggingface/transformers/pull/22989",
"diff_url": "https://github.com/huggingface/transformers/pull/22989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22989.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22988/comments | https://api.github.com/repos/huggingface/transformers/issues/22988/events | https://github.com/huggingface/transformers/pull/22988 | 1,683,108,239 | PR_kwDOCUB6oc5PGaY2 | 22,988 | [`DocTest`] Fix correct checkpoint | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Related failing test: https://github.com/huggingface/transformers/actions/runs/4793034296/jobs/8525118203
Sets the correct (and lighter) checkpoint name in the docstring
cc @amyeroberts @ArthurZucker | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22988/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/22988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22988",
"html_url": "https://github.com/huggingface/transformers/pull/22988",
"diff_url": "https://github.com/huggingface/transformers/pull/22988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22988.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22987/comments | https://api.github.com/repos/huggingface/transformers/issues/22987/events | https://github.com/huggingface/transformers/pull/22987 | 1,682,999,394 | PR_kwDOCUB6oc5PGC2a | 22,987 | [Doctests] Refactor doctests + add CI | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Local tests run, I now have this strange error: \r\n```python \r\n_____ ERROR collecting src/transformers/models/whisper/modeling_whisper.py _____\r\nimport file mismatch:\r\nimported module 'transformers.models.whisper.modeling_whis... | 1,682 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
Wow! The fix is crazy simple but I broke my head finding the correct way to include this in the cleanest way.
We are keeping `pytest --doctest-module` 🥳 Basically it just came down to:
- change the `doctest.DocTestParser()`'s default regex compilation
- rewrite `_pytest.doctest` utilitie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22987/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22987",
"html_url": "https://github.com/huggingface/transformers/pull/22987",
"diff_url": "https://github.com/huggingface/transformers/pull/22987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22987.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22986/comments | https://api.github.com/repos/huggingface/transformers/issues/22986/events | https://github.com/huggingface/transformers/issues/22986 | 1,682,953,073 | I_kwDOCUB6oc5kT9Nx | 22,986 | Failed to import due to invalid escape sequence '\d' (modeling_utils.py, line 1825) | {
"login": "helpmefindaname",
"id": 26192135,
"node_id": "MDQ6VXNlcjI2MTkyMTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/26192135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/helpmefindaname",
"html_url": "https://github.com/helpmefindaname",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Solved in https://github.com/huggingface/transformers/pull/22936"
] | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.10
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22986/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22986/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22985/comments | https://api.github.com/repos/huggingface/transformers/issues/22985/events | https://github.com/huggingface/transformers/issues/22985 | 1,682,917,936 | I_kwDOCUB6oc5kT0ow | 22,985 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "FEXPLORE",
"id": 131221716,
"node_id": "U_kgDOB9JI1A",
"avatar_url": "https://avatars.githubusercontent.com/u/131221716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FEXPLORE",
"html_url": "https://github.com/FEXPLORE",
"followers_url": "https://api.github.com/users/FEXPLORE/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,682 | 1,682 | 1,682 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22985/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22984/comments | https://api.github.com/repos/huggingface/transformers/issues/22984/events | https://github.com/huggingface/transformers/pull/22984 | 1,682,884,177 | PR_kwDOCUB6oc5PFqQ- | 22,984 | [`SAM`] Add sam doc | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failing tests seems to be unrelated, merging!"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
As suggested by @LysandreJik offline, this PR adds a nice docstring for `SamModel` showing users how to leverage Auto API to run SAM
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22984/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22984",
"html_url": "https://github.com/huggingface/transformers/pull/22984",
"diff_url": "https://github.com/huggingface/transformers/pull/22984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22984.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22983/comments | https://api.github.com/repos/huggingface/transformers/issues/22983/events | https://github.com/huggingface/transformers/issues/22983 | 1,682,677,832 | I_kwDOCUB6oc5kS6BI | 22,983 | Using `auto_map` in `tokenizer_config.json` gives `TypeError: argument of type 'NoneType' is not iterable` | {
"login": "larrylawl",
"id": 40198156,
"node_id": "MDQ6VXNlcjQwMTk4MTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/40198156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larrylawl",
"html_url": "https://github.com/larrylawl",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @sgugger seems like #22814 added \r\n```python \r\n if \"auto_map\" in init_kwargs and not _is_local:\r\n # For backward compatibility with odl format.\r\n if isinstance(init_kwargs[\"auto_map\"], (tuple, list)):\r\n init_kwargs[\"auto_map\"] = {\"AutoTokenizer\": ini... | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
certifi==2022.12.7
charset-normalizer==3.1.0
cmake==3.26.3
filelock==3.12.0
fsspec==2023.4.0
huggingface-hub==0.14.0
idna==3.4
Jinja2==3.1.2
lit==16.0.2
MarkupSafe==2.1.2
mpmath==1.3.0
networkx==3.1
numpy==1.24.3
nvidia-cublas-cu11==11.10.3.66
nvidia-cuda-cupti-cu11==11.7.101
nvidia-cuda... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22982/comments | https://api.github.com/repos/huggingface/transformers/issues/22982/events | https://github.com/huggingface/transformers/pull/22982 | 1,682,668,195 | PR_kwDOCUB6oc5PE7-L | 22,982 | fixed small typo in code example | {
"login": "jvanmelckebeke",
"id": 13679272,
"node_id": "MDQ6VXNlcjEzNjc5Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/13679272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jvanmelckebeke",
"html_url": "https://github.com/jvanmelckebeke",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes a small typo in a code example in the single GPU inference docs. Renamed the `text` variable to `prompt` as `prompt` is used in the line below as parameter for the tokenizer.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22982",
"html_url": "https://github.com/huggingface/transformers/pull/22982",
"diff_url": "https://github.com/huggingface/transformers/pull/22982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22982.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22981/comments | https://api.github.com/repos/huggingface/transformers/issues/22981/events | https://github.com/huggingface/transformers/issues/22981 | 1,682,656,913 | I_kwDOCUB6oc5kS06R | 22,981 | Cannot train language-modeling using Luke model | {
"login": "doherty88",
"id": 4629146,
"node_id": "MDQ6VXNlcjQ2MjkxNDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4629146?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/doherty88",
"html_url": "https://github.com/doherty88",
"followers_url": "https://api.github.com/users/do... | [] | closed | false | null | [] | [
"It looks like the Luke model is not compatible out of the box with those examples since the person who contributed it decided to use -1 as an index in the cross-entropy loss instead of -100 that we use everywhere else.\r\n\r\nMight be worth fixing though it's a breaking change @amyeroberts @ArthurZucker what do yo... | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.29.0.dev0
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.10
- Python version: 3.8.13
- Huggingface_hub version: 0.14.0
- Safetensors version: not installed
- PyTorch version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22981/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22980/comments | https://api.github.com/repos/huggingface/transformers/issues/22980/events | https://github.com/huggingface/transformers/issues/22980 | 1,682,586,586 | I_kwDOCUB6oc5kSjva | 22,980 | Trainer failing during _save_checkpoint "cannot pickle '_thread.lock' object" with skip_memory_metrics=True | {
"login": "galenballew",
"id": 7023349,
"node_id": "MDQ6VXNlcjcwMjMzNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7023349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/galenballew",
"html_url": "https://github.com/galenballew",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I also ran this with `no_cuda=True` and received the same error. ",
"Your code example doesn't define multiple objects, so I can't really tell what's wrong. Please give us a minimal reproducer we can execute.",
"Sorry about that--I've put everything into this repo if that is easier: https://github.com/galenbal... | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.19.0-40-generic-x86_64-with-glibc2.35
- Python version: 3.9.13
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22980/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22979/comments | https://api.github.com/repos/huggingface/transformers/issues/22979/events | https://github.com/huggingface/transformers/issues/22979 | 1,682,551,376 | I_kwDOCUB6oc5kSbJQ | 22,979 | transition scores can be negative infinity | {
"login": "myazdani",
"id": 3857492,
"node_id": "MDQ6VXNlcjM4NTc0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3857492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/myazdani",
"html_url": "https://github.com/myazdani",
"followers_url": "https://api.github.com/users/myazd... | [] | closed | false | null | [] | [
"cc @gante ",
"I have found that this problem also occurs when running on GPU, but torch.multinomial behaves as expected on GPU (erroneously sampling elements with prob 0 only happens on CPU with float data type). So I'm not sure why we are seeing -inf scores here. ",
"Hey @myazdani 👋 Thank you for raising the... | 1,682 | 1,689 | 1,689 | NONE | null | ### System Info
Running transformers 4.28.1 in google colab:
Collecting environment information...
PyTorch version: 2.0.0+cu118
Is debug build: False
CUDA used to build PyTorch: 11.8
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22979/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22978/comments | https://api.github.com/repos/huggingface/transformers/issues/22978/events | https://github.com/huggingface/transformers/issues/22978 | 1,682,506,726 | I_kwDOCUB6oc5kSQPm | 22,978 | Deadlock in Image Processor of ViT by using OpenMP and Kserve | {
"login": "harshyadav17",
"id": 21151610,
"node_id": "MDQ6VXNlcjIxMTUxNjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/21151610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harshyadav17",
"html_url": "https://github.com/harshyadav17",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@amyeroberts can you please help on this ?\r\n",
"By searching \"OMP_NUM_THREADS\" \"deadlock\" on Google, it seems it's a general issue when `OMP_NUM_THREADS > 1`. Unfortunately, I am afraid there is no doable fix on `transformers` side.\r\n",
"Furthermore, this issue also involves the usage of `KServe`: it f... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.28.0
- Platform: Linux-5.4.0-139-generic-x86_64-with-glibc2.2.5
- Python version: 3.8.13
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.0+cpu (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22977/comments | https://api.github.com/repos/huggingface/transformers/issues/22977/events | https://github.com/huggingface/transformers/pull/22977 | 1,682,340,805 | PR_kwDOCUB6oc5PD2GA | 22,977 | updated with docker setup | {
"login": "soodrohit",
"id": 4641194,
"node_id": "MDQ6VXNlcjQ2NDExOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4641194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soodrohit",
"html_url": "https://github.com/soodrohit",
"followers_url": "https://api.github.com/users/so... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | NONE | null | added docker files for setting up summary runs as docker images | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22977/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22977",
"html_url": "https://github.com/huggingface/transformers/pull/22977",
"diff_url": "https://github.com/huggingface/transformers/pull/22977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22977.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22976/comments | https://api.github.com/repos/huggingface/transformers/issues/22976/events | https://github.com/huggingface/transformers/pull/22976 | 1,682,333,576 | PR_kwDOCUB6oc5PD0pr | 22,976 | Add dummy_inputs for pytorch_version of vision_models | {
"login": "kolonist-minjun",
"id": 130522722,
"node_id": "U_kgDOB8eeYg",
"avatar_url": "https://avatars.githubusercontent.com/u/130522722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kolonist-minjun",
"html_url": "https://github.com/kolonist-minjun",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @kolonist-minjun, thanks for opening this PR! \r\n\r\nThe `dummy_inputs` is a legacy property of the pretrained models and not one we're actively supporting. To use `symbolic_trace`, you can directly pass in the input names: \r\n\r\n```py\r\nfrom transformers import ViTForImageClassification\r\nfrom transformer... | 1,682 | 1,690 | 1,682 | NONE | null | # What does this PR do?
```
from transformers import ViTForImageClassification
from transformers.utils.fx import symbolic_trace
model = ViTForImageClassification.from_pretrained("google/vit-base-patch16-224")
traced = symbolic_trace(model)
```
```
Traceback (most recent call last):
File "bug_check.py", lin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22976",
"html_url": "https://github.com/huggingface/transformers/pull/22976",
"diff_url": "https://github.com/huggingface/transformers/pull/22976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22975/comments | https://api.github.com/repos/huggingface/transformers/issues/22975/events | https://github.com/huggingface/transformers/issues/22975 | 1,682,203,710 | I_kwDOCUB6oc5kRGQ- | 22,975 | Publish instance types best suited to finetune/inference of a popular model | {
"login": "i-am-neo",
"id": 102043285,
"node_id": "U_kgDOBhUOlQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102043285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/i-am-neo",
"html_url": "https://github.com/i-am-neo",
"followers_url": "https://api.github.com/users/i-am-neo/... | [] | 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,682 | 1,685 | 1,685 | NONE | null | ### Feature request
It would be very helpful to see a chart of instance types on the large public clouds (AWS, GCP, Oracle) most suitable for popular public LLMs like Google Flan-T5 family.
This generalizes a page from @philschmid , whose notebooks indicate how he finetuned certain models using certain instances. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22975/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22974/comments | https://api.github.com/repos/huggingface/transformers/issues/22974/events | https://github.com/huggingface/transformers/issues/22974 | 1,682,143,669 | I_kwDOCUB6oc5kQ3m1 | 22,974 | Error when running MegaForCausalLM example code in Docs | {
"login": "Tylersuard",
"id": 41713505,
"node_id": "MDQ6VXNlcjQxNzEzNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/41713505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tylersuard",
"html_url": "https://github.com/Tylersuard",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hey! Thanks for reporting! This is because the default configuration argument of `bidirectional` is `True`. When setting it to False you reduce the size of the ema matrix. If you still want to use it, ` ignore_mismatched_sizes=True` will help you initialize the model. \r\n",
"Thank you for your response. When I... | 1,682 | 1,684 | 1,682 | CONTRIBUTOR | null | ### System Info
Most recent version of Tranformers from Githup, on Google Colab
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22973/comments | https://api.github.com/repos/huggingface/transformers/issues/22973/events | https://github.com/huggingface/transformers/pull/22973 | 1,681,955,077 | PR_kwDOCUB6oc5PCiNd | 22,973 | Add Mask R-CNN | {
"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 | {
"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/... | [
{
"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": "htt... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22973). All of your documentation changes will be reflected on that endpoint.",
"@NielsRogge As @sgugger mentions, the PR is still in WIP state. Happy to review once transformers ready :) ",
"I've updated all docstrings a... | 1,682 | 1,693 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the classic Mask R-CNN framework for object detection and instance segmentation.
To do/to be discussed:
- [ ] where to place utilities like NMS, loss computation, samplers
- [ ] whether to create dummies for torchvision-backed models
- [ ] how to add support for the objec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22973/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/22973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22973",
"html_url": "https://github.com/huggingface/transformers/pull/22973",
"diff_url": "https://github.com/huggingface/transformers/pull/22973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22972/comments | https://api.github.com/repos/huggingface/transformers/issues/22972/events | https://github.com/huggingface/transformers/issues/22972 | 1,681,916,567 | I_kwDOCUB6oc5kQAKX | 22,972 | [i18n-PL] Translating docs to Polish | {
"login": "nikos-py",
"id": 115744875,
"node_id": "U_kgDOBuYgaw",
"avatar_url": "https://avatars.githubusercontent.com/u/115744875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikos-py",
"html_url": "https://github.com/nikos-py",
"followers_url": "https://api.github.com/users/nikos-py/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,682 | 1,683 | 1,683 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the Polish-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22972/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22971/comments | https://api.github.com/repos/huggingface/transformers/issues/22971/events | https://github.com/huggingface/transformers/issues/22971 | 1,681,794,765 | I_kwDOCUB6oc5kPibN | 22,971 | RuntimeError: CUDA error: device-side assert triggered | {
"login": "sauravtii",
"id": 109907638,
"node_id": "U_kgDOBo0Otg",
"avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sauravtii",
"html_url": "https://github.com/sauravtii",
"followers_url": "https://api.github.com/users/saurav... | [] | closed | false | null | [] | [
"This usually means there is bad indexing somewhere in your code. You should really bring up the issue with the persons who wrote the tutorials as it looks like there is a bug in their code. You can try to run the code on the CPU to see where the error stems from, or post us a minimal reproducer that doesn't use th... | 1,682 | 1,702 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.11.3
- Platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): 2.10.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22970/comments | https://api.github.com/repos/huggingface/transformers/issues/22970/events | https://github.com/huggingface/transformers/pull/22970 | 1,681,739,264 | PR_kwDOCUB6oc5PBzVT | 22,970 | TF port of the Segment Anything Model (SAM) | {
"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._",
"This is now almost ready to go and the code should be ready for review! Remaining issues:\r\n\r\n- I added a `tol` parameter to the TF-PT equivalence test - 1e-5 is too low for SAM (errors are more like 1e-4, but I used 5e-4 in the t... | 1,682 | 1,684 | 1,684 | MEMBER | null | This is a first draft of the SAM port - will update this PR as I port tests and make sure everything is working okay. It's also a first proof-of-concept for full GPT-4 auto-translation from PyTorch: The entire `modeling_tf_sam.py` file was converted from PyTorch by GPT-4 with the exception of the imports at the top, be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22970/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22970",
"html_url": "https://github.com/huggingface/transformers/pull/22970",
"diff_url": "https://github.com/huggingface/transformers/pull/22970.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22970.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22969/comments | https://api.github.com/repos/huggingface/transformers/issues/22969/events | https://github.com/huggingface/transformers/issues/22969 | 1,681,709,432 | I_kwDOCUB6oc5kPNl4 | 22,969 | Many places are type-annotated as 1-tuple when should be arbitrary length tuple | {
"login": "anentropic",
"id": 147840,
"node_id": "MDQ6VXNlcjE0Nzg0MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/147840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anentropic",
"html_url": "https://github.com/anentropic",
"followers_url": "https://api.github.com/users/a... | [] | closed | false | null | [] | [
"The type annotations should only be read as a doc helper. They are not exact, and will never be checked by a type checker as Python is not a statically typed language anyway. When we have to decide between complexity of the type annotation and ease of the user/readability, we always pick the later.",
"I mentione... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
n/a
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproductio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22969/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22968/comments | https://api.github.com/repos/huggingface/transformers/issues/22968/events | https://github.com/huggingface/transformers/issues/22968 | 1,681,616,791 | I_kwDOCUB6oc5kO2-X | 22,968 | Change the probability of generation of certain tokens | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | [
"cc @gante",
"Hi, @Oxi84! I agree with you on the increased flexibility and the possible implementation path. I did something like that for the feature request [here](https://github.com/huggingface/transformers/issues/22168#issue-1624460056). Feel free to react to @gante's [comment](https://github.com/huggingface... | 1,682 | 1,685 | 1,685 | NONE | null | ### Feature request
OpenAI has a feature, that allows you to provide list of token ids, together with how much you want to increase or decrease probability of generation of these tokens.
For example if we have id = 112 that has logit= 23.72, we make logit = 23.72 + custom_value. Custom value can have positive or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22967/comments | https://api.github.com/repos/huggingface/transformers/issues/22967/events | https://github.com/huggingface/transformers/pull/22967 | 1,681,560,307 | PR_kwDOCUB6oc5PBMy0 | 22,967 | Fix `DeepSpeed` CI job link in Past CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Fix missing `DeepSpeed` CI job link in Past CI. See comment in the change. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22967/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22967",
"html_url": "https://github.com/huggingface/transformers/pull/22967",
"diff_url": "https://github.com/huggingface/transformers/pull/22967.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22967.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22966/comments | https://api.github.com/repos/huggingface/transformers/issues/22966/events | https://github.com/huggingface/transformers/pull/22966 | 1,681,527,859 | PR_kwDOCUB6oc5PBFug | 22,966 | fix ValueError message in LlamaAttention | {
"login": "othertea",
"id": 124535597,
"node_id": "U_kgDOB2xDLQ",
"avatar_url": "https://avatars.githubusercontent.com/u/124535597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/othertea",
"html_url": "https://github.com/othertea",
"followers_url": "https://api.github.com/users/othertea/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | 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/22966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22966/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22966",
"html_url": "https://github.com/huggingface/transformers/pull/22966",
"diff_url": "https://github.com/huggingface/transformers/pull/22966.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22966.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22965/comments | https://api.github.com/repos/huggingface/transformers/issues/22965/events | https://github.com/huggingface/transformers/pull/22965 | 1,681,523,289 | PR_kwDOCUB6oc5PBEvO | 22,965 | 🌐 [i18n-KO] Fixed `tasks/masked_language_modeling.mdx` | {
"login": "HanNayeoniee",
"id": 33839093,
"node_id": "MDQ6VXNlcjMzODM5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanNayeoniee",
"html_url": "https://github.com/HanNayeoniee",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM. If you may, please:\n\n- **amend your commit message to be more descriptive than just `fixed`.**\n (e.g. `fix: docs: missing newline before code block`)\n- (Optional) provide relevant screenshots of your fixes",
"> LGTM. If ... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes #22838

## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22965/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/22965/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22965",
"html_url": "https://github.com/huggingface/transformers/pull/22965",
"diff_url": "https://github.com/huggingface/transformers/pull/22965.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22965.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22964/comments | https://api.github.com/repos/huggingface/transformers/issues/22964/events | https://github.com/huggingface/transformers/pull/22964 | 1,681,509,913 | PR_kwDOCUB6oc5PBB0n | 22,964 | [WIP] Testing safetensors==0.3.1rc1 | {
"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._",
"Done."
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Testing
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22964",
"html_url": "https://github.com/huggingface/transformers/pull/22964",
"diff_url": "https://github.com/huggingface/transformers/pull/22964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22964.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22963/comments | https://api.github.com/repos/huggingface/transformers/issues/22963/events | https://github.com/huggingface/transformers/pull/22963 | 1,681,507,870 | PR_kwDOCUB6oc5PBBXy | 22,963 | Install `accelerete@main` in PyTorch Past CI jobs. | {
"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,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Install `accelerete@main` in PyTorch Past CI jobs.
### Context
In ##22393, we added back `deepspeed` in Past CI docker image. Later in #22859, we decide to use `accelerate@main`, but I forgot to apply the same change in Past CI docker file, as I mistakenly thought Past CI doesn't use `a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22963",
"html_url": "https://github.com/huggingface/transformers/pull/22963",
"diff_url": "https://github.com/huggingface/transformers/pull/22963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22962/comments | https://api.github.com/repos/huggingface/transformers/issues/22962/events | https://github.com/huggingface/transformers/issues/22962 | 1,681,388,438 | I_kwDOCUB6oc5kN_OW | 22,962 | Failed to convert 65B llama to hf weights | {
"login": "lijiazheng99",
"id": 44396506,
"node_id": "MDQ6VXNlcjQ0Mzk2NTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/44396506?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lijiazheng99",
"html_url": "https://github.com/lijiazheng99",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The error comes directly from `torch.save`, so we can't really help on our side. I have never seen it either :-/",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues tha... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (C... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22961/comments | https://api.github.com/repos/huggingface/transformers/issues/22961/events | https://github.com/huggingface/transformers/issues/22961 | 1,681,240,326 | I_kwDOCUB6oc5kNbEG | 22,961 | Contrastive Search does not work at all for Llama 7B | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | [
"Actually it does work very well for text generation. It just does not generate anything with this prompt for some reason.",
"Thanks for investigating! ",
"As always thanks for hard work on implementing such cool thing as this one. I will share how much it helped, seem like it increases accuracy, but I will nee... | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
latest transofrmers and everything, rtx 3090
### Who can help?
@ArthurZucker and @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22961/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22960/comments | https://api.github.com/repos/huggingface/transformers/issues/22960/events | https://github.com/huggingface/transformers/pull/22960 | 1,681,214,838 | PR_kwDOCUB6oc5PAA9N | 22,960 | Fix TF example in quicktour | {
"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._",
"Done!"
] | 1,682 | 1,682 | 1,682 | MEMBER | null | The quicktour example for `prepare_tf_dataset` was passing the `DatasetDict` of all the dataset splits, instead of a single dataset, which threw an error. This PR fixes it! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22960/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22960",
"html_url": "https://github.com/huggingface/transformers/pull/22960",
"diff_url": "https://github.com/huggingface/transformers/pull/22960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22960.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22959/comments | https://api.github.com/repos/huggingface/transformers/issues/22959/events | https://github.com/huggingface/transformers/pull/22959 | 1,681,134,041 | PR_kwDOCUB6oc5O_vZa | 22,959 | [Llama Tokenizer] Fast llama template | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The test `tests/models/llama/test_tokenization_llama.py::LlamaIntegrationTest::test_conversion` is failing since April 27th, which is likely due to this PR. See issue page #23400"
] | 1,682 | 1,684 | 1,682 | COLLABORATOR | null | # What does this PR do?
Adresses #22794 and #22877 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22959",
"html_url": "https://github.com/huggingface/transformers/pull/22959",
"diff_url": "https://github.com/huggingface/transformers/pull/22959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22959.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22958/comments | https://api.github.com/repos/huggingface/transformers/issues/22958/events | https://github.com/huggingface/transformers/pull/22958 | 1,681,130,014 | PR_kwDOCUB6oc5O_uhK | 22,958 | Prepare tests for hfh 0.14 | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | Related to the coming release of `huggingface_hub==0.14.0`. It will break some internal tests. The PR fixes these tests. The plan is to merge this PR right after the new release is made. This will not impact `transformers`'s end users. However, PR contributors will have to rebase their branch once this one is merged.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22958",
"html_url": "https://github.com/huggingface/transformers/pull/22958",
"diff_url": "https://github.com/huggingface/transformers/pull/22958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22958.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22957/comments | https://api.github.com/repos/huggingface/transformers/issues/22957/events | https://github.com/huggingface/transformers/pull/22957 | 1,681,067,054 | PR_kwDOCUB6oc5O_ggM | 22,957 | [CLAP] Doc nits | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
The documentation had a few problems ( "Constrastive Laungaue" -> "Contrastive Language" | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22957/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22957",
"html_url": "https://github.com/huggingface/transformers/pull/22957",
"diff_url": "https://github.com/huggingface/transformers/pull/22957.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22957.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22956/comments | https://api.github.com/repos/huggingface/transformers/issues/22956/events | https://github.com/huggingface/transformers/pull/22956 | 1,681,047,841 | PR_kwDOCUB6oc5O_cJz | 22,956 | 🌐 [i18n-KO] Translated `fast_tokenizers.mdx` to Korean | {
"login": "kihoon71",
"id": 75935546,
"node_id": "MDQ6VXNlcjc1OTM1NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/75935546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kihoon71",
"html_url": "https://github.com/kihoon71",
"followers_url": "https://api.github.com/users/kih... | [] | 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,682 | 1,685 | 1,685 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니당 -->
# What does this PR do?
Translated the `fast_tokenizers.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22956/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/22956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22956",
"html_url": "https://github.com/huggingface/transformers/pull/22956",
"diff_url": "https://github.com/huggingface/transformers/pull/22956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22956.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22955/comments | https://api.github.com/repos/huggingface/transformers/issues/22955/events | https://github.com/huggingface/transformers/pull/22955 | 1,681,020,562 | PR_kwDOCUB6oc5O_WTd | 22,955 | Generate: Add exception path for Donut | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | MEMBER | null | # What does this PR do?
The multimodal generalization added in #22748 added a regression Donut -- Donut is never expecting a BOS token, having a task-specific token in its place.
This PR adds an exception code path to handle it. All related slow tests are now passing.
cc @NielsRogge | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22955",
"html_url": "https://github.com/huggingface/transformers/pull/22955",
"diff_url": "https://github.com/huggingface/transformers/pull/22955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22954/comments | https://api.github.com/repos/huggingface/transformers/issues/22954/events | https://github.com/huggingface/transformers/pull/22954 | 1,680,964,664 | PR_kwDOCUB6oc5O_J7X | 22,954 | Add gradient checkpointing to Whisper Flax | {
"login": "versae",
"id": 173537,
"node_id": "MDQ6VXNlcjE3MzUzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/versae",
"html_url": "https://github.com/versae",
"followers_url": "https://api.github.com/users/versae/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review, @sanchit-gandhi! Should be all good now 😃.",
"Amazing @versae! Requesting final review before we can get this merged 🤗",
"Thank you! I learnt a lot 🤓 "
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | It uses `flax.linen.remat` and follows on PRs #13657 and #17994.
# What does this PR do?
Adds gradient_checkpointing to Flax Whisper models.
## 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 guidel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22954",
"html_url": "https://github.com/huggingface/transformers/pull/22954",
"diff_url": "https://github.com/huggingface/transformers/pull/22954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22954.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22953/comments | https://api.github.com/repos/huggingface/transformers/issues/22953/events | https://github.com/huggingface/transformers/pull/22953 | 1,680,752,395 | PR_kwDOCUB6oc5O-bzf | 22,953 | Decorate `test_codegen_sample_max_time` as flaky | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I agree! Probably we can use something like `@cached_property`: I see this but never use it myself so far.",
"OK. But can I keep `cache_proeprty` as in the current version (it at least avoids loading the checkpoint despite it is do... | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Decorate `test_codegen_sample_max_time` as flaky: it fails 0-5 times per month. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22953",
"html_url": "https://github.com/huggingface/transformers/pull/22953",
"diff_url": "https://github.com/huggingface/transformers/pull/22953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22952/comments | https://api.github.com/repos/huggingface/transformers/issues/22952/events | https://github.com/huggingface/transformers/pull/22952 | 1,680,738,027 | PR_kwDOCUB6oc5O-Yzt | 22,952 | DFFT | {
"login": "soma2000-lang",
"id": 56045049,
"node_id": "MDQ6VXNlcjU2MDQ1MDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/56045049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soma2000-lang",
"html_url": "https://github.com/soma2000-lang",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22952). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,682 | 1,690 | 1,690 | CONTRIBUTOR | null | #18004 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22952/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22952",
"html_url": "https://github.com/huggingface/transformers/pull/22952",
"diff_url": "https://github.com/huggingface/transformers/pull/22952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22952.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22951/comments | https://api.github.com/repos/huggingface/transformers/issues/22951/events | https://github.com/huggingface/transformers/issues/22951 | 1,680,670,062 | I_kwDOCUB6oc5kLP1u | 22,951 | Fine-tune T5 model for Casual Language Modeling(CLM) | {
"login": "nanbeitk",
"id": 73277438,
"node_id": "MDQ6VXNlcjczMjc3NDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/73277438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nanbeitk",
"html_url": "https://github.com/nanbeitk",
"followers_url": "https://api.github.com/users/nan... | [] | closed | false | null | [] | [
"Hi, @nanbeitk thanks for raising an issue! \r\n\r\nThis is a question best placed in our [forums](https://discuss.huggingface.co/), as we try to reserve the github issues for feature requests and bug reports.\r\n",
"> Hi, @nanbeitk thanks for raising an issue!\r\n> \r\n> This is a question best placed in our [fo... | 1,682 | 1,685 | 1,685 | NONE | null | Dear all,
I am new to NLP and has some strange questions, I try to explain them clearly.
My goal is to using a specific corpus to fine-tune t5-base model with a casual language modeling, I find this [document](https://huggingface.co/docs/transformers/main/en/tasks/language_modeling#causal-language-modeling) and it ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22950/comments | https://api.github.com/repos/huggingface/transformers/issues/22950/events | https://github.com/huggingface/transformers/pull/22950 | 1,680,093,240 | PR_kwDOCUB6oc5O8Sfo | 22,950 | GPTNeoX Flax support | {
"login": "OhadRubin",
"id": 4252994,
"node_id": "MDQ6VXNlcjQyNTI5OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4252994?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OhadRubin",
"html_url": "https://github.com/OhadRubin",
"followers_url": "https://api.github.com/users/Oh... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22950). All of your documentation changes will be reflected on that endpoint.",
"Hey @OhadRubin - sorry for the late reply here! How are you getting on with this PR? I see that a lot of the modelling code has already been i... | 1,682 | 1,699 | 1,699 | NONE | null | @sanchit-gandhi
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22950/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/22950/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22950",
"html_url": "https://github.com/huggingface/transformers/pull/22950",
"diff_url": "https://github.com/huggingface/transformers/pull/22950.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22950.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22949/comments | https://api.github.com/repos/huggingface/transformers/issues/22949/events | https://github.com/huggingface/transformers/pull/22949 | 1,680,039,545 | PR_kwDOCUB6oc5O8IbB | 22,949 | Generate: assisted generation with sample (take 2) | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | MEMBER | null | # What does this PR do?
I was writing the blog post about assisted generation and realized that there is a much better way to solve the `do_sample=True` case 👀 Apologies for the repeated review request, but I believe this is a significant upgrade.
In a nutshell, the existing `temperature` argument provides a nat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22949",
"html_url": "https://github.com/huggingface/transformers/pull/22949",
"diff_url": "https://github.com/huggingface/transformers/pull/22949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22949.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22948/comments | https://api.github.com/repos/huggingface/transformers/issues/22948/events | https://github.com/huggingface/transformers/issues/22948 | 1,679,951,996 | I_kwDOCUB6oc5kIgh8 | 22,948 | MaskFormerSwin shows as unsupported the index | {
"login": "joaocmd",
"id": 5345834,
"node_id": "MDQ6VXNlcjUzNDU4MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5345834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joaocmd",
"html_url": "https://github.com/joaocmd",
"followers_url": "https://api.github.com/users/joaocmd/... | [] | closed | false | null | [] | [
"@joaocmd Huh, that's odd. Thanks for reporting. Following the shared link, on `main` I see that MaskFormer is shown as a supported model. Perhaps you caught it in a weird moment before a patch was applied? \r\n\r\n<img width=\"1025\" alt=\"image\" src=\"https://user-images.githubusercontent.com/22614925/233962005-... | 1,682 | 1,689 | 1,689 | NONE | null | Hello, is there any reason why the MaskFormerSwin shows as unsupported on the `index` page?
https://github.com/huggingface/transformers/blob/main/docs/source/en/index.mdx?plain=1#L364
```
| MaskFormer | ❌ | ❌ | ✅ | ❌ | ❌ |
| ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22948/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22947/comments | https://api.github.com/repos/huggingface/transformers/issues/22947/events | https://github.com/huggingface/transformers/pull/22947 | 1,679,895,709 | PR_kwDOCUB6oc5O7tOn | 22,947 | [Fix Bugs] Fix keys in `_load_pretrained_model` | {
"login": "hanrui1sensetime",
"id": 83800577,
"node_id": "MDQ6VXNlcjgzODAwNTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/83800577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanrui1sensetime",
"html_url": "https://github.com/hanrui1sensetime",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @sgugger "
] | 1,682 | 1,682 | 1,682 | 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/22947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22947/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22947",
"html_url": "https://github.com/huggingface/transformers/pull/22947",
"diff_url": "https://github.com/huggingface/transformers/pull/22947.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22947.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22946/comments | https://api.github.com/repos/huggingface/transformers/issues/22946/events | https://github.com/huggingface/transformers/issues/22946 | 1,679,890,150 | I_kwDOCUB6oc5kIRbm | 22,946 | One Question about BlipForConditionalGeneration | {
"login": "Yingshu97",
"id": 62641802,
"node_id": "MDQ6VXNlcjYyNjQxODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/62641802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yingshu97",
"html_url": "https://github.com/Yingshu97",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @Yingshu97 \r\nThanks for the issue! \r\nthere are few things to keep in mind here:\r\n\r\n1- If you want to use `BlipForConditionalGeneration` as a standalone model to retrieve the hidden states and loss value, you need to also pass `input_ids` values, as Blip uses cross attention between textual and visual in... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
I create a Blip model by:
`BlipModel = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-base")`
I want to get the hidden state of the model output. I got this problem:
I just used the `BlipModel(pixel_values = ipt)` for inference part.
I create a dummy input by `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22945/comments | https://api.github.com/repos/huggingface/transformers/issues/22945/events | https://github.com/huggingface/transformers/pull/22945 | 1,679,834,378 | PR_kwDOCUB6oc5O7hT2 | 22,945 | 🌐 [i18n-KO] Translated `token_classification.mdx` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> 정말 많은 내용이 들어 있는 문서였지만 덕분에 금방 읽을 수 있었습니다! 😄 `Named Entity Recognition` -> `개체명 인식`, `dataset`->`데이터셋` 두 가지를 포함하여 몇 가지 수정 사항을 제안 드립니다. 잘 부탁 드리겠습니다!\r\n\r\n세심한 리뷰 감사합니다 🤗\r\n감사 코멘트를 전부 달고 싶은데, 알림이 너무 많이 갈 것 같아서 하나만 달겠습니다 😢\r\n\r\n-... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Translated the `tasks/token_classification.mdx` file of the documentation to Korean.
Thank you in advance for your review! 😄
Part of https://github.com/huggingface/transformers/issues/20179
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22945/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22945",
"html_url": "https://github.com/huggingface/transformers/pull/22945",
"diff_url": "https://github.com/huggingface/transformers/pull/22945.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22945.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22944/comments | https://api.github.com/repos/huggingface/transformers/issues/22944/events | https://github.com/huggingface/transformers/issues/22944 | 1,679,804,833 | I_kwDOCUB6oc5kH8mh | 22,944 | Auto-download is a security hole. | {
"login": "freckletonj",
"id": 8399149,
"node_id": "MDQ6VXNlcjgzOTkxNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8399149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freckletonj",
"html_url": "https://github.com/freckletonj",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Hi @freckletonj, thanks for raising this issue. \r\n\r\nWithout knowing which code you're running, it's hard to know what specifically triggered the dataset download (or how unrelated it is). Typically, a dataset would be downloaded if it's requested through the `load_dataset` functionality. However, I see that a... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
I just ran a project and it decided to download a completely unrelated dataset, which I didn't want or need. The extraneous download was https://huggingface.co/datasets/allenai/c4, which upon inspection contains 800+ trojan viruses. Are these false positives? I shouldn't have to care unless I'm interes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22944/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22943/comments | https://api.github.com/repos/huggingface/transformers/issues/22943/events | https://github.com/huggingface/transformers/pull/22943 | 1,679,797,781 | PR_kwDOCUB6oc5O7aE0 | 22,943 | 🌐 [i18n-KO] Translated `tasks/image_captioning.mdx` to Korean | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I quickly done it! 😅 \r\nWould you review this PR?",
"LGTM! 🤗 ",
"Happy Wednesday!\r\nCould you review this PR? 😃\r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,682 | 1,682 | 1,682 | 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/22943/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/22943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22943",
"html_url": "https://github.com/huggingface/transformers/pull/22943",
"diff_url": "https://github.com/huggingface/transformers/pull/22943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22943.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22942/comments | https://api.github.com/repos/huggingface/transformers/issues/22942/events | https://github.com/huggingface/transformers/pull/22942 | 1,679,770,243 | PR_kwDOCUB6oc5O7UU7 | 22,942 | Raise error if `stride` is too high in `TokenClassificationPipeline` | {
"login": "boyleconnor",
"id": 6520892,
"node_id": "MDQ6VXNlcjY1MjA4OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6520892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boyleconnor",
"html_url": "https://github.com/boyleconnor",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Users were previously not given a warning if they initialized a `TokenClassificationPipeline` with too high a value for `stride` (`stride` is the value that determines how many tokens overlap between chunks if the user choose to split text into chunks).
Unfortunately, it's also possible fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22942/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22942",
"html_url": "https://github.com/huggingface/transformers/pull/22942",
"diff_url": "https://github.com/huggingface/transformers/pull/22942.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22942.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22941/comments | https://api.github.com/repos/huggingface/transformers/issues/22941/events | https://github.com/huggingface/transformers/issues/22941 | 1,679,649,778 | I_kwDOCUB6oc5kHWvy | 22,941 | Typo in error message in LlamaAttention | {
"login": "othertea",
"id": 124535597,
"node_id": "U_kgDOB2xDLQ",
"avatar_url": "https://avatars.githubusercontent.com/u/124535597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/othertea",
"html_url": "https://github.com/othertea",
"followers_url": "https://api.github.com/users/othertea/... | [] | closed | false | null | [] | [
"@othertea, good spot! Would you like to open a PR to fix this? \r\n\r\ncc @ArthurZucker ",
"Yes, I've made a PR!"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | There's a typo in the `ValueError`'s message on line 219: https://github.com/huggingface/transformers/blob/d04ec99bec8a0b432fc03ed60cea9a1a20ebaf3c/src/transformers/models/llama/modeling_llama.py#L217-L221
It should be `(bsz, self.num_heads, q_len, kv_seq_len)` as it is in line 217. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22941/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22940/comments | https://api.github.com/repos/huggingface/transformers/issues/22940/events | https://github.com/huggingface/transformers/pull/22940 | 1,679,593,159 | PR_kwDOCUB6oc5O6vyv | 22,940 | Add UDOP | {
"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... | [] | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22940). All of your documentation changes will be reflected on that endpoint.",
"hi @NielsRogge thank you for pushing this PR. I haven't had the chance to try yet, but I'm curious if you have an example or have tried to per... | 1,682 | 1,708 | null | CONTRIBUTOR | null | # What does this PR do?
This PR adds UDOP as described in [Unifying Vision, Text, and Layout for Universal Document Processing](https://arxiv.org/abs/2212.02623).
The model can be seen as an encoder-decoder Transformer with LayoutLMv3 as encoder and a T5 text decoder.
Fixes #20650
To do:
- [x] fix `tests... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22940/reactions",
"total_count": 13,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 8,
"rocket": 5,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22940",
"html_url": "https://github.com/huggingface/transformers/pull/22940",
"diff_url": "https://github.com/huggingface/transformers/pull/22940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22940.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22939/comments | https://api.github.com/repos/huggingface/transformers/issues/22939/events | https://github.com/huggingface/transformers/issues/22939 | 1,679,565,168 | I_kwDOCUB6oc5kHCFw | 22,939 | AttributeError: 'MarianMTModel' object has no attribute 'generation_config' | {
"login": "kigenchesire",
"id": 121757977,
"node_id": "U_kgDOB0HhGQ",
"avatar_url": "https://avatars.githubusercontent.com/u/121757977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kigenchesire",
"html_url": "https://github.com/kigenchesire",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @kigenchesire, thanks for raising an issue! \r\n\r\nSo that we can best help you, can you make sure to follow the issue template and share: \r\n* A full traceback of the error\r\n* A code example that we can run to reproduce the error\r\n* The running environment: run `transformers-cli env` in the terminal and ... | 1,682 | 1,687 | 1,687 | NONE | null | tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-swc")
def translate(text):
translated = model22.generate(**tokenizer(text, return_tensors="pt", padding=True).to("cpu"))
return [tokenizer.decode(t, skip_special_tokens=True) for t in translated][0]
Error when trying to deploy model on str... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22939/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22938/comments | https://api.github.com/repos/huggingface/transformers/issues/22938/events | https://github.com/huggingface/transformers/pull/22938 | 1,679,556,853 | PR_kwDOCUB6oc5O6ozx | 22,938 | num_noise_spans should be <= num_items #22246 | {
"login": "alexcpn",
"id": 1157251,
"node_id": "MDQ6VXNlcjExNTcyNTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1157251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcpn",
"html_url": "https://github.com/alexcpn",
"followers_url": "https://api.github.com/users/alexcpn/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks- Done - Did `make style` and pushed the changes to this branch",
"Thanks @alexcpn - unfortunately the CI is still unhappy about the code style! Could you try rebasing onto main, run style fix, and then force pushing?\r\n```\... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
<!-- Remove if not applicable -->
Fixes #22246
When `mean_noise_span_length` is set to 1 there are cases (for example `noise_density=.55` when the `num_noise_spans` becomes greater than num_nonnoise_tokens
So the correction seems to be to consider also the `num_nonnoise_tokens`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22938/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22938",
"html_url": "https://github.com/huggingface/transformers/pull/22938",
"diff_url": "https://github.com/huggingface/transformers/pull/22938.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22938.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22937/comments | https://api.github.com/repos/huggingface/transformers/issues/22937/events | https://github.com/huggingface/transformers/issues/22937 | 1,679,536,093 | I_kwDOCUB6oc5kG6_d | 22,937 | Add return type hint to AutoModel.from_pretained | {
"login": "JosephSBoyle",
"id": 48555120,
"node_id": "MDQ6VXNlcjQ4NTU1MTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/48555120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JosephSBoyle",
"html_url": "https://github.com/JosephSBoyle",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @JosephSBoyle, thanks for raising this issue. \r\n\r\nCould you give some more information about the behaviour you expect and expand on \"we don't really know what it is without inspecting it at runtime...\" ? As I understand the issue, there's three different points being raised:\r\n* Knowing what the model \"... | 1,682 | 1,684 | 1,684 | NONE | null | ### Feature request
I think the ergonomics of using, e.g. `AutoModelForSequenceClassification.from_pretrained(...)` can be improved.
Consider the following example:
```python
model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased")
```
It's quite hard to reason about `model` since we don'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22937/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/22937/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22936/comments | https://api.github.com/repos/huggingface/transformers/issues/22936/events | https://github.com/huggingface/transformers/pull/22936 | 1,679,504,647 | PR_kwDOCUB6oc5O6ear | 22,936 | Avoid invalid escape sequences, use raw strings | {
"login": "Lingepumpe",
"id": 10073831,
"node_id": "MDQ6VXNlcjEwMDczODMx",
"avatar_url": "https://avatars.githubusercontent.com/u/10073831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lingepumpe",
"html_url": "https://github.com/Lingepumpe",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failures are unrelated to this PR and due to the last release of huggingface_hub. All is fixed on main so merging :-)",
"Rebased on top of current main branch to pass the tests.\r\n\r\n",
"> Rebased on top of current main branch ... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes invalid escape sequences in strings, they are illegal in python, and will throw a SyntaxError if run with "-W error", and always throw a syntax error starting with python-3.12 (planned). With python between 3.6 and 3.11 and "-W default" they produce a DeprecationWarning:
```
> python -W... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22936/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22936/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22936",
"html_url": "https://github.com/huggingface/transformers/pull/22936",
"diff_url": "https://github.com/huggingface/transformers/pull/22936.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22936.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22935/comments | https://api.github.com/repos/huggingface/transformers/issues/22935/events | https://github.com/huggingface/transformers/issues/22935 | 1,679,245,241 | I_kwDOCUB6oc5kFz-5 | 22,935 | [Doc] `add_special_tokens`'s documentation is ambigus | {
"login": "zplizzi",
"id": 5598968,
"node_id": "MDQ6VXNlcjU1OTg5Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5598968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zplizzi",
"html_url": "https://github.com/zplizzi",
"followers_url": "https://api.github.com/users/zplizzi/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"The `add_special_tokens`, when set to `True` is used to add special tokens at the beginning and at the end of the input sequence. In your case, since you are using a single input sequence, the tokenizer will add the special tokens `[CLS]` and `[SEP]` respectively at the beginning and at the end of the sentence. \r... | 1,682 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.31
- Python version: 3.9.5
- Huggingface_hub version: 0.13.2
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22935/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22934/comments | https://api.github.com/repos/huggingface/transformers/issues/22934/events | https://github.com/huggingface/transformers/issues/22934 | 1,679,241,844 | I_kwDOCUB6oc5kFzJ0 | 22,934 | llm finetuning is overfitting? | {
"login": "paulcx",
"id": 738834,
"node_id": "MDQ6VXNlcjczODgzNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/738834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/paulcx",
"html_url": "https://github.com/paulcx",
"followers_url": "https://api.github.com/users/paulcx/follow... | [] | closed | false | null | [] | [
"Hard to really tell without specific dataset info, training procedure, and the model parameter count BUT:\r\n\r\nI can't speak for your other attempts but this picture doesn't seem unusual. The eval loss decreases until epoch=0.94 but increases at epoch=1.25 and onwards. That implies that training is good for one ... | 1,682 | 1,685 | 1,685 | NONE | null | So far all my attempts, with different models (bloom, gpt), sizes, accelerate framework, datasets have led to one issue: the evaluation loss keeps increasing. plz see my log (deepspeed) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22934/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22933/comments | https://api.github.com/repos/huggingface/transformers/issues/22933/events | https://github.com/huggingface/transformers/issues/22933 | 1,679,138,733 | I_kwDOCUB6oc5kFZ-t | 22,933 | Flan-T5-small and T5-small have different number of layers? | {
"login": "taidnguyen",
"id": 16988147,
"node_id": "MDQ6VXNlcjE2OTg4MTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/16988147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taidnguyen",
"html_url": "https://github.com/taidnguyen",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"@sgugger Ah perhaps the authors inherited the flan-t5-small checkpoint from the improved `google/t5-v1_1-small` instead of `t5-small`. Its config file is a better match.",
"Hi @taidnguyen,\r\nThis is absolutely correct, \r\nAccording to the `t5x` repository, flan-t5 are derived from the `... | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
Hi there, it appears that `google/flan-t5-small` and `t5-small` have different number of layers:
- Flan-T5 config: https://huggingface.co/google/flan-t5-small/blob/main/config.json
- T5 config: https://huggingface.co/t5-small/blob/main/config.json
I only find this inconsistency with *small*. The... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22933/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22932/comments | https://api.github.com/repos/huggingface/transformers/issues/22932/events | https://github.com/huggingface/transformers/issues/22932 | 1,679,059,945 | I_kwDOCUB6oc5kFGvp | 22,932 | LlamaTokenizer should follow signature of PreTrainedTokenizer | {
"login": "zplizzi",
"id": 5598968,
"node_id": "MDQ6VXNlcjU1OTg5Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5598968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zplizzi",
"html_url": "https://github.com/zplizzi",
"followers_url": "https://api.github.com/users/zplizzi/... | [] | closed | false | null | [] | [
"The default `eos_token` and `bos_tokens` are there because the `sentence piece` model has these set, which means we are following the `llama` implementation. Having `add_eos` and `add_beo` gives the flexibility of enabling the addition, while not having to set the tokens to do so. \r\nThis might not fit your speci... | 1,682 | 1,687 | 1,687 | NONE | null | ### Feature request
PreTrainedTokenizer has a signature such that if the eos/bos tokens shouldn't be applied, they're set to None in the constructor. LlamaTokenizer (which is a subclass of PreTrainedTokenizer) instead always sets these, and adds a `add_eos/bos_token` field to enable/disable them. This breaks code that... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22932/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22931/comments | https://api.github.com/repos/huggingface/transformers/issues/22931/events | https://github.com/huggingface/transformers/issues/22931 | 1,679,044,939 | I_kwDOCUB6oc5kFDFL | 22,931 | Using decoder_input_ids with Seq2SeqTrainer.predict() | {
"login": "zhenduow",
"id": 30311623,
"node_id": "MDQ6VXNlcjMwMzExNjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/30311623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhenduow",
"html_url": "https://github.com/zhenduow",
"followers_url": "https://api.github.com/users/zhe... | [] | closed | false | null | [] | [
"cc @sgugger \r\n",
"cc @gante ",
"Hey @zhenduow 👋 \r\n\r\n[This PR](https://github.com/huggingface/transformers/pull/22772), which allows passing `decoder_input_ids` as part of the input to the `Seq2SeqTrainer`, was merged after the latest release (`v4.28`).\r\n\r\nCould you try installing from `main` (`pip i... | 1,682 | 1,686 | 1,686 | NONE | null | Hi,
Is there a way to use `decoder_input_ids` in `Seq2SeqTrainer.predict()` as in `model.generate()`? The goal is to generate sentences with both the encoder input and decoder input to initialize the generation.
Thank you very much!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22931/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22930/comments | https://api.github.com/repos/huggingface/transformers/issues/22930/events | https://github.com/huggingface/transformers/pull/22930 | 1,679,036,076 | PR_kwDOCUB6oc5O460s | 22,930 | vilt_model | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks!"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
as per the issue #22561 ,model parallelism is implemented for vilt model.
@sgugger pls review it..is any changes is there pls let me knew
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22930",
"html_url": "https://github.com/huggingface/transformers/pull/22930",
"diff_url": "https://github.com/huggingface/transformers/pull/22930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22930.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22929/comments | https://api.github.com/repos/huggingface/transformers/issues/22929/events | https://github.com/huggingface/transformers/issues/22929 | 1,679,010,765 | I_kwDOCUB6oc5kE6vN | 22,929 | SAM example code does not work | {
"login": "YubinXie",
"id": 16257776,
"node_id": "MDQ6VXNlcjE2MjU3Nzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/16257776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YubinXie",
"html_url": "https://github.com/YubinXie",
"followers_url": "https://api.github.com/users/Yub... | [] | closed | false | null | [] | [
"Hello @YubinXie \r\nThanks for the issue! \r\nI did not managed to reproduce your issue with `torch==1.13.1`, and here is the snippet I used:\r\n```python\r\nfrom PIL import Image\r\nimport requests\r\nimport torch\r\n\r\nfrom transformers import AutoModel, AutoProcessor\r\n\r\ndevice = \"cuda\" if torch.cuda.is_a... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-3.10.0-957.12.2.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.3
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 1.5.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22929/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22928/comments | https://api.github.com/repos/huggingface/transformers/issues/22928/events | https://github.com/huggingface/transformers/pull/22928 | 1,678,997,134 | PR_kwDOCUB6oc5O4ya9 | 22,928 | Update tiny models and a few fixes | {
"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._",
"The result of `Check Tiny Models / Check tiny models (push)` could be ignored."
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
- Update tiny models, including:
- Sam
- BigCode
- (recent) GPTNeoXForSequenceClassification
- Fix wrong condition introduced in my PR #22774 (it doesn't break things, but it will affect the creation of `pipeline_to_model_mapping` for new model types)
- Fix import in `test_pipeline... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22928",
"html_url": "https://github.com/huggingface/transformers/pull/22928",
"diff_url": "https://github.com/huggingface/transformers/pull/22928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22926/comments | https://api.github.com/repos/huggingface/transformers/issues/22926/events | https://github.com/huggingface/transformers/pull/22926 | 1,678,755,741 | PR_kwDOCUB6oc5O3-nM | 22,926 | add pref_train_gpu_one.mdx | {
"login": "Baelish03",
"id": 97971495,
"node_id": "U_kgDOBdbtJw",
"avatar_url": "https://avatars.githubusercontent.com/u/97971495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Baelish03",
"html_url": "https://github.com/Baelish03",
"followers_url": "https://api.github.com/users/Baelish0... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22926). All of your documentation changes will be reflected on that endpoint."
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | See issue #17459
Good evening.
I didn't translate technical terms and I preferred to keep them in english. So I hope it's all ok.
I had some problems in previous pull requests; if it fails again, please can you say how to resolve?
Good bye.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22926/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22926",
"html_url": "https://github.com/huggingface/transformers/pull/22926",
"diff_url": "https://github.com/huggingface/transformers/pull/22926.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22926.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22925/comments | https://api.github.com/repos/huggingface/transformers/issues/22925/events | https://github.com/huggingface/transformers/issues/22925 | 1,678,739,059 | I_kwDOCUB6oc5kD4Zz | 22,925 | mxmax/Chinese_Chat_T5_Base 模型怎么用torch.jit.trace追踪 | {
"login": "ling976",
"id": 63000347,
"node_id": "MDQ6VXNlcjYzMDAwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/63000347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ling976",
"html_url": "https://github.com/ling976",
"followers_url": "https://api.github.com/users/ling97... | [] | closed | false | null | [] | [
"Hi @ling976, thanks for raising this issue! \r\n\r\nUnfortunately, I don't speak Chinese :/ , is it possible to share the issue description in english? \r\n\r\nCould you also follow the issue template and share information such that this can be reproduced, including: \r\n* The running environment: run `transformer... | 1,682 | 1,685 | 1,685 | NONE | null | 我使用下面的代码进行模型转换
tokenizer = AutoTokenizer.from_pretrained('./outputs/model_files/')
model = AutoModelForSeq2SeqLM.from_pretrained('./outputs/model_files/')
device = torch.device("cpu")
model.to(device)
model.eval()
tokenized_dict = tokenizer(
["please answer the following quest... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22925/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22924/comments | https://api.github.com/repos/huggingface/transformers/issues/22924/events | https://github.com/huggingface/transformers/pull/22924 | 1,678,729,240 | PR_kwDOCUB6oc5O345m | 22,924 | add perf_train_gpu_one.mdx | {
"login": "Baelish03",
"id": 97971495,
"node_id": "U_kgDOBdbtJw",
"avatar_url": "https://avatars.githubusercontent.com/u/97971495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Baelish03",
"html_url": "https://github.com/Baelish03",
"followers_url": "https://api.github.com/users/Baelish0... | [] | closed | false | null | [] | [] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | See issue #17459
Good evening.
I didn't translate technical terms and I preferred to keep them in english
Good bye. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22924/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22924",
"html_url": "https://github.com/huggingface/transformers/pull/22924",
"diff_url": "https://github.com/huggingface/transformers/pull/22924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22924.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22923/comments | https://api.github.com/repos/huggingface/transformers/issues/22923/events | https://github.com/huggingface/transformers/issues/22923 | 1,678,618,615 | I_kwDOCUB6oc5kDa_3 | 22,923 | Need support for Sentence Similarity Pipeline | {
"login": "timxieICN",
"id": 112183115,
"node_id": "U_kgDOBq_HSw",
"avatar_url": "https://avatars.githubusercontent.com/u/112183115?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timxieICN",
"html_url": "https://github.com/timxieICN",
"followers_url": "https://api.github.com/users/timxie... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"cc @Narsil ",
"Hi @timxieICN ,\r\n\r\nThanks for the suggestion.\r\nIn general, sentence-similarity like https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 are served by `SentenceTransformers` which is a library on top of `transformers` itself.\r\n\r\nhttps://huggingface.co/sentence-transformers\r\n\r... | 1,682 | 1,700 | null | NONE | null | ### Feature request
HuggingFace now has a lot of Sentence Similarity models, but the pipeline does not yet support this: https://huggingface.co/docs/transformers/main_classes/pipelines
### Motivation
HuggingFace now has a lot of Sentence Similarity models, but the pipeline does not yet support this: https://huggingf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22923/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/22923/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22922/comments | https://api.github.com/repos/huggingface/transformers/issues/22922/events | https://github.com/huggingface/transformers/pull/22922 | 1,678,615,134 | PR_kwDOCUB6oc5O3gbR | 22,922 | [CI] clap patch fusion test values | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Fixes CI on clap cc @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22922/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/22922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22922",
"html_url": "https://github.com/huggingface/transformers/pull/22922",
"diff_url": "https://github.com/huggingface/transformers/pull/22922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22921/comments | https://api.github.com/repos/huggingface/transformers/issues/22921/events | https://github.com/huggingface/transformers/pull/22921 | 1,678,586,235 | PR_kwDOCUB6oc5O3aFI | 22,921 | Bring back PartialState DeepSpeed | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello Zach, after further deep dive, I found that we need to use DeepSpeed utils for initializing distributed setup in Accelerate's Partial State as done in the above-linked PR. This should solve the issues with the DeepSpeed tests."... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
This PR brings back the DeepSpeed implementation. After thorough help and investigation with @pacman100 we've determined the cause of the test failures is an issue on the DeepSpeed side, and an issue will be opened to track this. As a result, to maintain tests passing this PR should not be me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22921/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22921",
"html_url": "https://github.com/huggingface/transformers/pull/22921",
"diff_url": "https://github.com/huggingface/transformers/pull/22921.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22921.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22920/comments | https://api.github.com/repos/huggingface/transformers/issues/22920/events | https://github.com/huggingface/transformers/pull/22920 | 1,678,539,869 | PR_kwDOCUB6oc5O3P-q | 22,920 | Small sam patch | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22920). All of your documentation changes will be reflected on that endpoint."
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Fixes #22904 .
It is backward compatible and prevents having to modify any of the notebooks we shared | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22920",
"html_url": "https://github.com/huggingface/transformers/pull/22920",
"diff_url": "https://github.com/huggingface/transformers/pull/22920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22919/comments | https://api.github.com/repos/huggingface/transformers/issues/22919/events | https://github.com/huggingface/transformers/pull/22919 | 1,678,509,472 | PR_kwDOCUB6oc5O3JbZ | 22,919 | Fix: Seq2SeqTrainingArgs overriding to_dict for GenerationConfig json support | {
"login": "Natooz",
"id": 56734983,
"node_id": "MDQ6VXNlcjU2NzM0OTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/56734983?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Natooz",
"html_url": "https://github.com/Natooz",
"followers_url": "https://api.github.com/users/Natooz/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Just updated",
"Thanks for adding this @Natooz 💛 "
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
`Seq2SeqTrainingArguments` override the `to_dict()` method from `TrainingArguments`.
This is a fix to #22831 (solution 2), solving an error that happened when saving to json a `Seq2SeqTrainingArguments` object with a `GenerationConfig` attribute.
## Before submitting
- [ ] This PR fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22919/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22919",
"html_url": "https://github.com/huggingface/transformers/pull/22919",
"diff_url": "https://github.com/huggingface/transformers/pull/22919.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22919.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22918/comments | https://api.github.com/repos/huggingface/transformers/issues/22918/events | https://github.com/huggingface/transformers/pull/22918 | 1,678,429,740 | PR_kwDOCUB6oc5O24U1 | 22,918 | Add an attribute to disable custom kernels in deformable detr in order to make the model ONNX exportable | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@fxmarty Following up on this, I agree with @sgugger's suggestion and think that a config argument would be a better alternative. ",
"Thank you will update!",
"@amyeroberts Let me know if this is better!"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | As per title and reported in https://github.com/huggingface/transformers/issues/22330 and https://github.com/huggingface/optimum/pull/931
This option will allow us to patch the model on the fly during the export to avoid going into the try/catch logic that is not supported by PyTorch ONNX export. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22918/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22918",
"html_url": "https://github.com/huggingface/transformers/pull/22918",
"diff_url": "https://github.com/huggingface/transformers/pull/22918.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22918.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22917/comments | https://api.github.com/repos/huggingface/transformers/issues/22917/events | https://github.com/huggingface/transformers/pull/22917 | 1,678,391,398 | PR_kwDOCUB6oc5O2v-x | 22,917 | Place static llama variables for multigpu | {
"login": "xloem",
"id": 279585,
"node_id": "MDQ6VXNlcjI3OTU4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xloem",
"html_url": "https://github.com/xloem",
"followers_url": "https://api.github.com/users/xloem/followers"... | [] | closed | false | null | [] | [
"Not really in favor of this, if the problem is with the way accelerate handles a for loop, should be solved in accelerate. cc @sgugger ",
"I am imagining accelerate might be able to store a cache of variables by object id so as to not repeatedly transfer the same one. When to empty such a cache is unclear to me.... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null |
# What does this PR do?
When using accelerate, attention_mask and position_ids were being retransferred for every layer after the first device. This change transfers them once in advance.
## Who can review?
@ArthurZucker @pacman100
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22917",
"html_url": "https://github.com/huggingface/transformers/pull/22917",
"diff_url": "https://github.com/huggingface/transformers/pull/22917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22916/comments | https://api.github.com/repos/huggingface/transformers/issues/22916/events | https://github.com/huggingface/transformers/pull/22916 | 1,678,290,686 | PR_kwDOCUB6oc5O2aHO | 22,916 | Add inputs_embeds functionality when generating with GPT-Neox | {
"login": "TobiasLee",
"id": 20009381,
"node_id": "MDQ6VXNlcjIwMDA5Mzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/20009381?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TobiasLee",
"html_url": "https://github.com/TobiasLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | This PR extends https://github.com/huggingface/transformers/pull/21405 and #21889 by @gante to GPTNeox models (which also includes the recent Pythia Suite models), , making it accept inputs_embeds when generating.
## Who can Review?
@gante @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22916/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22916",
"html_url": "https://github.com/huggingface/transformers/pull/22916",
"diff_url": "https://github.com/huggingface/transformers/pull/22916.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22916.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22915/comments | https://api.github.com/repos/huggingface/transformers/issues/22915/events | https://github.com/huggingface/transformers/pull/22915 | 1,678,131,422 | PR_kwDOCUB6oc5O14Ge | 22,915 | Make sam ONNX exportable | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArthurZucker The PR is here: https://github.com/huggingface/optimum/pull/995"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | As per title, would be great to have this PR on the next release so that we can support the ONNX export (see https://github.com/huggingface/optimum/pull/995). This piece is the only blocking one. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22915/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22915",
"html_url": "https://github.com/huggingface/transformers/pull/22915",
"diff_url": "https://github.com/huggingface/transformers/pull/22915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22915.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22914/comments | https://api.github.com/repos/huggingface/transformers/issues/22914/events | https://github.com/huggingface/transformers/issues/22914 | 1,678,110,624 | I_kwDOCUB6oc5kBe-g | 22,914 | beam_sample throws a nan error on long generations | {
"login": "fpgaminer",
"id": 1585817,
"node_id": "MDQ6VXNlcjE1ODU4MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1585817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fpgaminer",
"html_url": "https://github.com/fpgaminer",
"followers_url": "https://api.github.com/users/fp... | [] | closed | false | null | [] | [
"Hey @fpgaminer 👋 \r\n\r\nMy first recommendation would be to use \"normal\" `sample`, perhaps with a slightly lower temperature. If you think about it, `beam_sample` is a sample-based strategy that greedily picks the best scores among the drawn sequences, which is similar to `sample` with a lower temperature (whi... | 1,682 | 1,688 | 1,688 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.35
- Python version: 3.10.10
- Huggingface_hub version: 0.13.4
- Safetensors version: 0.3.0
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22914/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22913/comments | https://api.github.com/repos/huggingface/transformers/issues/22913/events | https://github.com/huggingface/transformers/pull/22913 | 1,678,092,909 | PR_kwDOCUB6oc5O1vy9 | 22,913 | Fix counting in Slack report for some jobs | {
"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,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Fix counting in Slack report for some jobs.
### Context
For the additional jobs (i.e. not model testing jobs), the number of failed tests are being summed across over all machine types (single/multi - gpu). We have strange things like single gpu deepspeed CI has only 1 failure but 86 was ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22913/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22913",
"html_url": "https://github.com/huggingface/transformers/pull/22913",
"diff_url": "https://github.com/huggingface/transformers/pull/22913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22913.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22912/comments | https://api.github.com/repos/huggingface/transformers/issues/22912/events | https://github.com/huggingface/transformers/pull/22912 | 1,678,078,291 | PR_kwDOCUB6oc5O1skP | 22,912 | Top 100 | {
"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,682 | 1,684 | 1,684 | MEMBER | null | This PR celebrates the upcoming 100k stars for `transformers` by highlighting 100 open-source repositories that use or have integrated `transformers` in their projects.
This list should not be limited to 100 (which we use as a mirror to the 100k stars), so we're looking forward to having libraries that integrate `tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22912/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22912",
"html_url": "https://github.com/huggingface/transformers/pull/22912",
"diff_url": "https://github.com/huggingface/transformers/pull/22912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22912.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22911/comments | https://api.github.com/repos/huggingface/transformers/issues/22911/events | https://github.com/huggingface/transformers/pull/22911 | 1,678,072,768 | PR_kwDOCUB6oc5O1rVX | 22,911 | Skip a failing test on main for now | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merge as it just skip the failing test."
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
On CircleCI, we have a failure on `main`:
```
FAILED tests/models/roberta/test_modeling_roberta.py::RobertaModelTest::test_assisted_greedy_search_matches_greedy_search
```
(BTW, it works on daily CI GPU runners) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22911/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22911",
"html_url": "https://github.com/huggingface/transformers/pull/22911",
"diff_url": "https://github.com/huggingface/transformers/pull/22911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22911.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22910/comments | https://api.github.com/repos/huggingface/transformers/issues/22910/events | https://github.com/huggingface/transformers/pull/22910 | 1,677,961,122 | PR_kwDOCUB6oc5O1S4Y | 22,910 | Expose AutoModelForMaskGeneration | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Either way is fine for me - it's just to have consistency between the transformers Hub metadata and transformers. An either fix would be to just change the metadata, and remove the `AutoModelForMaskGeneration`.",
"So which one do y... | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | As per title, with this PR `from transformers import AutoModelForMaskGeneration` works.
An alternative could be to remove `AutoModelForMaskGeneration` (as `AutoModel` already does the job), but currently for sam Hub metadata it is `AutoModelForMaskGeneration` that is used and not `AutoModel`: https://huggingface.co/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22910",
"html_url": "https://github.com/huggingface/transformers/pull/22910",
"diff_url": "https://github.com/huggingface/transformers/pull/22910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22910.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22909/comments | https://api.github.com/repos/huggingface/transformers/issues/22909/events | https://github.com/huggingface/transformers/pull/22909 | 1,677,928,201 | PR_kwDOCUB6oc5O1Lpj | 22,909 | Moved labels to enable parallelism pipeline in Luke model | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
As suggested in the [#22561](https://github.com/huggingface/transformers/issues/22561),moved labels to the same device as logits for the luke model.
@sgugger can u pls review this pr ,there is mistake in the [#22907](https://github.com/huggingface/transformers/pull/22907),I have made neces... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22909",
"html_url": "https://github.com/huggingface/transformers/pull/22909",
"diff_url": "https://github.com/huggingface/transformers/pull/22909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22909.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22908/comments | https://api.github.com/repos/huggingface/transformers/issues/22908/events | https://github.com/huggingface/transformers/pull/22908 | 1,677,893,816 | PR_kwDOCUB6oc5O1EIo | 22,908 | added GPTNeoForTokenClassification | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey! Could you make sure the CI tests are green? Can review then! ",
"@ArthurZucker\r\nSure. I'm getting the hang of it. Now, the only failing tests are connected to flax and seem unrelated to this pull request.",
"If the flax er... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
It adds the class GPTNeoForTokenClassification, which allows using GPT Neo models for token classification tasks. The implementation follows the one for other models (such as GPT2) closely and simply adds a linear layer after the hidden states.
## Before submitting
- [ ] This PR fixes a t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22908/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/22908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22908",
"html_url": "https://github.com/huggingface/transformers/pull/22908",
"diff_url": "https://github.com/huggingface/transformers/pull/22908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22908.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22907/comments | https://api.github.com/repos/huggingface/transformers/issues/22907/events | https://github.com/huggingface/transformers/pull/22907 | 1,677,706,276 | PR_kwDOCUB6oc5O0cZi | 22,907 | Moved labels to enable parallelism pipeline in Luke model | {
"login": "katiele47",
"id": 54815905,
"node_id": "MDQ6VXNlcjU0ODE1OTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/54815905?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/katiele47",
"html_url": "https://github.com/katiele47",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22907). All of your documentation changes will be reflected on that endpoint.",
"@katiele47 - thanks for the PR! \r\n\r\nApologies, I reviewed another PR implementing the changes for Luke quickly this morning without prope... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes #22561
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22907/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22907",
"html_url": "https://github.com/huggingface/transformers/pull/22907",
"diff_url": "https://github.com/huggingface/transformers/pull/22907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22907.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22906/comments | https://api.github.com/repos/huggingface/transformers/issues/22906/events | https://github.com/huggingface/transformers/pull/22906 | 1,677,672,282 | PR_kwDOCUB6oc5O0VOt | 22,906 | Fix a minor bug in CI slack report | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
#22798 added code to show the difference between 2 CI runs. However, the previous CI run(s) may not yet produced the artifact `test_failure_tables`, and we got `KeyError: 'model_failures_report.txt'` in the last run.
This PR adds some check. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22906",
"html_url": "https://github.com/huggingface/transformers/pull/22906",
"diff_url": "https://github.com/huggingface/transformers/pull/22906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22905/comments | https://api.github.com/repos/huggingface/transformers/issues/22905/events | https://github.com/huggingface/transformers/pull/22905 | 1,677,619,281 | PR_kwDOCUB6oc5O0J9n | 22,905 | JukeBox Model Parallelism by moving labels to same devices for logits | {
"login": "AdiaWu",
"id": 60185619,
"node_id": "MDQ6VXNlcjYwMTg1NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/60185619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdiaWu",
"html_url": "https://github.com/AdiaWu",
"followers_url": "https://api.github.com/users/AdiaWu/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22905). All of your documentation changes will be reflected on that endpoint.",
"It seems there is actually nothing to do for this model.",
"This issue has been automatically marked as stale because it has not had recent ... | 1,682 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
This is a draft PR that moves labels to same devices as logits for accomplishing model parallelism for JukeBox model. Since `src/transformers/models/jukebox/modeling_jukebox.py` does not contain conditional statements where label is not None, I would like to ask you for helps how I can implemen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22905/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22905",
"html_url": "https://github.com/huggingface/transformers/pull/22905",
"diff_url": "https://github.com/huggingface/transformers/pull/22905.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22905.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22904/comments | https://api.github.com/repos/huggingface/transformers/issues/22904/events | https://github.com/huggingface/transformers/issues/22904 | 1,677,526,973 | I_kwDOCUB6oc5j_Qe9 | 22,904 | SAM: Notebook example not working | {
"login": "antoinemacia",
"id": 18508791,
"node_id": "MDQ6VXNlcjE4NTA4Nzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/18508791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antoinemacia",
"html_url": "https://github.com/antoinemacia",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I have similar issue when i run \r\n\r\n```\r\nimg_url = \"https://huggingface.co/ybelkada/segment-anything/resolve/main/assets/car.png\"\r\nraw_image = Image.open(requests.get(img_url, stream=True).raw).convert(\"RGB\")\r\ninput_points = [[[450, 600]]] # 2D location of a window in the image\r\n\r\ninputs = proce... | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: macOS-13.2-arm64-arm-64bit
- Python version: 3.10.6
- Huggingface_hub version: 0.13.4
- Safetensors version: 0.3.0
- PyTorch version (GPU?): 1.13.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): 0.6.9 (cp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22904/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 2,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22904/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22903/comments | https://api.github.com/repos/huggingface/transformers/issues/22903/events | https://github.com/huggingface/transformers/issues/22903 | 1,677,511,874 | I_kwDOCUB6oc5j_MzC | 22,903 | Pix2Struct: unable to overfit on a single training sample | {
"login": "arnaudstiegler",
"id": 26485052,
"node_id": "MDQ6VXNlcjI2NDg1MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/26485052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arnaudstiegler",
"html_url": "https://github.com/arnaudstiegler",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi thanks for the detailed report, indeed this seems weird. I will have a look at it once I am back on Tuesday. \r\ncc also @NielsRogge and @nbroad1881 for visibility as they have been also working on fine-tuning Pix2struct",
"Thank you! Let me know if there's anything I can help with :) ",
"Yeah I had a hard ... | 1,682 | 1,687 | 1,684 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.0
- Platform: Linux-5.4.0-1037-aws-x86_64-with-glibc2.27
- Python version: 3.9.16
- Huggingface_hub version: 0.13.4
- Safetensors version: 0.3.0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22903/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22902/comments | https://api.github.com/repos/huggingface/transformers/issues/22902/events | https://github.com/huggingface/transformers/issues/22902 | 1,677,386,335 | I_kwDOCUB6oc5j-uJf | 22,902 | Running GLUE example failed since Apr 17 | {
"login": "jingyanwangms",
"id": 47403504,
"node_id": "MDQ6VXNlcjQ3NDAzNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/47403504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jingyanwangms",
"html_url": "https://github.com/jingyanwangms",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"This is the commit that seems to cause the issue: https://github.com/huggingface/transformers/commit/03462875cc2d6506eb66a74de7d19b93ce968596",
"@jingyanwangms Thanks for raising this issue! \r\n\r\nThere was an issue that occurred on the development branch with the introduction of PartialState from accelerate a... | 1,682 | 1,685 | 1,685 | NONE | null | ### System Info
We have continuous monitoring that runs latest huggingface models to benchmark performance, and below script failed since Apr 17
python -m torch.distributed.launch --nproc_per_node=8 /workspace/transformers/examples/pytorch/text-classification/run_glue.py --model_name_or_path microsoft/deberta-large... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22902/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22901/comments | https://api.github.com/repos/huggingface/transformers/issues/22901/events | https://github.com/huggingface/transformers/pull/22901 | 1,677,351,576 | PR_kwDOCUB6oc5OzQBj | 22,901 | Fix Slack report for Nightly CI and Past CI | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
For these 2 CI, so for we get
```bash
Single | Multi | Category
0 | 0 | [Errored out] Examples directory
0 | 0 | [Errored out] PyTorch pipelines
0 | 0 | [Errored out] TensorFlow pipelines
...
```
But they don't have these 3 jobs in their workflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22901/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22901",
"html_url": "https://github.com/huggingface/transformers/pull/22901",
"diff_url": "https://github.com/huggingface/transformers/pull/22901.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22901.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22900/comments | https://api.github.com/repos/huggingface/transformers/issues/22900/events | https://github.com/huggingface/transformers/pull/22900 | 1,677,228,432 | PR_kwDOCUB6oc5Oy1LR | 22,900 | Luke | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22900). All of your documentation changes will be reflected on that endpoint."
] | 1,682 | 1,682 | 1,682 | 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/22900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22900/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22900",
"html_url": "https://github.com/huggingface/transformers/pull/22900",
"diff_url": "https://github.com/huggingface/transformers/pull/22900.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22900.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22899/comments | https://api.github.com/repos/huggingface/transformers/issues/22899/events | https://github.com/huggingface/transformers/pull/22899 | 1,677,186,183 | PR_kwDOCUB6oc5OysoH | 22,899 | Revert DeepSpeed stuff | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22899). All of your documentation changes will be reflected on that endpoint.",
"I see this was included in transformers 4.29.0 (https://github.com/huggingface/transformers/releases/tag/v4.29.0). Could you share more about ... | 1,682 | 1,683 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
During the integration some deepspeed items that need further looks into before it can be part of the integration need to be addressed/looked at more carefully. This PR reverts the base deepspeed logic done in `setup_devices` and `parallel_mode` to restore the original deepspeed behavior
F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22899/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22899",
"html_url": "https://github.com/huggingface/transformers/pull/22899",
"diff_url": "https://github.com/huggingface/transformers/pull/22899.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22899.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22898/comments | https://api.github.com/repos/huggingface/transformers/issues/22898/events | https://github.com/huggingface/transformers/pull/22898 | 1,677,175,866 | PR_kwDOCUB6oc5OyqX5 | 22,898 | moved labels to the same device as logits for LILT model | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
As suggested in the [#22561](https://github.com/huggingface/transformers/issues/22561) moved labels to the same device as logits for the lilt model.
@sgugger pls review and merge it in the main branch.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22898/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22898",
"html_url": "https://github.com/huggingface/transformers/pull/22898",
"diff_url": "https://github.com/huggingface/transformers/pull/22898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22898.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22897/comments | https://api.github.com/repos/huggingface/transformers/issues/22897/events | https://github.com/huggingface/transformers/pull/22897 | 1,677,017,022 | PR_kwDOCUB6oc5OyJMG | 22,897 | Flax whisper gradient checkpointing | {
"login": "versae",
"id": 173537,
"node_id": "MDQ6VXNlcjE3MzUzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/versae",
"html_url": "https://github.com/versae",
"followers_url": "https://api.github.com/users/versae/follow... | [] | closed | false | null | [] | [
"At the moment, the model loads fine but I then get a weird error when training or generating:\r\n\r\n```python\r\n│ /data/venvflax/lib/python3.8/site-packages/transformers/models/whisper/modeling_flax_whisper.py: │\r\n│ 520 in __call__ ... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | It uses `flax.linen.remat` and follows on PRs #13657 and #17994.
# What does this PR do?
Adds gradient_checkpointing to Flax Whisper models.
## 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 guidel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22897/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22897",
"html_url": "https://github.com/huggingface/transformers/pull/22897",
"diff_url": "https://github.com/huggingface/transformers/pull/22897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22897.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22896/comments | https://api.github.com/repos/huggingface/transformers/issues/22896/events | https://github.com/huggingface/transformers/pull/22896 | 1,676,981,602 | PR_kwDOCUB6oc5OyBe6 | 22,896 | don't pass None kwargs to accelerate as it doesn't handle it nicely | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @muellerzr ",
"We've already fixed this in accelerate via https://github.com/huggingface/accelerate/pull/1342. (Now there are more deepspeed things failing, but we're looking into that).\r\n\r\nFor now, as we're working on a ver... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes an issue when using deepspeed where `self.xpu_backend` is None, and by passing it to accelerate, it doesn't handle it well.
```
File "/opt/conda/lib/python3.8/site-packages/transformers/training_args.py", line 1550, in _setup_devices ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22896",
"html_url": "https://github.com/huggingface/transformers/pull/22896",
"diff_url": "https://github.com/huggingface/transformers/pull/22896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22896.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22895/comments | https://api.github.com/repos/huggingface/transformers/issues/22895/events | https://github.com/huggingface/transformers/pull/22895 | 1,676,969,855 | PR_kwDOCUB6oc5Ox-9h | 22,895 | Pin flax & optax version | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Failing on [main](https://app.circleci.com/pipelines/github/huggingface/transformers/62534/workflows/d270e074-306d-4a8f-9434-fcdd979fae1b/jobs/770753) because of a new release of [optax](https://github.com/deepmind/optax/releases/tag/v0.1.5). Pinning until compatible versions with jax resolve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22895",
"html_url": "https://github.com/huggingface/transformers/pull/22895",
"diff_url": "https://github.com/huggingface/transformers/pull/22895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22895.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22894/comments | https://api.github.com/repos/huggingface/transformers/issues/22894/events | https://github.com/huggingface/transformers/pull/22894 | 1,676,956,761 | PR_kwDOCUB6oc5Ox8Ni | 22,894 | Fix `FillMaskPipelineTests` | {
"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,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
For some BPE tokenizers, `</w>` is removed during decoding, so `token_str` won't be the same as in `targets`. We need to adjust the test logic.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22894/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22894",
"html_url": "https://github.com/huggingface/transformers/pull/22894",
"diff_url": "https://github.com/huggingface/transformers/pull/22894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22894.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.