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/16669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16669/comments | https://api.github.com/repos/huggingface/transformers/issues/16669/events | https://github.com/huggingface/transformers/pull/16669 | 1,197,439,137 | PR_kwDOCUB6oc414Tll | 16,669 | Fix example logs repeating themselves | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
},
{
"id": 3817266200,
... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # Fix Loggers repeating themselves during the Examples tests
## What does this add?
This PR refactores slighly how the `stream_handler` is made and passed to `logger` during all of the examples tests
## Why is it needed?
When running the `no_trainer` tests, I was noticing that after each test was called the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16669/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16669",
"html_url": "https://github.com/huggingface/transformers/pull/16669",
"diff_url": "https://github.com/huggingface/transformers/pull/16669.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16669.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16668/comments | https://api.github.com/repos/huggingface/transformers/issues/16668/events | https://github.com/huggingface/transformers/pull/16668 | 1,197,411,653 | PR_kwDOCUB6oc414OYJ | 16,668 | Generate: min length can't be larger than max length | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
Adds a simple check, as described in the PR title.
Closes #16622 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16668/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16668",
"html_url": "https://github.com/huggingface/transformers/pull/16668",
"diff_url": "https://github.com/huggingface/transformers/pull/16668.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16668.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16667/comments | https://api.github.com/repos/huggingface/transformers/issues/16667/events | https://github.com/huggingface/transformers/pull/16667 | 1,197,401,739 | PR_kwDOCUB6oc414MTO | 16,667 | Only call get_output_embeddings when tie_word_embeddings is set | {
"login": "smelm",
"id": 32925773,
"node_id": "MDQ6VXNlcjMyOTI1Nzcz",
"avatar_url": "https://avatars.githubusercontent.com/u/32925773?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/smelm",
"html_url": "https://github.com/smelm",
"followers_url": "https://api.github.com/users/smelm/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null |
# What does this PR do?
This PR just changes the order in which two conditions in `tie_weights` in the `PreTrainedModel` class are checked. This would allow us (and probably others) to avoid problems when initializing child classes of models.
In our (maybe somewhat specific use case) we encounter a problem when... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16667/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16667",
"html_url": "https://github.com/huggingface/transformers/pull/16667",
"diff_url": "https://github.com/huggingface/transformers/pull/16667.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16667.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16666/comments | https://api.github.com/repos/huggingface/transformers/issues/16666/events | https://github.com/huggingface/transformers/pull/16666 | 1,197,397,216 | PR_kwDOCUB6oc414LU8 | 16,666 | Fix some doc examples in task summary | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for fixing these!\r\n> \r\n> The `jfk_moon_speech.wav` is a local file I used to test some code examples, so maybe we can replace it with an audio example from the Hub?\r\n\r\nSure! Let me try. Haven't tried audio dataset fr... | 1,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
Fix some doctest CI failure found [here](https://github.com/huggingface/transformers/runs/5877708951?check_suite_focus=true)
A few failures:
-
```
Expected nothing
Got:
'_unknown_'
```
-
```
Expected nothing
Got:
'MISTER QUILTER IS... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16666/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16666",
"html_url": "https://github.com/huggingface/transformers/pull/16666",
"diff_url": "https://github.com/huggingface/transformers/pull/16666.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16666.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16665/comments | https://api.github.com/repos/huggingface/transformers/issues/16665/events | https://github.com/huggingface/transformers/issues/16665 | 1,197,387,199 | I_kwDOCUB6oc5HXq2_ | 16,665 | add dataset metadata to model card | {
"login": "nbroad1881",
"id": 24982805,
"node_id": "MDQ6VXNlcjI0OTgyODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbroad1881",
"html_url": "https://github.com/nbroad1881",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Might be of interest to @sgugger ",
"Once the issue is solved on the Datasets side, the work on the Trainer can begin.",
"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 is... | 1,649 | 1,661 | 1,661 | CONTRIBUTOR | null | # 🚀 Feature request
When pulling a dataset from the hub, it would be useful to have some metadata about the specific dataset and version that is used. The metadata could then be passed to the `Trainer` which could then be saved to a model card.
## Motivation
This is useful for people who run many experiments o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16665/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/16665/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16664/comments | https://api.github.com/repos/huggingface/transformers/issues/16664/events | https://github.com/huggingface/transformers/issues/16664 | 1,197,323,426 | I_kwDOCUB6oc5HXbSi | 16,664 | MT5ForConditionalGeneration has model.config.max_length=20 by default. Why? | {
"login": "JoaoLages",
"id": 17574157,
"node_id": "MDQ6VXNlcjE3NTc0MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/17574157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoaoLages",
"html_url": "https://github.com/JoaoLages",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @JoaoLages 👋 Tagging @patrickvonplaten for the discussion.\r\n\r\nContext for this discussion: We have had similar problems in the past, related to a small default `max_length` (e.g. https://github.com/huggingface/transformers/issues/16622). We are now setting proper checks for the `min_length` arguments (it ... | 1,649 | 1,655 | 1,655 | CONTRIBUTOR | null | - `transformers` version: 4.6.1
- Platform: Ubuntu 18
- Python version: 3.6
I spent one week training a T5 model with this package and couldn't figure out why my sequences obtained with Trainer.evaluate were only yielding a maximum of 20 tokens. I sent the `max_length` argument to the tokenizer to encode the input... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16664/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16664/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16663/comments | https://api.github.com/repos/huggingface/transformers/issues/16663/events | https://github.com/huggingface/transformers/pull/16663 | 1,197,174,346 | PR_kwDOCUB6oc413bs4 | 16,663 | Enabling `Tapex` in table question answering pipeline. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Gentle ping @NielsRogge if we want to go live next week."
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
- Enables newly output `Tapex` models in the pipeline
- Use a `self.type` flag, since `Tapas` (the previously used models)
have some non trivial defaults which do not apply to `Tapex`.(Ideally those `type`
are not model specific like `tapas` but `encoder` vs `encoder-decoder` when
applic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16663/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/16663/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16663",
"html_url": "https://github.com/huggingface/transformers/pull/16663",
"diff_url": "https://github.com/huggingface/transformers/pull/16663.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16663.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16662/comments | https://api.github.com/repos/huggingface/transformers/issues/16662/events | https://github.com/huggingface/transformers/pull/16662 | 1,197,173,766 | PR_kwDOCUB6oc413blF | 16,662 | Fix error in doc of `DataCollatorWithPadding` | {
"login": "secsilm",
"id": 8894643,
"node_id": "MDQ6VXNlcjg4OTQ2NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8894643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/secsilm",
"html_url": "https://github.com/secsilm",
"followers_url": "https://api.github.com/users/secsilm/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | 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/16662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16662/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16662",
"html_url": "https://github.com/huggingface/transformers/pull/16662",
"diff_url": "https://github.com/huggingface/transformers/pull/16662.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16662.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16661/comments | https://api.github.com/repos/huggingface/transformers/issues/16661/events | https://github.com/huggingface/transformers/pull/16661 | 1,196,722,541 | PR_kwDOCUB6oc41183K | 16,661 | Fix #16660 (tokenizers setters of ids of special tokens) | {
"login": "davidleonfdez",
"id": 45669232,
"node_id": "MDQ6VXNlcjQ1NjY5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/45669232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidleonfdez",
"html_url": "https://github.com/davidleonfdez",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you very much for sharing your solution, it looks great! :hugs: \r\n\r\nJust to be able to merge this change on main I think it would be good to add a test to make sure that future changes don't break the behaviour you just fix... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Fixes #16660
@LysandreJik
It seems no one was using those setters because the code is quite old, but here's a fix if you want to merge it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16661/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16661",
"html_url": "https://github.com/huggingface/transformers/pull/16661",
"diff_url": "https://github.com/huggingface/transformers/pull/16661.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16661.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16660/comments | https://api.github.com/repos/huggingface/transformers/issues/16660/events | https://github.com/huggingface/transformers/issues/16660 | 1,196,719,462 | I_kwDOCUB6oc5HVH1m | 16,660 | Tokenizers setter of ids of special tokens don't work | {
"login": "davidleonfdez",
"id": 45669232,
"node_id": "MDQ6VXNlcjQ1NjY5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/45669232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidleonfdez",
"html_url": "https://github.com/davidleonfdez",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Thank you very much for sharing this problem (and a solution)! :hugs: \r\nYou are right, this behaviour is not desirable"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16660/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16659/comments | https://api.github.com/repos/huggingface/transformers/issues/16659/events | https://github.com/huggingface/transformers/pull/16659 | 1,196,628,640 | PR_kwDOCUB6oc411pUt | 16,659 | Adding GPT-NeoX-20B | {
"login": "zphang",
"id": 1668462,
"node_id": "MDQ6VXNlcjE2Njg0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1668462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zphang",
"html_url": "https://github.com/zphang",
"followers_url": "https://api.github.com/users/zphang/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Incredible work!\r\n\r\nI have tested the model and seems to work as intended. I did discover one problem with the tokenizer though:\r\n\r\nHere is the full script:\r\n\r\n```\r\n!git clone https://github.com/zphang/transformers\r\n!... | 1,649 | 1,653 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
Adds GPT-NeoX-20B model and tokenizers.
<!--
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 c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16659/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/16659/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16659",
"html_url": "https://github.com/huggingface/transformers/pull/16659",
"diff_url": "https://github.com/huggingface/transformers/pull/16659.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16659.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16658/comments | https://api.github.com/repos/huggingface/transformers/issues/16658/events | https://github.com/huggingface/transformers/pull/16658 | 1,196,624,617 | PR_kwDOCUB6oc411oc1 | 16,658 | Add type hints for XLM TensorFlow | {
"login": "elusenji",
"id": 87298621,
"node_id": "MDQ6VXNlcjg3Mjk4NjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/87298621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elusenji",
"html_url": "https://github.com/elusenji",
"followers_url": "https://api.github.com/users/elu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16658). All of your documentation changes will be reflected on that endpoint.",
"@elusenji you might have unintentionally added commits from other contributors. You would want to remove other's changes.",
"@kumar-abhishek... | 1,649 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
This PR adds type hints to the XLM model for TensorFlow.
@LysandreJik
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16658/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16658",
"html_url": "https://github.com/huggingface/transformers/pull/16658",
"diff_url": "https://github.com/huggingface/transformers/pull/16658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16658.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16657/comments | https://api.github.com/repos/huggingface/transformers/issues/16657/events | https://github.com/huggingface/transformers/pull/16657 | 1,196,608,457 | PR_kwDOCUB6oc411lFr | 16,657 | [modeling utils] revamp `from_pretrained(..., low_cpu_mem_usage=True)` + tests | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hmm, so trying to write a test that shows the memory saving proved to be a puzzle. Getting inconsistent results between my desktop and the CI. That was using `process.memory_info().rss` then I also tried `tracemalloc`, but I think th... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | The initial `from_pretrained(..., low_cpu_mem_usage=True)` implementation was a quick hack to enable loading gptj models on low CPU memory setups. It didn't work with all models.
This PR takes it one step further. It revamps the implementation to support many features it wasn't supporting by revamping the implementa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16657/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16657",
"html_url": "https://github.com/huggingface/transformers/pull/16657",
"diff_url": "https://github.com/huggingface/transformers/pull/16657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16657.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16656/comments | https://api.github.com/repos/huggingface/transformers/issues/16656/events | https://github.com/huggingface/transformers/pull/16656 | 1,196,313,102 | PR_kwDOCUB6oc410lV- | 16,656 | Add tests for no_trainer and fix existing examples | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"CI failures were fixed by removing:\r\n```python\r\n if torch_device != \"cuda\":\r\n testargs.append(\"--no_cuda\")\r\n```\r\nfrom `clm`, `mlm`, and `ner`.\r\n\r\nFrom what I could *see* they were unused, so I didn... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # New tests for the `no_trainer` scripts
## What does this add?
- Adds in test cases for each of the `no_trainer` scripts, mocking how the Transformers counterparts work
- Fixes a small variety of bugs inside the `no_trainer` scripts, discovered while writing these tests
- Introduces the ability to write a json... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16656/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16656",
"html_url": "https://github.com/huggingface/transformers/pull/16656",
"diff_url": "https://github.com/huggingface/transformers/pull/16656.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16656.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16655/comments | https://api.github.com/repos/huggingface/transformers/issues/16655/events | https://github.com/huggingface/transformers/pull/16655 | 1,196,302,526 | PR_kwDOCUB6oc410jGC | 16,655 | Add tests for no_trainer + fixes | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # New tests for the `no_trainer` scripts
## What does this add?
- Adds in test cases for each of the `no_trainer` scripts, mocking how the Transformers counterparts work
- Fixes a small variety of bugs inside the `no_trainer` scripts, discovered while writing these tests
- Introduces the ability to write a json file ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16655/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16655",
"html_url": "https://github.com/huggingface/transformers/pull/16655",
"diff_url": "https://github.com/huggingface/transformers/pull/16655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16655.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16654/comments | https://api.github.com/repos/huggingface/transformers/issues/16654/events | https://github.com/huggingface/transformers/pull/16654 | 1,196,250,250 | PR_kwDOCUB6oc410Ytp | 16,654 | [feat] Add FLAVA model | {
"login": "apsdehal",
"id": 3616806,
"node_id": "MDQ6VXNlcjM2MTY4MDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/3616806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apsdehal",
"html_url": "https://github.com/apsdehal",
"followers_url": "https://api.github.com/users/apsde... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger Thanks for your review on the PR. About lowercasing things, I followed what I saw in the repo as not all models were lower case. An example of this would be CLIP where classes are named as `CLIPConfig`, `CLIPTextEncoder` and... | 1,649 | 1,652 | 1,652 | CONTRIBUTOR | null | This PR aims to add [FLAVA](ihttps://arxiv.org/abs/2112.04482) model to the transformers repo.
Following checklist delineates the list of things to be done for this PR
to be complete:
- [x] Flava init
- [x] Flava base models
- [x] Flava layers
- [x] Flava Configs
- [x] Flava encoders
- [x] Flava pretraining... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16654/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16654/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16654",
"html_url": "https://github.com/huggingface/transformers/pull/16654",
"diff_url": "https://github.com/huggingface/transformers/pull/16654.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16654.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16653/comments | https://api.github.com/repos/huggingface/transformers/issues/16653/events | https://github.com/huggingface/transformers/pull/16653 | 1,196,171,873 | PR_kwDOCUB6oc410IAL | 16,653 | Remove parent/child tests in auto model tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16653). All of your documentation changes will be reflected on that endpoint."
] | 1,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
This PR removes the tests that checks whether models/configs/tokenizers are sorted in the auto mappings such that children classes are before parent classes. While it may have been necessary in the pasts for the `AutoXxx` APIs to work, this is not longer the case and this actually makes it ha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16653/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/16653/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16653",
"html_url": "https://github.com/huggingface/transformers/pull/16653",
"diff_url": "https://github.com/huggingface/transformers/pull/16653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16653.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16652/comments | https://api.github.com/repos/huggingface/transformers/issues/16652/events | https://github.com/huggingface/transformers/pull/16652 | 1,196,101,261 | PR_kwDOCUB6oc41z40H | 16,652 | Update run_translation_no_trainer.py | {
"login": "raki-1203",
"id": 52475378,
"node_id": "MDQ6VXNlcjUyNDc1Mzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/52475378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raki-1203",
"html_url": "https://github.com/raki-1203",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | 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/16652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16652/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16652",
"html_url": "https://github.com/huggingface/transformers/pull/16652",
"diff_url": "https://github.com/huggingface/transformers/pull/16652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16652.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16651/comments | https://api.github.com/repos/huggingface/transformers/issues/16651/events | https://github.com/huggingface/transformers/issues/16651 | 1,196,078,757 | I_kwDOCUB6oc5HSral | 16,651 | ModelForSequenceClassification (Roberta/Bert) don't support mean_pool | {
"login": "gpucce",
"id": 32967787,
"node_id": "MDQ6VXNlcjMyOTY3Nzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/32967787?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gpucce",
"html_url": "https://github.com/gpucce",
"followers_url": "https://api.github.com/users/gpucce/fo... | [] | closed | false | null | [] | [
"I think @patrickvonplaten might be the person to tag to check if this slipped through.\r\n\r\nIf this doesn't make sense I'll close the issue!",
"Think in this case the best is to do a little tweak to the original modeling file and use this one instead :-) ",
"cc @sgugger - think that's also a good use case fo... | 1,649 | 1,650 | 1,650 | NONE | null | # 🚀 Feature request
I hope I did not miss it, but it looks like there is no way to use `RobertaForSequenceClassification` or `BertForSequenceClassification` with mean_pool rather than `[CLS]` or `<s>` tokens as pooler.
## Motivation
It would be useful for benchmarking and in some cases it can work better tha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16651/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16650/comments | https://api.github.com/repos/huggingface/transformers/issues/16650/events | https://github.com/huggingface/transformers/issues/16650 | 1,196,045,525 | I_kwDOCUB6oc5HSjTV | 16,650 | Finetuned Wav2Vec2+LM Inference on my `wav` audio files | {
"login": "elsheikh21",
"id": 26064109,
"node_id": "MDQ6VXNlcjI2MDY0MTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/26064109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elsheikh21",
"html_url": "https://github.com/elsheikh21",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @elsheikh21,\r\n\r\nWe cannot really guarantee that costume models work correctly. For the future, could you instead please post a **minimal** reproducible code snippet here? E.g. the error happens in the line `model(**features).logits` and it should be necessary to download a whole directory to reproduce the ... | 1,649 | 1,650 | 1,650 | NONE | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Windows-10-10.0.22000-SP0
- Python version: 3.8.13
- PyTorch version (GPU?): 1.9.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16650/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16649/comments | https://api.github.com/repos/huggingface/transformers/issues/16649/events | https://github.com/huggingface/transformers/pull/16649 | 1,195,984,803 | PR_kwDOCUB6oc41zf7L | 16,649 | Improve no-CUDA detecton, add gloo | {
"login": "Yard1",
"id": 10364161,
"node_id": "MDQ6VXNlcjEwMzY0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10364161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yard1",
"html_url": "https://github.com/Yard1",
"followers_url": "https://api.github.com/users/Yard1/follow... | [] | closed | false | null | [] | [
"cc @sgugger ",
"_The documentation is not available anymore as the PR was closed or merged._",
"I am unsure what you are trying to fix, as it is the intended behavior. The user has to explicitly opt-in to DDP on CPU with the flag `--no_cuda` and should receive an error otherwise if the GPUs are not visible for... | 1,649 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
Previously, if `no_cuda` was set to False and `local_rank!=-1`, `TrainingArguments._setup_devices` would still try to use a `cuda` device despite it being non-available, causing an exception. This PR fixes this issue, and adds `gloo` to allowed `xpi_backend`s.
<!--
Congratulations! You've... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16649",
"html_url": "https://github.com/huggingface/transformers/pull/16649",
"diff_url": "https://github.com/huggingface/transformers/pull/16649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16649.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16648/comments | https://api.github.com/repos/huggingface/transformers/issues/16648/events | https://github.com/huggingface/transformers/pull/16648 | 1,195,977,467 | PR_kwDOCUB6oc41zeX9 | 16,648 | Fix QA sample | {
"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 | [] | [
"@patrickvonplaten @sgugger \r\n\r\nI would like to have a feedback to see if this is in good direction.\r\n\r\n@sgugger `make style` will break the line into 2 lines. But when replacing the `qa_target_start_index` and `qa_target_end_index` by `14` & `15`, it actually fits in one line. Should I use a shorter name ... | 1,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
Try to address the issue about `PT_QUESTION_ANSWERING_SAMPLE` discussed in the following 2 comments:
https://github.com/huggingface/transformers/pull/16523#issuecomment-1088635272
https://github.com/huggingface/transformers/pull/16523#issuecomment-1090346578 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16648/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16648/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16648",
"html_url": "https://github.com/huggingface/transformers/pull/16648",
"diff_url": "https://github.com/huggingface/transformers/pull/16648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16648.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16647/comments | https://api.github.com/repos/huggingface/transformers/issues/16647/events | https://github.com/huggingface/transformers/pull/16647 | 1,195,945,181 | PR_kwDOCUB6oc41zXYZ | 16,647 | added changes in deberta dropout | {
"login": "avacaondata",
"id": 35173563,
"node_id": "MDQ6VXNlcjM1MTczNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avacaondata",
"html_url": "https://github.com/avacaondata",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16647). All of your documentation changes will be reflected on that endpoint.",
"Hi,\r\n\r\nJust as an FYI, changing `nn.Dropout` to `StableDropout` will stop the models supporting `saved_model` for TensorFlow when trying t... | 1,649 | 1,653 | 1,653 | NONE | null | # What does this PR do?
This PR does the foillowing.
1- Add a task dropout to deberta config, that is, cls_dropout. This is similar to what Bert and others have. This is justified since in Deberta paper adjusting task dropout is very important, therefore I think it shouldn't be just be set to the hidden_dropout_pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16647/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16647",
"html_url": "https://github.com/huggingface/transformers/pull/16647",
"diff_url": "https://github.com/huggingface/transformers/pull/16647.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16647.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16646/comments | https://api.github.com/repos/huggingface/transformers/issues/16646/events | https://github.com/huggingface/transformers/pull/16646 | 1,195,818,513 | PR_kwDOCUB6oc41y8X_ | 16,646 | [Doctests] Fix all T5 doc tests | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16646/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16646",
"html_url": "https://github.com/huggingface/transformers/pull/16646",
"diff_url": "https://github.com/huggingface/transformers/pull/16646.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16646.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16645/comments | https://api.github.com/repos/huggingface/transformers/issues/16645/events | https://github.com/huggingface/transformers/issues/16645 | 1,195,815,603 | I_kwDOCUB6oc5HRrKz | 16,645 | A tool to generate this library with (a) specific model(s) | {
"login": "dinhanhx",
"id": 38489776,
"node_id": "MDQ6VXNlcjM4NDg5Nzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/38489776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dinhanhx",
"html_url": "https://github.com/dinhanhx",
"followers_url": "https://api.github.com/users/din... | [] | closed | false | null | [] | [
"Hey @dinhanhx! The transformers library is made to have models be independent of each other, so that when modifying a model file, you're certain that it will not break other models. You can therefore feel free to modify the code of BART for your use-case, and rest-assured that it will not break other models.\r\n\r... | 1,649 | 1,653 | 1,653 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
A tool that allows users (mostly researchers) to get a specific version of (a) transformer model(s) depending on framework, hugging face version.
For exam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16645/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16644/comments | https://api.github.com/repos/huggingface/transformers/issues/16644/events | https://github.com/huggingface/transformers/pull/16644 | 1,195,654,141 | PR_kwDOCUB6oc41yZu1 | 16,644 | [Doctests] Correct task summary | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16644/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16644",
"html_url": "https://github.com/huggingface/transformers/pull/16644",
"diff_url": "https://github.com/huggingface/transformers/pull/16644.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16644.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16643/comments | https://api.github.com/repos/huggingface/transformers/issues/16643/events | https://github.com/huggingface/transformers/pull/16643 | 1,195,576,797 | PR_kwDOCUB6oc41yJu8 | 16,643 | Updated _load_pretrained_model_low_mem to check if keys are in the state_dict | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"I am wondering what is the correct place to add a test for this function",
"_The documentation is not available anymore as the PR was closed or merged._",
"Your plan works for me, Sylvain. I will work on the low mem test then today."
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR checks if any key is in the `state_dict` before attempting to load it. If we have multiple checkpoints, not all keys are in every checkpoint.
TODO
- [ ] tests
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16643/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16643",
"html_url": "https://github.com/huggingface/transformers/pull/16643",
"diff_url": "https://github.com/huggingface/transformers/pull/16643.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16643.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16642/comments | https://api.github.com/repos/huggingface/transformers/issues/16642/events | https://github.com/huggingface/transformers/issues/16642 | 1,195,508,506 | I_kwDOCUB6oc5HQgMa | 16,642 | After using HFTracer, the Bert model can't be trained | {
"login": "XGZhang11",
"id": 46363693,
"node_id": "MDQ6VXNlcjQ2MzYzNjkz",
"avatar_url": "https://avatars.githubusercontent.com/u/46363693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XGZhang11",
"html_url": "https://github.com/XGZhang11",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [
{
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"follower... | [
"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,649 | 1,652 | 1,652 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: ubuntu18.04
- Python version: 3.6.9
- PyTorch version (GPU?): 1.10.0 GPU
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16642/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16641/comments | https://api.github.com/repos/huggingface/transformers/issues/16641/events | https://github.com/huggingface/transformers/issues/16641 | 1,195,488,818 | I_kwDOCUB6oc5HQbYy | 16,641 | Multiclass evaluation not working | {
"login": "puifais",
"id": 22781262,
"node_id": "MDQ6VXNlcjIyNzgxMjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/22781262?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/puifais",
"html_url": "https://github.com/puifais",
"followers_url": "https://api.github.com/users/puifai... | [] | closed | false | null | [] | [
"Hello! Could you provide more information, for example by filling the issue template for bugs, including the code sample and versions? Thanks.",
"No problem. Sorry, I wasn't sure if this was a bug or my own mistake so I didn't use the bug template. Here you go:\r\n\r\n## Environment info\r\n<!-- You can run the ... | 1,649 | 1,651 | 1,651 | NONE | null | Hello,
I am new to Transformers library and I'm trying to do Sequence Classification. I have 24 labels and I am getting the following error:
> ValueError: Target is multiclass but average='binary'. Please choose another average setting, one of [None, 'micro', 'macro', 'weighted'].
Even though I already added t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16641/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16640/comments | https://api.github.com/repos/huggingface/transformers/issues/16640/events | https://github.com/huggingface/transformers/issues/16640 | 1,195,304,969 | I_kwDOCUB6oc5HPugJ | 16,640 | Wav2Vec2 Conformer Encoder | {
"login": "deepconsc",
"id": 48494620,
"node_id": "MDQ6VXNlcjQ4NDk0NjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/48494620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepconsc",
"html_url": "https://github.com/deepconsc",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thanks for letting me know - we should definitely add these conformer models asap. I can take care of this next Tuesday :-) ",
"Also cc @anton-l ",
"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 thr... | 1,649 | 1,652 | 1,652 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
Implementing Conformer version of context encoder for [Wav2Vec2](https://github.com/pytorch/fairseq/blob/main/fairseq/models/wav2vec/wav2vec2.py#L390).
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16640/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16640/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16639/comments | https://api.github.com/repos/huggingface/transformers/issues/16639/events | https://github.com/huggingface/transformers/pull/16639 | 1,195,282,221 | PR_kwDOCUB6oc41xQD2 | 16,639 | [megatron-bert-uncased-345m] fix conversion | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | Fixes: https://github.com/huggingface/transformers/issues/16638
The original conversion script made an assumption that all released `megatron-bert-*-345m` checkpoints had the same vocab, but https://huggingface.co/nvidia/megatron-bert-cased-345m/blob/main/vocab.txt and https://huggingface.co/nvidia/megatron-bert-unc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16639/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16639",
"html_url": "https://github.com/huggingface/transformers/pull/16639",
"diff_url": "https://github.com/huggingface/transformers/pull/16639.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16639.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16638/comments | https://api.github.com/repos/huggingface/transformers/issues/16638/events | https://github.com/huggingface/transformers/issues/16638 | 1,195,245,174 | I_kwDOCUB6oc5HPf52 | 16,638 | MegatronBertForMaskedLM | {
"login": "kaushalshetty",
"id": 6664607,
"node_id": "MDQ6VXNlcjY2NjQ2MDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaushalshetty",
"html_url": "https://github.com/kaushalshetty",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"I was able to reproduce the issue.\r\n\r\nPlease try: https://github.com/huggingface/transformers/pull/16639\r\n",
"@stas00 Thanks!!! Works like a charm now."
] | 1,649 | 1,649 | 1,649 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.5
- Platform: Linux
- Python version: 3.6
- PyTorch version (GPU?): 1.10.0+cu102
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16638/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16637/comments | https://api.github.com/repos/huggingface/transformers/issues/16637/events | https://github.com/huggingface/transformers/issues/16637 | 1,195,165,813 | I_kwDOCUB6oc5HPMh1 | 16,637 | `transformers.ViltProcessor` requires torch >= 1.10 | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | {
"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... | [
{
"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:... | [
"Hi,\r\n\r\nYes it would be great to add a warning. Are you interested in opening a PR?",
"@NielsRogge I created one herE :https://github.com/huggingface/transformers/pull/16756",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addre... | 1,649 | 1,652 | 1,652 | CONTRIBUTOR | null | If you follow the instructions in the docs for ViltProcessor:
```python
processor = ViltProcessor.from_pretrained("dandelin/vilt-b32-mlm")
model = ViltModel.from_pretrained("dandelin/vilt-b32-mlm")
inputs = processor(image, text, return_tensors="pt")
outputs = model(**inputs)
last_hidden_states = outputs.last... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16637/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16636/comments | https://api.github.com/repos/huggingface/transformers/issues/16636/events | https://github.com/huggingface/transformers/pull/16636 | 1,195,087,892 | PR_kwDOCUB6oc41wl7R | 16,636 | add vit tf doctest with @add_code_sample_docstrings | {
"login": "johko",
"id": 2843485,
"node_id": "MDQ6VXNlcjI4NDM0ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2843485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johko",
"html_url": "https://github.com/johko",
"followers_url": "https://api.github.com/users/johko/follower... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM, thank you @johko !\r\n\r\nI ran it locally and the the doctests passed!\r\n\r\n@sgugger Could you have a final look too?"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Creates doctest for TF version of ViT. It is a cleaner version of PR #16462 which had a messed up history.
Fixes # (issue)
## 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16636/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/16636/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16636",
"html_url": "https://github.com/huggingface/transformers/pull/16636",
"diff_url": "https://github.com/huggingface/transformers/pull/16636.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16636.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16635/comments | https://api.github.com/repos/huggingface/transformers/issues/16635/events | https://github.com/huggingface/transformers/pull/16635 | 1,195,080,394 | PR_kwDOCUB6oc41wkS_ | 16,635 | Bump notebook from 6.4.1 to 6.4.10 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,649 | 1,651 | 1,651 | CONTRIBUTOR | null | Bumps [notebook](http://jupyter.org) from 6.4.1 to 6.4.10.
[](https://docs.github.com/en/github/managing-security-vulnerabilities/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16635/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16635",
"html_url": "https://github.com/huggingface/transformers/pull/16635",
"diff_url": "https://github.com/huggingface/transformers/pull/16635.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16635.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16634/comments | https://api.github.com/repos/huggingface/transformers/issues/16634/events | https://github.com/huggingface/transformers/pull/16634 | 1,195,069,265 | PR_kwDOCUB6oc41wh2j | 16,634 | Bump notebook from 6.4.1 to 6.4.10 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,649 | 1,651 | 1,651 | CONTRIBUTOR | null | Bumps [notebook](http://jupyter.org) from 6.4.1 to 6.4.10.
[](https://docs.github.com/en/github/managing-security-vulnerabilities/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16634/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16634",
"html_url": "https://github.com/huggingface/transformers/pull/16634",
"diff_url": "https://github.com/huggingface/transformers/pull/16634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16634.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16633/comments | https://api.github.com/repos/huggingface/transformers/issues/16633/events | https://github.com/huggingface/transformers/pull/16633 | 1,195,033,805 | PR_kwDOCUB6oc41wZxL | 16,633 | Update audio examples with MInDS-14 | {
"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... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | This PR updates the audio examples in the docs with the smaller more lightweight MInDS-14 dataset. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16633/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16633",
"html_url": "https://github.com/huggingface/transformers/pull/16633",
"diff_url": "https://github.com/huggingface/transformers/pull/16633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16633.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16632/comments | https://api.github.com/repos/huggingface/transformers/issues/16632/events | https://github.com/huggingface/transformers/pull/16632 | 1,194,743,969 | PR_kwDOCUB6oc41vav1 | 16,632 | [modeling_utils] rearrange text | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | this PR moves the `_fast_init`-related note close to the argument itself as it got pushed away.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16632/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16632",
"html_url": "https://github.com/huggingface/transformers/pull/16632",
"diff_url": "https://github.com/huggingface/transformers/pull/16632.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16632.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16631/comments | https://api.github.com/repos/huggingface/transformers/issues/16631/events | https://github.com/huggingface/transformers/pull/16631 | 1,194,660,328 | PR_kwDOCUB6oc41vI9X | 16,631 | Allow the same config several times in the auto mapping | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
Currently you can't map a model type with another config. For instance TAPEX would like to map tapex with BartConfig.
This PR fixes that.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16631",
"html_url": "https://github.com/huggingface/transformers/pull/16631",
"diff_url": "https://github.com/huggingface/transformers/pull/16631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16631.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16630/comments | https://api.github.com/repos/huggingface/transformers/issues/16630/events | https://github.com/huggingface/transformers/pull/16630 | 1,194,626,724 | PR_kwDOCUB6oc41vBxv | 16,630 | Add semantic segmentation example script, no trainer | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16630). All of your documentation changes will be reflected on that endpoint.",
"I've added all requested changes. As you can see, I'm updating the repo using commits rather than creating subfolders.",
"Updated the script... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR adds an example script regarding fine-tuning any model supported by the `AutoModelForSemanticSegmentation` API on a semantic segmentation dataset, including regularly pushing to the hub during training as well as WandB logging.
I switched to using Accelerate as I had a bug with the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16630/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16630",
"html_url": "https://github.com/huggingface/transformers/pull/16630",
"diff_url": "https://github.com/huggingface/transformers/pull/16630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16630.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16629/comments | https://api.github.com/repos/huggingface/transformers/issues/16629/events | https://github.com/huggingface/transformers/pull/16629 | 1,194,588,621 | PR_kwDOCUB6oc41u5sC | 16,629 | add a warning in `SpmConverter` for sentencepiece's model using the byte fallback feature | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR proposes 2 changes:
1. Updating the protobuf model of the sentencepiece models
2. Raise a warning when the sentencepiece tokenizer that is being converted by `SpmConverter` to a fast tokenizer uses the byte fallback feature - which is not yet implemented in HF tokenizers cf [this is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16629",
"html_url": "https://github.com/huggingface/transformers/pull/16629",
"diff_url": "https://github.com/huggingface/transformers/pull/16629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16629.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16628/comments | https://api.github.com/repos/huggingface/transformers/issues/16628/events | https://github.com/huggingface/transformers/pull/16628 | 1,194,467,397 | PR_kwDOCUB6oc41uffR | 16,628 | [DocTest] Doctest for Electra Pytorch | {
"login": "bhadreshpsavani",
"id": 26653468,
"node_id": "MDQ6VXNlcjI2NjUzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhadreshpsavani",
"html_url": "https://github.com/bhadreshpsavani",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @ydshieh,\r\nThe issue we discussed in Issue:16292\r\nFor PyTorch its running fine,\r\nonly In case of TensorFlow its giving issue,\r\nI am sharing [notebook](https://colab.research.google.com/drive/1buzYMKgm3b8kfTcyVvnToJCFLqdnZD... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Adds Doctest fo Electra Pytorch
Issue: #16292
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16628/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16628",
"html_url": "https://github.com/huggingface/transformers/pull/16628",
"diff_url": "https://github.com/huggingface/transformers/pull/16628.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16628.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16627/comments | https://api.github.com/repos/huggingface/transformers/issues/16627/events | https://github.com/huggingface/transformers/issues/16627 | 1,194,384,712 | I_kwDOCUB6oc5HMN1I | 16,627 | Add missing tokenizer test files [:building_construction: in progress] | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi, I would like to add tests for `Longformer` tokenizer",
"@SaulLu I would like to add tests for Flaubert",
"Hey I would like to contribute for `Electra`,Pointers please!",
"Thank you all for offering your help! \r\n\r\n@Rajathbharadwaj ,sure! what do you need help with? Do you need more details on any of t... | 1,649 | 1,707 | null | CONTRIBUTOR | null | # 🚀 Add missing tokenizer test files
Several tokenizers currently have no associated tests. I think that adding the test file for one of these tokenizers could be a very good way to make a first contribution to transformers.
## Tokenizers concerned
### not yet claimed
_none_
### claimed
- [ ] LED @nnlnr
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16627/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16627/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16626/comments | https://api.github.com/repos/huggingface/transformers/issues/16626/events | https://github.com/huggingface/transformers/pull/16626 | 1,194,241,256 | PR_kwDOCUB6oc41tu3r | 16,626 | [Docs] Correct quicktour minds14 dataset | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16626/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16626",
"html_url": "https://github.com/huggingface/transformers/pull/16626",
"diff_url": "https://github.com/huggingface/transformers/pull/16626.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16626.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16625/comments | https://api.github.com/repos/huggingface/transformers/issues/16625/events | https://github.com/huggingface/transformers/pull/16625 | 1,194,129,634 | PR_kwDOCUB6oc41tWoS | 16,625 | Moved functions to pytorch_utils.py | {
"login": "anmolsjoshi",
"id": 17307490,
"node_id": "MDQ6VXNlcjE3MzA3NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17307490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolsjoshi",
"html_url": "https://github.com/anmolsjoshi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patrickvonplaten I'm new to contributing to this repo. What other updates are required?",
"Those should be removed entirely honestly (components should be in model files, not modeling_utils), so I care little where they are :-)",
... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Moved all pruning stuff, apply_chunking_to_forward to pytorch_utils.py
Fixes #15543
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16625",
"html_url": "https://github.com/huggingface/transformers/pull/16625",
"diff_url": "https://github.com/huggingface/transformers/pull/16625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16625.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16624/comments | https://api.github.com/repos/huggingface/transformers/issues/16624/events | https://github.com/huggingface/transformers/pull/16624 | 1,194,087,786 | PR_kwDOCUB6oc41tNfJ | 16,624 | fix `rum_clm.py` seeking text column name twice | {
"login": "dandelin",
"id": 3676247,
"node_id": "MDQ6VXNlcjM2NzYyNDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3676247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dandelin",
"html_url": "https://github.com/dandelin",
"followers_url": "https://api.github.com/users/dande... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
fix `rum_clm.py` seeking text column name twice
<!--
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 a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16624/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16624",
"html_url": "https://github.com/huggingface/transformers/pull/16624",
"diff_url": "https://github.com/huggingface/transformers/pull/16624.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16624.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16623/comments | https://api.github.com/repos/huggingface/transformers/issues/16623/events | https://github.com/huggingface/transformers/pull/16623 | 1,194,064,715 | PR_kwDOCUB6oc41tIfW | 16,623 | Moved functions and classes to pytorch_utils.py | {
"login": "anmolsjoshi",
"id": 17307490,
"node_id": "MDQ6VXNlcjE3MzA3NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17307490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolsjoshi",
"html_url": "https://github.com/anmolsjoshi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Moved all pruning stuff, apply_chunking_to_forward, get_parameter_device, get_parameter_dtype to pytorch_utils.py
Fixes #15543
## 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 [contributo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16623",
"html_url": "https://github.com/huggingface/transformers/pull/16623",
"diff_url": "https://github.com/huggingface/transformers/pull/16623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16623.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16622/comments | https://api.github.com/repos/huggingface/transformers/issues/16622/events | https://github.com/huggingface/transformers/issues/16622 | 1,193,971,966 | I_kwDOCUB6oc5HKpD- | 16,622 | BART can only generate a maximum of 20 tokens | {
"login": "ayaka14732",
"id": 68557794,
"node_id": "MDQ6VXNlcjY4NTU3Nzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayaka14732",
"html_url": "https://github.com/ayaka14732",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @ayaka14732 👋 That happens because the stopping conditions take precedence over anything else. The default for `max_length` is `20`, so that's why you see 20 generated tokens. In your example, if you rewrite the generate line into `generate_ids = model.generate(inputs.input_ids, num_beams=5, min_length=50, ma... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.18.0.dev0
- Platform: Linux-5.11.0-1018-gcp-x86_64-with-glibc2.31
- Python version: 3.10.4
- Huggingface_h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16622/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/16622/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16621/comments | https://api.github.com/repos/huggingface/transformers/issues/16621/events | https://github.com/huggingface/transformers/pull/16621 | 1,193,947,697 | PR_kwDOCUB6oc41su6d | 16,621 | [modeling_utils] typo | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | a small formatting typo fix
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16621/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16621",
"html_url": "https://github.com/huggingface/transformers/pull/16621",
"diff_url": "https://github.com/huggingface/transformers/pull/16621.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16621.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16620/comments | https://api.github.com/repos/huggingface/transformers/issues/16620/events | https://github.com/huggingface/transformers/issues/16620 | 1,193,853,309 | I_kwDOCUB6oc5HKMF9 | 16,620 | state.best_metric does not update in EarlyStoppingCallback | {
"login": "Richar-Du",
"id": 55051961,
"node_id": "MDQ6VXNlcjU1MDUxOTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/55051961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Richar-Du",
"html_url": "https://github.com/Richar-Du",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"No, the best metric is updated by the `Trainer` [here](https://github.com/huggingface/transformers/blob/51fa7191b10a13f655d7ab19c7ea10e10078d668/src/transformers/trainer.py#L1758), it's not this callback responsibility to use it.\r\n\r\nAs mentioned in the [docstring](https://github.com/huggingface/transformers/bl... | 1,649 | 1,681 | 1,653 | NONE | null | https://github.com/huggingface/transformers/blob/b18dfd95e1f60ae65a959a7b255fc06522170d1b/src/transformers/trainer_callback.py#L534
I print the `state.best_metric`, but it is always None. I wonder whether the `state.best_metric` should be updated if the condition is satisfied, like the following:
```
if state.best... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16620/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16619/comments | https://api.github.com/repos/huggingface/transformers/issues/16619/events | https://github.com/huggingface/transformers/pull/16619 | 1,193,766,731 | PR_kwDOCUB6oc41sIhN | 16,619 | Added Annotations for PyTorch models | {
"login": "anmolsjoshi",
"id": 17307490,
"node_id": "MDQ6VXNlcjE3MzA3NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17307490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolsjoshi",
"html_url": "https://github.com/anmolsjoshi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger not sure why the tests are failing. I'm pretty sure they aren't related to added annotations",
"Thanks! We just need a last `make style` on your branch for the code quality check :-)"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Adds annotations as described in https://github.com/huggingface/transformers/issues/16059:
* Updated type annotations for CTRL (PT), RAG(PT)
* added type annotations for FSMT(PT), LED(PT), M2M(PT), MPNet(PT) , Nystromformer(PT), OpenAI(PT)
## Before submitting
- [x] This PR fixes a ty... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16619/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16619",
"html_url": "https://github.com/huggingface/transformers/pull/16619",
"diff_url": "https://github.com/huggingface/transformers/pull/16619.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16619.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16618/comments | https://api.github.com/repos/huggingface/transformers/issues/16618/events | https://github.com/huggingface/transformers/issues/16618 | 1,193,717,960 | I_kwDOCUB6oc5HJrDI | 16,618 | Can't load the model for 'bert-base-uncased'. | {
"login": "xishanhan",
"id": 71965365,
"node_id": "MDQ6VXNlcjcxOTY1MzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/71965365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xishanhan",
"html_url": "https://github.com/xishanhan",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @xishanhan 👋 In order for us to pinpoint the issue and help you, we need a script that reproduces it. Also, for completeness -- can you confirm that you do **_not_** have a local folder called `bert-base-uncased`?",
"> Hi @xishanhan 👋 In order for us to pinpoint the issue and help you, we need a script that... | 1,649 | 1,705 | 1,649 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: Linux
- Python version: 3.9
- PyTorch version (GPU?): 1.9.1 (yes)
- Tensorflow version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16618/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16617/comments | https://api.github.com/repos/huggingface/transformers/issues/16617/events | https://github.com/huggingface/transformers/pull/16617 | 1,193,710,802 | PR_kwDOCUB6oc41r8a5 | 16,617 | Update no_trainer scripts with new Accelerate functionalities | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 1834053813,
"node_id": "MDU6TGFiZWwxODM0MDUzODEz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch",
"name": "PyTorch",
"color": "a12bef",
"default": false,
"description": "Anything PyTorch"
},
{
"id": 1834083927,
"node_id": "MDU6TGFiZWwxO... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,663 | 1,649 | CONTRIBUTOR | null | # Update the `no_trainer` scripts to keep aligned with Accelerate capabilities
## What does this add?
Updates all `no_trainer` scripts to use the latest capabilities.
## Why is it needed?
Accelerate had a number of new capabilities added, including better saving/loading, experiment tracking, and support for... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16617/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16617",
"html_url": "https://github.com/huggingface/transformers/pull/16617",
"diff_url": "https://github.com/huggingface/transformers/pull/16617.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16617.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16616/comments | https://api.github.com/repos/huggingface/transformers/issues/16616/events | https://github.com/huggingface/transformers/issues/16616 | 1,193,694,354 | I_kwDOCUB6oc5HJlSS | 16,616 | `bigscience/T0` multi-gpu inference exits with return code -9 | {
"login": "gportill",
"id": 28876387,
"node_id": "MDQ6VXNlcjI4ODc2Mzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/28876387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gportill",
"html_url": "https://github.com/gportill",
"followers_url": "https://api.github.com/users/gpo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Please try again with the exact code from https://huggingface.co/docs/transformers/main/main_classes/deepspeed#custom-deepspeed-zero-inference as I cleaned it up a bit more - I have just re-tested with it - it works just fine on 2x rtx 3090 gpus.\r\n\r\nBut it's using the smaller `bigscience/T0_3B`. But still let'... | 1,649 | 1,651 | 1,651 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.13.0-37-generic-x86_64-with-glibc2.10
- Python version: 3.8.0
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16616/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16615/comments | https://api.github.com/repos/huggingface/transformers/issues/16615/events | https://github.com/huggingface/transformers/pull/16615 | 1,193,670,555 | PR_kwDOCUB6oc41rz1M | 16,615 | Update Support image on README.md | {
"login": "BritneyMuller",
"id": 5594118,
"node_id": "MDQ6VXNlcjU1OTQxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5594118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BritneyMuller",
"html_url": "https://github.com/BritneyMuller",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"whenever possible you should compress images using https://tinypng.com/\r\n\r\nHere you'd be saving 83% for instance:\r\n\r\ncompressed image:\r\n.
The Marketing + Monetization Team felt this image deserved a refresh to better highlight the incredible Machine Learning Experts at Hugging Face. In addition, we hope this helps dr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16615/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16615",
"html_url": "https://github.com/huggingface/transformers/pull/16615",
"diff_url": "https://github.com/huggingface/transformers/pull/16615.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16615.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16614/comments | https://api.github.com/repos/huggingface/transformers/issues/16614/events | https://github.com/huggingface/transformers/issues/16614 | 1,193,548,414 | I_kwDOCUB6oc5HJBp- | 16,614 | Improving T5 Docs | {
"login": "alexcoca",
"id": 30216068,
"node_id": "MDQ6VXNlcjMwMjE2MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/30216068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcoca",
"html_url": "https://github.com/alexcoca",
"followers_url": "https://api.github.com/users/ale... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your question! To be honest it wasn't clear for me neither, I guess it's set as otherwise it might complain that no padding token is set.\r\n\r\nI took that snippet from this PR: #7552.\r\n\r\nIt includes the comment:\r\n```\r\n# when generating, we will use the logits of right-most token to ... | 1,649 | 1,652 | 1,652 | NONE | null |
### Who can help
@NielsRogge @patrickvonplaten @sgugger
Documentation: @sgugger
## Information
Model I am using : T5ForConditionalGeneration
The problem arises when using:
* my own modified scripts
The tasks I am working on is:
* my own task or dataset
## To reproduce
#[13240 ](https://git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16614/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16613/comments | https://api.github.com/repos/huggingface/transformers/issues/16613/events | https://github.com/huggingface/transformers/issues/16613 | 1,193,516,082 | I_kwDOCUB6oc5HI5wy | 16,613 | Fill-in-the-Blank Text Generation of T5 | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I'm wondering the same. I've got pretraining going with the `run_t5_mlm_flax.py` script, which is great(!), but help with fill-in-the-blank generation is my next step.",
"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,649 | 1,652 | 1,652 | NONE | null | Hello, any guys know how to implement the `Fill-in-the-Blank Text Generation` of T5 in this post: https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html
Is there any demo codes in huggingface transformers to do this ?
Thanks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16613/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16612/comments | https://api.github.com/repos/huggingface/transformers/issues/16612/events | https://github.com/huggingface/transformers/pull/16612 | 1,193,461,470 | PR_kwDOCUB6oc41rHEp | 16,612 | fix default num_attention_heads in segformer doc | {
"login": "JunMa11",
"id": 19947331,
"node_id": "MDQ6VXNlcjE5OTQ3MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/19947331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunMa11",
"html_url": "https://github.com/JunMa11",
"followers_url": "https://api.github.com/users/JunMa1... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | 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/16612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16612/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16612",
"html_url": "https://github.com/huggingface/transformers/pull/16612",
"diff_url": "https://github.com/huggingface/transformers/pull/16612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16612.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16611/comments | https://api.github.com/repos/huggingface/transformers/issues/16611/events | https://github.com/huggingface/transformers/pull/16611 | 1,193,432,525 | PR_kwDOCUB6oc41rA1C | 16,611 | [Speech2Text Doc] Fix docs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Great review - thanks @ydshieh "
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16611",
"html_url": "https://github.com/huggingface/transformers/pull/16611",
"diff_url": "https://github.com/huggingface/transformers/pull/16611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16611.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16610/comments | https://api.github.com/repos/huggingface/transformers/issues/16610/events | https://github.com/huggingface/transformers/issues/16610 | 1,193,293,228 | I_kwDOCUB6oc5HIDWs | 16,610 | 3-dimensional attention_mask in LongformerSelfAttention | {
"login": "khang-nguyen2907",
"id": 74083431,
"node_id": "MDQ6VXNlcjc0MDgzNDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/74083431?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khang-nguyen2907",
"html_url": "https://github.com/khang-nguyen2907",
"followers_url": "https://... | [] | 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,649 | 1,652 | 1,652 | NONE | null |
# ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models, benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
-->
## Details
<!-- Description of your is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16609/comments | https://api.github.com/repos/huggingface/transformers/issues/16609/events | https://github.com/huggingface/transformers/pull/16609 | 1,193,270,259 | PR_kwDOCUB6oc41qc5E | 16,609 | Use CLIP model config to set some kwargs for components | {
"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._",
"cc @gante (just for information) since he is recently working on `unpack_inputs` & `input_processing` in TF"
] | 1,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
In `CLIPModel`, set `output_attentions` and `output_hidden_states` using `CLIPModel.config` if these values are specified in the configuration + not specified in the arguments.
(currently, these operations are done in its vision & text components separately, and cause a WIP CLIP PT/TF equi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16609/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16609",
"html_url": "https://github.com/huggingface/transformers/pull/16609",
"diff_url": "https://github.com/huggingface/transformers/pull/16609.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16609.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16608/comments | https://api.github.com/repos/huggingface/transformers/issues/16608/events | https://github.com/huggingface/transformers/issues/16608 | 1,193,259,302 | I_kwDOCUB6oc5HH7Em | 16,608 | [Community event] HugGAN sprint for training AI art with free compute | {
"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 | [] | [
"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,649 | 1,652 | 1,652 | CONTRIBUTOR | null | # HugGAN sprint :art: :artist: :paintbrush:
Got GANs?
Feel free to join the [HugGAN event](https://github.com/huggingface/community-events/tree/main/huggan), which takes place virtually from April 4 - April 15th (you can join any time in between these dates). 🤗
The goal is to train and showcase generative AI... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16608/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16608/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16607/comments | https://api.github.com/repos/huggingface/transformers/issues/16607/events | https://github.com/huggingface/transformers/issues/16607 | 1,193,254,334 | I_kwDOCUB6oc5HH52- | 16,607 | KeyError: 'loss' while trying to finetune Bart model on custom dataset for summarization. | {
"login": "Kiera-K",
"id": 78582210,
"node_id": "MDQ6VXNlcjc4NTgyMjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78582210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kiera-K",
"html_url": "https://github.com/Kiera-K",
"followers_url": "https://api.github.com/users/Kiera-... | [] | closed | false | null | [] | [
"Please use the forums to debug your code. You are using the base model class here, that does not accept `labels` and does not return a loss. You should use a model that can be fine-tuned on your task.",
"@sgugger Apologies for that and thank you for letting me know. All articles for BART finetuning I came across... | 1,649 | 1,652 | 1,652 | NONE | null | I am trying to finetune BART on my custom dataset by following a huggingface finetuning tutorial.
<img width="796" alt="Screen Shot 2022-04-05 at 10 29 54 AM" src="https://user-images.githubusercontent.com/78582210/161777173-50af5514-443e-429e-9a99-468c50fe4e03.png">
<img width="846" alt="Screen Shot 2022-04-05 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16607/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16606/comments | https://api.github.com/repos/huggingface/transformers/issues/16606/events | https://github.com/huggingface/transformers/pull/16606 | 1,193,218,777 | PR_kwDOCUB6oc41qR1v | 16,606 | Fix seq2seq doc tests | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
This PR fixes the doc tests for se2seq models (BART, mBART, BigBirdPegasus, PLBart). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16606",
"html_url": "https://github.com/huggingface/transformers/pull/16606",
"diff_url": "https://github.com/huggingface/transformers/pull/16606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16606.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16605/comments | https://api.github.com/repos/huggingface/transformers/issues/16605/events | https://github.com/huggingface/transformers/issues/16605 | 1,193,163,056 | I_kwDOCUB6oc5HHjkw | 16,605 | change num_attention_heads=[1, 2, 5, 8] to [1,2,4,8] | {
"login": "JunMa11",
"id": 19947331,
"node_id": "MDQ6VXNlcjE5OTQ3MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/19947331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunMa11",
"html_url": "https://github.com/JunMa11",
"followers_url": "https://api.github.com/users/JunMa1... | [] | closed | false | null | [] | [
"@NielsRogge I'll work on this.",
"Hi,\r\n\r\nThanks for pointing out, actually that piece of code is correct, we should just update the docstring.\r\n\r\nAs seen below (table taken from the [paper](https://arxiv.org/abs/2105.15203)), (N1, N2, N3, N4) refer to the number of heads in each stage:\r\n\r\n<img width=... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | Hi @NielsRogge ,
Is this a typo in segformer? The default number of attention heads should be `[1,2,4,8]`.
https://github.com/huggingface/transformers/blob/4354005291dacd5c8264f0936a33678df4f4bb71/src/transformers/models/segformer/configuration_segformer.py#L107 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16605/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16604/comments | https://api.github.com/repos/huggingface/transformers/issues/16604/events | https://github.com/huggingface/transformers/issues/16604 | 1,193,045,304 | I_kwDOCUB6oc5HHG04 | 16,604 | Trouble exporting resolve_conj operation to ONNX | {
"login": "Kroshtan",
"id": 31923442,
"node_id": "MDQ6VXNlcjMxOTIzNDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/31923442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kroshtan",
"html_url": "https://github.com/Kroshtan",
"followers_url": "https://api.github.com/users/Kro... | [] | closed | false | null | [] | [
"Why are you using `opset=14` ?\r\nI think that 12 or 13 would be enough and would work.",
"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 [cont... | 1,649 | 1,652 | 1,652 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.2
- Platform: Linux-5.13.0-39-generic-x86_64-with-glibc2.34
- Python version: 3.9.7
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16604/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16603/comments | https://api.github.com/repos/huggingface/transformers/issues/16603/events | https://github.com/huggingface/transformers/issues/16603 | 1,192,993,642 | I_kwDOCUB6oc5HG6Nq | 16,603 | Convert PyTorch Model to Hugging Face model | {
"login": "Freemanlabs",
"id": 12612282,
"node_id": "MDQ6VXNlcjEyNjEyMjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/12612282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Freemanlabs",
"html_url": "https://github.com/Freemanlabs",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi, we have guide which explains how to share custom PT models:, which should help with this. https://huggingface.co/docs/transformers/custom_models",
"Thank s for your response. However, I do not seem to grasp the resource. It looks like it requires implementing the code from the start. In my own case, I alread... | 1,649 | 1,652 | 1,652 | NONE | null | I have looked at many resources but I still seem to have issues/
I have a "model.pt" file which I got from finetuning a BERT model (with additional custom layesr added). I want to upload this to the hugging face hub. How can I convert the `.pt` model to files/model that can be used on hugging face hub? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16603/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16602/comments | https://api.github.com/repos/huggingface/transformers/issues/16602/events | https://github.com/huggingface/transformers/pull/16602 | 1,192,958,993 | PR_kwDOCUB6oc41paQe | 16,602 | don't load state_dict twice when using low_cpu_mem_usage in from_pretrained | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
In `from_pretrained` the `state_dict` is loaded twice when `low_cpu_mem_usage` is `True`, which is not required since the `state_dict` is already loaded before as we can here.
https://github.com/huggingface/transformers/blob/21decb7731e998d3d208ec33e5b249b0a84c0a02/src/transformers/modeling... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16602",
"html_url": "https://github.com/huggingface/transformers/pull/16602",
"diff_url": "https://github.com/huggingface/transformers/pull/16602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16602.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16601/comments | https://api.github.com/repos/huggingface/transformers/issues/16601/events | https://github.com/huggingface/transformers/issues/16601 | 1,192,936,134 | I_kwDOCUB6oc5HGsLG | 16,601 | version 4.2.0 vs newer version | {
"login": "PNMinh286",
"id": 75312938,
"node_id": "MDQ6VXNlcjc1MzEyOTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/75312938?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PNMinh286",
"html_url": "https://github.com/PNMinh286",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @PNMinh286 👋 The information you provided is not enough for us to help you, as we don't know exactly what you're to do :) Ideally, a script with which we can reproduce the issue should be provided. Have a look at our [issue guidelines](https://github.com/huggingface/transformers/blob/main/ISSUES.md).",
"Th... | 1,649 | 1,652 | 1,652 | NONE | null | I have this problem with ver 4.2.0+ but is ok for under ver. Can anyone help me because other parts of my project were used ver 4.10+

| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16601/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16600/comments | https://api.github.com/repos/huggingface/transformers/issues/16600/events | https://github.com/huggingface/transformers/issues/16600 | 1,192,931,568 | I_kwDOCUB6oc5HGrDw | 16,600 | Specifying num_labels in from_pretrained without id2label leads to unexpected error | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"This is a bit tricky and I'm not entirely sure it's a bug. The crux of the issue is that you are technically doing this:\r\n```\r\nfrom transformers import BertConfig\r\n\r\nconfig = BertConfig.from_pretrained(\r\n \"bert-base-cased\",\r\n num_labels=1,\r\n label2id=None,\r\n id2label=None,\r\n)\r\n... | 1,649 | 1,652 | 1,652 | COLLABORATOR | null | This is a "soft" bug report. I _think_ it is the intended usage, but it is not very intuitive in terms of "which arguments go where" in a from_pretrained config call.
To use hyperparameter search, I wrote the following `model_init`. Our pipeline is dynamic, and allows for both classification and regression (num_labe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16600/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16599/comments | https://api.github.com/repos/huggingface/transformers/issues/16599/events | https://github.com/huggingface/transformers/pull/16599 | 1,192,720,555 | PR_kwDOCUB6oc41onjS | 16,599 | [Doctests] Correct filenaming | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"This was probably forgotten in https://github.com/huggingface/transformers/pull/16518 cc @sgugger ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16599/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16599",
"html_url": "https://github.com/huggingface/transformers/pull/16599",
"diff_url": "https://github.com/huggingface/transformers/pull/16599.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16599.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16598/comments | https://api.github.com/repos/huggingface/transformers/issues/16598/events | https://github.com/huggingface/transformers/issues/16598 | 1,192,679,779 | I_kwDOCUB6oc5HFtlj | 16,598 | Only get generated text from Bart Generate | {
"login": "musitafa0032",
"id": 55053337,
"node_id": "MDQ6VXNlcjU1MDUzMzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/55053337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/musitafa0032",
"html_url": "https://github.com/musitafa0032",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @musitafa0032 ! The best place to ask this question would the [forum](https://discuss.huggingface.co/). We use issues for bug reports and feature requests. Thanks!",
"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,649 | 1,652 | 1,652 | NONE | null | I know Bart can be used to fill in Multi masked tokens with only one [mask], but how can I only get filled in /generated text, not the whole sentence! If it is single token, I can figure it out, but how do I get span of text for multi masked tokens.
Thank you!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16598/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16597/comments | https://api.github.com/repos/huggingface/transformers/issues/16597/events | https://github.com/huggingface/transformers/pull/16597 | 1,192,648,917 | PR_kwDOCUB6oc41oYSQ | 16,597 | [deepspeed] fix typo, adjust config name | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | Fixes https://github.com/huggingface/transformers/issues/16596 - use the correct config name for bfloat16 config section.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16597/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16597",
"html_url": "https://github.com/huggingface/transformers/pull/16597",
"diff_url": "https://github.com/huggingface/transformers/pull/16597.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16597.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16596/comments | https://api.github.com/repos/huggingface/transformers/issues/16596/events | https://github.com/huggingface/transformers/issues/16596 | 1,192,635,039 | I_kwDOCUB6oc5HFiqf | 16,596 | [BUG] bf16 incorrectly configured in src/transformers/deepspeed.py | {
"login": "michaelroyzen",
"id": 45830328,
"node_id": "MDQ6VXNlcjQ1ODMwMzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelroyzen",
"html_url": "https://github.com/michaelroyzen",
"followers_url": "https://api.githu... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Oh, my bad, thank you for noticing the misspelling, Michael. \r\n\r\nAnd it indeed was renamed at the very last moment to `bf16` to match `fp16`, but the old `bfloat16` config should work too.\r\n\r\nPlease try with this fix https://github.com/huggingface/transformers/pull/16597",
"Can you help me with where to ... | 1,649 | 1,708 | 1,649 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: Ubuntu
- Python version: 3.8
- PyTorch version (GPU?): 8x A10
- Tensorflow version (GPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16596/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/16596/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16595/comments | https://api.github.com/repos/huggingface/transformers/issues/16595/events | https://github.com/huggingface/transformers/issues/16595 | 1,192,454,269 | I_kwDOCUB6oc5HE2h9 | 16,595 | GPT Neo/J Padding Side Results in Different Generation Outputs | {
"login": "anas-awadalla",
"id": 55931244,
"node_id": "MDQ6VXNlcjU1OTMxMjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/55931244?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anas-awadalla",
"html_url": "https://github.com/anas-awadalla",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @anas-awadalla !\r\n\r\nThis is because these are auto-regressive models, which generate next tokens based on previous tokens. So if the inputs are padded to the right the model will receive padded tokens as context, which is not useful during generation. \r\n\r\nBecause of this for generation with any auto-reg... | 1,649 | 1,651 | 1,651 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16595/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16594/comments | https://api.github.com/repos/huggingface/transformers/issues/16594/events | https://github.com/huggingface/transformers/issues/16594 | 1,192,407,057 | I_kwDOCUB6oc5HErAR | 16,594 | Why is wandb being logged in and how to turn it off? | {
"login": "Kiera-K",
"id": 78582210,
"node_id": "MDQ6VXNlcjc4NTgyMjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78582210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kiera-K",
"html_url": "https://github.com/Kiera-K",
"followers_url": "https://api.github.com/users/Kiera-... | [] | closed | false | null | [] | [
"hey @Nikita-Salkar I work at Weights & Biases, you can turn off all external logger logging, including wandb logging by passing `report_to=\"none\"` in your `Seq2SeqTrainingArguments`.\r\n\r\nYou might have noticed the following warning when setting up your TrainingArguments.\r\n\r\n```\r\nThe default value for t... | 1,649 | 1,649 | 1,649 | NONE | null | I do not have a profile with wandb profile. I have not logged into anything and I don't want to use wandb. I am simply following this notebook to finetune a T5 model for summarization https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/summarization.ipynb#scrollTo=X4cRE8IbIrIV (I am not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16594/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16594/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16593/comments | https://api.github.com/repos/huggingface/transformers/issues/16593/events | https://github.com/huggingface/transformers/pull/16593 | 1,192,395,164 | PR_kwDOCUB6oc41ni2q | 16,593 | added type hints to CTRL pytorch | {
"login": "anmolsjoshi",
"id": 17307490,
"node_id": "MDQ6VXNlcjE3MzA3NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17307490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolsjoshi",
"html_url": "https://github.com/anmolsjoshi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
I added type annotations for CTRL (PT) as described in #16059
Fixes # (issue)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16593/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16593",
"html_url": "https://github.com/huggingface/transformers/pull/16593",
"diff_url": "https://github.com/huggingface/transformers/pull/16593.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16593.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16592/comments | https://api.github.com/repos/huggingface/transformers/issues/16592/events | https://github.com/huggingface/transformers/pull/16592 | 1,192,328,381 | PR_kwDOCUB6oc41nUXS | 16,592 | Qdqbert example add benchmark script with ORT-TRT | {
"login": "shangz-ai",
"id": 69697986,
"node_id": "MDQ6VXNlcjY5Njk3OTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/69697986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shangz-ai",
"html_url": "https://github.com/shangz-ai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Let me know if this is ready to merge for you and I'll happily merge it.",
"> Let me know if this is ready to merge for you and I'll happily merge it.\r\n\r\nIt's ready to merge now. Please feel free to go ahead. Thank you every mu... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
add a benchmark script using ORT-TRT
<!--
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 cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16592/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16592",
"html_url": "https://github.com/huggingface/transformers/pull/16592",
"diff_url": "https://github.com/huggingface/transformers/pull/16592.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16592.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16591/comments | https://api.github.com/repos/huggingface/transformers/issues/16591/events | https://github.com/huggingface/transformers/pull/16591 | 1,192,202,647 | PR_kwDOCUB6oc41m5Ky | 16,591 | Fix CI: test_inference_for_pretraining in ViTMAEModelTest | {
"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,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
Fix CI (scheduled): `test_inference_for_pretraining` in `ViTMAEModelTest`: incorrect device
https://github.com/huggingface/transformers/runs/5809883645?check_suite_focus=true | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16591/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16591",
"html_url": "https://github.com/huggingface/transformers/pull/16591",
"diff_url": "https://github.com/huggingface/transformers/pull/16591.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16591.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16590/comments | https://api.github.com/repos/huggingface/transformers/issues/16590/events | https://github.com/huggingface/transformers/pull/16590 | 1,192,026,883 | PR_kwDOCUB6oc41mTpB | 16,590 | Fix TFTransfoXLLMHeadModel outputs | {
"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,649 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
Fix the outputs of `TFTransfoXLLMHeadModel` (in the case without `labels`) - current TF returns `softmax_output` while PT returns `prediction_scores`:
- Current PT
https://github.com/huggingface/transformers/blob/6f9d8dc1567889b073b91059c9b19e9a6813abfa/src/transformers/models/trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16590/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16590",
"html_url": "https://github.com/huggingface/transformers/pull/16590",
"diff_url": "https://github.com/huggingface/transformers/pull/16590.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16590.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16589/comments | https://api.github.com/repos/huggingface/transformers/issues/16589/events | https://github.com/huggingface/transformers/pull/16589 | 1,192,014,308 | PR_kwDOCUB6oc41mQ6W | 16,589 | [FlaxSpeechEncoderDecoderModel] More Rigorous PT-Flax Equivalence Tests | {
"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,649 | 1,649 | 1,649 | CONTRIBUTOR | null | Adds more rigorous PyTorch-Flax equivalence tests for the FlaxSpeechEncoderDecoderModel. Namely, this PR adds equivalence tests for the intermediate hidden-states.
## 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 [co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16589/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16589",
"html_url": "https://github.com/huggingface/transformers/pull/16589",
"diff_url": "https://github.com/huggingface/transformers/pull/16589.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16589.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16588/comments | https://api.github.com/repos/huggingface/transformers/issues/16588/events | https://github.com/huggingface/transformers/issues/16588 | 1,192,004,426 | I_kwDOCUB6oc5HDItK | 16,588 | RFC: `torch==1.12` will toggle `torch.backends.matmul.allow_tf32` to `False` - what should we do? | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2690307185,
"node_id": "MDU6TGFiZWwyNjkwMzA3MTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Performance",
"name": "Performance",
"color": "207F32",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"You don't have to condition the `torch.backends.matmul.allow_tf32 = True` on torch version, on previous pytorch version it'll just be a no-op.",
"The main reason for the conditional suggestion was to be self-documenting, but w/o the conditional this code will fail in older pytorch, for example:\r\n\r\n```\r\n$ p... | 1,649 | 1,654 | 1,654 | CONTRIBUTOR | null | Ampere GPUs added a new mode called [TF32](https://developer.nvidia.com/blog/accelerating-ai-training-with-tf32-tensor-cores/). Pytorch created a new flag to support the TF32 mode enabling using `torch.backends.matmul.allow_tf32` which has been `True` by default in pytorch since it was added.
Having this mode on me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16588/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/16588/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16587/comments | https://api.github.com/repos/huggingface/transformers/issues/16587/events | https://github.com/huggingface/transformers/issues/16587 | 1,191,978,728 | I_kwDOCUB6oc5HDCbo | 16,587 | debert TypeError: _softmax_backward_data(): argument 'input_dtype' (position 4) must be torch.dtype, not Tensor | {
"login": "AiIsBetter",
"id": 36846628,
"node_id": "MDQ6VXNlcjM2ODQ2NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36846628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AiIsBetter",
"html_url": "https://github.com/AiIsBetter",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Yes I have the same issue... I am using transformers 4.17.0",
"Same issue. Is it a version issue?",
"\r\nIf anyone solved this problem, hope to give some advice, thanks!",
"> Yes I have the same issue... I am using transformers 4.17.0\r\n\r\nI also tried 4.17.0, the same problem",
"same issue",
"Should b... | 1,649 | 1,658 | 1,650 | NONE | null | def get_training_corpus():
dataset = list(data["msg"])
for start_idx in range(0, len(dataset), 1000):
samples = dataset[start_idx: start_idx + 1000]
yield samples
DOWNLOADED_MODEL_PATH = 'model'
MODEL_NAME = 'microsoft/deberta-base'
if DOWNLOADED_MODEL_PATH=='model':
os.makedirs('m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16587/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16586/comments | https://api.github.com/repos/huggingface/transformers/issues/16586/events | https://github.com/huggingface/transformers/pull/16586 | 1,191,928,886 | PR_kwDOCUB6oc41l-rC | 16,586 | [SpeechEncoderDecoderModel] Correct Encoder Last Hidden State Output | {
"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,649 | 1,687 | 1,649 | CONTRIBUTOR | null | Corrects the `Seq2SeqLMOutput` for the PyTorch SpeechEncoderDecoderModel to return the encoder hidden-state **after** the (optional) encoder-decoder projection layer `enc_to_dec_proj`. This brings the model in alignment with the change made in #16581 to the equivalent Flax model.
## Before submitting
- [ ] This PR ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16586/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16586",
"html_url": "https://github.com/huggingface/transformers/pull/16586",
"diff_url": "https://github.com/huggingface/transformers/pull/16586.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16586.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16585/comments | https://api.github.com/repos/huggingface/transformers/issues/16585/events | https://github.com/huggingface/transformers/pull/16585 | 1,191,907,964 | PR_kwDOCUB6oc41l6Pe | 16,585 | Improve image classification example | {
"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,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the image classification example script, by:
- replacing the `nateraw/imagefolder` hack with [`ImageFolder`](https://huggingface.co/docs/datasets/v2.0.0/en/image_process#imagefolder)
- improving the README, explaining how to easily train on custom data. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16585/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16585",
"html_url": "https://github.com/huggingface/transformers/pull/16585",
"diff_url": "https://github.com/huggingface/transformers/pull/16585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16585.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16584/comments | https://api.github.com/repos/huggingface/transformers/issues/16584/events | https://github.com/huggingface/transformers/issues/16584 | 1,191,778,414 | I_kwDOCUB6oc5HCRhu | 16,584 | ByT5 parallelization | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Until we implement a proper PP (pipeline parallelism) (if we ever do) we only have this naive approach for PP and yes, it assumes a balanced number of layers between encoder and decoder. \r\n\r\nThere is absolutely no reason to use the naive PP (pipeline parallelism) as Deepspeed ZeRO solves this issue far more ef... | 1,649 | 1,652 | 1,652 | MEMBER | null | ## ByT5 parallelization
Regarding ByT5, we observed the following and it looks like a potential bug:
ByT5 models are handled by HF through the same set of classes that handle T5 models, for instance T5ForConditionalGeneration [link](https://github.com/huggingface/transformers/blob/ad0cba08ea295cd7450484468dd34b5381... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16584/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16583/comments | https://api.github.com/repos/huggingface/transformers/issues/16583/events | https://github.com/huggingface/transformers/issues/16583 | 1,191,768,180 | I_kwDOCUB6oc5HCPB0 | 16,583 | Why does BART generate additional EOS token at the beginning? | {
"login": "ayaka14732",
"id": 68557794,
"node_id": "MDQ6VXNlcjY4NTU3Nzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayaka14732",
"html_url": "https://github.com/ayaka14732",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This is because the way the model are trained. In BART `eos` (`</s>`) token is used as the `decoder_start_token_id`. So the format for the `decoder_input_ids` during training is `</s> <s> tokens ...`. So the model always needs to generate `<s><s>` as the first two tokens.",
"@patil-suraj Thank you! I am still a ... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.18.0.dev0
- Platform: Linux-5.11.0-1018-gcp-x86_64-with-glibc2.31
- Python version: 3.10.4
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): 0.4.1 (cpu)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16583/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16582/comments | https://api.github.com/repos/huggingface/transformers/issues/16582/events | https://github.com/huggingface/transformers/issues/16582 | 1,191,681,333 | I_kwDOCUB6oc5HB501 | 16,582 | Problem generating pytorch_model.bin for wav2vec2 large model using convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.py | {
"login": "mzboito",
"id": 11521062,
"node_id": "MDQ6VXNlcjExNTIxMDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/11521062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzboito",
"html_url": "https://github.com/mzboito",
"followers_url": "https://api.github.com/users/mzboit... | [] | closed | false | null | [] | [
"Hey @mzboito,\r\n\r\nThanks for the very in-detail issue. I think the problem is the following:\r\n\r\nSince Wav2Vec2 using product quantization (quite often with `num_groups=2`), the last dimension of the tensor should be ``codevector_dim // 2 (=num_groups)`` see here: https://github.com/huggingface/transformers/... | 1,649 | 1,649 | 1,649 | NONE | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Linux-5.14.0-1031-oem-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16582/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16581/comments | https://api.github.com/repos/huggingface/transformers/issues/16581/events | https://github.com/huggingface/transformers/pull/16581 | 1,191,645,196 | PR_kwDOCUB6oc41lCJe | 16,581 | [FlaxSpeechEncoderDecoder] Fix dtype bug | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16581/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16581",
"html_url": "https://github.com/huggingface/transformers/pull/16581",
"diff_url": "https://github.com/huggingface/transformers/pull/16581.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16581.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16580/comments | https://api.github.com/repos/huggingface/transformers/issues/16580/events | https://github.com/huggingface/transformers/pull/16580 | 1,191,608,358 | PR_kwDOCUB6oc41k6Ge | 16,580 | handle torch_dtype in low cpu mem usage | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The first chunk is definitely the right fix, unrelated to dtype\r\n\r\nThe second chunk is different. what you want is to move this code:\r\n\r\nhttps://github.com/huggingface/transformers/blob/be9474bd3551d6a89fd788a0063895a9b316e7e... | 1,649 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
The `torch_dtype` argument in `from_pretrained` is not respected when loading the model with `low_cpu_mem_usage=True`. This is because `_load_pretrained_model_low_mem` creates and assigns new `Paramter` rather than loading directly in model `state_dict`, so the `torch_dtype` is ignored. as c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16580/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16580",
"html_url": "https://github.com/huggingface/transformers/pull/16580",
"diff_url": "https://github.com/huggingface/transformers/pull/16580.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16580.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16579/comments | https://api.github.com/repos/huggingface/transformers/issues/16579/events | https://github.com/huggingface/transformers/issues/16579 | 1,191,527,467 | I_kwDOCUB6oc5HBUQr | 16,579 | Fill-Mask Pipeline BERT on a sentence ending with/without a dot | {
"login": "fangkuoyu",
"id": 48971165,
"node_id": "MDQ6VXNlcjQ4OTcxMTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/48971165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fangkuoyu",
"html_url": "https://github.com/fangkuoyu",
"followers_url": "https://api.github.com/users/... | [] | 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,649 | 1,652 | 1,652 | NONE | null | ## Environment info
- `transformers` version: 4.8.1
- Platform: Windows 10
- Python version: 3.7.10
- PyTorch version: 1.9.0
## Problem
Why do the following sentences give different predicted words?
Sentence 1: [MASK] is the capital of France
Sentence 2: [MASK] is the capital of France.
where the second sent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16579/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16578/comments | https://api.github.com/repos/huggingface/transformers/issues/16578/events | https://github.com/huggingface/transformers/pull/16578 | 1,191,500,964 | PR_kwDOCUB6oc41kjJc | 16,578 | Fix Pyright static type checking by replacing if-else imports with try-except | {
"login": "d-miketa",
"id": 320321,
"node_id": "MDQ6VXNlcjMyMDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/320321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/d-miketa",
"html_url": "https://github.com/d-miketa",
"followers_url": "https://api.github.com/users/d-miket... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"There is another way to fix the \"Go to Reference\" in VsCode that has been shown [here](https://github.com/huggingface/transformers/issues/16394). I would like to avoid changing something as critical at the main init.",
"> There i... | 1,649 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/11642.
The Transformers library has a system for importing optional dependencies which replaces objects from missing libraries with "dummy" versions; this logic is implemented by a simple `if-else` statement in `transformers/__init__... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16578/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/16578/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16578",
"html_url": "https://github.com/huggingface/transformers/pull/16578",
"diff_url": "https://github.com/huggingface/transformers/pull/16578.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16578.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16577/comments | https://api.github.com/repos/huggingface/transformers/issues/16577/events | https://github.com/huggingface/transformers/issues/16577 | 1,191,481,526 | I_kwDOCUB6oc5HBJC2 | 16,577 | Running Error: Trying to backward through the graph a second time | {
"login": "lxx909546478",
"id": 48379537,
"node_id": "MDQ6VXNlcjQ4Mzc5NTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/48379537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lxx909546478",
"html_url": "https://github.com/lxx909546478",
"followers_url": "https://api.github.c... | [] | 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,649 | 1,652 | 1,652 | NONE | null | When I define a net, and pass its output to BART model's decoder, which uses for cross attention. The bart decoder has 12 attention layers. And I will get an Error: Trying to backward through the graph a second time.
The same [question](https://github.com/pyg-team/pytorch_geometric/issues/4259).
Appreciate your help!... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16577/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16576/comments | https://api.github.com/repos/huggingface/transformers/issues/16576/events | https://github.com/huggingface/transformers/issues/16576 | 1,191,430,453 | I_kwDOCUB6oc5HA8k1 | 16,576 | How to fine-tune the models on huggingface hub with run_mlm.py | {
"login": "ralgond",
"id": 23080195,
"node_id": "MDQ6VXNlcjIzMDgwMTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/23080195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ralgond",
"html_url": "https://github.com/ralgond",
"followers_url": "https://api.github.com/users/ralgon... | [] | closed | false | null | [] | [
"Hi @ralgond 👋 Our documentation probably has the information you need, check [this page](https://huggingface.co/docs/transformers/main/en/training#finetune-a-pretrained-model) (for instance). The documentation is searchable, try looking for the keywords related to your problem. Alternatively, in the `run_mlm.py` ... | 1,649 | 1,649 | 1,649 | NONE | null | Say I have a corpus, I want to use it to fine-tune a model which is on huggingface hub, How should I do?
Thanks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16576/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16575/comments | https://api.github.com/repos/huggingface/transformers/issues/16575/events | https://github.com/huggingface/transformers/pull/16575 | 1,191,336,806 | PR_kwDOCUB6oc41kAc5 | 16,575 | CvT: Introducing Convolutions to Vision Transformers | {
"login": "AnugunjNaman",
"id": 42839570,
"node_id": "MDQ6VXNlcjQyODM5NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/42839570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnugunjNaman",
"html_url": "https://github.com/AnugunjNaman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Well I will need to update all weights again. Since they were in contracted form. Okay will take time.",
"@FrancescoSaverioZuppichini I have made most of the changes. The changes left are:\r\n1. Configuration: For num_stages, it would be better for understanding, inferring from depth might make it little difficu... | 1,649 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Add CvT Model for Vision Classification
Fixes #13158
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIB... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16575/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16575",
"html_url": "https://github.com/huggingface/transformers/pull/16575",
"diff_url": "https://github.com/huggingface/transformers/pull/16575.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16575.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16574/comments | https://api.github.com/repos/huggingface/transformers/issues/16574/events | https://github.com/huggingface/transformers/issues/16574 | 1,191,323,860 | I_kwDOCUB6oc5HAijU | 16,574 | about attention value | {
"login": "wonjunchoi-arc",
"id": 84310920,
"node_id": "MDQ6VXNlcjg0MzEwOTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/84310920?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonjunchoi-arc",
"html_url": "https://github.com/wonjunchoi-arc",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @wonjunchoi-arc 👋 We have some information about the questions you asked in our course -- see [here](https://huggingface.co/course/chapter2/5?fw=pt#attention-masks), for instance. The course and other documentation are searchable, and they are a great source of information.\r\n\r\nWe also reserve these issues... | 1,649 | 1,649 | 1,649 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
Hi I'am a beginner of ML programming
I'm studying transformer, but there's something I don't understand.
The first is about the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16574/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16573/comments | https://api.github.com/repos/huggingface/transformers/issues/16573/events | https://github.com/huggingface/transformers/pull/16573 | 1,191,249,909 | PR_kwDOCUB6oc41jt_d | 16,573 | Fix and improve CTRL doctests | {
"login": "jeremyadamsfisher",
"id": 12537747,
"node_id": "MDQ6VXNlcjEyNTM3NzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/12537747?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeremyadamsfisher",
"html_url": "https://github.com/jeremyadamsfisher",
"followers_url": "https... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patrickvonplaten @sgugger \r\n\r\nCould you also take a look when you have some time?\r\n\r\nIn particular, I don't find any existing documentation mentioning the usage of `Opinion ...` (put the control code as the first word), alth... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | - Improve CTRL doctests and fix test assertions, where appropriate
# What does this PR do?
This PR addresses the CTRL doc test failures and replaces the example text with one that is more appropriate for CTRL specifically (i.e., by prefacing it with a control code)
Motivated as part of the doctest sprint: http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16573/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16573",
"html_url": "https://github.com/huggingface/transformers/pull/16573",
"diff_url": "https://github.com/huggingface/transformers/pull/16573.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16573.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16572/comments | https://api.github.com/repos/huggingface/transformers/issues/16572/events | https://github.com/huggingface/transformers/issues/16572 | 1,190,978,513 | I_kwDOCUB6oc5G_OPR | 16,572 | Fine-tuning longformer for Question Answering | {
"login": "SumeetSandhu",
"id": 6636913,
"node_id": "MDQ6VXNlcjY2MzY5MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6636913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SumeetSandhu",
"html_url": "https://github.com/SumeetSandhu",
"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,649 | 1,652 | 1,652 | NONE | null | I wish to fine-tune longformer for Question Answering. I've tried both pretrained triviaQA and squad huggingface longformer models:
- https://huggingface.co/allenai/longformer-large-4096-finetuned-triviaqa
- https://huggingface.co/valhalla/longformer-base-4096-finetuned-squadv1
with kaggle data on tensorflow in t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16572/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16571/comments | https://api.github.com/repos/huggingface/transformers/issues/16571/events | https://github.com/huggingface/transformers/issues/16571 | 1,190,967,283 | I_kwDOCUB6oc5G_Lfz | 16,571 | can i use the transformers pretraining script of T5 as mT5 ? | {
"login": "StephennFernandes",
"id": 32235549,
"node_id": "MDQ6VXNlcjMyMjM1NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/32235549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StephennFernandes",
"html_url": "https://github.com/StephennFernandes",
"followers_url": "https... | [] | closed | false | null | [] | [
"check this https://github.com/Shivanandroy/simpleT5\r\nit uses transformers and it based on transformers and PyTorch lightening and it supports mt5 training.\r\nwith Pytorch lightning you can train mt5 on TPU with xla support. but i think you need to edit the code .\r\nHowever, t5 code with flax (jax) seems your b... | 1,649 | 1,679 | 1,653 | NONE | null | @patrickvonplaten @lewtun, @NielsRogge I am planing to pretrain multilingual T5 small and/or medium from scratch using the huggingface T5 pre-training script , i came across this post [https://github.com/huggingface/transformers/issues/5079](https://github.com/huggingface/transformers/issues/5079) and the hugginfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16571/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16570/comments | https://api.github.com/repos/huggingface/transformers/issues/16570/events | https://github.com/huggingface/transformers/issues/16570 | 1,190,913,994 | I_kwDOCUB6oc5G--fK | 16,570 | Force Alignment with Wav2Vec2 models | {
"login": "arijitx",
"id": 6756124,
"node_id": "MDQ6VXNlcjY3NTYxMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6756124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arijitx",
"html_url": "https://github.com/arijitx",
"followers_url": "https://api.github.com/users/arijitx/... | [] | closed | false | null | [] | [
"I fully agree and I think it would be great if we could add a code snippet such as the one you mention to `transformers`. I think the place for now should be here: https://github.com/huggingface/transformers/tree/main/examples/research_projects/wav2vec2 - maybe we could add a `alignment.py` file there? \r\n\r\nMor... | 1,648 | 1,659 | 1,659 | CONTRIBUTOR | null | # 🚀 Feature request
Most TTS acoustic models like FastSpeech, FastPitch requires duration of each phonemes or characters while training. In some cases there are force alignment models and aligners available for some languages, but most languages don't have one. leveraging the wav2vec model for force alignment [Forc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16570/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16570/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.