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/20685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20685/comments | https://api.github.com/repos/huggingface/transformers/issues/20685/events | https://github.com/huggingface/transformers/issues/20685 | 1,484,942,265 | I_kwDOCUB6oc5Ygmu5 | 20,685 | Training ConformerCTC suitable for online inference | {
"login": "pfeatherstone",
"id": 45853521,
"node_id": "MDQ6VXNlcjQ1ODUzNTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/45853521?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pfeatherstone",
"html_url": "https://github.com/pfeatherstone",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co) for such questions.",
"Ok sorry",
"@sgugger I added a post [here](https://discuss.huggingface.co/t/conformerctc-for-streaming/27480). i would greatly appreciate your input."
] | 1,670 | 1,670 | 1,670 | NONE | null | ### Feature request
Provide a mechanism (or docs if already possible) for training a Conformer model with CTC loss function, such that when inferring live using blocked buffered data, you get the same output as if passing the whole data in one go. Also, discuss if this is resilient to sample offsets.
### Motivation
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20685/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20684/comments | https://api.github.com/repos/huggingface/transformers/issues/20684/events | https://github.com/huggingface/transformers/pull/20684 | 1,484,911,895 | PR_kwDOCUB6oc5EzhUL | 20,684 | Enable bf16 option for XLA devices | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I don't see how the gradient scaling path is disabled, could you share more information on that? A scaler is still defined at line 591.\r\n\r\nLine 568 disables the code section that enables grad scaler when XLA device is detected ... | 1,670 | 1,679 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
XLA devices like TPU and NeuronCore supports BF16 natively. This PR enables --bf16 option to work for XLA devices.
Since BF16 doesn't require gradient scaling, gradient scaling path is disabled for XLA devices.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20684/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20684",
"html_url": "https://github.com/huggingface/transformers/pull/20684",
"diff_url": "https://github.com/huggingface/transformers/pull/20684.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20684.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20683/comments | https://api.github.com/repos/huggingface/transformers/issues/20683/events | https://github.com/huggingface/transformers/pull/20683 | 1,484,900,952 | PR_kwDOCUB6oc5Eze4Q | 20,683 | Add `keep_in_fp32_modules` support | {
"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 | [] | [
"What about adding hooks on each converted module, that will take care of converting the input / output to the correct `dtype` ?",
"_The documentation is not available anymore as the PR was closed or merged._",
"As suggested in #20287 / model loaded in bfloat16 should keep their weights in `bfloat16` and not ca... | 1,670 | 1,680 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
This PR partially addresses #20287 - although half-precision and int8 conversion work extremely well for most of the models, for some architectures (e.g. T5) the casting leads in a drastic performance degradation.
This can be fixed by manually force-casting some modules in `float32`. For ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20683/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20683",
"html_url": "https://github.com/huggingface/transformers/pull/20683",
"diff_url": "https://github.com/huggingface/transformers/pull/20683.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20683.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20682/comments | https://api.github.com/repos/huggingface/transformers/issues/20682/events | https://github.com/huggingface/transformers/pull/20682 | 1,484,863,062 | PR_kwDOCUB6oc5EzWgb | 20,682 | Feature: Adding support for MultiWorkerMirroredStrategy in TensorFlow Training Args | {
"login": "Lokiiiiii",
"id": 36520926,
"node_id": "MDQ6VXNlcjM2NTIwOTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/36520926?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lokiiiiii",
"html_url": "https://github.com/Lokiiiiii",
"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_20682). 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,670 | 1,673 | 1,673 | NONE | null | # What does this PR do?
Adding support for MultiWorkerMirroredStrategy in TensorFlow Training Args. This is an existing stable Distribution strategy provided by TensorFlow.
<!--
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 not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20682/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20682",
"html_url": "https://github.com/huggingface/transformers/pull/20682",
"diff_url": "https://github.com/huggingface/transformers/pull/20682.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20682.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20681/comments | https://api.github.com/repos/huggingface/transformers/issues/20681/events | https://github.com/huggingface/transformers/pull/20681 | 1,484,845,318 | PR_kwDOCUB6oc5EzSgB | 20,681 | Whilelist Transformers private method in DummyObject | {
"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._",
"You can't do that kind of check without triggerring recursion errors (cause it calls methods like `__getattribute__` inside that method ;-) )."
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Fixes #20671
As reported in #20671, calling `AutoModel.from_config` on a model with a missing specific soft dependency does not raise the appropriate error. This is because this method ends up calling `ModelClass._from_config` and the `DummyObject` class does not raise the error on all pri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20681/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20681/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20681",
"html_url": "https://github.com/huggingface/transformers/pull/20681",
"diff_url": "https://github.com/huggingface/transformers/pull/20681.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20681.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20680/comments | https://api.github.com/repos/huggingface/transformers/issues/20680/events | https://github.com/huggingface/transformers/pull/20680 | 1,484,790,811 | PR_kwDOCUB6oc5EzGOj | 20,680 | Fix expected values for TF-ESM tests | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | MEMBER | null | I computed the expected values for these tests on my local machine with TF32 enabled - my bad! This replaces them with the correct float32 expected outputs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20680/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20680/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20680",
"html_url": "https://github.com/huggingface/transformers/pull/20680",
"diff_url": "https://github.com/huggingface/transformers/pull/20680.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20680.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20679/comments | https://api.github.com/repos/huggingface/transformers/issues/20679/events | https://github.com/huggingface/transformers/pull/20679 | 1,484,748,443 | PR_kwDOCUB6oc5Ey8t3 | 20,679 | [`ViTHybrid`] Fix `accelerate` slow tests | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Fixes failing `ViTHybrid` `accelerate` tests
Uses the same procedure as DPTHybrid for `backbone_featmap_shape` - Now all slow tests should pass :-)
cc @sgugger @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20679/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20679",
"html_url": "https://github.com/huggingface/transformers/pull/20679",
"diff_url": "https://github.com/huggingface/transformers/pull/20679.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20679.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20678/comments | https://api.github.com/repos/huggingface/transformers/issues/20678/events | https://github.com/huggingface/transformers/pull/20678 | 1,484,715,822 | PR_kwDOCUB6oc5Ey1bY | 20,678 | added model resources for CPMAnt | {
"login": "pioliverse",
"id": 119836898,
"node_id": "U_kgDOBySQ4g",
"avatar_url": "https://avatars.githubusercontent.com/u/119836898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pioliverse",
"html_url": "https://github.com/pioliverse",
"followers_url": "https://api.github.com/users/pio... | [] | closed | false | null | [] | [
"Hi there, thanks for your PR! It contains a lot of modifications that have nothing to do with the title (bad rebase?) so you might need to open a fresh PR :-)",
"> Hi there, thanks for your PR! It contains a lot of modifications that have nothing to do with the title (bad rebase?) so you might need to open a fre... | 1,670 | 1,670 | 1,670 | 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/20678/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20678/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20678",
"html_url": "https://github.com/huggingface/transformers/pull/20678",
"diff_url": "https://github.com/huggingface/transformers/pull/20678.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20678.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20677/comments | https://api.github.com/repos/huggingface/transformers/issues/20677/events | https://github.com/huggingface/transformers/pull/20677 | 1,484,713,457 | PR_kwDOCUB6oc5Ey041 | 20,677 | Bump certifi from 2021.10.8 to 2022.12.7 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | Bumps [certifi](https://github.com/certifi/python-certifi) from 2021.10.8 to 2022.12.7.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/certifi/python-certifi/commit/9e9e840925d7b8e76c76fdac1fab7e6e88c1c3b8"><code>9e9e840</code></a> 2022.12.07</li>
<li><a href="https://github.com/certifi/pytho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20677/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20677",
"html_url": "https://github.com/huggingface/transformers/pull/20677",
"diff_url": "https://github.com/huggingface/transformers/pull/20677.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20677.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20676/comments | https://api.github.com/repos/huggingface/transformers/issues/20676/events | https://github.com/huggingface/transformers/pull/20676 | 1,484,673,775 | PR_kwDOCUB6oc5Eyr_O | 20,676 | fix text config and model loading. | {
"login": "jongjyh",
"id": 37979232,
"node_id": "MDQ6VXNlcjM3OTc5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/37979232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jongjyh",
"html_url": "https://github.com/jongjyh",
"followers_url": "https://api.github.com/users/jongjy... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20676). All of your documentation changes will be reflected on that endpoint."
] | 1,670 | 1,670 | 1,670 | 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/20676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20676/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20676",
"html_url": "https://github.com/huggingface/transformers/pull/20676",
"diff_url": "https://github.com/huggingface/transformers/pull/20676.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20676.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20675/comments | https://api.github.com/repos/huggingface/transformers/issues/20675/events | https://github.com/huggingface/transformers/pull/20675 | 1,484,622,938 | PR_kwDOCUB6oc5Eygfd | 20,675 | [Backbones] Improve out features | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
This PR makes sure backbones by default return the feature map of the last stage in case `config.out_features = None`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20675/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20675",
"html_url": "https://github.com/huggingface/transformers/pull/20675",
"diff_url": "https://github.com/huggingface/transformers/pull/20675.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20675.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20674/comments | https://api.github.com/repos/huggingface/transformers/issues/20674/events | https://github.com/huggingface/transformers/issues/20674 | 1,484,571,126 | I_kwDOCUB6oc5YfMH2 | 20,674 | How to write a custom configuration for hugging face model for Token Classification | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to help debug your code.",
"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 [contributi... | 1,670 | 1,673 | 1,673 | NONE | null | **Model description**
I add simple custom `pytorch-crf` layer on top of `TokenClassification model` for `NER`. It will make the model more robust.
I train the model and I get the error:
***** Running training *****
Num examples = 4
Num Epochs = 2
Instantaneous batch size per device = ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20674/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20673/comments | https://api.github.com/repos/huggingface/transformers/issues/20673/events | https://github.com/huggingface/transformers/pull/20673 | 1,484,512,161 | PR_kwDOCUB6oc5EyHXf | 20,673 | Bump certifi from 2020.6.20 to 2022.12.7 in /examples/research_projects/visual_bert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | [//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [certifi](https://github.com/certifi/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20673/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20673",
"html_url": "https://github.com/huggingface/transformers/pull/20673",
"diff_url": "https://github.com/huggingface/transformers/pull/20673.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20673.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20672/comments | https://api.github.com/repos/huggingface/transformers/issues/20672/events | https://github.com/huggingface/transformers/pull/20672 | 1,484,469,030 | PR_kwDOCUB6oc5Ex9jx | 20,672 | Bump certifi from 2020.6.20 to 2022.12.7 in /examples/research_projects/lxmert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.6.20 to 2022.12.7.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/certifi/python-certifi/commit/9e9e840925d7b8e76c76fdac1fab7e6e88c1c3b8"><code>9e9e840</code></a> 2022.12.07</li>
<li><a href="https://github.com/certifi/pytho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20672/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20672",
"html_url": "https://github.com/huggingface/transformers/pull/20672",
"diff_url": "https://github.com/huggingface/transformers/pull/20672.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20672.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20671/comments | https://api.github.com/repos/huggingface/transformers/issues/20671/events | https://github.com/huggingface/transformers/issues/20671 | 1,484,375,542 | I_kwDOCUB6oc5YecX2 | 20,671 | Calling `AutoModel.from_config()` method for a model requiring timm does not raise ImportError although it should | {
"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 | [] | [
"Indeed, I can see why and it's an easy fix. Will make a PR in a couple of hours!",
"Can you try the PR mentioned above?",
"Works well thanks for the fix!"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.26.0.dev0
- Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
- Python version: 3.9.12
- Huggingface_hub version: 0.11.0.dev0
- PyTorch version (GPU?): 1.12.1+cu102 (True)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): 0.5.2 (cpu)
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20671/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20670/comments | https://api.github.com/repos/huggingface/transformers/issues/20670/events | https://github.com/huggingface/transformers/issues/20670 | 1,484,355,681 | I_kwDOCUB6oc5YeXhh | 20,670 | T5 for Q&A produces truncated sentence | {
"login": "junyongyou",
"id": 13484072,
"node_id": "MDQ6VXNlcjEzNDg0MDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/13484072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junyongyou",
"html_url": "https://github.com/junyongyou",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"It is so strange that the format of code does not look correct, even I have put them in ``.",
"Hi there, you should use the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for bugs and feature requests only :-)",
"> Hi there, you should use the [forums](https://discuss.huggi... | 1,670 | 1,670 | 1,670 | NONE | null | Dear all, I am fine-tuning T5 for Q&A task using the MedQuAD ([GitHub - abachaa/MedQuAD: Medical Question Answering Dataset of 47,457 QA pairs created from 12 NIH websites](https://github.com/abachaa/MedQuAD)) dataset. In the dataset, there are many long answers with thousands of words. I have used pytorch_lightning to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20670/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20669/comments | https://api.github.com/repos/huggingface/transformers/issues/20669/events | https://github.com/huggingface/transformers/issues/20669 | 1,484,311,901 | I_kwDOCUB6oc5YeM1d | 20,669 | Progress Bar for large model loading | {
"login": "vvvm23",
"id": 44398246,
"node_id": "MDQ6VXNlcjQ0Mzk4MjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/44398246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vvvm23",
"html_url": "https://github.com/vvvm23",
"followers_url": "https://api.github.com/users/vvvm23/fo... | [] | closed | false | null | [] | [
"Sounds like a reasonable request. This should be done by the PR linked above if you want to try it!",
"I might be using this wrong, but I've taken the following steps and don't see any changes 🤔 :\r\n```\r\nfrom transformers import BloomForCausalLM\r\nimport torch\r\n\r\nmodel = BloomForCausalLM.from_pretrained... | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | ### Feature request
Add progress bars for large model loading from cache files.
### Motivation
Most of the time, model loading time will be dominated by download speed. However, for very large models we will often first download the checkpoints, then during runtime simply load them from cache. For models like Bloom ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20669/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/20669/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20668/comments | https://api.github.com/repos/huggingface/transformers/issues/20668/events | https://github.com/huggingface/transformers/pull/20668 | 1,484,072,475 | PR_kwDOCUB6oc5Ewi0j | 20,668 | Add AltCLIP | {
"login": "jongjyh",
"id": 37979232,
"node_id": "MDQ6VXNlcjM3OTc5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/37979232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jongjyh",
"html_url": "https://github.com/jongjyh",
"followers_url": "https://api.github.com/users/jongjy... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20668). All of your documentation changes will be reflected on that endpoint."
] | 1,670 | 1,670 | 1,670 | 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/20668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20668/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20668",
"html_url": "https://github.com/huggingface/transformers/pull/20668",
"diff_url": "https://github.com/huggingface/transformers/pull/20668.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20668.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20667/comments | https://api.github.com/repos/huggingface/transformers/issues/20667/events | https://github.com/huggingface/transformers/pull/20667 | 1,483,873,534 | PR_kwDOCUB6oc5Ev1sn | 20,667 | Albert resource | {
"login": "JuheonChu",
"id": 35699839,
"node_id": "MDQ6VXNlcjM1Njk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/35699839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuheonChu",
"html_url": "https://github.com/JuheonChu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Closing this issue and reopening the issue at [Issue 20697](https://github.com/huggingface/transformers/pull/20697)."
] | 1,670 | 1,670 | 1,670 | 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/20667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20667/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20667",
"html_url": "https://github.com/huggingface/transformers/pull/20667",
"diff_url": "https://github.com/huggingface/transformers/pull/20667.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20667.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20666/comments | https://api.github.com/repos/huggingface/transformers/issues/20666/events | https://github.com/huggingface/transformers/issues/20666 | 1,483,747,072 | I_kwDOCUB6oc5YcC8A | 20,666 | Generating with Flax fails when using padding | {
"login": "lhao499",
"id": 23612416,
"node_id": "MDQ6VXNlcjIzNjEyNDE2",
"avatar_url": "https://avatars.githubusercontent.com/u/23612416?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhao499",
"html_url": "https://github.com/lhao499",
"followers_url": "https://api.github.com/users/lhao49... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi and @gante ",
"Hey @lhao499!\r\n\r\n> using builtin |endoftext| as pad token works with padding, but using customized token <|pad|> doesn't work\r\n\r\nNote that GPT2 was not pre-trained with padding tokens. We can use the `<|endoftext|>` token as a substitute, but really we should specify an ... | 1,670 | 1,674 | 1,674 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.10.133+-x86_64-with-glibc2.27
- Python version: 3.8.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.0+cu116 (False)
- Tensorflow version (GPU?): 2.9.2 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.2 (cpu)
- Jax version: 0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20666/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20665/comments | https://api.github.com/repos/huggingface/transformers/issues/20665/events | https://github.com/huggingface/transformers/issues/20665 | 1,483,505,819 | I_kwDOCUB6oc5YbICb | 20,665 | beam_search 中记录 beam_indices 的问题 | {
"login": "jicoder-nwpu",
"id": 46379875,
"node_id": "MDQ6VXNlcjQ2Mzc5ODc1",
"avatar_url": "https://avatars.githubusercontent.com/u/46379875?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jicoder-nwpu",
"html_url": "https://github.com/jicoder-nwpu",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Please follow the template of the issue. No one can help you without a description of the problem and a clear reproducer."
] | 1,670 | 1,670 | 1,670 | NONE | null | ### System Info
some beam_indices become 0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details below)
### Reprod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20665/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20664/comments | https://api.github.com/repos/huggingface/transformers/issues/20664/events | https://github.com/huggingface/transformers/issues/20664 | 1,483,397,759 | I_kwDOCUB6oc5Yatp_ | 20,664 | [TF] Save finetuned-model without huggingface-hub login | {
"login": "goreng2",
"id": 45035457,
"node_id": "MDQ6VXNlcjQ1MDM1NDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/45035457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/goreng2",
"html_url": "https://github.com/goreng2",
"followers_url": "https://api.github.com/users/goreng... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"I also find the problem that finetuned-model doesn't sync with hub when give only 1 epoch or at the last epoch",
"Hi @goreng2, you're correct that right now the callback expects a HF login. This is because that callback is designed for uploading models to the hub. If you just want to save... | 1,670 | 1,674 | 1,673 | NONE | null | ### Feature request
[TF] Save finetuned-model in local without huggingface-hub login
### Motivation
in TF, We need to login for saving finetuned-model.
```
from transformers.keras_callbacks import PushToHubCallback
push_to_hub_callback = PushToHubCallback(
output_dir="my_awesome_model",
tokenizer=toke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20664/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20664/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20663/comments | https://api.github.com/repos/huggingface/transformers/issues/20663/events | https://github.com/huggingface/transformers/issues/20663 | 1,483,024,966 | I_kwDOCUB6oc5YZSpG | 20,663 | Adding Pix2Struct to transformers | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Really cool!\r\n\r\nRelated (sorry first read Pix2Struct as Pix2Seq): I have a working implementation of Pix2Seq: https://github.com/NielsRogge/transformers/tree/add_pix2seq. It even works with the generate method to autoregressively generate bounding boxes. However I didn't add it yet as training was quite cumber... | 1,670 | 1,685 | 1,679 | CONTRIBUTOR | null | ### Model description
Image-to-Text encoder decoder presented in: https://arxiv.org/abs/2210.03347
It is in spirit similar to the [Donut](https://huggingface.co/docs/transformers/model_doc/donut) model that has been added to transformers not so long ago, but it has outperformed it on pretty much all benchmarks (tha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20663/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/20663/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20662/comments | https://api.github.com/repos/huggingface/transformers/issues/20662/events | https://github.com/huggingface/transformers/pull/20662 | 1,482,959,799 | PR_kwDOCUB6oc5EsjhK | 20,662 | Clarify return_tensor and return_text parameters | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> LGTM thanks! @Narsil maybe a clear `ValueError` could be raised when sanitizing parameters when both `return_text` and `return_tensors` are `True`?\r\n\r\nhttps://github.com/huggingface/transformers/pull/20729"
] | 1,670 | 1,670 | 1,670 | MEMBER | null | This PR fixes #20615 by clarifying that setting `return_tensors=True` will not return the decoded text, and you can't get a combination of `generated_text` and `generated_token_ids`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20662/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20662",
"html_url": "https://github.com/huggingface/transformers/pull/20662",
"diff_url": "https://github.com/huggingface/transformers/pull/20662.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20662.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20661/comments | https://api.github.com/repos/huggingface/transformers/issues/20661/events | https://github.com/huggingface/transformers/pull/20661 | 1,482,677,476 | PR_kwDOCUB6oc5ErjEp | 20,661 | Fix load from PT-formatted checkpoint in composite TF models | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
This PR fixes the slow test `TFViT2GPT2EncoderDecoderModelTest::test_real_model_save_load_from_pretrained` which was broken by the new `safetensors` integration. The main problem was that this model loads a GPT-2 as its decoder, which has a safetensors checkpoint formatted in a PyTorch-like f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20661/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20661",
"html_url": "https://github.com/huggingface/transformers/pull/20661",
"diff_url": "https://github.com/huggingface/transformers/pull/20661.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20661.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20660/comments | https://api.github.com/repos/huggingface/transformers/issues/20660/events | https://github.com/huggingface/transformers/pull/20660 | 1,482,605,552 | PR_kwDOCUB6oc5ErSvT | 20,660 | Add BackboneMixin | {
"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._",
"Oh by the way, this is definition of a mixin in Python and the base class should be called `BackboneMixin` :-)"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Add `BackboneMixin` with a method `forward_with_filtered_kwargs`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20660",
"html_url": "https://github.com/huggingface/transformers/pull/20660",
"diff_url": "https://github.com/huggingface/transformers/pull/20660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20660.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20659/comments | https://api.github.com/repos/huggingface/transformers/issues/20659/events | https://github.com/huggingface/transformers/issues/20659 | 1,482,521,052 | I_kwDOCUB6oc5YXXnc | 20,659 | Replicating SQuAD results on T5 | {
"login": "lucky-bai",
"id": 123435,
"node_id": "MDQ6VXNlcjEyMzQzNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/123435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucky-bai",
"html_url": "https://github.com/lucky-bai",
"followers_url": "https://api.github.com/users/luck... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for questions like this as we keep issues for bugs and feature requests only.\r\nNote that we did not try to replicate the result of this paper with this script :-)",
"This issue has been automatically marked as stale because it has not had recent activity... | 1,670 | 1,673 | 1,673 | NONE | null | ### System Info
Hi, I'm trying to replicate the SQuAD experiment in the [T5 paper](https://arxiv.org/abs/1910.10683). I'm following the paper's recommended hyperparameters for finetuning:
* AdaFactor optimizer
* Batch size 128 (I'm doing 16 per GPU on 8xRTX 3090 GPUs)
* 2^18 steps for fine-tuning (which is arou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20659/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20658/comments | https://api.github.com/repos/huggingface/transformers/issues/20658/events | https://github.com/huggingface/transformers/issues/20658 | 1,482,507,471 | I_kwDOCUB6oc5YXUTP | 20,658 | LayoutLM Cuda Memory Error | {
"login": "WaterKnight1998",
"id": 41203448,
"node_id": "MDQ6VXNlcjQxMjAzNDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/41203448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WaterKnight1998",
"html_url": "https://github.com/WaterKnight1998",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"It's advised to run the same code on CPU to get a more understandable error message",
"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 [contribu... | 1,670 | 1,673 | 1,673 | NONE | null | ### System Info
torch==1.13.0+cu116
transformers==4.24.0
### Who can help?
@philschmid
### 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 (g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20658/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20657/comments | https://api.github.com/repos/huggingface/transformers/issues/20657/events | https://github.com/huggingface/transformers/pull/20657 | 1,482,298,229 | PR_kwDOCUB6oc5EqNUV | 20,657 | [`BiT`] Small patch fix | {
"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,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a tiny issue that you can encounter if you load `BiT` in fp16.
`diffusers` uses this model under the hood for Depth Estimation inpainting and users get this error:
```
593
594 layer_dropouts = [
--> 595 x.tolist() for x in torch.linspace(0, conf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20657/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20657",
"html_url": "https://github.com/huggingface/transformers/pull/20657",
"diff_url": "https://github.com/huggingface/transformers/pull/20657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20657.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20656/comments | https://api.github.com/repos/huggingface/transformers/issues/20656/events | https://github.com/huggingface/transformers/pull/20656 | 1,482,242,906 | PR_kwDOCUB6oc5EqBKM | 20,656 | Fix gpt2 fp16 training when tracing is enabled | {
"login": "JingyaHuang",
"id": 44135271,
"node_id": "MDQ6VXNlcjQ0MTM1Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JingyaHuang",
"html_url": "https://github.com/JingyaHuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"A little bit more context on the issue, I previously fixed the tracing issue in #18017, but it will harm the performance due to host<->device synchronization, which has been targeted in #20061, but cause the tracing once again failed.\r\n\r\nIt seems that we can't guarantee the tracing correctness and inference pe... | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
With the PR #20061, the tracing will fail during mixed-precision training, as the dtype for the inputs of a where node are not the same, which is invalid while reusing the ONNX model for inference.
The node:
https://github.com/huggingface/transformers/blob/3ac040bca1efbf5cfe9604a5b2a10a53... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20656/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20656",
"html_url": "https://github.com/huggingface/transformers/pull/20656",
"diff_url": "https://github.com/huggingface/transformers/pull/20656.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20656.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20655/comments | https://api.github.com/repos/huggingface/transformers/issues/20655/events | https://github.com/huggingface/transformers/pull/20655 | 1,482,032,721 | PR_kwDOCUB6oc5EpR52 | 20,655 | [Trainer] Corrects typing of Trainer __init__ args | {
"login": "julianmack",
"id": 32888280,
"node_id": "MDQ6VXNlcjMyODg4Mjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/32888280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julianmack",
"html_url": "https://github.com/julianmack",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Corrects typing for Trainer class. Updates typing to match change made in https://github.com/huggingface/transformers/pull/19158/ and fixes a few other typing issues while I'm there
Unless I'm missing something these changes take the typing to parity with both class docstring and implement... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20655/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20655",
"html_url": "https://github.com/huggingface/transformers/pull/20655",
"diff_url": "https://github.com/huggingface/transformers/pull/20655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20655.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20654/comments | https://api.github.com/repos/huggingface/transformers/issues/20654/events | https://github.com/huggingface/transformers/pull/20654 | 1,482,023,354 | PR_kwDOCUB6oc5EpPyz | 20,654 | [NAT, DiNAT] Add backbone class | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the `NatBackbone` and `DinatBackbone` classes, to be used for #20577. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20654/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20654/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20654",
"html_url": "https://github.com/huggingface/transformers/pull/20654",
"diff_url": "https://github.com/huggingface/transformers/pull/20654.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20654.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20653/comments | https://api.github.com/repos/huggingface/transformers/issues/20653/events | https://github.com/huggingface/transformers/issues/20653 | 1,482,016,815 | I_kwDOCUB6oc5YVcgv | 20,653 | Add Whisper large V2 model | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"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": "... | [
"cc @ArthurZucker ",
"Hey! The `large-v2` is already converted, we are just waiting for OpenAI's approval for the release 😉 ",
"Cool!",
"FYI : https://huggingface.co/openai/whisper-large-v2 ",
"Not really sure if we want to change the `large` for `large-v2`, not really backward compatible"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | ### Model description
It seems openAI has just released a V2 of its large Whisper model.
- The "large-v2" model is trained for more epochs with regularization and shows improved performance compared to the previous large.
- It has the same architecture as the original large model.
- When `load_model("large")` is ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20653/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20652/comments | https://api.github.com/repos/huggingface/transformers/issues/20652/events | https://github.com/huggingface/transformers/pull/20652 | 1,481,994,638 | PR_kwDOCUB6oc5EpJVs | 20,652 | [Whisper] Fix forced decoder ids | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"fyi @sgugger, the final fix we hope 🤞",
"Yes! Let me clarify! \r\n\r\nWhen training, we need to encode a sentence to a sequence of label ids. Here, we need to append the 'special' beginning of sentence tokens to the label ids. Thi... | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
The Whisper tokenizer has a property `self.prefix_tokens` that returns the token ids appended to the start of label sequence:
```
<|startoftranscript|> <|lang_id|> <|task|> <|notimestamps|> ...
```
In the PR https://github.com/huggingface/transformers/pull/20589, the method `get_decoder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20652/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20652",
"html_url": "https://github.com/huggingface/transformers/pull/20652",
"diff_url": "https://github.com/huggingface/transformers/pull/20652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20652.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20651/comments | https://api.github.com/repos/huggingface/transformers/issues/20651/events | https://github.com/huggingface/transformers/pull/20651 | 1,481,986,420 | PR_kwDOCUB6oc5EpHgO | 20,651 | [Trainer] add error when passing `8bit`models | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Before this PR, any user could load an 8bit model and pass it to a Trainer, which is wrong. In fact, it is not possible to train an 8bit model (yet). Therefore we should raise an error until this will be supported in the future
Related: https://github.com/huggingface/transformers/issues/20... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20651/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/20651/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20651",
"html_url": "https://github.com/huggingface/transformers/pull/20651",
"diff_url": "https://github.com/huggingface/transformers/pull/20651.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20651.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20650/comments | https://api.github.com/repos/huggingface/transformers/issues/20650/events | https://github.com/huggingface/transformers/issues/20650 | 1,481,972,308 | I_kwDOCUB6oc5YVRpU | 20,650 | [New Model] UDOP: Unifying Vision, Text, and Layout for Universal Document Processing | {
"login": "WaterKnight1998",
"id": 41203448,
"node_id": "MDQ6VXNlcjQxMjAzNDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/41203448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WaterKnight1998",
"html_url": "https://github.com/WaterKnight1998",
"followers_url": "https://api... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"@NielsRogge as you implemented Donut, you might be interested :)",
"Let's hope they open-source :)",
"@NielsRogge they added the code here https://github.com/microsoft/i-Code/tree/main/i-Code-Doc",
"Hi @NielsRogge, can I help in this implementation?",
"@NielsRogge here you have the weights: https://hugging... | 1,670 | 1,678 | null | NONE | null | ### Model description
We propose Universal Document Processing (UDOP), a foundation Document AI model which unifies text, image, and layout modalities together with varied task formats, including document understanding and generation. UDOP leverages the spatial correlation between textual content and document image ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20650/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20650/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20649/comments | https://api.github.com/repos/huggingface/transformers/issues/20649/events | https://github.com/huggingface/transformers/pull/20649 | 1,481,887,386 | PR_kwDOCUB6oc5EoxE4 | 20,649 | [`ViTHybrid`] + [`BiT`] cleaner `__init__` | {
"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._",
"Yes, this can be addressed in a future PR"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
a function in `BiT` is not needed, thus this PR makes the codebase less error-prone.
Before that, to get the feature maps size from the backbone model, `ViTHybrid` assumed that the backbone has the method `_get_feature_map` which is not the case for all backbones.
Related #20645 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20649",
"html_url": "https://github.com/huggingface/transformers/pull/20649",
"diff_url": "https://github.com/huggingface/transformers/pull/20649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20649.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20648/comments | https://api.github.com/repos/huggingface/transformers/issues/20648/events | https://github.com/huggingface/transformers/pull/20648 | 1,481,824,401 | PR_kwDOCUB6oc5Eoi3I | 20,648 | Add UperNet | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review, I'm waiting for the authors to respond regarding the creation of an organization on the hub."
] | 1,670 | 1,673 | 1,673 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the classic [UperNet](https://arxiv.org/abs/1807.10221) framework to Transformers.
Many papers that introduce a new vision backbone, such as BEiT, ConvNeXt, Swin,... benchmark their model on downstream tasks such as semantic segmentation and object detection. All of these pape... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20648/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20648",
"html_url": "https://github.com/huggingface/transformers/pull/20648",
"diff_url": "https://github.com/huggingface/transformers/pull/20648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20648.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20647/comments | https://api.github.com/repos/huggingface/transformers/issues/20647/events | https://github.com/huggingface/transformers/pull/20647 | 1,481,689,331 | PR_kwDOCUB6oc5EoEQV | 20,647 | Add batch of resources | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks for your review! It's unclear to me why the \"build PR documentation\" check is failing, thought it had to do with the pipeline tags, but it's still failing. Any insight would be greatly appreciated",
"You will have to isolate which file triggers the issue and then which line inside that file by trial and... | 1,670 | 1,673 | 1,673 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a batch of resources, primilarly for all image classifiers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20647/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20647",
"html_url": "https://github.com/huggingface/transformers/pull/20647",
"diff_url": "https://github.com/huggingface/transformers/pull/20647.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20647.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20646/comments | https://api.github.com/repos/huggingface/transformers/issues/20646/events | https://github.com/huggingface/transformers/pull/20646 | 1,481,628,488 | PR_kwDOCUB6oc5En2lh | 20,646 | [pipeline] fix Whisper test | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Test already fixed in https://github.com/huggingface/transformers/pull/20588"
] | 1,670 | 1,687 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Fixes Whisper pipeline test.
Previously, we suppressed the hyphen and apostrophe tokens from Whisper generation, meaning they were alway predicted with zero probability. This meant that these tokens could never be predicted. With the Hub PR https://huggingface.co/openai/whisper-large/discu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20646/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20646",
"html_url": "https://github.com/huggingface/transformers/pull/20646",
"diff_url": "https://github.com/huggingface/transformers/pull/20646.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20646.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20645/comments | https://api.github.com/repos/huggingface/transformers/issues/20645/events | https://github.com/huggingface/transformers/pull/20645 | 1,481,534,958 | PR_kwDOCUB6oc5EnhmF | 20,645 | Add `dpt-hybrid` support | {
"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._",
"Thanks a bunch! Fortunately it was already on the config file :D https://huggingface.co/Intel/dpt-hybrid-midas/blob/main/config.json#L277 but will open a PR to remove the `embedding_type` as it is not needed anymore",
"The config ... | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Adds `DPT-hybrid` support in `transformers`
Currently only DPT is supported. This PR leverages `AutoBackbone` from @NielsRogge to replace the embedding layer from `DPT` to support `DPT-hybrid`
Fixes #20435
Model weights: https://huggingface.co/Intel/dpt-hybrid-midas | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20645/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20645",
"html_url": "https://github.com/huggingface/transformers/pull/20645",
"diff_url": "https://github.com/huggingface/transformers/pull/20645.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20645.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20644/comments | https://api.github.com/repos/huggingface/transformers/issues/20644/events | https://github.com/huggingface/transformers/issues/20644 | 1,481,450,965 | I_kwDOCUB6oc5YTSXV | 20,644 | ONNX encoder decoder exchange invoke issue | {
"login": "umanniyaz",
"id": 33204214,
"node_id": "MDQ6VXNlcjMzMjA0MjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/33204214?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umanniyaz",
"html_url": "https://github.com/umanniyaz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "mht-sharma",
"id": 21088122,
"node_id": "MDQ6VXNlcjIxMDg4MTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/21088122?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mht-sharma",
"html_url": "https://github.com/mht-sharma",
"followers_url": "https://api.github.com/use... | [
{
"login": "mht-sharma",
"id": 21088122,
"node_id": "MDQ6VXNlcjIxMDg4MTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/21088122?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mht-sharma",
"html_url": "https://github.com/mht-sharma",
"followers_url": "https:... | [
"@NielsRogge @mht-sharma \r\n\r\nNew issue raised here: (https://github.com/huggingface/transformers/issues/20644)",
"Added a draft PR in optimum for easing inference. https://github.com/huggingface/optimum/pull/588",
"What about this : \r\n**Adds ORTModelForVision2Seq for inference (In progress...)**\r\n\r\nLi... | 1,670 | 1,694 | 1,677 | NONE | null | ### System Info
TR-OCR Model
Encoder - BeiT -encoder.onnx
Decoder - Roberta large- decoder.onnx
System config:
Intel i9 11 gen
Nvidia Quadro RTX 4000 Max Q design - 16GB
Dependencies version:
onnx == 1.12.0
onnx-runtime == 1.13.1
torch == 1.13.0
transformers == 4.24.0
torchvision ==0.14.0
Issue:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20644/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20643/comments | https://api.github.com/repos/huggingface/transformers/issues/20643/events | https://github.com/huggingface/transformers/issues/20643 | 1,481,396,578 | I_kwDOCUB6oc5YTFFi | 20,643 | Use encoder_last_hidden_states instead of tokens as input to do beam-search on text generation (BART cases) | {
"login": "etsurin",
"id": 59410307,
"node_id": "MDQ6VXNlcjU5NDEwMzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/59410307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/etsurin",
"html_url": "https://github.com/etsurin",
"followers_url": "https://api.github.com/users/etsuri... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep issues for bugs and feature requests only."
] | 1,670 | 1,670 | 1,670 | NONE | null | ```
def shift_tokens_right(input_ids: torch.Tensor, pad_token_id: int, decoder_start_token_id: int):
"""
Shift input ids one token to the right.
"""
shifted_input_ids = input_ids.new_zeros(input_ids.shape)
shifted_input_ids[:, 1:] = input_ids[:, :-1].clone()
sh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20643/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20642/comments | https://api.github.com/repos/huggingface/transformers/issues/20642/events | https://github.com/huggingface/transformers/pull/20642 | 1,481,253,075 | PR_kwDOCUB6oc5EmijO | 20,642 | pin TF 2.11 in docker files | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Same as #20635 but for dockerfiles for GH actions.
(I already built the images and re-launch the daily CI) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20642/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20642",
"html_url": "https://github.com/huggingface/transformers/pull/20642",
"diff_url": "https://github.com/huggingface/transformers/pull/20642.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20642.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20641/comments | https://api.github.com/repos/huggingface/transformers/issues/20641/events | https://github.com/huggingface/transformers/pull/20641 | 1,481,250,773 | PR_kwDOCUB6oc5EmiBz | 20,641 | Speed up git-lfs detection on error | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | Prevent read and discard of entire checkpoint file.
# What does this PR do?
Mutates an error handler that checks only 7 bytes, to only read those 7 bytes rather than an entire checkpoint file.
Fixes # (issue)
Issue not opened. I encountered a memory allocation crash here when exploring disk offloading.
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20641/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20641",
"html_url": "https://github.com/huggingface/transformers/pull/20641",
"diff_url": "https://github.com/huggingface/transformers/pull/20641.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20641.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20640/comments | https://api.github.com/repos/huggingface/transformers/issues/20640/events | https://github.com/huggingface/transformers/pull/20640 | 1,481,149,178 | PR_kwDOCUB6oc5EmLA_ | 20,640 | Convert the data type of embeddings and masks to bfloat16 for torch amp | {
"login": "CaoE",
"id": 23565213,
"node_id": "MDQ6VXNlcjIzNTY1MjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/23565213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaoE",
"html_url": "https://github.com/CaoE",
"followers_url": "https://api.github.com/users/CaoE/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your PR!\r\nWe're not really interested in adding optimizations like this in each model file, as if we were to do this for all possible hardwares and dtypes, the code would be unreadable. Since each model is defined in its... | 1,670 | 1,673 | 1,673 | NONE | null | ### Motivation
Add a attribute `use_torch_bfloat16_embeddings` in `PretrainedConfig` to indicate if bfloat16 data type for embeddings and masks is used and convert the data type of embeddings and masks to bfloat16 accordingly.
This will reduce the number of data type conversion between float and bfloat16 when runni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20640/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20640",
"html_url": "https://github.com/huggingface/transformers/pull/20640",
"diff_url": "https://github.com/huggingface/transformers/pull/20640.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20640.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20639/comments | https://api.github.com/repos/huggingface/transformers/issues/20639/events | https://github.com/huggingface/transformers/pull/20639 | 1,480,740,627 | PR_kwDOCUB6oc5EktJ- | 20,639 | Added type hints to modeling_tf_encoder_decoder.py | {
"login": "Batese2001",
"id": 69521504,
"node_id": "MDQ6VXNlcjY5NTIxNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/69521504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Batese2001",
"html_url": "https://github.com/Batese2001",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,670 | 1,673 | 1,673 | CONTRIBUTOR | null | # What does this PR do?
This pull request adds type hints for modeling_tf_encoder_decoder.py as outlined in Issue #16059
## 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/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20639/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20639",
"html_url": "https://github.com/huggingface/transformers/pull/20639",
"diff_url": "https://github.com/huggingface/transformers/pull/20639.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20639.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20638/comments | https://api.github.com/repos/huggingface/transformers/issues/20638/events | https://github.com/huggingface/transformers/issues/20638 | 1,480,712,680 | I_kwDOCUB6oc5YQeHo | 20,638 | ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length. Perhaps your features (`labels` in this case) have excessive nesting (inputs type `list` where type `int` is expected). | {
"login": "vitthal-bhandari",
"id": 51982356,
"node_id": "MDQ6VXNlcjUxOTgyMzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/51982356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vitthal-bhandari",
"html_url": "https://github.com/vitthal-bhandari",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to help debug your code. We also have a [step by step guide](https://huggingface.co/course/chapter8/4?fw=pt) to help debug issues with the `Trainer`.\r\n\r\nIn this instance you did not convert your labels from strings to integers, so the data collator canno... | 1,670 | 1,675 | 1,673 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.10.133+-x86_64-with-glibc2.27
- Python version: 3.8.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorflow version (GPU?): 2.9.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20638/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20637/comments | https://api.github.com/repos/huggingface/transformers/issues/20637/events | https://github.com/huggingface/transformers/pull/20637 | 1,480,705,354 | PR_kwDOCUB6oc5EklDH | 20,637 | added model resources for xlm-roberta | {
"login": "hazrulakmal",
"id": 24774385,
"node_id": "MDQ6VXNlcjI0Nzc0Mzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/24774385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hazrulakmal",
"html_url": "https://github.com/hazrulakmal",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Fixes [20055](https://github.com/huggingface/transformers/issues/20055)
- I created a link to task guides for casual language modeling and text classification. I think they are useful and applicable but not directly related to the xlm-roberta model class per say.
- For casual language m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20637/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20637",
"html_url": "https://github.com/huggingface/transformers/pull/20637",
"diff_url": "https://github.com/huggingface/transformers/pull/20637.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20637.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20636/comments | https://api.github.com/repos/huggingface/transformers/issues/20636/events | https://github.com/huggingface/transformers/issues/20636 | 1,480,691,310 | I_kwDOCUB6oc5YQY5u | 20,636 | CLIP not releasing GPU memory after each inference batch | {
"login": "corbt",
"id": 176426,
"node_id": "MDQ6VXNlcjE3NjQyNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/176426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/corbt",
"html_url": "https://github.com/corbt",
"followers_url": "https://api.github.com/users/corbt/followers"... | [] | closed | false | null | [] | [
"Maybe it's missing a `torch.no_grad`? Not sure though, cc @amyeroberts and @ArthurZucker if you have time to dive into this a bit more :-)",
"@sgugger thanks for the tip; I think that's the source of the issue! When I wrap my code in a `with torch.no_grad():` context it starts releasing GPU memory correctly. Not... | 1,670 | 1,673 | 1,673 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.31
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20636/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20635/comments | https://api.github.com/repos/huggingface/transformers/issues/20635/events | https://github.com/huggingface/transformers/pull/20635 | 1,480,403,630 | PR_kwDOCUB6oc5EjgJv | 20,635 | Pin TensorFlow to the next release | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merging without approval to fix main since all tests are passing."
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Pin TensorFlow to the next release, which should fix the current errors on the CI when trying to install `tensorflow-text`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20635/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20635",
"html_url": "https://github.com/huggingface/transformers/pull/20635",
"diff_url": "https://github.com/huggingface/transformers/pull/20635.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20635.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20634/comments | https://api.github.com/repos/huggingface/transformers/issues/20634/events | https://github.com/huggingface/transformers/pull/20634 | 1,480,193,639 | PR_kwDOCUB6oc5EiwKt | 20,634 | Migrate torchdynamo to torch.compile | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
This PR migrates the current integration with PyTorch 2.0 to use the entry point they introduced: `torch.compile`. As a consequence, the `torchdynamo` argument is deprecated to the profit of `torch_compile_backend` and `torch_compile_mode`. Setting either will trigger a model compilation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20634/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20634",
"html_url": "https://github.com/huggingface/transformers/pull/20634",
"diff_url": "https://github.com/huggingface/transformers/pull/20634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20634.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20633/comments | https://api.github.com/repos/huggingface/transformers/issues/20633/events | https://github.com/huggingface/transformers/pull/20633 | 1,480,123,602 | PR_kwDOCUB6oc5EigK- | 20,633 | Fix link to speech encoder decoder model in speech recognition readme | {
"login": "JuanFKurucz",
"id": 31422367,
"node_id": "MDQ6VXNlcjMxNDIyMzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/31422367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JuanFKurucz",
"html_url": "https://github.com/JuanFKurucz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20633). All of your documentation changes will be reflected on that endpoint."
] | 1,670 | 1,691 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Current README documentation aims to `https://huggingface.co/docs/transformers/main/en/model_doc/speechencoderdecoder#speech-encoder-decoder-models`, which redirects to a 404 Not found. The actual link seems to be `https://huggingface.co/docs/transformers/main/en/model_doc/speech-encoder-deco... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20633/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20633",
"html_url": "https://github.com/huggingface/transformers/pull/20633",
"diff_url": "https://github.com/huggingface/transformers/pull/20633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20633.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20632/comments | https://api.github.com/repos/huggingface/transformers/issues/20632/events | https://github.com/huggingface/transformers/pull/20632 | 1,480,057,402 | PR_kwDOCUB6oc5EiQ5a | 20,632 | fix natten installation | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
I made a mistake in #20546 and it ended up with
```bash
# For `dinat` model
RUN python3 -m pip install --no-cache-dir natten
RUN python3 -m pip install --no-cache-dir natten -f https://shi-labs.com/natten/wheels/$CUDA/
```
so the CUDA version was not installed (due to `Requirement alr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20632/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20632",
"html_url": "https://github.com/huggingface/transformers/pull/20632",
"diff_url": "https://github.com/huggingface/transformers/pull/20632.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20632.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20631/comments | https://api.github.com/repos/huggingface/transformers/issues/20631/events | https://github.com/huggingface/transformers/pull/20631 | 1,480,015,061 | PR_kwDOCUB6oc5EiHP4 | 20,631 | Add missing is_decoder parameter | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | MEMBER | null | This PR fixes #20452 by adding the missing `is_decoder` parameter to the `BertConfig` docstring and other model docs with the same issue. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20631/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/20631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20631",
"html_url": "https://github.com/huggingface/transformers/pull/20631",
"diff_url": "https://github.com/huggingface/transformers/pull/20631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20631.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20630/comments | https://api.github.com/repos/huggingface/transformers/issues/20630/events | https://github.com/huggingface/transformers/pull/20630 | 1,479,980,027 | PR_kwDOCUB6oc5Eh_Rm | 20,630 | Fixed num_channels!=3 normalization training | {
"login": "layjain",
"id": 43300660,
"node_id": "MDQ6VXNlcjQzMzAwNjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/43300660?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/layjain",
"html_url": "https://github.com/layjain",
"followers_url": "https://api.github.com/users/layjai... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Not exactly, the issue with your CircleCI permissions, the tests won't run.\r\n\r\nCould you try refreshing your permissions as shown [here](https://support.circleci.com/hc/en-us/articles/360048210711-How-to-Refresh-User-Permissions-... | 1,670 | 1,673 | 1,673 | CONTRIBUTOR | null | Fixes #20580 and #19913
## Who can review?
@NielsRogge
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20630/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/20630/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20630",
"html_url": "https://github.com/huggingface/transformers/pull/20630",
"diff_url": "https://github.com/huggingface/transformers/pull/20630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20630.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20628/comments | https://api.github.com/repos/huggingface/transformers/issues/20628/events | https://github.com/huggingface/transformers/issues/20628 | 1,479,954,815 | I_kwDOCUB6oc5YNlF_ | 20,628 | `past_time_features` attribute for TimeSeriesTransformer is not optional | {
"login": "simonMoisselin",
"id": 20187820,
"node_id": "MDQ6VXNlcjIwMTg3ODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/20187820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonMoisselin",
"html_url": "https://github.com/simonMoisselin",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @kashif and @NielsRogge ",
"Thank you for the issue! My feeling was that, since the transformer is a permutation equivariant layer, time features should be mandatory. For the case when you do not have date times, you can add positional encoding of a size of your choosing.\r\n\r\nWhat are your thoughts about t... | 1,670 | 1,676 | 1,674 | NONE | null | ### System Info
Hello,
I am trying to use `TimeSeriesTransformer` with `past_time_features=None` but I don't see anything in the code taking into account when this parameter is not defined, for example inside the method `create_network_inputs`:
https://github.com/huggingface/transformers/blob/v4.25.1/src/transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20628/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20627/comments | https://api.github.com/repos/huggingface/transformers/issues/20627/events | https://github.com/huggingface/transformers/issues/20627 | 1,479,925,922 | I_kwDOCUB6oc5YNeCi | 20,627 | When Pillow is not installed, importing from transformers.image_transforms raises an unclear NameError | {
"login": "convoliution",
"id": 7754936,
"node_id": "MDQ6VXNlcjc3NTQ5MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7754936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/convoliution",
"html_url": "https://github.com/convoliution",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"Thanks for raising @convoliution ! I agree both the imports and error message could be improved and your suggestion. \r\n\r\nIt's highlighted another thing that needs to be addressed: adding center_crop to the `transformers` [module init](https://github.com/huggingface/transformers/blob/4f78b... | 1,670 | 1,671 | 1,671 | NONE | null | ### System Info
- `transformers` version: 4.25.1
- Platform: macOS-11.6.8-x86_64-i386-64bit
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20627/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/20627/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20626/comments | https://api.github.com/repos/huggingface/transformers/issues/20626/events | https://github.com/huggingface/transformers/pull/20626 | 1,479,922,090 | PR_kwDOCUB6oc5Ehx-N | 20,626 | add in layer tf clip text tokenizer | {
"login": "piEsposito",
"id": 47679710,
"node_id": "MDQ6VXNlcjQ3Njc5NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/47679710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piEsposito",
"html_url": "https://github.com/piEsposito",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Just need to figure out where to append `eos_token` and `bos_token` within the tokenizers.",
"cc @Rocketknight1 so it's on your radar when the PR is ready :-) ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20626). All of your documentation changes will be reflecte... | 1,670 | 1,707 | 1,707 | CONTRIBUTOR | null | # What does this PR do?
- Adds in layer `TFCLIPTokenizer` to enable serialization and serving it with TF Serving
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20626/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20626",
"html_url": "https://github.com/huggingface/transformers/pull/20626",
"diff_url": "https://github.com/huggingface/transformers/pull/20626.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20626.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20625/comments | https://api.github.com/repos/huggingface/transformers/issues/20625/events | https://github.com/huggingface/transformers/pull/20625 | 1,479,730,176 | PR_kwDOCUB6oc5EhF3G | 20,625 | Fix donut image processor | {
"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._",
"> Thanks @amyeroberts . LGTM, but I don't see any change related to\r\n> \r\n> ```\r\n> Resolve bug where size wasn't passed to do_align_axis\r\n> ```\r\n> \r\n> Do I miss anything?\r\n\r\nNope - I've pushed it now :) ",
"@sgugger ... | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
This PR addresses failing integration tests for the Donut image processor which involves four main changes:
* Resolve bug where `size` wasn't passed to `do_align_axis`
* Remove a bug in the `get_resize_output_image_size` function which wouldn't take account of `max_size` ([inherited from... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20625",
"html_url": "https://github.com/huggingface/transformers/pull/20625",
"diff_url": "https://github.com/huggingface/transformers/pull/20625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20625.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20624/comments | https://api.github.com/repos/huggingface/transformers/issues/20624/events | https://github.com/huggingface/transformers/issues/20624 | 1,479,716,982 | I_kwDOCUB6oc5YMrB2 | 20,624 | Whisper doesn't compute positional embeddings properly when given batches of prompt tokens | {
"login": "andyehrenberg",
"id": 32784181,
"node_id": "MDQ6VXNlcjMyNzg0MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/32784181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andyehrenberg",
"html_url": "https://github.com/andyehrenberg",
"followers_url": "https://api.githu... | [] | 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": "... | [
"cc @ArthurZucker ",
"Thanks for opening this good issue 🤗 I'll have a proper look, I think you insight is pretty good. ",
"I have similar issue while using whisper with `padding=True` and I got this error:\r\n\r\n```\r\nRuntimeError: The size of tensor a (359) must match the size of tensor b (1500) at non-sin... | 1,670 | 1,681 | 1,673 | CONTRIBUTOR | null | ### System Info
v4.25.1 on M1 Mac with python 3.8
### Who can help?
@sanchit-gandhi @patrickvonplaten @anton-l
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20624/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20623/comments | https://api.github.com/repos/huggingface/transformers/issues/20623/events | https://github.com/huggingface/transformers/pull/20623 | 1,479,454,157 | PR_kwDOCUB6oc5EgGon | 20,623 | Update summarization `run_pipeline_test` | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Update summarization `run_pipeline_test`.
A few more models can handle longer sequences, and won't give expected exception at this place
```python
with self.assertRaises(Exception):
outputs = summarizer("This " * 1000)
```
So we need to ignore those model c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20623",
"html_url": "https://github.com/huggingface/transformers/pull/20623",
"diff_url": "https://github.com/huggingface/transformers/pull/20623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20623.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20622/comments | https://api.github.com/repos/huggingface/transformers/issues/20622/events | https://github.com/huggingface/transformers/issues/20622 | 1,479,160,471 | I_kwDOCUB6oc5YKjKX | 20,622 | Improved logo display in dark mode | {
"login": "shaonianche",
"id": 16186646,
"node_id": "MDQ6VXNlcjE2MTg2NjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/16186646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaonianche",
"html_url": "https://github.com/shaonianche",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,670 | 1,673 | 1,673 | NONE | null | ### Feature request

Use [github's](https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/) features to improve how the logo is displayed
### Motivation
...
### Your cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20622/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20621/comments | https://api.github.com/repos/huggingface/transformers/issues/20621/events | https://github.com/huggingface/transformers/pull/20621 | 1,479,128,441 | PR_kwDOCUB6oc5Ee88e | 20,621 | fix past_key_values in GPTNeoXForCausalLM.prepare_inputs_for_generation | {
"login": "ValeKnappich",
"id": 39188710,
"node_id": "MDQ6VXNlcjM5MTg4NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/39188710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ValeKnappich",
"html_url": "https://github.com/ValeKnappich",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"After doing some more testing, I noticed another issue that might or might not be a bug. Currently, it's not possible to use anything else than `1` for `num_return_sequences`. Here is a MWE:\r\n\r\n```\r\nimport torch\r\nfrom transfo... | 1,670 | 1,686 | 1,671 | CONTRIBUTOR | null | # What does this PR do?
@gante @sgugger
Fixes `past_key_values` in `GPTNeoXForCausalLM.prepare_inputs_for_generation`. Passing `past_key_values` to `model.generate` had no effect whatsoever, since the argument was swallowed. Described in Issue #20347 (note that the validation bug was fixed in PR #20353, but the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20621",
"html_url": "https://github.com/huggingface/transformers/pull/20621",
"diff_url": "https://github.com/huggingface/transformers/pull/20621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20621.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20620/comments | https://api.github.com/repos/huggingface/transformers/issues/20620/events | https://github.com/huggingface/transformers/pull/20620 | 1,479,005,995 | PR_kwDOCUB6oc5EehCY | 20,620 | Whisper Timestamp processor and prediction | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looking forward to this PR",
"Example output, HF vs openai : \r\nModel : `openai/whisper-medium`.\r\n```python \r\n{'chunks': [{'text': \" Je m'appelle Claude.\", 'timestamp': (0.0, 2.0)},\r\n {'text': ' Je te coupe, Plo... | 1,670 | 1,673 | 1,673 | COLLABORATOR | null | # What does this PR do?
This will add support for correct `timestamp` prediction in the generation, and should update the ASR pipeline to use these when generating on longer audio file.
The rough idea is that when the timestamps are generated, the model is more *aware* of the timing and generates `<|endoftext|>` toke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20620/reactions",
"total_count": 7,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/20620/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20620",
"html_url": "https://github.com/huggingface/transformers/pull/20620",
"diff_url": "https://github.com/huggingface/transformers/pull/20620.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20620.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20619/comments | https://api.github.com/repos/huggingface/transformers/issues/20619/events | https://github.com/huggingface/transformers/issues/20619 | 1,478,935,254 | I_kwDOCUB6oc5YJsLW | 20,619 | Stripping last some words from output of model.generate() method | {
"login": "ancil009",
"id": 114574269,
"node_id": "U_kgDOBtRDvQ",
"avatar_url": "https://avatars.githubusercontent.com/u/114574269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ancil009",
"html_url": "https://github.com/ancil009",
"followers_url": "https://api.github.com/users/ancil009/... | [] | closed | false | null | [] | [
"cc @gante ",
"Hi @ancil009 👋 \r\n\r\nI've spent some time debugging, and here's what's happening:\r\nThe output is shorter because the model outputs `eos_token_id` at that point. In other words, it thinks it is done. In fact, if I modify the code to ignore `eos_token_id`, the output is as follows.\r\n\r\n```\r\... | 1,670 | 1,674 | 1,674 | NONE | null | ### System Info
Hi All,
Am using pretrained "gec-t5_small" for grammar error correction. But the output from model.generate() method stripping the output. Please any one suggest a solution for the same.
**Code**
```
model = T5ForConditionalGeneration.from_pretrained("Unbabel/gec-t5_small", torch_dtype="aut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20619/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20618/comments | https://api.github.com/repos/huggingface/transformers/issues/20618/events | https://github.com/huggingface/transformers/issues/20618 | 1,478,905,442 | I_kwDOCUB6oc5YJk5i | 20,618 | Incremental Training on model of my domain which I have fine tuned using run_mlm | {
"login": "SakshamSoni-code",
"id": 63503820,
"node_id": "MDQ6VXNlcjYzNTAzODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/63503820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SakshamSoni-code",
"html_url": "https://github.com/SakshamSoni-code",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to ask such questions as we keep issues for bugs and feature requests only.",
"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 ... | 1,670 | 1,673 | 1,673 | NONE | null | ### Model description
I have used run_mlm to fine tune the model of my own domain. Now I want to do is, I want to pass a incremental flag in run_mlm, if that flag will be true then instead of fine tuning I want to start training on the already trained model of my own domain which we got before. What are the changes we... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20618/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20617/comments | https://api.github.com/repos/huggingface/transformers/issues/20617/events | https://github.com/huggingface/transformers/issues/20617 | 1,478,891,024 | I_kwDOCUB6oc5YJhYQ | 20,617 | pre | {
"login": "SakshamSoni-invizAI",
"id": 114740372,
"node_id": "U_kgDOBtbMlA",
"avatar_url": "https://avatars.githubusercontent.com/u/114740372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SakshamSoni-invizAI",
"html_url": "https://github.com/SakshamSoni-invizAI",
"followers_url": "https... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"close"
] | 1,670 | 1,670 | 1,670 | NONE | null | ### Model descript
### Open source status
- [ ] The model implementation is available
- [ ] The model weights are available
### Provide useful links for the implementation
_No response_ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20617/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20616/comments | https://api.github.com/repos/huggingface/transformers/issues/20616/events | https://github.com/huggingface/transformers/pull/20616 | 1,478,861,856 | PR_kwDOCUB6oc5EeBBZ | 20,616 | Cpmant test | {
"login": "pioliverse",
"id": 119836898,
"node_id": "U_kgDOBySQ4g",
"avatar_url": "https://avatars.githubusercontent.com/u/119836898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pioliverse",
"html_url": "https://github.com/pioliverse",
"followers_url": "https://api.github.com/users/pio... | [] | closed | false | null | [] | [] | 1,670 | 1,670 | 1,670 | 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/20616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20616/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20616",
"html_url": "https://github.com/huggingface/transformers/pull/20616",
"diff_url": "https://github.com/huggingface/transformers/pull/20616.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20616.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20615/comments | https://api.github.com/repos/huggingface/transformers/issues/20615/events | https://github.com/huggingface/transformers/issues/20615 | 1,478,817,868 | I_kwDOCUB6oc5YJPhM | 20,615 | return_tensors and return_text in TextGenerationPipeline don't work or partially work | {
"login": "PanQiWei",
"id": 46810637,
"node_id": "MDQ6VXNlcjQ2ODEwNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/46810637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PanQiWei",
"html_url": "https://github.com/PanQiWei",
"followers_url": "https://api.github.com/users/Pan... | [] | closed | false | null | [] | [
"This is perfectly normal as any value being set will choose its value in order.\r\n\r\nboolean were a bad choice since some combinations don't mean anything.\r\n\r\nhttps://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/text_generation.py#L132",
"@Narsil, thanks for responding! \r\n\r\n... | 1,670 | 1,670 | 1,670 | NONE | null | ### System Info
- transformers version: 4.24.0
- python version: 3.8.11
### Who can help?
Library:
- Text generation: @patrickvonplaten, @Narsil, @gante
- Pipelines: @Narsil
Documentation: @sgugger, @stevhliu
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20615/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20614/comments | https://api.github.com/repos/huggingface/transformers/issues/20614/events | https://github.com/huggingface/transformers/issues/20614 | 1,478,685,575 | I_kwDOCUB6oc5YIvOH | 20,614 | Can we add an augment `min_new_tokens` to the `generate` function? | {
"login": "silverriver",
"id": 2529049,
"node_id": "MDQ6VXNlcjI1MjkwNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2529049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/silverriver",
"html_url": "https://github.com/silverriver",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"the `min_length` already does what you want the `min_new_tokens` does under the hood, so personally I don't understand why you like to add a new `min_new_tokens` and change what `min_length` original mean. But add `min_new_tokens` as an alias of `min_length` may be a good idea (but not necessary).",
"For my unde... | 1,670 | 1,673 | 1,673 | CONTRIBUTOR | null | ### Feature request
Can we add a new parameter `min_new_tokens` to the `generate` function to limit the length of newly generated tokens? The current parameter `min_length` limits the length of `prompt + newly generated tokens`, not the length of `newly generated tokens`.
### Motivation
We already have `max_ne... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20614/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20613/comments | https://api.github.com/repos/huggingface/transformers/issues/20613/events | https://github.com/huggingface/transformers/pull/20613 | 1,478,653,641 | PR_kwDOCUB6oc5EdSwf | 20,613 | Ci-jukebox | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Just skips the 5b test as there is not enough RAM on the CI instance.
Keeping the test is important for local testing IMO | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20613/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20613",
"html_url": "https://github.com/huggingface/transformers/pull/20613",
"diff_url": "https://github.com/huggingface/transformers/pull/20613.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20613.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20612/comments | https://api.github.com/repos/huggingface/transformers/issues/20612/events | https://github.com/huggingface/transformers/pull/20612 | 1,478,614,310 | PR_kwDOCUB6oc5EdJ9Z | 20,612 | Add DPT hybrid | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20612). All of your documentation changes will be reflected on that endpoint.",
"You should have opened your PR to go on the branch adding BiT and VitHybrid as the PR is not easy to review as it is.",
"Yes sorry :/ Let m... | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Adds DPT Hybrid support to `transformers`
Do not merge until #20550 gets merged
cc @NielsRogge @sgugger @patrickvonplatten @patil-suraj
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20612/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20612/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20612",
"html_url": "https://github.com/huggingface/transformers/pull/20612",
"diff_url": "https://github.com/huggingface/transformers/pull/20612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20612.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20611/comments | https://api.github.com/repos/huggingface/transformers/issues/20611/events | https://github.com/huggingface/transformers/issues/20611 | 1,478,590,149 | I_kwDOCUB6oc5YIX7F | 20,611 | ImportError: cannot import name 'TFGenerationMixin' from 'transformers.generation' | {
"login": "Furknn",
"id": 25117440,
"node_id": "MDQ6VXNlcjI1MTE3NDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/25117440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Furknn",
"html_url": "https://github.com/Furknn",
"followers_url": "https://api.github.com/users/Furknn/fo... | [] | closed | false | null | [] | [
"cc @gante if you have any idea.",
"Hi @Furknn 👋 \r\n\r\nI have tried to reproduce this in my local machine (current `main` branch) in a local notebook (with `transformers==4.25.1`), using the following script:\r\n\r\n```python\r\nimport tensorflow,torch\r\nfrom transformers import AutoTokenizer, AutoModel\r\nmo... | 1,670 | 1,672 | 1,672 | NONE | null | ### System Info
# Info
- `transformers` version: 4.25.1
- Platform: Linux-6.0.8-1-MANJARO-x86_64-with-glibc2.36
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20611/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20610/comments | https://api.github.com/repos/huggingface/transformers/issues/20610/events | https://github.com/huggingface/transformers/issues/20610 | 1,478,585,946 | I_kwDOCUB6oc5YIW5a | 20,610 | MBART pretrained model is unable to produce output in the target language | {
"login": "haqsaiful",
"id": 79313734,
"node_id": "MDQ6VXNlcjc5MzEzNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/79313734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haqsaiful",
"html_url": "https://github.com/haqsaiful",
"followers_url": "https://api.github.com/users/... | [] | 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": "... | [
"You also need to set the `tokenizer.tgt_lang` I believe.\r\nAlso cc @ArthurZucker ",
"I think you are just using the wrong checkpoint. \r\nUsing the `\"facebook/mbart-large-50-many-to-many-mmt\"` I obtain the following : \r\n```યુનાઇટેડ સ્ટેટ્સ ઓફ અમેરિકાના પ્રાંતિકારી کہتے हैं कि सीरिया में कोई सैन्य समाधान नही... | 1,670 | 1,691 | 1,675 | NONE | null | Hi,
I am using mbart-large-50 for generation task. Source language is Hindi and target language is Gujarati. However, I am always getting the output in Hindi. It is expected to get few tokens in the target language even though its a pretrained model since i am forcing the BOS token to the target language.
Sharin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20609/comments | https://api.github.com/repos/huggingface/transformers/issues/20609/events | https://github.com/huggingface/transformers/issues/20609 | 1,478,517,009 | I_kwDOCUB6oc5YIGER | 20,609 | Data to text representation considers only first 2 triplets | {
"login": "jyotibhat1",
"id": 110028655,
"node_id": "U_kgDOBo7nbw",
"avatar_url": "https://avatars.githubusercontent.com/u/110028655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jyotibhat1",
"html_url": "https://github.com/jyotibhat1",
"followers_url": "https://api.github.com/users/jyo... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to ask such questions as we keep the issues for bugs and feature requests only.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPle... | 1,670 | 1,673 | 1,673 | NONE | null | Hello,
I trained t5-base with wenNLG2020 data set which takes the data in the form of multiple triplets. When a query is made to the model in the same format, it explains the first 2 triplets and ignores the rest. Is it any config issue? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20609/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20608/comments | https://api.github.com/repos/huggingface/transformers/issues/20608/events | https://github.com/huggingface/transformers/issues/20608 | 1,478,319,336 | I_kwDOCUB6oc5YHVzo | 20,608 | Is it possible to add simple custom pytorch-crf layer on top of TokenClassification model. It will make the model more robust. | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi,\r\n\r\nPlease use the forum for these kind of questions. We'd like to keep Github issues for bugs and feature requests.\r\n\r\nThanks!",
"> Hi,\r\n> \r\n> Please use the forum for these kind of questions. We'd like to keep Github issues for bugs and feature requests.\r\n> \r\n> Thanks!\r\n\r\nThis is kind of... | 1,670 | 1,670 | null | NONE | null | ### Model description
Is it possible to add simple custom `pytorch-crf` layer on top of `TokenClassification model`. It will make the model more robust.
There should be simple `Notebook tutorial` which teaches us to add our own `custom layer` on top of `Hugging face models` for
- Classification
- Token Classif... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20608/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/20608/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20607/comments | https://api.github.com/repos/huggingface/transformers/issues/20607/events | https://github.com/huggingface/transformers/pull/20607 | 1,478,082,625 | PR_kwDOCUB6oc5EbTRd | 20,607 | Documentation fixes | {
"login": "samuelzxu",
"id": 14795989,
"node_id": "MDQ6VXNlcjE0Nzk1OTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/14795989?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samuelzxu",
"html_url": "https://github.com/samuelzxu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
This PR just fixes some typos in the documentation.
Please note: Apart from the typos in the *paragraphs*, the other changes were because of significantly differing results I got from running the examples. For instance, "aweful" didn't result in a high negative score, but "awful" did.
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20607",
"html_url": "https://github.com/huggingface/transformers/pull/20607",
"diff_url": "https://github.com/huggingface/transformers/pull/20607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20607.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20606/comments | https://api.github.com/repos/huggingface/transformers/issues/20606/events | https://github.com/huggingface/transformers/pull/20606 | 1,478,018,329 | PR_kwDOCUB6oc5EbFN3 | 20,606 | Adding anchor links to Hindi README | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
1. Adding anchor links to Hindi README
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20606",
"html_url": "https://github.com/huggingface/transformers/pull/20606",
"diff_url": "https://github.com/huggingface/transformers/pull/20606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20606.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20605/comments | https://api.github.com/repos/huggingface/transformers/issues/20605/events | https://github.com/huggingface/transformers/pull/20605 | 1,477,778,528 | PR_kwDOCUB6oc5EaOvJ | 20,605 | Clip floating point constants to bf16 range to avoid inf conversion | {
"login": "sangeethabal",
"id": 83724701,
"node_id": "MDQ6VXNlcjgzNzI0NzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/83724701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sangeethabal",
"html_url": "https://github.com/sangeethabal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | When running HuggingFace BERT (any size) fine-tuning tutorial with transformers version >= 4.21.0 and using XLA_USE_BF16=1 or XLA_DOWNCAST_BF16=1, I see NaNs in the loss after the first step.
# What does this PR do?
This PR addresses the issue where the model code passes a value that is out of range for XLA_USE_BF1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20605/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20605",
"html_url": "https://github.com/huggingface/transformers/pull/20605",
"diff_url": "https://github.com/huggingface/transformers/pull/20605.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20605.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20604/comments | https://api.github.com/repos/huggingface/transformers/issues/20604/events | https://github.com/huggingface/transformers/pull/20604 | 1,477,652,857 | PR_kwDOCUB6oc5EZyIg | 20,604 | Fix test for file not found | {
"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._",
"Merging to have tests passing on main, but I will address any comment in followup PRs :-)"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
The test for file not found in the TensorFlow auto model tests is failing on main as the message does not match exactly (see [here](https://app.circleci.com/pipelines/github/huggingface/transformers/53015/workflows/6ea05b10-a541-46db-bcce-b93dc654610e/jobs/636205)). This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20604/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20604",
"html_url": "https://github.com/huggingface/transformers/pull/20604",
"diff_url": "https://github.com/huggingface/transformers/pull/20604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20604.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20603/comments | https://api.github.com/repos/huggingface/transformers/issues/20603/events | https://github.com/huggingface/transformers/pull/20603 | 1,477,439,362 | PR_kwDOCUB6oc5EZBxe | 20,603 | Update the list of contributors to reflect current organization | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
This PR updates the list of who to tag on PRs/Issues. With the growing number of models, I chose to split them through modality. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20603/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20603",
"html_url": "https://github.com/huggingface/transformers/pull/20603",
"diff_url": "https://github.com/huggingface/transformers/pull/20603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20603.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20602/comments | https://api.github.com/repos/huggingface/transformers/issues/20602/events | https://github.com/huggingface/transformers/pull/20602 | 1,477,322,503 | PR_kwDOCUB6oc5EYnXt | 20,602 | Fix dtype of weights in from_pretrained when device_map is set | {
"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 is no more safetensors at this stage, (`is_safetensors` means the checkpoint comes from safetensors, but the state dict is a dictionary name to parameter in this case as well)."
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
As reported in #20390, the dtype of the weights after `from_pretrained` is used for a checkpoint is inconsistent between `device_map=None` or `device_map` set:
- `device_map=None` (which uses `nn.Module.laod_state_dict`) will have the dtype of the model stay the same, even if the checkpoints... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20602/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/20602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20602",
"html_url": "https://github.com/huggingface/transformers/pull/20602",
"diff_url": "https://github.com/huggingface/transformers/pull/20602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20602.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20601/comments | https://api.github.com/repos/huggingface/transformers/issues/20601/events | https://github.com/huggingface/transformers/pull/20601 | 1,477,205,260 | PR_kwDOCUB6oc5EYMuk | 20,601 | updating T5 and BART models to support Prefix Tuning | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey, just for reference could you provide a link to an issue or something explaining what `prefix tuning` is?"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
1. updating T5 and BART models to support Prefix Tuning. Currently, passing `past_key_value` fails. This PR fixes it. Doesn't impact any current functionality. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20601/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20601",
"html_url": "https://github.com/huggingface/transformers/pull/20601",
"diff_url": "https://github.com/huggingface/transformers/pull/20601.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20601.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20600/comments | https://api.github.com/repos/huggingface/transformers/issues/20600/events | https://github.com/huggingface/transformers/pull/20600 | 1,477,159,225 | PR_kwDOCUB6oc5EYCYA | 20,600 | Add-whisper-conversion | {
"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 | [] | [
"See the new checkpoints : https://huggingface.co/openai/whisper-large-v2 ",
"_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_20600). All of your documentation changes will be reflected on t... | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Add the conversion script from whisper which was deleted during the sprint. See this [commit](https://github.com/huggingface/transformers/pull/19166/commits/f92b9a8181f9a84114becd31a5a4210723cdf1ad).
This will help for the Whisper Event! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20600/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20600",
"html_url": "https://github.com/huggingface/transformers/pull/20600",
"diff_url": "https://github.com/huggingface/transformers/pull/20600.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20600.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20599/comments | https://api.github.com/repos/huggingface/transformers/issues/20599/events | https://github.com/huggingface/transformers/pull/20599 | 1,477,105,007 | PR_kwDOCUB6oc5EX2Rp | 20,599 | [Whisper] Fix decoder ids methods | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,687 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
The previous PR https://github.com/huggingface/transformers/pull/20589 incorrectly returned a list of forced decoder ids:
```python
from transformers import WhisperProcessor
processor = WhisperProcessor.from_pretrained("openai/whisper-tiny.en")
print(processor.get_decoder_prompt_ids(tas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20599/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20599",
"html_url": "https://github.com/huggingface/transformers/pull/20599",
"diff_url": "https://github.com/huggingface/transformers/pull/20599.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20599.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20598/comments | https://api.github.com/repos/huggingface/transformers/issues/20598/events | https://github.com/huggingface/transformers/pull/20598 | 1,477,093,821 | PR_kwDOCUB6oc5EXzz2 | 20,598 | Fix `get_decoder_prompt_ids` in whisper | {
"login": "bofenghuang",
"id": 38185248,
"node_id": "MDQ6VXNlcjM4MTg1MjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bofenghuang",
"html_url": "https://github.com/bofenghuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I found this cause I got the following error when running the code in main branch\r\n\r\n```\r\nFile ~/transformers/src/transformers/generation/utils.py:867, in GenerationMixin._get_logits_processor(self, repetition_penalty, no_repeat_ngram_size, encoder_no_repeat_ngram_size, input_ids_seq_length, encoder_input_id... | 1,670 | 1,673 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Hi @sanchit-gandhi,
I think there is one missed line in https://github.com/huggingface/transformers/pull/20589. I've added it back in this PR.
The `forced_decoder_ids` should be something like `[[<token/position>, <token/id>], ...]`. But `prefix_tokens` only returns only token ids.
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20598/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20598",
"html_url": "https://github.com/huggingface/transformers/pull/20598",
"diff_url": "https://github.com/huggingface/transformers/pull/20598.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20598.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20597/comments | https://api.github.com/repos/huggingface/transformers/issues/20597/events | https://github.com/huggingface/transformers/pull/20597 | 1,477,083,322 | PR_kwDOCUB6oc5EXxfM | 20,597 | Fix `AutomaticSpeechRecognitionPipelineTests.run_pipeline_test` | {
"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._",
"Thank you !"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Fix `AutomaticSpeechRecognitionPipelineTests.run_pipeline_test` which was changed in #19570 and #20104.
See the comments in this PR changes.
I detected this when working on improving pipeline tests using tiny models. Previously, `Speech2TextConfig` is not used in ASR pipeline tests, but... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20597/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20597",
"html_url": "https://github.com/huggingface/transformers/pull/20597",
"diff_url": "https://github.com/huggingface/transformers/pull/20597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20597.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20596/comments | https://api.github.com/repos/huggingface/transformers/issues/20596/events | https://github.com/huggingface/transformers/pull/20596 | 1,476,881,704 | PR_kwDOCUB6oc5EXEX2 | 20,596 | Remove unused `classifier_dropout` in configs | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Similar to #20554, but this time for `classifier_dropout`.
The existing checkpoints with this attribute in their config files could still be loaded via the `**kwargs` --> so won't fail.
@sgugger If you would prefer me to cleanup multiple different unused config attributes in a single PR... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20596/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20596",
"html_url": "https://github.com/huggingface/transformers/pull/20596",
"diff_url": "https://github.com/huggingface/transformers/pull/20596.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20596.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20595/comments | https://api.github.com/repos/huggingface/transformers/issues/20595/events | https://github.com/huggingface/transformers/pull/20595 | 1,476,840,732 | PR_kwDOCUB6oc5EW7Ps | 20,595 | Fix whisper and speech to text doc | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Previously the documentation was badly indented for both models and indicated that
> If `decoder_input_ids` and `decoder_inputs_embeds` are both unset, `decoder_inputs_embeds` takes the value of `inputs_embeds`.`
Which is on valid for the forward pass of the `ForConditionnalGeneration` not for t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20595/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20595",
"html_url": "https://github.com/huggingface/transformers/pull/20595",
"diff_url": "https://github.com/huggingface/transformers/pull/20595.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20595.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20594/comments | https://api.github.com/repos/huggingface/transformers/issues/20594/events | https://github.com/huggingface/transformers/issues/20594 | 1,476,728,692 | I_kwDOCUB6oc5YBRd0 | 20,594 | Transformers model inference via pipeline not releasing memory after 2nd call. Leads to memory leak and crash in Flask web app | {
"login": "farazk86",
"id": 33456896,
"node_id": "MDQ6VXNlcjMzNDU2ODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/33456896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/farazk86",
"html_url": "https://github.com/farazk86",
"followers_url": "https://api.github.com/users/far... | [] | closed | false | null | [] | [
"Hello you are loading the model twice. \r\n\r\nDepending on how you launch your flask webserver, you will use threads or processes. Each request will reach reach a different thread/process and each wlll load all dependencies (including torch) which by itself is like 300Mo. So you could indeed easily blow the amoun... | 1,670 | 1,676 | 1,670 | NONE | null | ### System Info
- `transformers` version: 4.22.0
- Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.12.1+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20594/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20593/comments | https://api.github.com/repos/huggingface/transformers/issues/20593/events | https://github.com/huggingface/transformers/issues/20593 | 1,476,690,594 | I_kwDOCUB6oc5YBIKi | 20,593 | How to convert a gradio text-geno script to run on gpu | {
"login": "cvinker",
"id": 13070943,
"node_id": "MDQ6VXNlcjEzMDcwOTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/13070943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cvinker",
"html_url": "https://github.com/cvinker",
"followers_url": "https://api.github.com/users/cvinke... | [] | closed | false | null | [] | [
"cc @Narsil, @abidlabs and @dawoodkhan82 ",
"What doesn't work ?\r\n\r\n- Is the model not on GPU ?\r\n- Does it crash ? If yes, can we see the stacktrace ?\r\n\r\n\r\nThis line is incorrect:\r\n```python\r\n out_text=out_text.to(device)\r\n```\r\n out_text is `str` so it can't be on a device (it's a pure pyth... | 1,670 | 1,673 | 1,673 | NONE | null | I've been at this a while so I've decided to just ask.
```
import gradio as gr
from transformers import pipeline
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("facebook/galactica-125m")
model = AutoModelForCausalLM.from_pretrained("facebook/galactica-125m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20593/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20592/comments | https://api.github.com/repos/huggingface/transformers/issues/20592/events | https://github.com/huggingface/transformers/pull/20592 | 1,476,605,613 | PR_kwDOCUB6oc5EWGoC | 20,592 | Check if docstring is `None` before formating it | {
"login": "xxyzz",
"id": 21101839,
"node_id": "MDQ6VXNlcjIxMTAxODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/21101839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xxyzz",
"html_url": "https://github.com/xxyzz",
"followers_url": "https://api.github.com/users/xxyzz/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks again for your contribution!"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | docstrings could be `None` if Python optimize level is set to 2.
# 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20592/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20592",
"html_url": "https://github.com/huggingface/transformers/pull/20592",
"diff_url": "https://github.com/huggingface/transformers/pull/20592.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20592.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20591/comments | https://api.github.com/repos/huggingface/transformers/issues/20591/events | https://github.com/huggingface/transformers/issues/20591 | 1,476,595,267 | I_kwDOCUB6oc5YAw5D | 20,591 | AttributeError: 'NoneType' object has no attribute 'format' | {
"login": "xxyzz",
"id": 21101839,
"node_id": "MDQ6VXNlcjIxMTAxODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/21101839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xxyzz",
"html_url": "https://github.com/xxyzz",
"followers_url": "https://api.github.com/users/xxyzz/follow... | [] | closed | false | null | [] | [] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | ### System Info
transformers version: 4.21.3
OS: Windows 10
Python version: 3.10
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20591/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/20590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20590/comments | https://api.github.com/repos/huggingface/transformers/issues/20590/events | https://github.com/huggingface/transformers/pull/20590 | 1,476,560,255 | PR_kwDOCUB6oc5EV8fc | 20,590 | Vision processors - replace FE with IPs | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
Replaces feature extractors with image processors in the `Processor` class which bundle together tokenizers and feature extractor.
## 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 [contribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20590/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20590",
"html_url": "https://github.com/huggingface/transformers/pull/20590",
"diff_url": "https://github.com/huggingface/transformers/pull/20590.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20590.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20589/comments | https://api.github.com/repos/huggingface/transformers/issues/20589/events | https://github.com/huggingface/transformers/pull/20589 | 1,476,421,611 | PR_kwDOCUB6oc5EVdUF | 20,589 | [Whisper] Move decoder id method to tokenizer | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Moves the method `get_decoder_prompt_ids` from the processor to the tokenizer. The primary reason for this change is that the ASR pipeline class does not load the processor object, but rather the feature extractor and tokenizer separately (see [docs](https://github.com/huggingface/transformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20589/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20589",
"html_url": "https://github.com/huggingface/transformers/pull/20589",
"diff_url": "https://github.com/huggingface/transformers/pull/20589.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20589.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20588/comments | https://api.github.com/repos/huggingface/transformers/issues/20588/events | https://github.com/huggingface/transformers/pull/20588 | 1,476,388,686 | PR_kwDOCUB6oc5EVVvB | 20,588 | Ci-whisper-asr | {
"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,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
In a recent update, we followed the original code which changed some of the suppress tokens for better performances. This lead to a small change in the output of on particular case. Tested with the original code and we have the correct output now!
Related to #20493 and #20512
See [here](https:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20588/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20588",
"html_url": "https://github.com/huggingface/transformers/pull/20588",
"diff_url": "https://github.com/huggingface/transformers/pull/20588.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20588.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20587/comments | https://api.github.com/repos/huggingface/transformers/issues/20587/events | https://github.com/huggingface/transformers/pull/20587 | 1,476,352,035 | PR_kwDOCUB6oc5EVNfq | 20,587 | [Vision] fix small nit on `BeitDropPath` layers | {
"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,670 | 1,670 | 1,670 | CONTRIBUTOR | null | # What does this PR do?
Fixes a small nit for `DropPath` layers pointed out in: https://github.com/huggingface/transformers/pull/20550#discussion_r1039395745 & https://github.com/huggingface/transformers/pull/20550#discussion_r1039459045
Preferred to fix this separately in a PR to avoid modifying too much files ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20587/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20587",
"html_url": "https://github.com/huggingface/transformers/pull/20587",
"diff_url": "https://github.com/huggingface/transformers/pull/20587.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20587.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20586/comments | https://api.github.com/repos/huggingface/transformers/issues/20586/events | https://github.com/huggingface/transformers/pull/20586 | 1,476,344,791 | PR_kwDOCUB6oc5EVL4s | 20,586 | Install `tensorflow_probability` for TF pipeline 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_20586). All of your documentation changes will be reflected on that endpoint."
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
So tests like `TQAPipelineTests.test_integration_sqa_tf` or `TQAPipelineTests.test_slow_tokenizer_sqa_tf` could run. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20586/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20586",
"html_url": "https://github.com/huggingface/transformers/pull/20586",
"diff_url": "https://github.com/huggingface/transformers/pull/20586.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20586.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/20585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/20585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/20585/comments | https://api.github.com/repos/huggingface/transformers/issues/20585/events | https://github.com/huggingface/transformers/pull/20585 | 1,476,316,231 | PR_kwDOCUB6oc5EVFdf | 20,585 | Add `require_torch` to 2 pipeline tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,670 | 1,670 | 1,670 | COLLABORATOR | null | # What does this PR do?
The 2 tests are for `pytorch`, but in TF pipeline test CI job (where `torch` is not available), it runs with TF models.
This is not expected.
Before #20149, these 2 tests are decorated with `require_torch_scatter`. After that PR, the tests try to run with TF, but failed with `TFTapasMainL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/20585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/20585/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/20585",
"html_url": "https://github.com/huggingface/transformers/pull/20585",
"diff_url": "https://github.com/huggingface/transformers/pull/20585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/20585.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.