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/14960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14960/comments | https://api.github.com/repos/huggingface/transformers/issues/14960/events | https://github.com/huggingface/transformers/issues/14960 | 1,089,761,967 | I_kwDOCUB6oc5A9HKv | 14,960 | Missing parameters when iterating over `module.parameters()` | {
"login": "jankrepl",
"id": 18519371,
"node_id": "MDQ6VXNlcjE4NTE5Mzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/18519371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jankrepl",
"html_url": "https://github.com/jankrepl",
"followers_url": "https://api.github.com/users/jan... | [] | closed | false | null | [] | [
"Hey @jankrepl,\r\n\r\n`self.lm_head` is identical to `self.transformer.wte` since those weights are tied (input and output word embeddings are the same for a lot of Transformer models) which is why `self.lm_head` doesn't show up here I think ",
"```python\r\nfrom transformers import AutoModelForCausalLM\r\n\r\n\... | 1,640 | 1,640 | 1,640 | 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.15.0`
- Python
- Implementation: CPython
- Version : 3.8.12
- Platform
- OS : Darw... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14960/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14959/comments | https://api.github.com/repos/huggingface/transformers/issues/14959/events | https://github.com/huggingface/transformers/pull/14959 | 1,089,742,203 | PR_kwDOCUB6oc4wVDRq | 14,959 | [Wav2Vec2] Rename model's feature extractor to feature encoder | {
"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 | [] | [] | 1,640 | 1,640 | 1,640 | 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/14959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14959",
"html_url": "https://github.com/huggingface/transformers/pull/14959",
"diff_url": "https://github.com/huggingface/transformers/pull/14959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14959.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14958/comments | https://api.github.com/repos/huggingface/transformers/issues/14958/events | https://github.com/huggingface/transformers/pull/14958 | 1,089,740,306 | PR_kwDOCUB6oc4wVC4v | 14,958 | [WavLM] give model more precision tolerance in 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 | [] | [
"cc @sgugger "
] | 1,640 | 1,640 | 1,640 | 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/14958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14958/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14958",
"html_url": "https://github.com/huggingface/transformers/pull/14958",
"diff_url": "https://github.com/huggingface/transformers/pull/14958.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14958.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14956/comments | https://api.github.com/repos/huggingface/transformers/issues/14956/events | https://github.com/huggingface/transformers/pull/14956 | 1,089,624,034 | PR_kwDOCUB6oc4wUq3u | 14,956 | [megatron convert] PYTHONPATH requirements | {
"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 | [] | [] | 1,640 | 1,641 | 1,641 | CONTRIBUTOR | null | This PR documents how to tell the megatron conversion scripts to find the `Megatron-LM` repo, which is needed for recent checkpoints as it was reported at https://github.com/huggingface/transformers/issues/14939
Since one can't install Megatron-LM as a package we can't make the script require it, so documenting it h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14956",
"html_url": "https://github.com/huggingface/transformers/pull/14956",
"diff_url": "https://github.com/huggingface/transformers/pull/14956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14956.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14955/comments | https://api.github.com/repos/huggingface/transformers/issues/14955/events | https://github.com/huggingface/transformers/pull/14955 | 1,089,528,179 | PR_kwDOCUB6oc4wUX9v | 14,955 | [doc] :class: hunt | {
"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 | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | part 2 Doc clean up continued from https://github.com/huggingface/transformers/pull/14954
- `:meth:`, `:func` - all is good
- `:class:`
```
find . -type d -name ".git" -prune -o -type f -exec perl -pi -e 's#:class: ?`([^`]+)`#[`$1`]#g' {} \;
find . -type d -name ".git" -prune -o -type f -exec perl -pi -e 's#:c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14955",
"html_url": "https://github.com/huggingface/transformers/pull/14955",
"diff_url": "https://github.com/huggingface/transformers/pull/14955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14954/comments | https://api.github.com/repos/huggingface/transformers/issues/14954/events | https://github.com/huggingface/transformers/pull/14954 | 1,089,515,152 | PR_kwDOCUB6oc4wUVWG | 14,954 | [doc] :obj: hunt | {
"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 | [] | [
"Redone w/o examples and utils"
] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | I think it'd be easier to review if we focus on one type at a time. So this PR is about `obj`:
it catches all the invalid `:obj:` versions, reformats the next field as if they were normal and then removes them all.
```
find . -type d -name ".git" -prune -o -type f -exec perl -pi -e 's#:?obj: ?\*([^\*]+)\*#`$1`#g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14954",
"html_url": "https://github.com/huggingface/transformers/pull/14954",
"diff_url": "https://github.com/huggingface/transformers/pull/14954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14954.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14953/comments | https://api.github.com/repos/huggingface/transformers/issues/14953/events | https://github.com/huggingface/transformers/pull/14953 | 1,089,506,736 | PR_kwDOCUB6oc4wUToG | 14,953 | Doc styler examples | {
"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 | [] | [
"Cool! Good to merge for me once all tests pass"
] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
Last bit of the new style-doc script, blackify all code examples which:
- insures they don't have bacis Python errors
- are on par with our usual code format
This PR fixes a few code examples mistakes (see first commit for the docstrings and [this commit](https://github.com/huggingface/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14953",
"html_url": "https://github.com/huggingface/transformers/pull/14953",
"diff_url": "https://github.com/huggingface/transformers/pull/14953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14952/comments | https://api.github.com/repos/huggingface/transformers/issues/14952/events | https://github.com/huggingface/transformers/pull/14952 | 1,089,489,953 | PR_kwDOCUB6oc4wUQIN | 14,952 | Convert last rst file | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
For some reason we forgot the `auto.rst` doc file in the mass conversion. This PR fixes that problem. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14952/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14952",
"html_url": "https://github.com/huggingface/transformers/pull/14952",
"diff_url": "https://github.com/huggingface/transformers/pull/14952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14952.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14951/comments | https://api.github.com/repos/huggingface/transformers/issues/14951/events | https://github.com/huggingface/transformers/pull/14951 | 1,089,475,367 | PR_kwDOCUB6oc4wUNJl | 14,951 | [doc] consistent True/False/None default format | {
"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 | [] | [
"Done"
] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | This PR sets True/False/None default format in a consistent manner of backticks.
```
find . -type d -name ".git" -prune -o -type f -exec perl -pi -e 's#\*(True|False|None)\*#`$1`#g' {} \;
```
Fixes: https://github.com/huggingface/transformers/issues/14949
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14951/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14951",
"html_url": "https://github.com/huggingface/transformers/pull/14951",
"diff_url": "https://github.com/huggingface/transformers/pull/14951.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14951.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14950/comments | https://api.github.com/repos/huggingface/transformers/issues/14950/events | https://github.com/huggingface/transformers/pull/14950 | 1,089,468,429 | PR_kwDOCUB6oc4wULs8 | 14,950 | Doc styler v2 | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
This PR rewrites the doc-styler to work with the Markdown docstrings and re-enables the checks.
Merging and inspecting the doc is alright as the diff is... consequent :-) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14950/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14950",
"html_url": "https://github.com/huggingface/transformers/pull/14950",
"diff_url": "https://github.com/huggingface/transformers/pull/14950.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14950.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14949/comments | https://api.github.com/repos/huggingface/transformers/issues/14949/events | https://github.com/huggingface/transformers/issues/14949 | 1,089,451,501 | I_kwDOCUB6oc5A77Xt | 14,949 | [doc] post-conversion: incosistent "default to" | {
"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 | [] | [
"It's not the conversion fault, those were inconsistent before. Meaning some were properly set with an :obj: marker or double backticks while other had simple backticks and were thus converted in italics.\r\n\r\nBy all means, if you want to do a batch conversion, the proper format is \\`False\\` (or \\`True\\`)",
... | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | After the conversion we ended up with inconsistent values for `defaults to` - sometimes it's `formatted`, other times it's *italics*, with former being the prevailing form. Example:
```
src/transformers/generation_tf_utils.py: use_cache: (`bool`, *optional*, defaults to `True`):
src/transformers/generatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14949/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14948/comments | https://api.github.com/repos/huggingface/transformers/issues/14948/events | https://github.com/huggingface/transformers/pull/14948 | 1,089,418,841 | PR_kwDOCUB6oc4wUBZK | 14,948 | [deepspeed] saving checkpoint fallback when fp16 weights aren't saved | {
"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 | [] | [
"So the idea is that `deepspeed.save_fp16_model()` will return True if the weights have already been saved at the given path in which case there is no need to call `deepspeed.save_checkpoint()`?",
"That's right. I just want to make sure that someone won't lose their work in case they misconfigured their DS setup.... | 1,640 | 1,643 | 1,643 | CONTRIBUTOR | null | `_save_checkpoint` saves the deepspeed checkpoint, but this path:
```
push_to_hub => save_model => questionable outcome
```
for z3 if `stage3_gather_fp16_weights_on_model_save=false` will not save the model, so this PR adds a fallback to saving the full checkpoint instead from which weights can be recovered.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14948",
"html_url": "https://github.com/huggingface/transformers/pull/14948",
"diff_url": "https://github.com/huggingface/transformers/pull/14948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14948.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14947/comments | https://api.github.com/repos/huggingface/transformers/issues/14947/events | https://github.com/huggingface/transformers/pull/14947 | 1,089,409,249 | PR_kwDOCUB6oc4wT_a5 | 14,947 | Improve truncation_side | {
"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 | [] | [
"> Thanks for working on this. I don't think you have properly put Niels as Co-author, there needs to be a special syntax Co-authored-by xxx in a commit description for GitHub to recognize it.\r\n\r\nThe email I used was wrong, I had to dive into other git commits to find the proper email."
] | 1,640 | 1,641 | 1,641 | CONTRIBUTOR | null | # What does this PR do?
Largely taken from #859, but redone in order to avoid documentation issues since the
switch to MD. @NielsRogge you are co-authored, since it's mainly your PR.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the releas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14947/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14947",
"html_url": "https://github.com/huggingface/transformers/pull/14947",
"diff_url": "https://github.com/huggingface/transformers/pull/14947.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14947.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14946/comments | https://api.github.com/repos/huggingface/transformers/issues/14946/events | https://github.com/huggingface/transformers/pull/14946 | 1,089,388,663 | PR_kwDOCUB6oc4wT7N6 | 14,946 | Fix duplicate call to save_checkpoint when using deepspeed | {
"login": "MihaiBalint",
"id": 164886,
"node_id": "MDQ6VXNlcjE2NDg4Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/164886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MihaiBalint",
"html_url": "https://github.com/MihaiBalint",
"followers_url": "https://api.github.com/user... | [
{
"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... | [
"sorry, didn't realize that the 2 PRs were the same, just different source branch. ok, let's work on this one.\r\n\r\nSo indeed there is a duplication as you discovered https://github.com/huggingface/transformers/pull/14652/files#diff-ed55888e6665791fe92cc8fc0c499da54f4ace6738551cd9a2591881cda076deR1986\r\n\r\nSo i... | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
Drop duplicate call to deepspeed.save_checkpoint(), the trainer.save_model() function already handles that case.
Following this change: https://github.com/huggingface/transformers/pull/14652/files#diff-ed55888e6665791fe92cc8fc0c499da54f4ace6738551cd9a2591881cda076deR1986
The call to save_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14946/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/14946/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14946",
"html_url": "https://github.com/huggingface/transformers/pull/14946",
"diff_url": "https://github.com/huggingface/transformers/pull/14946.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14946.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14945/comments | https://api.github.com/repos/huggingface/transformers/issues/14945/events | https://github.com/huggingface/transformers/issues/14945 | 1,089,346,027 | I_kwDOCUB6oc5A7hnr | 14,945 | Unable to see total_flos in ViT training logs | {
"login": "minhdeal",
"id": 6149405,
"node_id": "MDQ6VXNlcjYxNDk0MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6149405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minhdeal",
"html_url": "https://github.com/minhdeal",
"followers_url": "https://api.github.com/users/minhd... | [] | closed | false | null | [] | [
"Could you update your Transformers to the last version? I think this was fixed recently.",
"I updated Transformers to the latest (master) version and I can see total_flos now. Thank you for your help."
] | 1,640 | 1,640 | 1,640 | 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.14.1
- Platform: Ubuntu 20.04.1
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.0 (True)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14945/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14944/comments | https://api.github.com/repos/huggingface/transformers/issues/14944/events | https://github.com/huggingface/transformers/pull/14944 | 1,089,345,363 | PR_kwDOCUB6oc4wTyKs | 14,944 | Map model_type and doc pages names | {
"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 | [] | [
"very neat!",
"Sounds good to me. Will resolve conflicts and merge."
] | 1,640 | 1,641 | 1,641 | COLLABORATOR | null | # What does this PR do?
As discussed on [moon-landing](https://github.com/huggingface/moon-landing/pull/1692#discussion_r774957604), it's not possible to automatically generate the link to the documentation from the configuration of a model, due to multiple inconsistencies between model type and doc page name.
Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14944/reactions",
"total_count": 4,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14944/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14944",
"html_url": "https://github.com/huggingface/transformers/pull/14944",
"diff_url": "https://github.com/huggingface/transformers/pull/14944.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14944.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14943/comments | https://api.github.com/repos/huggingface/transformers/issues/14943/events | https://github.com/huggingface/transformers/issues/14943 | 1,089,202,181 | I_kwDOCUB6oc5A6-gF | 14,943 | Different evaluation results | {
"login": "midannii",
"id": 48229457,
"node_id": "MDQ6VXNlcjQ4MjI5NDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/48229457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/midannii",
"html_url": "https://github.com/midannii",
"followers_url": "https://api.github.com/users/mid... | [] | closed | false | null | [] | [
"I'm not entirely sure the result section is up to date, so it may have been with slightly different hyperparameters (like a batch size of 8 which is the default). It might also be an error in the base checkpoint used, as I may have used the `bert-base-cased` checkpoint to get those results.\r\n\r\nFor your second ... | 1,640 | 1,643 | 1,643 | NONE | null | ## Environment info
- `transformers` version: 4.10.0
- Platform: Linux-4.15.0-142-generic-x86_64-with-debian-stretch-sid
- Python version: 3.7.11
- PyTorch version (GPU?): 1.10.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14943/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14942/comments | https://api.github.com/repos/huggingface/transformers/issues/14942/events | https://github.com/huggingface/transformers/issues/14942 | 1,089,154,147 | I_kwDOCUB6oc5A6yxj | 14,942 | when I use "convert_pytorch_checkpoint_to_tf", I meet some problems | {
"login": "sunM123",
"id": 28703738,
"node_id": "MDQ6VXNlcjI4NzAzNzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/28703738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sunM123",
"html_url": "https://github.com/sunM123",
"followers_url": "https://api.github.com/users/sunM12... | [] | 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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | NONE | null | I found that these args are not really useful, actually I can not run the code when use the arg—— "model_name"
the origin code is like this, which I find it not work:
` model = BertModel.from_pretrained(
pretrained_model_name_or_path=args.model_name,
state_dict=torch.load(args.pytorch_model_path... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14942/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14941/comments | https://api.github.com/repos/huggingface/transformers/issues/14941/events | https://github.com/huggingface/transformers/pull/14941 | 1,089,125,340 | PR_kwDOCUB6oc4wTDyx | 14,941 | Enabling `tokenizers` upgrade. | {
"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 | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
`tokenizers==0.11` is now available on all distributions locations (conda included)
and will enable truncating left on tokenizers that require it.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14941",
"html_url": "https://github.com/huggingface/transformers/pull/14941",
"diff_url": "https://github.com/huggingface/transformers/pull/14941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14941.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14940/comments | https://api.github.com/repos/huggingface/transformers/issues/14940/events | https://github.com/huggingface/transformers/pull/14940 | 1,089,082,023 | PR_kwDOCUB6oc4wS6_O | 14,940 | Fix duplicate call to save_checkpoint when using deepspeed | {
"login": "MihaiBalint",
"id": 164886,
"node_id": "MDQ6VXNlcjE2NDg4Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/164886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MihaiBalint",
"html_url": "https://github.com/MihaiBalint",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"Closed PR as it was created from the wrong branch",
"continued in https://github.com/huggingface/transformers/pull/14946"
] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
Drop duplicate call to deepspeed.save_checkpoint(), the trainer.save_model() function already handles that case.
Following this change: https://github.com/huggingface/transformers/pull/14652/files#diff-ed55888e6665791fe92cc8fc0c499da54f4ace6738551cd9a2591881cda076deR1986
The call to save_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14940",
"html_url": "https://github.com/huggingface/transformers/pull/14940",
"diff_url": "https://github.com/huggingface/transformers/pull/14940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14940.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14939/comments | https://api.github.com/repos/huggingface/transformers/issues/14939/events | https://github.com/huggingface/transformers/issues/14939 | 1,089,075,787 | I_kwDOCUB6oc5A6fpL | 14,939 | Cannot Convert Megatron GPT checkpoint | {
"login": "seanbenhur",
"id": 43300345,
"node_id": "MDQ6VXNlcjQzMzAwMzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/43300345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seanbenhur",
"html_url": "https://github.com/seanbenhur",
"followers_url": "https://api.github.com/use... | [] | 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... | [
"It's because your custom checkpoint includes a module namespace visible during training (and embedded in the checkpoint) but not at the conversion time.\r\n\r\nThe official checkpoint converts w/o errors:\r\n\r\n```\r\ngit clone https://github.com/huggingface/transformers/\r\ncd transformers\r\nmkdir megatron_lm_3... | 1,640 | 1,641 | 1,641 | 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.11.2
- Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.10
- Python version: 3.8.10
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14939/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14938/comments | https://api.github.com/repos/huggingface/transformers/issues/14938/events | https://github.com/huggingface/transformers/issues/14938 | 1,088,985,959 | I_kwDOCUB6oc5A6Jtn | 14,938 | Question: Object of type EncoderDecoderConfig is not JSON serializable | {
"login": "Captainr22",
"id": 44116628,
"node_id": "MDQ6VXNlcjQ0MTE2NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/44116628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Captainr22",
"html_url": "https://github.com/Captainr22",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @Captainr22,\r\n\r\nThanks for reporting this issue here. I now know how you create the model. Could you also provide the code to run this model with the Trainer? A bash command is enough in case you are using one of the official examples :-)",
"Hi @patrickvonplaten ,\r\n\r\nHere is my code to run my model. ... | 1,640 | 1,641 | 1,641 | NONE | null | Hi.
An error occurred when I used Trainer to train and save EncoderDecoderModel.
```python
File "/home/jwli/ljw/study/hotpotqa/roberta_seq2seq/roberta_for_seq2seq.py", line 482, in <module>
run(model_args, data_args, training_args)
File "/home/jwli/ljw/study/hotpotqa/roberta_seq2seq/roberta_for_seq2seq.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14937/comments | https://api.github.com/repos/huggingface/transformers/issues/14937/events | https://github.com/huggingface/transformers/issues/14937 | 1,088,938,349 | I_kwDOCUB6oc5A5-Ft | 14,937 | Cannot instantiate model under dopamine | {
"login": "kovkev",
"id": 30991911,
"node_id": "MDQ6VXNlcjMwOTkxOTEx",
"avatar_url": "https://avatars.githubusercontent.com/u/30991911?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kovkev",
"html_url": "https://github.com/kovkev",
"followers_url": "https://api.github.com/users/kovkev/fo... | [] | closed | false | null | [] | [
"Hey @kovkev,\r\n\r\nCould you please provide an easily reproducible code snippet? I don't really know what `mytest.py` is",
"Do clone github.com/kovkev/dopamine , where I patch dopamine with my code snippet",
"Hi @patrickvonplaten , quick Github question - do you get notified if I make a comment that does not ... | 1,640 | 1,644 | 1,644 | NONE | null | ## Environment info
- `transformers` version: 4.13.0.dev0
- Platform: Linux-5.11.0-43-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.7.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14937/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14936/comments | https://api.github.com/repos/huggingface/transformers/issues/14936/events | https://github.com/huggingface/transformers/issues/14936 | 1,088,931,444 | I_kwDOCUB6oc5A58Z0 | 14,936 | A warning is raised when using DistributedDataParallel of PyTorch | {
"login": "ForawardStar",
"id": 32625467,
"node_id": "MDQ6VXNlcjMyNjI1NDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32625467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ForawardStar",
"html_url": "https://github.com/ForawardStar",
"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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | NONE | null | When I train huggingface-transformers model in multi-cards and multi-machines using DistributedDataParallel (DDP) of PyTorch, a warning is always output at each epoch:
```
huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14936/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14936/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14935/comments | https://api.github.com/repos/huggingface/transformers/issues/14935/events | https://github.com/huggingface/transformers/pull/14935 | 1,088,922,505 | PR_kwDOCUB6oc4wSawG | 14,935 | [performance doc] Power and Cooling | {
"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 | [] | [] | 1,640 | 1,641 | 1,641 | CONTRIBUTOR | null | This PR supplies performance doc additions:
- Power and Cooling
- Grad accumulation
- links to various benchmarks I recently created
- a direct link to the scalabilty doc
@LysandreJik, @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14935/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14935",
"html_url": "https://github.com/huggingface/transformers/pull/14935",
"diff_url": "https://github.com/huggingface/transformers/pull/14935.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14935.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14934/comments | https://api.github.com/repos/huggingface/transformers/issues/14934/events | https://github.com/huggingface/transformers/pull/14934 | 1,088,897,037 | PR_kwDOCUB6oc4wSVpV | 14,934 | [benchmark tool] trainer-benchmark.py | {
"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": ""
},
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4N... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,640 | 1,649 | 1,649 | CONTRIBUTOR | null | This PR adds a benchmarking tool for HF Trainer args - e.g. compare --fp16 vs --bf16 performance, but can do that for multiple dimensions and it prints automatic tables suitable for instant pasting in Issues, including relative performance. e.g.:
| Variation | Train<br>samples<br>per<br>s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14934/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14934",
"html_url": "https://github.com/huggingface/transformers/pull/14934",
"diff_url": "https://github.com/huggingface/transformers/pull/14934.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14934.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14933/comments | https://api.github.com/repos/huggingface/transformers/issues/14933/events | https://github.com/huggingface/transformers/pull/14933 | 1,088,787,522 | PR_kwDOCUB6oc4wSA8O | 14,933 | Add parameters to make custom backbone for detr | {
"login": "Zhylkaaa",
"id": 18054828,
"node_id": "MDQ6VXNlcjE4MDU0ODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18054828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhylkaaa",
"html_url": "https://github.com/Zhylkaaa",
"followers_url": "https://api.github.com/users/Zhy... | [] | 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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | CONTRIBUTOR | null | # What does this PR do?
Added few parameters to be able to create custom backbone models for different use cases (partially explained in mentioned issue)
<!--
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 y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14933",
"html_url": "https://github.com/huggingface/transformers/pull/14933",
"diff_url": "https://github.com/huggingface/transformers/pull/14933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14933.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14932/comments | https://api.github.com/repos/huggingface/transformers/issues/14932/events | https://github.com/huggingface/transformers/pull/14932 | 1,088,775,665 | PR_kwDOCUB6oc4wR-wD | 14,932 | Flax wav2vec2 pretrain | {
"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 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/master/CONTRIBUTING.md)... | 1,640 | 1,646 | 1,646 | 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/14932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14932/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14932",
"html_url": "https://github.com/huggingface/transformers/pull/14932",
"diff_url": "https://github.com/huggingface/transformers/pull/14932.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14932.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14931/comments | https://api.github.com/repos/huggingface/transformers/issues/14931/events | https://github.com/huggingface/transformers/issues/14931 | 1,088,755,146 | I_kwDOCUB6oc5A5RXK | 14,931 | AutoTokenizer hash value got change after datasets.map | {
"login": "tshu-w",
"id": 13161779,
"node_id": "MDQ6VXNlcjEzMTYxNzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/13161779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tshu-w",
"html_url": "https://github.com/tshu-w",
"followers_url": "https://api.github.com/users/tshu-w/fo... | [] | closed | false | null | [] | [
"It seems like this issue also occur with other AutoClass like `AutoFeatureExtractor`.",
"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 [contri... | 1,640 | 1,674 | 1,647 | NONE | null | ## Environment info
- `transformers` version: 4.15.0
- Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.27
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.1+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14931/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14930/comments | https://api.github.com/repos/huggingface/transformers/issues/14930/events | https://github.com/huggingface/transformers/pull/14930 | 1,088,745,252 | PR_kwDOCUB6oc4wR5R5 | 14,930 | fix to issue #14833 in data_collator - consider no labels | {
"login": "kleinay",
"id": 28346647,
"node_id": "MDQ6VXNlcjI4MzQ2NjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/28346647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kleinay",
"html_url": "https://github.com/kleinay",
"followers_url": "https://api.github.com/users/kleina... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
Fixing `DataCollatorForSeq2Seq.__call__` to not preparing decoder_input_ids when `labels` is None.
Fixes # (issue)
#14833
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14930",
"html_url": "https://github.com/huggingface/transformers/pull/14930",
"diff_url": "https://github.com/huggingface/transformers/pull/14930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14930.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14929/comments | https://api.github.com/repos/huggingface/transformers/issues/14929/events | https://github.com/huggingface/transformers/issues/14929 | 1,088,686,505 | I_kwDOCUB6oc5A5Amp | 14,929 | VQA model inferences | {
"login": "PrithivirajDamodaran",
"id": 7071019,
"node_id": "MDQ6VXNlcjcwNzEwMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7071019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PrithivirajDamodaran",
"html_url": "https://github.com/PrithivirajDamodaran",
"followers_url":... | [] | closed | false | null | [] | [
"I tried the LXMERT and VisualBERT demos from [here](https://github.com/huggingface/transformers/blob/master/examples/research_projects/lxmert/demo.ipynb) and [here](https://github.com/huggingface/transformers/blob/master/examples/research_projects/visual_bert/demo.ipynb) \n\nThere seems to be dependency issues and... | 1,640 | 1,641 | 1,641 | NONE | null | There are a bunch of models fine tuned for VQA and NLVR tasks based on LXMERT, ViLT and Visual BERT, CLIP vision BERT and so on. Is there a resource to see how to run inferences on them ? (and possibly benchmark them ) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14929/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14928/comments | https://api.github.com/repos/huggingface/transformers/issues/14928/events | https://github.com/huggingface/transformers/pull/14928 | 1,088,678,124 | PR_kwDOCUB6oc4wRtY6 | 14,928 | [WIP] Fast tokenizer for debertaV2 | {
"login": "alcinos",
"id": 7438704,
"node_id": "MDQ6VXNlcjc0Mzg3MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7438704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alcinos",
"html_url": "https://github.com/alcinos",
"followers_url": "https://api.github.com/users/alcinos/... | [] | closed | false | null | [] | [
"I noticed that while I was working on my PR, another was submitted for the same purpose: #14923. ",
"Hey @alcinos ,\r\n\r\nthanks for adding it!\r\n\r\nI'm currently running comparisons between slow and fast tokenizer. Here are some mismatches between fast and slow.\r\n\r\nI just run tokenization tests on `READM... | 1,640 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Implements a fast tokenizer for deberta v2. Loosely based on #11387
Fixes #11529
Fixes #14712
This is a draft as there are some failing tests (not super clear to me why atm, will have to investigate)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14928",
"html_url": "https://github.com/huggingface/transformers/pull/14928",
"diff_url": "https://github.com/huggingface/transformers/pull/14928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14926/comments | https://api.github.com/repos/huggingface/transformers/issues/14926/events | https://github.com/huggingface/transformers/issues/14926 | 1,088,574,169 | I_kwDOCUB6oc5A4lLZ | 14,926 | Facing Problems with RobertaForSequenceClassification.from_pretrained() | {
"login": "aflah02",
"id": 72096386,
"node_id": "MDQ6VXNlcjcyMDk2Mzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/72096386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aflah02",
"html_url": "https://github.com/aflah02",
"followers_url": "https://api.github.com/users/aflah0... | [] | closed | false | null | [] | [
"I figured out my mistake the config file hadn't been generated \r\nFixed that now"
] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | I've been trying to run the code present here on new data - https://github.com/machelreid/lewis
In one of the steps there are the following lines of codes -
```
classifier = (
RobertaForSequenceClassification.from_pretrained(
f"{args.hf_dump}/pytorch_model.bin",
config=f"{... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14926/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14923/comments | https://api.github.com/repos/huggingface/transformers/issues/14923/events | https://github.com/huggingface/transformers/pull/14923 | 1,088,545,726 | PR_kwDOCUB6oc4wRWZH | 14,923 | [WIP] DeBERTav2 Fast Tokenizer - fixes #14712 | {
"login": "mingboiz",
"id": 54308224,
"node_id": "MDQ6VXNlcjU0MzA4MjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/54308224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mingboiz",
"html_url": "https://github.com/mingboiz",
"followers_url": "https://api.github.com/users/min... | [] | closed | false | null | [] | [
"Merry xmas! Currently using the Converter to instantize the Fast DebertaV2 Tokenizer from a PreTrainedTokenizerFast serves as a workaround for now, but I'm finding it difficult to write up the DebertaV2TokenizerFast class \r\n for `tokenization_deberta_v2_fast.py` such that it wraps the SPMTokenizer class. \r\n\r\... | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
Added DeBERTav2Converter for tokenizer of
- DeBERTav2
- DeBERTav3
- mDeBERTav3
Wish to add a DeBERTav2TokenizerFast classes and test but require guidance on this, thanks!
Fixes # (issue)
#14712
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14923/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14923",
"html_url": "https://github.com/huggingface/transformers/pull/14923",
"diff_url": "https://github.com/huggingface/transformers/pull/14923.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14923.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14922/comments | https://api.github.com/repos/huggingface/transformers/issues/14922/events | https://github.com/huggingface/transformers/issues/14922 | 1,088,526,619 | I_kwDOCUB6oc5A4Zkb | 14,922 | Using Huggingface Trainer in Colab -> Disk Full | {
"login": "kforcodeai",
"id": 59497032,
"node_id": "MDQ6VXNlcjU5NDk3MDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/59497032?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kforcodeai",
"html_url": "https://github.com/kforcodeai",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I guess I found the reason, \r\non deleting the previous checkpoint, it goes to the google drive bin and the bin does not delete it then (deletes after 30 days) and this results in occupied space. \r\nOne way to solve this will be overriding the `_rotate_checkpoint` method of the `Trainer` to also clean the drive ... | 1,640 | 1,664 | 1,643 | NONE | null | https://discuss.huggingface.co/t/using-huggingface-trainer-in-colab-disk-full/5951/2
I faced the same issue mentioned in this discussion. Please give it a look.
[## Environment info
- `transformers` version: 4.15.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyTorch ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14922/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/14922/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14921/comments | https://api.github.com/repos/huggingface/transformers/issues/14921/events | https://github.com/huggingface/transformers/issues/14921 | 1,088,471,843 | I_kwDOCUB6oc5A4MMj | 14,921 | Inference API: return token scores for text-generation models | {
"login": "rodrigonogueira4",
"id": 2531204,
"node_id": "MDQ6VXNlcjI1MzEyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2531204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rodrigonogueira4",
"html_url": "https://github.com/rodrigonogueira4",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Hi @rodrigonogueira4 ,\r\n\r\nThis is an interesting feature. May I ask what the end goal would be ?\r\nIs it to potentially discard results which are deemed too low ?\r\nIs it to show some kind of confidence (color or otherwise) to your user ?\r\nAny other usage ?\r\n\r\nI think clarifying the en... | 1,640 | 1,693 | 1,644 | NONE | null | # 🚀 Feature request
It would be useful if the Accelerated Inference API returned token scores assigned by Text-generation and Text2text-generation models, similar to what is returned by "Fill mask" models. E.g.:
```
output = {
"sequence": "the answer to the universe is no.",
"score": 0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14921/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/14921/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14920/comments | https://api.github.com/repos/huggingface/transformers/issues/14920/events | https://github.com/huggingface/transformers/pull/14920 | 1,088,449,603 | PR_kwDOCUB6oc4wRElB | 14,920 | Use tqdm.auto in Pipeline docs | {
"login": "bryant1410",
"id": 3905501,
"node_id": "MDQ6VXNlcjM5MDU1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bryant1410",
"html_url": "https://github.com/bryant1410",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Thanks again!"
] | 1,640 | 1,641 | 1,641 | CONTRIBUTOR | null | It's better for e.g. notebook. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14920",
"html_url": "https://github.com/huggingface/transformers/pull/14920",
"diff_url": "https://github.com/huggingface/transformers/pull/14920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14919/comments | https://api.github.com/repos/huggingface/transformers/issues/14919/events | https://github.com/huggingface/transformers/issues/14919 | 1,088,308,482 | I_kwDOCUB6oc5A3kUC | 14,919 | Multiprocessing for pipeline | {
"login": "sharejing",
"id": 33115703,
"node_id": "MDQ6VXNlcjMzMTE1NzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/33115703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sharejing",
"html_url": "https://github.com/sharejing",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"same problem! @sharejing any insight so far? \r\n\r\nI was trying to do something like\r\n```\r\n# this is required otherwise it will complain \"AssertionError: daemonic processes are not allowed to have children\"\r\nclass NoDaemonProcess(multiprocessing.Process):\r\n @property\r\n def daemon(self):\r\n ... | 1,640 | 1,644 | 1,644 | NONE | null | I am using the question-answering pipeline provided by huggingface. I am trying to perform multiprocessing to parallelize the question answering, but it stucks!!! Eexcution does not end.
from transformers import pipeline
from torch.multiprocessing import Pool, Process, set_start_method
set_start_method('spawn', f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14919/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14918/comments | https://api.github.com/repos/huggingface/transformers/issues/14918/events | https://github.com/huggingface/transformers/issues/14918 | 1,088,222,312 | I_kwDOCUB6oc5A3PRo | 14,918 | Why I met Type 'seq(tensor(int64))' of operator (MemcpyFromHost) is invalid when using onnxruntime.InferenceSession() in GPU, and How to resolve it? On emergency hold,thanks! | {
"login": "yuanhuachao",
"id": 13781668,
"node_id": "MDQ6VXNlcjEzNzgxNjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/13781668?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuanhuachao",
"html_url": "https://github.com/yuanhuachao",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @yuanhuachao thanks for raising this issue! Can you please provide the exact command you used to export the model with? You might also be interested in a related issue #14882 about running this example script on a GPU.",
"Hi @lewtun ,i run the run_onnx_exporter.py with command 'python run_onnx_exporter.py --m... | 1,640 | 1,643 | 1,643 | NONE | null | ## Environment info
when I run exported onnx model of transformers (BARTBeamSearchGenerator model example) on GPU. I met this. Who knows how can resolve it?
<img width="1392" alt="截屏2021-12-24 下午3 32 55" src="https://user-images.githubusercontent.com/13781668/147331435-f518d5c7-b6fd-4550-9de9-940a9ec87003.png">
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14918/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14917/comments | https://api.github.com/repos/huggingface/transformers/issues/14917/events | https://github.com/huggingface/transformers/pull/14917 | 1,088,212,611 | PR_kwDOCUB6oc4wQUxa | 14,917 | Fix Perceiver docs | {
"login": "Sanster",
"id": 3998421,
"node_id": "MDQ6VXNlcjM5OTg0MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3998421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sanster",
"html_url": "https://github.com/Sanster",
"followers_url": "https://api.github.com/users/Sanster/... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14917",
"html_url": "https://github.com/huggingface/transformers/pull/14917",
"diff_url": "https://github.com/huggingface/transformers/pull/14917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14916/comments | https://api.github.com/repos/huggingface/transformers/issues/14916/events | https://github.com/huggingface/transformers/issues/14916 | 1,088,209,581 | I_kwDOCUB6oc5A3MKt | 14,916 | Add Deepspeed Transformer kernel, but encounter error IndexError: tuple index out of range | {
"login": "dancingpipi",
"id": 20511825,
"node_id": "MDQ6VXNlcjIwNTExODI1",
"avatar_url": "https://avatars.githubusercontent.com/u/20511825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dancingpipi",
"html_url": "https://github.com/dancingpipi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"By the way, does Huggingface support similar XLA or kernel fusion capabilities?",
"Ok, problem solved, it's because the origin huggingface bert will return a tuple and choose the first element while deepspeed return the element",
"you can enable return_tuple in DeepSpeedTransformerConfig\r\n"
] | 1,640 | 1,658 | 1,640 | CONTRIBUTOR | null | I have compare the Bert-base pretraining performance between [Nvidia Tensorflow ](https://github.com/NVIDIA/DeepLearningExamples/tree/master/TensorFlow/LanguageModeling/BERT) and huggingface + Deepspeed.
My environment:
cuda: 11.2
torch: 1.10
deepspeed: 0.5.8
transformers: 4.13.0.dev0
machine: single node with 8 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14916/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14915/comments | https://api.github.com/repos/huggingface/transformers/issues/14915/events | https://github.com/huggingface/transformers/issues/14915 | 1,088,138,980 | I_kwDOCUB6oc5A267k | 14,915 | ConnectionError | {
"login": "cjj-sunshine",
"id": 56523651,
"node_id": "MDQ6VXNlcjU2NTIzNjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56523651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cjj-sunshine",
"html_url": "https://github.com/cjj-sunshine",
"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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | NONE | null | I encounterd the issue:ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.16.1/datasets/common_voice/common_voice.py when run run_speech_recognition_ctc.py. How can I solve this problem?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14915/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14914/comments | https://api.github.com/repos/huggingface/transformers/issues/14914/events | https://github.com/huggingface/transformers/issues/14914 | 1,088,128,893 | I_kwDOCUB6oc5A24d9 | 14,914 | How to update config after model inited? | {
"login": "qishibo",
"id": 5136418,
"node_id": "MDQ6VXNlcjUxMzY0MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5136418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qishibo",
"html_url": "https://github.com/qishibo",
"followers_url": "https://api.github.com/users/qishibo/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nTo turn off dropout, you should put your model in evaluation mode: `model.eval()`. ",
" > To turn off dropout, you should put your model in evaluation mode: `model.eval()`.\r\n\r\nthanks for reply, due to certain needs, what I want is to change `drop prob` during training. Can this be achieved?\r\n",
... | 1,640 | 1,643 | 1,643 | NONE | null | Hello everyone, I want to **change** the config [such as `dropout probability`] after bert inited, what should I do in transformers?
```python
# fixed seed
random.seed(args.seed)
torch.manual_seed(args.seed)
cudnn.deterministic = True
# init bert
config = AutoConfig.from_pretrained(model_name, hidden_dropout... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14914/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14913/comments | https://api.github.com/repos/huggingface/transformers/issues/14913/events | https://github.com/huggingface/transformers/issues/14913 | 1,087,998,248 | I_kwDOCUB6oc5A2Yko | 14,913 | [Benchmark] Deepspeed +fp16/bf16 on a 8xA100 node | {
"login": "aqred1",
"id": 50919790,
"node_id": "MDQ6VXNlcjUwOTE5Nzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/50919790?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aqred1",
"html_url": "https://github.com/aqred1",
"followers_url": "https://api.github.com/users/aqred1/fo... | [] | closed | false | null | [] | [
"oh, and tagging @stas00 because is a `deepspeed` \"issue\".",
"Information about the cards:\r\n```\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 |\r\n|-------------------------------+------------... | 1,640 | 1,643 | 1,643 | NONE | null | # 🖥 Benchmarking `transformers`
## Benchmark
Which part of `transformers` did you benchmark?
`Deepspeed` with template `Zero 1, 2 and 3` configurations using fp16 and bf16.
- I am by no means an expert on this, I'm trying to find the fastest configuration for my setup. So if you see better ways to do this, p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14913/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14912/comments | https://api.github.com/repos/huggingface/transformers/issues/14912/events | https://github.com/huggingface/transformers/pull/14912 | 1,087,979,803 | PR_kwDOCUB6oc4wPlkB | 14,912 | [doc] install - add link to jax installation | {
"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 | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | As `jax` cuda requires special instructions to be installed correctly add a link to jax installation instructions.
Note: Flax install page only covers cpu jax installation info.
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14912/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/14912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14912",
"html_url": "https://github.com/huggingface/transformers/pull/14912",
"diff_url": "https://github.com/huggingface/transformers/pull/14912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14912.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14911/comments | https://api.github.com/repos/huggingface/transformers/issues/14911/events | https://github.com/huggingface/transformers/issues/14911 | 1,087,953,936 | I_kwDOCUB6oc5A2NwQ | 14,911 | How to generate output using custom embeddings? | {
"login": "AzusaTsang",
"id": 51319771,
"node_id": "MDQ6VXNlcjUxMzE5Nzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/51319771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AzusaTsang",
"html_url": "https://github.com/AzusaTsang",
"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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | NONE | null | My code is kinda like
```python
model = BartForConditionalGeneration.from_pretrained('facebook/bart-large')
token_embeds, pos_embeds = custom_embeds()
output = model(inputs_embeds=token_embeds + pos_embeds, decoder_input_ids=torch.tensor([[tokenizer.bos_token_id]]))
```
How do I generate text output from this out... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14911/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14910/comments | https://api.github.com/repos/huggingface/transformers/issues/14910/events | https://github.com/huggingface/transformers/pull/14910 | 1,087,948,770 | PR_kwDOCUB6oc4wPfBT | 14,910 | [WavLM] fix wavlm 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 | [] | [] | 1,640 | 1,640 | 1,640 | 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/14910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14910",
"html_url": "https://github.com/huggingface/transformers/pull/14910",
"diff_url": "https://github.com/huggingface/transformers/pull/14910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14910.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14909/comments | https://api.github.com/repos/huggingface/transformers/issues/14909/events | https://github.com/huggingface/transformers/pull/14909 | 1,087,925,966 | PR_kwDOCUB6oc4wPaO9 | 14,909 | remove absl workaround as it's no longer needed | {
"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 | [] | [
"actually, that fix was in `abseil` - I may have misread the situation - let me just run some checks on whether the logging works.\r\n\r\nOK, here it says that `absl` was fixed as well: https://github.com/tensorflow/tensorflow/issues/26691#issuecomment-525519742\r\n",
"Hard to leave a reasonable opinion here for ... | 1,640 | 1,642 | 1,640 | CONTRIBUTOR | null | the `absl` workaround hasn't been needed since 2019-04 https://github.com/abseil/abseil-py/issues/99 so it should be safe to remove it.
Otherwise it's complaining about not finding TPUs, when there are no TPUs to be found when some of our libs load jax and not needing jax: https://github.com/huggingface/transformers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14909",
"html_url": "https://github.com/huggingface/transformers/pull/14909",
"diff_url": "https://github.com/huggingface/transformers/pull/14909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14909.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14908/comments | https://api.github.com/repos/huggingface/transformers/issues/14908/events | https://github.com/huggingface/transformers/issues/14908 | 1,087,908,250 | I_kwDOCUB6oc5A2Cma | 14,908 | Can't load tokenizer for 'microsoft/wavlm-base' when using Wav2Vec2Processor as in docs | {
"login": "pszemraj",
"id": 74869040,
"node_id": "MDQ6VXNlcjc0ODY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/74869040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pszemraj",
"html_url": "https://github.com/pszemraj",
"followers_url": "https://api.github.com/users/psz... | [] | closed | false | null | [] | [
"Hey @pszemraj,\r\n\r\nI'm sorry the documentation is really bad here :-/ I'll fix this asap. \r\n\r\n`wavlm-base` is just the pretrained model of wavlm. It has no character predicition (CTC) head and therefore it also cannot have a tokenizer. \r\n\r\nIf you want to try out a fine-tuned wavlm checkpoint you could t... | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # overview
Thanks for adding `WavLM` guys! I wanted to try it out and ran into some issues which I am reporting (hopefully clearly) here.
the transformers docs say to use `Wav2Vec2Processor` as the processor/tokenizer for `WavLM`. Transformers 4.15.0 tells me it can't find a suitable tokenizer when running the fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14908/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14907/comments | https://api.github.com/repos/huggingface/transformers/issues/14907/events | https://github.com/huggingface/transformers/issues/14907 | 1,087,901,749 | I_kwDOCUB6oc5A2BA1 | 14,907 | [jax] absl issues | {
"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 | [] | [
"So this is one of the triggers:\r\n```\r\npython -c \"import jax; jax.default_backend()\"\r\n```\r\n\r\nand it is looking for TPUs:\r\n```\r\nTF_CPP_MIN_LOG_LEVEL=0 python -c \"import jax; jax.default_backend()\"\r\n2021-12-23 10:06:40.249749: I external/org_tensorflow/tensorflow/core/tpu/tpu_initializer_helper.cc... | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | update:
So the problem was that `jax` wasn't detecting a GPU when there was one.
**The solution is to install `jax` correctly for cuda and it is:**
```
pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html
```
more details: https://github.com/huggingface/transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14907/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/14907/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14906/comments | https://api.github.com/repos/huggingface/transformers/issues/14906/events | https://github.com/huggingface/transformers/pull/14906 | 1,087,887,769 | PR_kwDOCUB6oc4wPSM1 | 14,906 | Better logic for getting tokenizer config in AutoTokenizer | {
"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 | [] | [
"Thanks!"
] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
In this PR, we make the logic in `AutoTokenizer` a little bit better by checking the tokenizer config is in the list of files of the repo when trying to get it, instead of bluntly trying to load it. This makes the function fail early with a clear error message if the repo name passed contains... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14906",
"html_url": "https://github.com/huggingface/transformers/pull/14906",
"diff_url": "https://github.com/huggingface/transformers/pull/14906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14905/comments | https://api.github.com/repos/huggingface/transformers/issues/14905/events | https://github.com/huggingface/transformers/issues/14905 | 1,087,881,699 | I_kwDOCUB6oc5A18Hj | 14,905 | Generate does not take into account config.decoder.eos_token_id | {
"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... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hmm, yeah I think I'm fine with adding some `if - statements` to the `generate()` method",
"Do you want to open a PR for it? :-)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease no... | 1,640 | 1,665 | 1,665 | CONTRIBUTOR | null | As reported by some people (see https://github.com/NielsRogge/Transformers-Tutorials/issues/53 and on the [forum](https://discuss.huggingface.co/t/trocr-repeated-generation/12361)), the `generate()` method currently does not take into account `config.decoder.eos_token_id`, only` config.eos_token_id` to properly stop ge... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14905/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14904/comments | https://api.github.com/repos/huggingface/transformers/issues/14904/events | https://github.com/huggingface/transformers/pull/14904 | 1,087,881,405 | PR_kwDOCUB6oc4wPQ2f | 14,904 | Update ONNX docs | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"This is great, thanks for working on it @lewtun! Pinging @stevhliu and @sgugger for knowledge.",
"Thank you for the feedback @sgugger 🙏 !\r\n\r\nI've now added the doctest `>>>` syntax to all the Python code blocks and removed the permalinks to the class references. OK to merge once the CI tests pass?"
] | 1,640 | 1,641 | 1,641 | 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/14904/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/14904/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14904",
"html_url": "https://github.com/huggingface/transformers/pull/14904",
"diff_url": "https://github.com/huggingface/transformers/pull/14904.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14904.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14903/comments | https://api.github.com/repos/huggingface/transformers/issues/14903/events | https://github.com/huggingface/transformers/pull/14903 | 1,087,872,573 | PR_kwDOCUB6oc4wPO9i | 14,903 | Fix failing GPU trainer 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 | [] | [] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
As discussed, this PR skips the fairscale tests until we update the container running them, and fixes the multiGPU failing test in the Trainer. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14903",
"html_url": "https://github.com/huggingface/transformers/pull/14903",
"diff_url": "https://github.com/huggingface/transformers/pull/14903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14903.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14902/comments | https://api.github.com/repos/huggingface/transformers/issues/14902/events | https://github.com/huggingface/transformers/pull/14902 | 1,087,861,970 | PR_kwDOCUB6oc4wPMvF | 14,902 | [Tests] Update speech diarization and WavLM tolerances | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [] | closed | false | null | [] | [
"`FAILED examples/pytorch/test_examples.py::ExamplesTests::test_run_image_classification` is unrelated, merging..."
] | 1,640 | 1,640 | 1,640 | MEMBER | null | # What does this PR do?
Turns out the difference in `nn.GroupNorm` between torch `1.9` and `1.10` (https://github.com/pytorch/pytorch/issues/67907) is more noticeable than I initially expected. This PR updates the tolerances on some newer tests where the reference values were obtained on `1.10`. When we update the C... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14902/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14902",
"html_url": "https://github.com/huggingface/transformers/pull/14902",
"diff_url": "https://github.com/huggingface/transformers/pull/14902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14902.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14901/comments | https://api.github.com/repos/huggingface/transformers/issues/14901/events | https://github.com/huggingface/transformers/issues/14901 | 1,087,843,724 | I_kwDOCUB6oc5A1y2M | 14,901 | Adding tokens to pretrained model "Helsinki-NLP/opus-tatoeba-en-ja" using tokens from vietnamese not working | {
"login": "mhmd-mst",
"id": 37877095,
"node_id": "MDQ6VXNlcjM3ODc3MDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/37877095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mhmd-mst",
"html_url": "https://github.com/mhmd-mst",
"followers_url": "https://api.github.com/users/mhm... | [] | 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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | NONE | null | Hello,
I am working on a code of the paper regarding multilingual model with multistage finetuning, I am using trainer API of huggingface for the finetuning of pretrained model from english to japanese with dataset containing vietnamese sentences, but before I want to modify the pretrained tokenizer adding tokens from... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14901/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14900/comments | https://api.github.com/repos/huggingface/transformers/issues/14900/events | https://github.com/huggingface/transformers/pull/14900 | 1,087,842,005 | PR_kwDOCUB6oc4wPIfC | 14,900 | [AutoTokenizer] Fix incorrect from pretrained | {
"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 | [] | [
"> Thanks for the hot fix! Will make a nicer one in a couple of hours.\r\n\r\nPerfect"
] | 1,640 | 1,640 | 1,640 | 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/14900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14900/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14900",
"html_url": "https://github.com/huggingface/transformers/pull/14900",
"diff_url": "https://github.com/huggingface/transformers/pull/14900.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14900.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14899/comments | https://api.github.com/repos/huggingface/transformers/issues/14899/events | https://github.com/huggingface/transformers/issues/14899 | 1,087,832,443 | I_kwDOCUB6oc5A1wF7 | 14,899 | GPT-J: Implement Memory Efficient Attention | {
"login": "xloem",
"id": 279585,
"node_id": "MDQ6VXNlcjI3OTU4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xloem",
"html_url": "https://github.com/xloem",
"followers_url": "https://api.github.com/users/xloem/followers"... | [] | closed | false | null | [] | [
"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/master/CONTRIBUTING.md)... | 1,640 | 1,643 | 1,643 | CONTRIBUTOR | null | Just a note that it would be great to add memory efficient attention ( https://github.com/AminRezaei0x443/memory-efficient-attention ) for larger models. It might be nice to add an option to reuse the memory of input hidden states, too, if the user doesn't need them. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14898/comments | https://api.github.com/repos/huggingface/transformers/issues/14898/events | https://github.com/huggingface/transformers/pull/14898 | 1,087,743,267 | PR_kwDOCUB6oc4wOzdP | 14,898 | Add 3D attention_mask input support | {
"login": "SmileTM",
"id": 19524544,
"node_id": "MDQ6VXNlcjE5NTI0NTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/19524544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SmileTM",
"html_url": "https://github.com/SmileTM",
"followers_url": "https://api.github.com/users/SmileT... | [] | closed | false | null | [] | [
"This code will be copied to RemBERT and RoBERTa as well, because those inherit the same `call()` method. I think we can accept the PR with just a BERT test, though I'm not sure - @sgugger WDYT?",
"I think it's important to also have parity for the rest of the TF models - can all models accept the 3D attention ma... | 1,640 | 1,644 | 1,644 | NONE | null | Add 3D attention_mask input support. (The PyTorch version support, but TF cant.)
Sometimes we need to input custom 3D attention_mask.
```python
import tensorflow as tf
from transformers import TFBertModel
plm_name = "bert-base-chinese"
plm = TFBertModel.from_pretrained(plm_name, return_dict=False)
i = tf.ones(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14898/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14898",
"html_url": "https://github.com/huggingface/transformers/pull/14898",
"diff_url": "https://github.com/huggingface/transformers/pull/14898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14898.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14897/comments | https://api.github.com/repos/huggingface/transformers/issues/14897/events | https://github.com/huggingface/transformers/pull/14897 | 1,087,702,708 | PR_kwDOCUB6oc4wOq69 | 14,897 | add custom stopping criteria to human eval script | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"Human eval crashes for me, and I believe this PR is to blame. Here's the stack:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"human_eval.py\", line 126, in <module>\r\n main()\r\n File \"human_eval.py\", line 106, in main\r\n task_generations.extend(complete_code(pipe, prompt, num_completions... | 1,640 | 1,643 | 1,640 | MEMBER | null | This PR adds the new custom `stopping_criteria` feature in `generate` (#14779) to the code evaluation script at `scripts/human_eval.py`.
In HumanEval the task is to complete a function and with this feature the generation is stopped once the function body is complete. To do this a set of keywords, named end-of-funct... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14897/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14897",
"html_url": "https://github.com/huggingface/transformers/pull/14897",
"diff_url": "https://github.com/huggingface/transformers/pull/14897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14897.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14896/comments | https://api.github.com/repos/huggingface/transformers/issues/14896/events | https://github.com/huggingface/transformers/pull/14896 | 1,087,681,094 | PR_kwDOCUB6oc4wOmZh | 14,896 | Large audio chunking for the existing ASR pipeline | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [] | closed | false | null | [] | [
"@Narsil sorry, I only now remembered about the work in [#14225](https://github.com/huggingface/transformers/pull/14225)!\r\nIndeed, the `ChunkPipeline` API is much cleaner and I can adapt this PR to work with it.\r\n\r\nRe: 2-4) totally agree, these points should be refactored as you suggest!\r\nRe: 5) If I unders... | 1,640 | 1,641 | 1,641 | MEMBER | null | # What does this PR do?
This adds audio chunking with fixed-sized chunks as a first step to enabling audio streaming in ASR pipelines (ref: https://github.com/huggingface/transformers/pull/14250)
In this iteration there's no ffmpeg streaming or VAD, just simple slicing of inputs with padding, so that we can revi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14896",
"html_url": "https://github.com/huggingface/transformers/pull/14896",
"diff_url": "https://github.com/huggingface/transformers/pull/14896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14896.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14895/comments | https://api.github.com/repos/huggingface/transformers/issues/14895/events | https://github.com/huggingface/transformers/pull/14895 | 1,087,617,270 | PR_kwDOCUB6oc4wOYuk | 14,895 | Add ViLT | {
"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 | [] | [
"I'd like the PR to be green (or mostly green) before reviewing.",
"@sgugger should be mostly green now.",
"Note: with the new build dev job merged, you can preview the doc [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_14895/en/model_doc/vilt) :-) ",
"Great job merging this PR! the documenta... | 1,640 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
This PR adds [ViLT](https://arxiv.org/abs/2102.03334) (Vision and Language Transformer).
It's a very nice, minimal multi-modal model, as it only adds a text embedding layer to an existing ViT.
I've defined the following head models:
* `ViltForMaskedLM`
* `ViltForVisualQuestionAnswer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14895",
"html_url": "https://github.com/huggingface/transformers/pull/14895",
"diff_url": "https://github.com/huggingface/transformers/pull/14895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14895.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14894/comments | https://api.github.com/repos/huggingface/transformers/issues/14894/events | https://github.com/huggingface/transformers/pull/14894 | 1,087,534,907 | PR_kwDOCUB6oc4wOHRE | 14,894 | Set `run_name` in MLflowCallback | {
"login": "yangdong02",
"id": 42331224,
"node_id": "MDQ6VXNlcjQyMzMxMjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/42331224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangdong02",
"html_url": "https://github.com/yangdong02",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
Currently, when using `mlflow` integration to track experiments, runs are being logged as nameless. E.g. see below (image from #8519). This PR is a simple one-line fix of passing `args.run_name` (which is currently used for `wandb`) to `mlflow.start_run`. It also updates the doc of `args.run_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14894/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14894",
"html_url": "https://github.com/huggingface/transformers/pull/14894",
"diff_url": "https://github.com/huggingface/transformers/pull/14894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14894.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14893/comments | https://api.github.com/repos/huggingface/transformers/issues/14893/events | https://github.com/huggingface/transformers/pull/14893 | 1,087,459,580 | PR_kwDOCUB6oc4wN3fA | 14,893 | support the trocr small models | {
"login": "liminghao1630",
"id": 23090329,
"node_id": "MDQ6VXNlcjIzMDkwMzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/23090329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liminghao1630",
"html_url": "https://github.com/liminghao1630",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,640 | 1,641 | 1,641 | 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/14893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14893/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14893",
"html_url": "https://github.com/huggingface/transformers/pull/14893",
"diff_url": "https://github.com/huggingface/transformers/pull/14893.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14893.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14892/comments | https://api.github.com/repos/huggingface/transformers/issues/14892/events | https://github.com/huggingface/transformers/issues/14892 | 1,087,358,810 | I_kwDOCUB6oc5Az8da | 14,892 | [doc] bug in docstring 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 | [] | [
"It seems to be happening every time we have a list in a parameter description. Filing an [issue](https://github.com/huggingface/doc-builder/issues/70) on `doc-builder` for this, Mishig will have a look when he's back from vacation :-)\r\n\r\nClosing on this side as there is nothing to do in Transformers. The gener... | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | There is an issue of rendering items in a docstring (in some places)
Here is an example:
https://huggingface.co/docs/transformers/main_classes/logging#transformers.utils.logging.set_verbosity
has a lose `<`
but I'm not sure where this one is coming from
It appears to be a messed up `<ul>` block:
```
Log... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14892/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14891/comments | https://api.github.com/repos/huggingface/transformers/issues/14891/events | https://github.com/huggingface/transformers/issues/14891 | 1,087,353,761 | I_kwDOCUB6oc5Az7Oh | 14,891 | Turn of do_sample for T0pp in Inference API | {
"login": "feyzaakyurek",
"id": 42723218,
"node_id": "MDQ6VXNlcjQyNzIzMjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/42723218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/feyzaakyurek",
"html_url": "https://github.com/feyzaakyurek",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Hi @feyzaakyurek ,\r\n\r\nThanks. Currently (and in the short term) this won't be available.\r\n\r\n`bigscience/T0pp` is a very large model (40Go) meaning we deploy it in a very specific way. Here we used `flax` and it's deployed on a TPU for instance. This enables quite fast inference speed but i... | 1,640 | 1,640 | 1,640 | NONE | null | Hi,
I'm trying to use the Inference API with T0pp. I would like to set `do_sample=False` but it doesn't let me specify `parameters` as in the example [here](https://api-inference.huggingface.co/docs/python/html/detailed_parameters.html#summarization-task).
Code:
API_URL = "https://api-inference.huggingface... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14890/comments | https://api.github.com/repos/huggingface/transformers/issues/14890/events | https://github.com/huggingface/transformers/pull/14890 | 1,087,350,748 | PR_kwDOCUB6oc4wNg2q | 14,890 | [doc] post-porting | {
"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 | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | This PR fixes a `::` leftover
See:
https://huggingface.co/docs/transformers/main_classes/logging#transformers.utils.logging.enable_explicit_format
converted it into a formatted section
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14890",
"html_url": "https://github.com/huggingface/transformers/pull/14890",
"diff_url": "https://github.com/huggingface/transformers/pull/14890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14890.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14889/comments | https://api.github.com/repos/huggingface/transformers/issues/14889/events | https://github.com/huggingface/transformers/issues/14889 | 1,087,318,463 | I_kwDOCUB6oc5Azym_ | 14,889 | [logging] unable to turn off tqdm logging | {
"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 | {
"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... | [
"Hey @stas00, thanks for raising an issue! I think the `WARNING` level is probably too low, I'd expect to see some tqdm bars at this level. I think even in `ERROR` we would expect some tqdm bars?\r\n\r\nI believe that the `datasets` team uses a specific logging command to turn tqdm bars off:\r\nhttps://github.com/h... | 1,640 | 1,642 | 1,642 | CONTRIBUTOR | null | I'm writing a program in a notebook where I'm printing a results table for multiple models and I can't figure out how to turn off tqdm here as it downloads new models since its output breaks the table and adds a ton of unnecessary noise to the notebook's outputs.
So here is where the control is:
https://github.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14889/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14888/comments | https://api.github.com/repos/huggingface/transformers/issues/14888/events | https://github.com/huggingface/transformers/pull/14888 | 1,087,168,484 | PR_kwDOCUB6oc4wM7nk | 14,888 | Convert rst files | {
"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 | [] | [
"Merging and lookin if the docs are alright :-) ",
"Fantastic, thanks for taking care of the rest @sgugger!"
] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
This PR converts all remaining rst files to mdx and adapts the templates as well as the add_new_model command. The script for checking the table in the serialization page also needs a slight update. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14888/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14888",
"html_url": "https://github.com/huggingface/transformers/pull/14888",
"diff_url": "https://github.com/huggingface/transformers/pull/14888.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14888.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14887/comments | https://api.github.com/repos/huggingface/transformers/issues/14887/events | https://github.com/huggingface/transformers/pull/14887 | 1,087,036,116 | PR_kwDOCUB6oc4wMfku | 14,887 | Properly indent return block | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
This fixes the indentation for some return blocks. A check in the `doc-builder` will soon error for bad blocks like this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14887/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14887",
"html_url": "https://github.com/huggingface/transformers/pull/14887",
"diff_url": "https://github.com/huggingface/transformers/pull/14887.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14887.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14886/comments | https://api.github.com/repos/huggingface/transformers/issues/14886/events | https://github.com/huggingface/transformers/issues/14886 | 1,087,001,212 | I_kwDOCUB6oc5AylJ8 | 14,886 | Running MLM pretraining with not "line_by_line" big dataset | {
"login": "lucadinidue",
"id": 28627385,
"node_id": "MDQ6VXNlcjI4NjI3Mzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/28627385?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucadinidue",
"html_url": "https://github.com/lucadinidue",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi there!\r\n\r\nAs mentioned in the README, examples are just examples. We can't show every single usecase everyone will want, so it's up to you to adapt them to your needs :-). If you need help, you can reach out on the [forums](https://discuss.huggingface.co/) or our Discord.",
"This issue has been automatica... | 1,640 | 1,643 | 1,643 | NONE | null | # 🚀 Feature request
BERT pretraining with not line_by_line big dataset.
## Motivation
I'm trying to pretrain a BERT model with the classic masking task (without NSP), using examples/pytorch/language_modeling/run_mlm.py script. As with the original BERT, I would not like to construct each example of the batch us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14885/comments | https://api.github.com/repos/huggingface/transformers/issues/14885/events | https://github.com/huggingface/transformers/pull/14885 | 1,086,991,531 | PR_kwDOCUB6oc4wMWZh | 14,885 | Fix installation instructions for BART ONNX example | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | 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/14885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14885/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14885",
"html_url": "https://github.com/huggingface/transformers/pull/14885",
"diff_url": "https://github.com/huggingface/transformers/pull/14885.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14885.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14884/comments | https://api.github.com/repos/huggingface/transformers/issues/14884/events | https://github.com/huggingface/transformers/issues/14884 | 1,086,886,013 | I_kwDOCUB6oc5AyJB9 | 14,884 | TrOCR processor cannot be loaded from AutoProcessor | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"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/master/CONTRIBUTING.md)... | 1,640 | 1,663 | 1,655 | MEMBER | null | The following works on current `master`:
```py
>>> from transformers import TrOCRProcessor
>>> processor = TrOCRProcessor.from_pretrained("microsoft/trocr-base-printed")
Downloading: 100%|██████████| 878k/878k [00:00<00:00, 1.61MB/s]
Downloading: 100%|██████████| 446k/446k [00:00<00:00, 1.03MB/s]
Downloading: 1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14883/comments | https://api.github.com/repos/huggingface/transformers/issues/14883/events | https://github.com/huggingface/transformers/pull/14883 | 1,086,825,827 | PR_kwDOCUB6oc4wLzN- | 14,883 | Fix pytorch image classification example | {
"login": "mariosasko",
"id": 47462742,
"node_id": "MDQ6VXNlcjQ3NDYyNzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariosasko",
"html_url": "https://github.com/mariosasko",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | Updates the `examples/pytorch/image-classification/run_image_classification.py` script to use the new Image feature to pass the failing [CI test](https://app.circleci.com/pipelines/github/huggingface/transformers/31642/workflows/b1aa40eb-2edc-4b54-963b-f11058072a7e/jobs/327951/artifacts) (I've also updated the `hf-inte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14883/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14883",
"html_url": "https://github.com/huggingface/transformers/pull/14883",
"diff_url": "https://github.com/huggingface/transformers/pull/14883.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14883.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14882/comments | https://api.github.com/repos/huggingface/transformers/issues/14882/events | https://github.com/huggingface/transformers/issues/14882 | 1,086,738,056 | I_kwDOCUB6oc5Axk6I | 14,882 | core dumps run_onnx_exporter.py in gpu. | {
"login": "lonelydancer",
"id": 548443,
"node_id": "MDQ6VXNlcjU0ODQ0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/548443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lonelydancer",
"html_url": "https://github.com/lonelydancer",
"followers_url": "https://api.github.com/u... | [] | closed | false | null | [] | [
"Hi @lonelydancer thank you for raising this issue!\r\n\r\nIf I understand correctly, you changed [this line](https://github.com/huggingface/transformers/blob/13504dcbea231d2cae701d1ffdeb0810d62aff81/examples/onnx/pytorch/summarization/run_onnx_exporter.py#L147) in the `run_onnx_exporter.py` script as follows:\r\n\... | 1,640 | 1,645 | 1,645 | NONE | null | Hi,
when i use the scrips in https://github.com/huggingface/transformers/tree/master/examples/onnx/pytorch/summarization/run_onnx_exporter.py;
i change the code
ort_sess = onnxruntime.InferenceSession(new_onnx_file_path, providers=['CUDAExecutionProvider'])
i get core dumps.

processor = Auto... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14881/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14881",
"html_url": "https://github.com/huggingface/transformers/pull/14881",
"diff_url": "https://github.com/huggingface/transformers/pull/14881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14881.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14880/comments | https://api.github.com/repos/huggingface/transformers/issues/14880/events | https://github.com/huggingface/transformers/pull/14880 | 1,086,697,939 | PR_kwDOCUB6oc4wLXyd | 14,880 | Add (M)Luke model training for Token Classification in the examples | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"Hi there, thanks a lot for you PR! It will be great to be able to fully use LUKE and mLUKE for token classification!\r\n\r\nNow the issue is that we try to keep each example pretty simple so that users can easily tweak and customize them. Adding this in the `run_ner_no_trainer` example adds a lot of complexity so ... | 1,640 | 1,686 | 1,643 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the possibility to train the (M)Luke model for a Token Classification task with the accelerate package. It also adds a tiny update to give the possibility to train over multiple datasets configuration, for example being able to concatenate multiple languages of the XTREME PAN-X d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14880/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14880/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14880",
"html_url": "https://github.com/huggingface/transformers/pull/14880",
"diff_url": "https://github.com/huggingface/transformers/pull/14880.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14880.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14879/comments | https://api.github.com/repos/huggingface/transformers/issues/14879/events | https://github.com/huggingface/transformers/pull/14879 | 1,086,632,007 | PR_kwDOCUB6oc4wLJzU | 14,879 | Fix Perceiver code 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 | [] | [] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the code example of the multimodal Perceiver model.
Fixes #14870 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14879/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14879",
"html_url": "https://github.com/huggingface/transformers/pull/14879",
"diff_url": "https://github.com/huggingface/transformers/pull/14879.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14879.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14878/comments | https://api.github.com/repos/huggingface/transformers/issues/14878/events | https://github.com/huggingface/transformers/issues/14878 | 1,086,472,098 | I_kwDOCUB6oc5Awj-i | 14,878 | Model trains on 1 node 8xA100 but hits OOM in 4 nodes 8xA100 | {
"login": "aqred1",
"id": 50919790,
"node_id": "MDQ6VXNlcjUwOTE5Nzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/50919790?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aqred1",
"html_url": "https://github.com/aqred1",
"followers_url": "https://api.github.com/users/aqred1/fo... | [] | closed | false | null | [] | [
"This may be of interest to @stas00 as I believe he has quite a bit of experience with this kind of setups.",
"I haven't encountered this specific issue, so first let's try to understand what is going on here.\r\n\r\n> Note: I had to switch the backend to gloo because got nccl errors.\r\n\r\nand did you test that... | 1,640 | 1,640 | 1,640 | NONE | null | Hello,
I am attempting to train a model on 32 A100s split into 4 nodes. The queueing system is SLURM. When training on a single node, I can use all 8 GPUs with a batch size of 8:
`python -m torch.distributed.launch --nproc_per_node=8 ./script.py --model_name_or_path gpt2-large --train_file sample.txt --tokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14878/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14877/comments | https://api.github.com/repos/huggingface/transformers/issues/14877/events | https://github.com/huggingface/transformers/issues/14877 | 1,086,422,080 | I_kwDOCUB6oc5AwXxA | 14,877 | dataset of Helsinki-NLP/opus-mt-en-zh | {
"login": "QzzIsCoding",
"id": 56379157,
"node_id": "MDQ6VXNlcjU2Mzc5MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/56379157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QzzIsCoding",
"html_url": "https://github.com/QzzIsCoding",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The README here mentions `eng-zho`, if I'm not mistaken: https://huggingface.co/Helsinki-NLP/opus-mt-en-zh",
"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 n... | 1,640 | 1,643 | 1,643 | NONE | null | Hi, thanks for your model. I have two questions of the train datasets of opus-mt-en-zh.
https://github.com/Helsinki-NLP/Tatoeba-Challenge/blob/master/data/README-v2021-08-07.md
English - Chinese eng-zho 10390 | 43075 | 129323178
Middle English (1100-1500) - Chinese enm-zho
In this website, there are two dataset... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14877/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14876/comments | https://api.github.com/repos/huggingface/transformers/issues/14876/events | https://github.com/huggingface/transformers/pull/14876 | 1,086,380,846 | PR_kwDOCUB6oc4wKVii | 14,876 | Add XGLM models | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,640 | 1,643 | 1,643 | MEMBER | null | # What does this PR do?
This PR adds the XGLM model: [code](https://github.com/pytorch/fairseq/tree/main/examples/xglm), [paper](https://arxiv.org/abs/2112.10668) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14876/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/14876/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14876",
"html_url": "https://github.com/huggingface/transformers/pull/14876",
"diff_url": "https://github.com/huggingface/transformers/pull/14876.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14876.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14875/comments | https://api.github.com/repos/huggingface/transformers/issues/14875/events | https://github.com/huggingface/transformers/issues/14875 | 1,086,362,639 | I_kwDOCUB6oc5AwJQP | 14,875 | Add `in_chans` to `DetrModel` | {
"login": "Zhylkaaa",
"id": 18054828,
"node_id": "MDQ6VXNlcjE4MDU0ODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18054828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhylkaaa",
"html_url": "https://github.com/Zhylkaaa",
"followers_url": "https://api.github.com/users/Zhy... | [] | 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:... | [
"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/master/CONTRIBUTING.md)... | 1,640 | 1,661 | 1,645 | CONTRIBUTOR | 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. -->
Add `in_chans` parameter to `DetrConfig` and corresponding models
## Motivation
I find myself wanting to test DETR on data that have only one channel (it c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14875/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14874/comments | https://api.github.com/repos/huggingface/transformers/issues/14874/events | https://github.com/huggingface/transformers/pull/14874 | 1,086,311,081 | PR_kwDOCUB6oc4wKG_- | 14,874 | Fix doc mistakes | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
Fix last issues to have the doc compile again:
- double return blocks in VisualBert, TFTapas and Perceiver
- some weird special characters in LXMert and an empty return block
Merging right now to unlock the doc building. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14874/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14874",
"html_url": "https://github.com/huggingface/transformers/pull/14874",
"diff_url": "https://github.com/huggingface/transformers/pull/14874.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14874.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14873/comments | https://api.github.com/repos/huggingface/transformers/issues/14873/events | https://github.com/huggingface/transformers/pull/14873 | 1,086,285,452 | PR_kwDOCUB6oc4wKBli | 14,873 | Fix `FlaxMarianMTModel` return block. | {
"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 | [] | [
"Thanks a lot!"
] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
Completes #14872 and fixes `FlaxMarianMTModel`
cc @patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14873/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14873",
"html_url": "https://github.com/huggingface/transformers/pull/14873",
"diff_url": "https://github.com/huggingface/transformers/pull/14873.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14873.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14872/comments | https://api.github.com/repos/huggingface/transformers/issues/14872/events | https://github.com/huggingface/transformers/pull/14872 | 1,086,269,224 | PR_kwDOCUB6oc4wJ-Mt | 14,872 | Fixes in marian doc | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
Fixes a few issues in the docstring for the Marian model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14872/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/14872/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14872",
"html_url": "https://github.com/huggingface/transformers/pull/14872",
"diff_url": "https://github.com/huggingface/transformers/pull/14872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14872.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14871/comments | https://api.github.com/repos/huggingface/transformers/issues/14871/events | https://github.com/huggingface/transformers/pull/14871 | 1,086,253,282 | PR_kwDOCUB6oc4wJ60M | 14,871 | Fix FLAX_MULTIPLE_CHOICE_SAMPLE typo | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | 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/14871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14871/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14871",
"html_url": "https://github.com/huggingface/transformers/pull/14871",
"diff_url": "https://github.com/huggingface/transformers/pull/14871.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14871.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14870/comments | https://api.github.com/repos/huggingface/transformers/issues/14870/events | https://github.com/huggingface/transformers/issues/14870 | 1,086,225,992 | I_kwDOCUB6oc5Avn5I | 14,870 | Error while reproducing example for PerceiverForMultimodalAutoencoding | {
"login": "mirth",
"id": 1296970,
"node_id": "MDQ6VXNlcjEyOTY5NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1296970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mirth",
"html_url": "https://github.com/mirth",
"followers_url": "https://api.github.com/users/mirth/follower... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | NONE | null | ## Environment info
- `transformers` version: 4.14.1
- Platform: Linux-5.8.0-63-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.6
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow version (GPU?): 2.5.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14870/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14869/comments | https://api.github.com/repos/huggingface/transformers/issues/14869/events | https://github.com/huggingface/transformers/issues/14869 | 1,086,173,179 | I_kwDOCUB6oc5Ava_7 | 14,869 | Fine-tuning Wav2Vec2: Concern that pretrained weights are being reinitialized | {
"login": "rcoulter13",
"id": 69932285,
"node_id": "MDQ6VXNlcjY5OTMyMjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/69932285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rcoulter13",
"html_url": "https://github.com/rcoulter13",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @rcoulter13,\r\n\r\nThis issue is quite difficult to debug for us since it's not an obvious bug but deals with the model having problems with continual learning. It's quite a common phenomena that fine-tuned models have catastrophic forgetting when they are re-finetuned on out of distribution data",
"There a... | 1,640 | 1,641 | 1,641 | NONE | null | ## Environment info
- OS Type: Google Colab
- 'transformers' version: 4.14.1
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.7.0 (True)
### Who can help
Anyone with knowledge of fine-tuning Wav2V... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14869/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14868/comments | https://api.github.com/repos/huggingface/transformers/issues/14868/events | https://github.com/huggingface/transformers/pull/14868 | 1,086,104,127 | PR_kwDOCUB6oc4wJagm | 14,868 | Adds IBERT to models exportable with ONNX | {
"login": "MaximovaIrina",
"id": 36035908,
"node_id": "MDQ6VXNlcjM2MDM1OTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36035908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximovaIrina",
"html_url": "https://github.com/MaximovaIrina",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey @MaximovaIrina we recently switched all of our documentation from RST to MDX, so you can rebase on `master` to eliminate the conflict with `docs/source/serialization.rst`",
"Checking slow tests for ibert \r\n\r\n- Token classification\r\n- Translation\r\n- Masked language modeling\r\nIf you approve I’ll test for these ones. I wonder how it would look like with multiple metrics so in one of those I could test with multiple metrics (... | 1,640 | 1,640 | 1,640 | MEMBER | null | Hey, here's the unfinished Keras metric PR, co-authored with @merveenoyan!
Still to do:
1) The outputs from predict/generate are not being concatenated properly, this will be quick to fix! (Edit: Done)
2) I haven't tested prediction with generate at all. `generate()` is still very slow, but that's a separate PR ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14867/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14867",
"html_url": "https://github.com/huggingface/transformers/pull/14867",
"diff_url": "https://github.com/huggingface/transformers/pull/14867.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14867.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14866/comments | https://api.github.com/repos/huggingface/transformers/issues/14866/events | https://github.com/huggingface/transformers/pull/14866 | 1,086,038,755 | PR_kwDOCUB6oc4wJMiA | 14,866 | Mass conversion of documentation from rst to Markdown | {
"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 | [] | [
"As seen with @LysandreJik, merging and inspecting the result in the doc. Failure is unrelated."
] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
This PR treats a lot of docstrings and converts them from rst to Markdown. All of the remaining one.
It also includes a new repo consistency check that will detect someone does not add back some rst docstrings behind my back. 😈 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14866/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14866",
"html_url": "https://github.com/huggingface/transformers/pull/14866",
"diff_url": "https://github.com/huggingface/transformers/pull/14866.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14866.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14865/comments | https://api.github.com/repos/huggingface/transformers/issues/14865/events | https://github.com/huggingface/transformers/pull/14865 | 1,086,033,556 | PR_kwDOCUB6oc4wJLbK | 14,865 | Convert model files from rst to mdx | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,640 | 1,640 | 1,640 | MEMBER | null | First pass! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14865/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14865",
"html_url": "https://github.com/huggingface/transformers/pull/14865",
"diff_url": "https://github.com/huggingface/transformers/pull/14865.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14865.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14864/comments | https://api.github.com/repos/huggingface/transformers/issues/14864/events | https://github.com/huggingface/transformers/pull/14864 | 1,086,027,531 | PR_kwDOCUB6oc4wJKIh | 14,864 | Add Flax image captioning example | {
"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 | [] | [
"@patil-suraj , @sgugger \r\n\r\nThank you for the comments. I will make the example much simpler by only supporting loading pre-trained vision encoder and text models.\r\n\r\nAbout casting jax array to np arrary, there is a significant slow down (at least, in image examples) when using jax array as indices for acc... | 1,640 | 1,651 | 1,641 | COLLABORATOR | null | # What does this PR do?
Add `run_image_captioning_flax.py` (modified from `run_summarization_flax.py`).
## Who can review
Examples: @patil-suraj + cc @patrickvonplaten @NielsRogge @sgugger for info
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14864/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/14864/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14864",
"html_url": "https://github.com/huggingface/transformers/pull/14864",
"diff_url": "https://github.com/huggingface/transformers/pull/14864.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14864.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14863/comments | https://api.github.com/repos/huggingface/transformers/issues/14863/events | https://github.com/huggingface/transformers/issues/14863 | 1,085,987,088 | I_kwDOCUB6oc5AutkQ | 14,863 | Open discussion for design decisions. | {
"login": "pafi-code",
"id": 69895152,
"node_id": "MDQ6VXNlcjY5ODk1MTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/69895152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pafi-code",
"html_url": "https://github.com/pafi-code",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @pafi-code, regarding your first question: the loss calculation is coupled with the forward but it is opt-in. The models only perform the loss calculation when you pass the `labels`, which is not a requirement. You're perfectly free to retrieve the logits and compute your loss yourself, outside of the model.\r\... | 1,640 | 1,640 | 1,640 | NONE | null | # 🚀 Feature request
Hi all,
I'd like to ask some questions about design decisions that were made generally for this library.
**First one:**
Why did you couple the forward directly with the loss calculation? I don't really see any benefits doing this, rather downsides for example when you want to extend the `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14863/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14862/comments | https://api.github.com/repos/huggingface/transformers/issues/14862/events | https://github.com/huggingface/transformers/issues/14862 | 1,085,873,504 | I_kwDOCUB6oc5AuR1g | 14,862 | Cache the files in get_fast_tokenizer_file() | {
"login": "AnthonyBarbier",
"id": 5241909,
"node_id": "MDQ6VXNlcjUyNDE5MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5241909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnthonyBarbier",
"html_url": "https://github.com/AnthonyBarbier",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hello! This does cache the file, but you're unfortunately hitting an error on our side when checking that the file exists and its sha (cc @julien-c, @n1t0). If this happens, I recommend leveraging `local_files_only` as a parameter to `from_pretrained`, as this will only use local files.\r\n\r\nSorry for the inconv... | 1,640 | 1,648 | 1,645 | NONE | null | # 🚀 Feature request
`transformers.BertTokenizer.from_pretrained()` calls `get_fast_tokenizer_file()` which downloads a file from the HuggingFace server but never adds it to the cache.
Would be useful to cache that file (in the same folder as the models) to make CI runs more robust.
## Motivation
Try to avo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14861/comments | https://api.github.com/repos/huggingface/transformers/issues/14861/events | https://github.com/huggingface/transformers/issues/14861 | 1,085,519,570 | I_kwDOCUB6oc5As7bS | 14,861 | [Wav2vec2] RuntimeError: CUDA error: an illegal memory access was encountered | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [] | closed | false | null | [] | [
"Hey @flozi00, \r\n\r\nThis looks like a difficult error. Can we try to debug it step-by-step? \r\n\r\n1. Does it work **without** ` --sharded_ddp simple` and in a single-GPU environment (without `python -m torch.distributed.launch` - just `python run_speech_recognition_ctc.py`\r\n2. If yes, does it work **without*... | 1,640 | 1,640 | 1,640 | 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: master
- Platform: ubuntu
- Python version: 3.8
- PyTorch version (GPU?): 1.10
- Tensorflow version (GPU?):... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14860/comments | https://api.github.com/repos/huggingface/transformers/issues/14860/events | https://github.com/huggingface/transformers/issues/14860 | 1,085,426,792 | I_kwDOCUB6oc5Askxo | 14,860 | Huggingface Transformers fastTokenizer for DeBERTa v3 | {
"login": "bluesky333",
"id": 13692273,
"node_id": "MDQ6VXNlcjEzNjkyMjcz",
"avatar_url": "https://avatars.githubusercontent.com/u/13692273?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bluesky333",
"html_url": "https://github.com/bluesky333",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Found #14712 for the same request",
"Let's centralize the discussion on #14712 if you don't mind :)",
"i have same problem"
] | 1,640 | 1,683 | 1,640 | 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. -->
I want to try NER for custom dataset using huggingface transformers DeBERTa v3 xsmall.
I need to use fastTokenizer, but it is not available.
I need to use ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14860/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/14860/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14859/comments | https://api.github.com/repos/huggingface/transformers/issues/14859/events | https://github.com/huggingface/transformers/issues/14859 | 1,085,409,029 | I_kwDOCUB6oc5AsgcF | 14,859 | A potential bug in ModuleUtilsMixin.get_extended_attention_mask | {
"login": "jk-jung",
"id": 19941774,
"node_id": "MDQ6VXNlcjE5OTQxNzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/19941774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jk-jung",
"html_url": "https://github.com/jk-jung",
"followers_url": "https://api.github.com/users/jk-jun... | [] | closed | false | {
"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/... | [
{
"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.githu... | [
"I understand that the choice of 1e-4 may be suboptimal and that the masking may not be enough. I believe we've had this conversation before but I can't find it anywhere, I'm open to revisiting it.\r\n\r\nWDYT @patrickvonplaten @sgugger @patil-suraj @stas00 ",
"I agree 1e-4 might not be the best choice for every ... | 1,640 | 1,683 | 1,656 | 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.13.0
- Platform:
- Python version: 3.8.5
- PyTorch version (GPU?): 1.10.0+cu102
- Tensorflow version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14859/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14858/comments | https://api.github.com/repos/huggingface/transformers/issues/14858/events | https://github.com/huggingface/transformers/pull/14858 | 1,085,381,214 | PR_kwDOCUB6oc4wHBBj | 14,858 | [doc porting] several docs | {
"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 | [] | [
"Amazing that you noticed all those issues, @sgugger - I missed all of those.\r\n\r\nIt looks like we need to be careful with suggestions that include \"```\", it looks like github is buggy there, ate the \"````\" you added since it's also part of suggestion - had to switch to 4 backticks suggestion."
] | 1,640 | 1,640 | 1,640 | CONTRIBUTOR | null | Ported to mdx:
```
docs/source/debugging.rst
docs/source/testing.rst
docs/source/main_classes/deepspeed.rst
```
fixed a few small code block breakages in the first one.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14858/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14858",
"html_url": "https://github.com/huggingface/transformers/pull/14858",
"diff_url": "https://github.com/huggingface/transformers/pull/14858.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14858.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14857/comments | https://api.github.com/repos/huggingface/transformers/issues/14857/events | https://github.com/huggingface/transformers/pull/14857 | 1,085,380,515 | PR_kwDOCUB6oc4wHA4c | 14,857 | Only create the model card on process 0 | {
"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 | [] | [
"Thank you @sgugger and Merry X'mas :)"
] | 1,640 | 1,640 | 1,640 | COLLABORATOR | null | # What does this PR do?
This PR makes sure the model card is only created and saved on process 0.
Fixes #14840 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14857/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14857",
"html_url": "https://github.com/huggingface/transformers/pull/14857",
"diff_url": "https://github.com/huggingface/transformers/pull/14857.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14857.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.