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/16870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16870/comments | https://api.github.com/repos/huggingface/transformers/issues/16870/events | https://github.com/huggingface/transformers/issues/16870 | 1,210,785,458 | I_kwDOCUB6oc5IKx6y | 16,870 | OpenAI's Jukebox for music generation | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [] | 1,650 | 1,668 | 1,668 | COLLABORATOR | null | ### Model description
**[Jukebox](https://openai.com/blog/jukebox/)** is an autoregressive model for music generation published by OpenAI in 2020. It is based on a [hierarchical VQ-VAE](https://arxiv.org/abs/1906.00446) and Scalable Transformers (based on [Sparse Transformers](https://arxiv.org/abs/1904.10509) ) to cr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16870/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/16870/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16869/comments | https://api.github.com/repos/huggingface/transformers/issues/16869/events | https://github.com/huggingface/transformers/pull/16869 | 1,210,648,906 | PR_kwDOCUB6oc42ijvv | 16,869 | Add ImageGPT to mappings | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Closed - in favor of #16871"
] | 1,650 | 1,651 | 1,650 | COLLABORATOR | null | # What does this PR do?
Similar to #16857, but only for `ImageGPT`, together with the necessary to make the (pipeline) tests pass.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16869/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16869",
"html_url": "https://github.com/huggingface/transformers/pull/16869",
"diff_url": "https://github.com/huggingface/transformers/pull/16869.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16869.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16868/comments | https://api.github.com/repos/huggingface/transformers/issues/16868/events | https://github.com/huggingface/transformers/issues/16868 | 1,210,326,654 | I_kwDOCUB6oc5IJB5- | 16,868 | DeBerta unable to load from cache | {
"login": "naveace",
"id": 26908514,
"node_id": "MDQ6VXNlcjI2OTA4NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/26908514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naveace",
"html_url": "https://github.com/naveace",
"followers_url": "https://api.github.com/users/naveac... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,650 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
Transformers=4.18.0
Pytorch=1.3.0a0+ee77ccb
Ipython=6.2.1
Python=3.6.9
the transformers-cli is unfortunately not accurate--I am on a networked file system with a base conda environment containing torch on other large libraries installed on every machine and transformers installed in a v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16867/comments | https://api.github.com/repos/huggingface/transformers/issues/16867/events | https://github.com/huggingface/transformers/pull/16867 | 1,210,319,198 | PR_kwDOCUB6oc42hgkw | 16,867 | Fix a bug in run_qa_no_trainer.py | {
"login": "dreamgonfly",
"id": 2340721,
"node_id": "MDQ6VXNlcjIzNDA3MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2340721?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreamgonfly",
"html_url": "https://github.com/dreamgonfly",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16867). All of your documentation changes will be reflected on that endpoint.",
"Hi @dreamgonfly I have a more comprehensive PR that fixes this issue. Turns out that saving of the metrics is tricky, because the unit tests (... | 1,650 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16867/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16867",
"html_url": "https://github.com/huggingface/transformers/pull/16867",
"diff_url": "https://github.com/huggingface/transformers/pull/16867.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16867.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16866/comments | https://api.github.com/repos/huggingface/transformers/issues/16866/events | https://github.com/huggingface/transformers/pull/16866 | 1,210,226,432 | PR_kwDOCUB6oc42hM-S | 16,866 | TF: rework XLA generate tests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patrickvonplaten reintroduced the fast tests, will merge as soon as CI gets to green"
] | 1,650 | 1,650 | 1,650 | MEMBER | null | # What does this PR do?
In the light of recent findings (https://github.com/huggingface/transformers/issues/16838), this PR reworks existing XLA generate tests. The following key changes were made:
1. Added a `@unittest.skipIf` on XLA generate tests, to skip when no GPU is present;
2. Rework XLA `sample` tests -- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16866/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16866",
"html_url": "https://github.com/huggingface/transformers/pull/16866",
"diff_url": "https://github.com/huggingface/transformers/pull/16866.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16866.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16865/comments | https://api.github.com/repos/huggingface/transformers/issues/16865/events | https://github.com/huggingface/transformers/pull/16865 | 1,210,199,568 | PR_kwDOCUB6oc42hHIP | 16,865 | Fix multiproc metrics in no_trainer examples | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
},
{
"id": 3817266200,
... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # Fixes a bug in the `no_trainer` scripts involving metric evaluation
## What does this add?
Fixes up the metric evaluation in most of the `no_trainer` scripts when multi-processing is involved. The final batch gets duplicated in those situations, so the metrics are slightly higher (or lower) than their actual va... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16865/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16865",
"html_url": "https://github.com/huggingface/transformers/pull/16865",
"diff_url": "https://github.com/huggingface/transformers/pull/16865.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16865.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16864/comments | https://api.github.com/repos/huggingface/transformers/issues/16864/events | https://github.com/huggingface/transformers/pull/16864 | 1,210,184,811 | PR_kwDOCUB6oc42hD91 | 16,864 | Fix custom init sorting script | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | COLLABORATOR | null | # What does this PR do?
The custom init sort script was failing when there is a comment between the test for a framework and the imports (see the diff in the main init). This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16864/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16864",
"html_url": "https://github.com/huggingface/transformers/pull/16864",
"diff_url": "https://github.com/huggingface/transformers/pull/16864.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16864.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16863/comments | https://api.github.com/repos/huggingface/transformers/issues/16863/events | https://github.com/huggingface/transformers/issues/16863 | 1,210,098,141 | I_kwDOCUB6oc5IIKHd | 16,863 | Module import takes too long | {
"login": "StefanHeng",
"id": 43276957,
"node_id": "MDQ6VXNlcjQzMjc2OTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/43276957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StefanHeng",
"html_url": "https://github.com/StefanHeng",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @StefanHeng, it should not take that long. What version of `transformers` do you have installed?",
"Interesting. \r\n\r\nI have python version `3.9.7` and `transformers` version 4.18.0 in a conda environment. ",
"You may have tools that you do not directly need that slow down your instantiation: are you us... | 1,650 | 1,653 | 1,653 | CONTRIBUTOR | null | ### Feature request
Make
```python
import transformers
```
faster
### Motivation
When I import the transformers package, it always takes > 5 seconds on my MacBook Pro machine.
I'm not sure if it's just me but how can I make this faster?
This can get a bit annoying when my debug script is pre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16863/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16862/comments | https://api.github.com/repos/huggingface/transformers/issues/16862/events | https://github.com/huggingface/transformers/issues/16862 | 1,210,067,710 | I_kwDOCUB6oc5IICr- | 16,862 | Language model example hanging | {
"login": "roywei",
"id": 8022184,
"node_id": "MDQ6VXNlcjgwMjIxODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8022184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/roywei",
"html_url": "https://github.com/roywei",
"followers_url": "https://api.github.com/users/roywei/foll... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "philschmid",
"id": 32632186,
"node_id": "MDQ6VXNlcjMyNjMyMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philschmid",
"html_url": "https://github.com/philschmid",
"followers_url": "https://api.github.com/use... | [
{
"login": "philschmid",
"id": 32632186,
"node_id": "MDQ6VXNlcjMyNjMyMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philschmid",
"html_url": "https://github.com/philschmid",
"followers_url": "https:... | [
"Hello @roywei, \r\n\r\nThe example scripts are always tested and maintained with the corresponding `transformers` version. \r\n\r\nI couldn't reproduce your error! Here is how I ran the script\r\n```python\r\nimport sagemaker\r\nfrom sagemaker.huggingface import HuggingFace\r\n\r\n# gets role for executing trainin... | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | ### System Info
```shell
Transformer: 4.17
PyTorch: 1.10.2
Public Docker image I used:
763104351884.dkr.ecr.us-west-2.amazonaws.com/huggingface-pytorch-training:1.10.2-transformers4.17.0-gpu-py38-cu113-ubuntu20.04-v1.0
Hardware:
1 AWS EC2 P4D instance, 8 A100 GPUs
```
### Who can help?
_No response_
### I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16861/comments | https://api.github.com/repos/huggingface/transformers/issues/16861/events | https://github.com/huggingface/transformers/pull/16861 | 1,210,037,345 | PR_kwDOCUB6oc42gl5u | 16,861 | Add onnx config for RoFormer | {
"login": "skrsna",
"id": 25311958,
"node_id": "MDQ6VXNlcjI1MzExOTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/25311958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skrsna",
"html_url": "https://github.com/skrsna",
"followers_url": "https://api.github.com/users/skrsna/fo... | [] | closed | false | null | [] | [
"Hey nice PR! Did you try to convert one `RoFormer` model with your add ?\r\nIf so you could add the converted model to the [ONNXConfig for all](https://huggingface.co/OWG) organization, it would be awesome!",
"_The documentation is not available anymore as the PR was closed or merged._",
"> Hey nice PR! Did yo... | 1,650 | 1,650 | 1,650 | 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/16861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16861/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16861",
"html_url": "https://github.com/huggingface/transformers/pull/16861",
"diff_url": "https://github.com/huggingface/transformers/pull/16861.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16861.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16860/comments | https://api.github.com/repos/huggingface/transformers/issues/16860/events | https://github.com/huggingface/transformers/pull/16860 | 1,209,975,269 | PR_kwDOCUB6oc42gZl5 | 16,860 | [docs] fix url | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | Fix broken link
Fixes: https://github.com/huggingface/transformers/issues/16854
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16860",
"html_url": "https://github.com/huggingface/transformers/pull/16860",
"diff_url": "https://github.com/huggingface/transformers/pull/16860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16860.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16859/comments | https://api.github.com/repos/huggingface/transformers/issues/16859/events | https://github.com/huggingface/transformers/pull/16859 | 1,209,974,946 | PR_kwDOCUB6oc42gZht | 16,859 | Add OnnxConfig for ConvBERT | {
"login": "chainyo",
"id": 50595514,
"node_id": "MDQ6VXNlcjUwNTk1NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/50595514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chainyo",
"html_url": "https://github.com/chainyo",
"followers_url": "https://api.github.com/users/chainy... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The conversion is working as demonstrated by the fact I successfully converted a base model and uploaded it on the hub.\r\n\r\nCheck the model [here](https://huggingface.co/OWG/convbert-base-spanish)\r\n\r\nHere is the command I have... | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
I have added OnnxConfig for ConvBERT model. I have checked all features available (which are the same as DistilBERT), so the features list seems to be good.
## Who can review?
Models:
- albert, bert, xlm: @LysandreJik
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16859/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16859/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16859",
"html_url": "https://github.com/huggingface/transformers/pull/16859",
"diff_url": "https://github.com/huggingface/transformers/pull/16859.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16859.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16858/comments | https://api.github.com/repos/huggingface/transformers/issues/16858/events | https://github.com/huggingface/transformers/issues/16858 | 1,209,883,582 | I_kwDOCUB6oc5IHVu- | 16,858 | Checkpoints are NOT save in GCS (Google Cloud Storage) | {
"login": "JessicaLopezEspejel",
"id": 53188008,
"node_id": "MDQ6VXNlcjUzMTg4MDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/53188008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JessicaLopezEspejel",
"html_url": "https://github.com/JessicaLopezEspejel",
"followers_url": ... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @JessicaLopezEspejel 👋 Most file writing functions, like `torch.save`, don't support writing to/reading from GCS out of the box. There are a few workarounds:\r\n- [edit] See @mikcnt comment [here](https://github.com/huggingface/transformers/issues/16858#issuecomment-1114924716) \r\n- Use TensorFlow, whose nat... | 1,650 | 1,652 | 1,650 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16858/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16857/comments | https://api.github.com/repos/huggingface/transformers/issues/16857/events | https://github.com/huggingface/transformers/pull/16857 | 1,209,834,715 | PR_kwDOCUB6oc42f85X | 16,857 | Add missing entries in mappings | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> * The `ImageGPT` changes should probably go in their own PR\r\n\r\nWithout the changes, the `test_pipeline` will fail for `ImageGPT`. Previously, `ImageGPT` was not used in pipeline testing because it had no found tokenizer/fea... | 1,650 | 1,650 | 1,650 | COLLABORATOR | null | # What does this PR do?
Add missing entries in mappings: `TOKENIZER_MAPPING`, `FEATURE_EXTRACTOR_MAPPING`, `PROCESSOR_MAPPING`
The remaining models that don't have any `tokenizer/feature_extractor/processor` are:
- EncoderDecoder
- VisionEncoderDecoder
- SpeechEncoderDecoder
- DecisionTransformer
which ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16857/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16857",
"html_url": "https://github.com/huggingface/transformers/pull/16857",
"diff_url": "https://github.com/huggingface/transformers/pull/16857.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16857.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16856/comments | https://api.github.com/repos/huggingface/transformers/issues/16856/events | https://github.com/huggingface/transformers/issues/16856 | 1,209,688,351 | I_kwDOCUB6oc5IGmEf | 16,856 | How to convert the bert model in tf1 ckpt format which converted by the pytorch version to tf1/tf2 SavedModel? | {
"login": "catqaq",
"id": 42762740,
"node_id": "MDQ6VXNlcjQyNzYyNzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/42762740?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/catqaq",
"html_url": "https://github.com/catqaq",
"followers_url": "https://api.github.com/users/catqaq/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"cc @Rocketknight1 @gante ",
"Hi @catqaq 👋 Thank you for posting a detailed description. Before I dig into the technical problem, I'd like to ask you a more general question. \r\n\r\nIs it your final goal to obtain a TF `SavedModel` containing `BERT`? If you don't have requirements regarding how it's done, I be... | 1,650 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.2.1
- Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-debian-buster-sid
- Python version: 3.6.13
- PyTorch version (GPU?): 1.10.0+cu102 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: <yes>
- Using distributed or parallel set-up i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16856/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16855/comments | https://api.github.com/repos/huggingface/transformers/issues/16855/events | https://github.com/huggingface/transformers/issues/16855 | 1,209,639,671 | I_kwDOCUB6oc5IGaL3 | 16,855 | `offset_mapping` is strange for non-ascii token | {
"login": "h-peng17",
"id": 39556019,
"node_id": "MDQ6VXNlcjM5NTU2MDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/39556019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h-peng17",
"html_url": "https://github.com/h-peng17",
"followers_url": "https://api.github.com/users/h-p... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The environment info is:\r\n- `transformers` version: 4.18.0\r\n- Platform: Linux-4.15.0-136-generic-x86_64-with-glibc2.27\r\n- Python version: 3.9.12\r\n- Huggingface_hub version: 0.5.1\r\n- PyTorch version (GPU?): 1.11.0+cu113 (True)\r\n- Tensorflow version (GPU?): not installed (NA)\r\n- Flax version (CPU?/GPU?... | 1,650 | 1,650 | 1,650 | NONE | null | ### System Info
```shell
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: <fill in>
```
### Who can help?
@SaulLu
### Information
- [ ] The official example scripts
- [X] My ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16855/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16854/comments | https://api.github.com/repos/huggingface/transformers/issues/16854/events | https://github.com/huggingface/transformers/issues/16854 | 1,209,584,265 | I_kwDOCUB6oc5IGMqJ | 16,854 | Docs link to deepspeed infinity redirect to a 404 | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thanks a lot for the report, Omar - fixed here: https://github.com/huggingface/transformers/pull/16860"
] | 1,650 | 1,650 | 1,650 | MEMBER | null | ### System Info
```shell
Docs related
```
### Who can help?
@stas00 @sgugger
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16854/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/16854/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16853/comments | https://api.github.com/repos/huggingface/transformers/issues/16853/events | https://github.com/huggingface/transformers/pull/16853 | 1,209,576,269 | PR_kwDOCUB6oc42fGoW | 16,853 | t5: add conversion script for T5X to FLAX | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"/cc @patrickvonplaten @patil-suraj :hugs: ",
"_The documentation is not available anymore as the PR was closed or merged._",
"I have just tested it with v1.0 and there's a problem with the lm head:\r\n\r\n```\r\n1.0: dict_keys(['decoder_norm', 'layers_0', 'layers_1', 'layers_2', 'layers_3', 'layers_4', 'layers... | 1,650 | 1,669 | 1,650 | COLLABORATOR | null | Hi,
this PR adds the (long awaited) conversion script from T5X to HF FLAX, previously available in this [GIST](https://gist.github.com/stefan-it/30e4998ef159f33696e377a46f699d9f).
This conversion scripts allows to convert models that were trained with [T5X](https://github.com/google-research/t5x) to a FLAX model,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16853/reactions",
"total_count": 7,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 6,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16853/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16853",
"html_url": "https://github.com/huggingface/transformers/pull/16853",
"diff_url": "https://github.com/huggingface/transformers/pull/16853.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16853.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16852/comments | https://api.github.com/repos/huggingface/transformers/issues/16852/events | https://github.com/huggingface/transformers/issues/16852 | 1,209,526,805 | I_kwDOCUB6oc5IF-oV | 16,852 | facebook/detr-resnet output tensor contains all nan value | {
"login": "grassjelly",
"id": 5070395,
"node_id": "MDQ6VXNlcjUwNzAzOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5070395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grassjelly",
"html_url": "https://github.com/grassjelly",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https:... | [
"Hi,\r\n\r\nSorry I can't really help here, I don't have any experience with machines like Jetson Nano :( ",
"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 no... | 1,650 | 1,693 | 1,653 | NONE | null | ### System Info
```shell
Ubuntu 20.04 - aarch64
Pytorch Version: 1.11.0 (from source)
Transformers: 4.18.0
Torchvision: 0.12.9 (from source)
Model: facebook/detr-resnet-50
```
### Who can help?
@NielsRogge
### Information
- [X] The official example scripts
- [ ] My own modified scripts
###... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16852/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16851/comments | https://api.github.com/repos/huggingface/transformers/issues/16851/events | https://github.com/huggingface/transformers/pull/16851 | 1,209,512,071 | PR_kwDOCUB6oc42e5Nm | 16,851 | New features for CodeParrot training script | {
"login": "loubnabnl",
"id": 44069155,
"node_id": "MDQ6VXNlcjQ0MDY5MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/44069155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loubnabnl",
"html_url": "https://github.com/loubnabnl",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | This PR adds some features to CodeParrot training script.
- Add TFLOPS to logging
- Use Accelerate checkpointing and tracking for Wandb and Tensorborad
- Fix gradient accumulation for DDP (https://github.com/huggingface/accelerate/pull/106)
- Scale loss approprietly for the last batch
- Fix typo in the README
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16851/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/16851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16851",
"html_url": "https://github.com/huggingface/transformers/pull/16851",
"diff_url": "https://github.com/huggingface/transformers/pull/16851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16851.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16850/comments | https://api.github.com/repos/huggingface/transformers/issues/16850/events | https://github.com/huggingface/transformers/pull/16850 | 1,209,499,773 | PR_kwDOCUB6oc42e2pe | 16,850 | documentation: some minor clean up | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you!"
] | 1,650 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This cleans up some minor documentation changes unrelated to debertav2 in the PR #15529 so I'm opening up this PR just for repo history. Please do let me know if this is alright 😄
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16850/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16850",
"html_url": "https://github.com/huggingface/transformers/pull/16850",
"diff_url": "https://github.com/huggingface/transformers/pull/16850.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16850.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16849/comments | https://api.github.com/repos/huggingface/transformers/issues/16849/events | https://github.com/huggingface/transformers/issues/16849 | 1,209,470,458 | I_kwDOCUB6oc5IFw36 | 16,849 | Could not load model deepset/minilm-uncased-squad2 | {
"login": "IavTavares",
"id": 91806073,
"node_id": "U_kgDOBXjZeQ",
"avatar_url": "https://avatars.githubusercontent.com/u/91806073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IavTavares",
"html_url": "https://github.com/IavTavares",
"followers_url": "https://api.github.com/users/IavTa... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I suspect the cause of this is that the `deepset/roberta-base-squad2` model only exists as a PyTorch model. When you call `pipeline()`, it will select the framework (TF or PyTorch) based on what is installed on your machine. If your laptop has both TF and PyTorch installed, then it will probably select PyTorch and... | 1,650 | 1,689 | 1,653 | NONE | null | ### System Info
```shell
I'm trying to load the model "deepset/minilm-uncased-squad2".
On my laptop (Ubuntu 20.4 LTS), there's no problem.
This happens when I run the exact same code on a server running Linux(see version below).
Here's the output of transformer-cli env command:
- `transformers` version: 4.18.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16849/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16848/comments | https://api.github.com/repos/huggingface/transformers/issues/16848/events | https://github.com/huggingface/transformers/pull/16848 | 1,209,444,645 | PR_kwDOCUB6oc42erLG | 16,848 | Add YOLOS | {
"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 | [] | [
"Addressed most comments. The remaining comments are about badly formatted docstrings, however these are all copied from DETR (so I can't change them due to `#Copied from` statements). Is it ok if I address these docstrings in a separate PR for both models?\r\n\r\nAlso pinging @Narsil as the pipeline test for YOLOS... | 1,650 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This PR adds [YOLOS](https://github.com/hustvl/YOLOS), an awesome and simple object detector.
YOLOS is just a single Transformer encoder (ViT), trained using DETR's objective.
For now, I've used "vit" as `base_model_prefix`, in order to easily load weights from ViT and ViTMAE checkpoint... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16848/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16848",
"html_url": "https://github.com/huggingface/transformers/pull/16848",
"diff_url": "https://github.com/huggingface/transformers/pull/16848.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16848.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16847/comments | https://api.github.com/repos/huggingface/transformers/issues/16847/events | https://github.com/huggingface/transformers/issues/16847 | 1,209,437,854 | I_kwDOCUB6oc5IFo6e | 16,847 | get the error "_forward_unimplemented() got an unexpected keyword argument 'labels'" | {
"login": "FanniSun",
"id": 52404339,
"node_id": "MDQ6VXNlcjUyNDA0MzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/52404339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FanniSun",
"html_url": "https://github.com/FanniSun",
"followers_url": "https://api.github.com/users/Fan... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"It's my error, I write \"forward\" to \"farward\""
] | 1,650 | 1,650 | 1,650 | NONE | null | ### System Info
```shell
- `transformers` version: 2.11.0
- Platform: Linux-5.4.0-81-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.3
- PyTorch version (GPU?): 1.6.0+cu101 (True)
- Tensorflow version (GPU?): 2.7.1 (True)
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16847/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16846/comments | https://api.github.com/repos/huggingface/transformers/issues/16846/events | https://github.com/huggingface/transformers/issues/16846 | 1,209,280,380 | I_kwDOCUB6oc5IFCd8 | 16,846 | Range Error for BERT Masked Language Modeling on IMDB | {
"login": "Jadiker",
"id": 14322056,
"node_id": "MDQ6VXNlcjE0MzIyMDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/14322056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jadiker",
"html_url": "https://github.com/Jadiker",
"followers_url": "https://api.github.com/users/Jadike... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @Jadiker 👋 In your notebook, after the `tokenize_and_chunk` cell (the 2nd one, there are 2) we can see a warning that explains the error: `Token indices sequence length is longer than the specified maximum sequence length for this model (521 > 512). Running this sequence through the model will result in index... | 1,650 | 1,651 | 1,650 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16846/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16845/comments | https://api.github.com/repos/huggingface/transformers/issues/16845/events | https://github.com/huggingface/transformers/issues/16845 | 1,209,213,514 | I_kwDOCUB6oc5IEyJK | 16,845 | AutoFeatureExtractor not respecting override parameters (for LayoutLMv2FeatureExtractor) | {
"login": "athewsey",
"id": 19252478,
"node_id": "MDQ6VXNlcjE5MjUyNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/19252478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athewsey",
"html_url": "https://github.com/athewsey",
"followers_url": "https://api.github.com/users/ath... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your interest in LayoutLMv2! I remember we had a similar request at https://github.com/huggingface/transformers/issues/15269. Shouldn't this solve the issue? \r\n\r\nI can't reproduce it, I don't get an import error, even though I don't have Tesseract installed.",
"Ahh sorry yes you're righ... | 1,650 | 1,650 | 1,650 | NONE | null | ### System Info
```shell
- `transformers` version: 4.17.0 - (but checked issue is still present on `main` branch)
- Platform: Linux-4.14.262-200.489.amzn2.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.10
- PyTorch version (GPU?): 1.10.2+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16845/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16844/comments | https://api.github.com/repos/huggingface/transformers/issues/16844/events | https://github.com/huggingface/transformers/pull/16844 | 1,209,096,296 | PR_kwDOCUB6oc42dl7J | 16,844 | [modeling_utils] use less cpu memory with sharded checkpoint loading | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | This PR lowers the peak cpu memory usage for sharded checkpoint loading
The following demonstration tells the full story. I'm using `/usr/bin/time -f %M` to report max rss = total cpu memory used by the process including peak memory.
This demo uses T0 which is 42GB big in fp32 https://huggingface.co/bigscience/T0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16844/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16844",
"html_url": "https://github.com/huggingface/transformers/pull/16844",
"diff_url": "https://github.com/huggingface/transformers/pull/16844.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16844.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16842/comments | https://api.github.com/repos/huggingface/transformers/issues/16842/events | https://github.com/huggingface/transformers/issues/16842 | 1,208,785,145 | I_kwDOCUB6oc5IDJj5 | 16,842 | CodeT5 tokenizer.model_max_length is 1000000000000000019884624838656 | {
"login": "khoda81",
"id": 42507906,
"node_id": "MDQ6VXNlcjQyNTA3OTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/42507906?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khoda81",
"html_url": "https://github.com/khoda81",
"followers_url": "https://api.github.com/users/khoda8... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @khoda81, \r\n\r\nThe bug seems to be related directly to the model of @mozharovsky and not really to a canonical model. However, also not that T5 does **not** have a maximum length. You can use T5 with lengths as long as you want until your memory errors out. T5 uses relative positional embeddings so that the... | 1,650 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.12.2
- Platform: Windows-10-10.0.22000-SP0
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.2 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16842/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16841/comments | https://api.github.com/repos/huggingface/transformers/issues/16841/events | https://github.com/huggingface/transformers/issues/16841 | 1,208,728,278 | I_kwDOCUB6oc5IC7rW | 16,841 | Converting PyTorch to ONNX model doubles file size for Deberta v3. Not case of renaming. | {
"login": "jordiclive",
"id": 44066010,
"node_id": "MDQ6VXNlcjQ0MDY2MDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/44066010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jordiclive",
"html_url": "https://github.com/jordiclive",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"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... | [
{
"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... | [
"Maybe @lewtun and @michaelbenayoun have insights",
"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... | 1,650 | 1,657 | 1,655 | CONTRIBUTOR | null | ### System Info
```shell
- OS Platform and Distribution: Amazon Linux 2
- ONNX version 1.11.0
- Python version: 3.8
- Transformers 4.17
```
### Who can help?
@LysandreJik, @patil-suraj
### Describe the bug
When I try and convert `microsoft/deberta-v3-large` to onnx format, the file size doubles to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16841/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16840/comments | https://api.github.com/repos/huggingface/transformers/issues/16840/events | https://github.com/huggingface/transformers/pull/16840 | 1,208,654,227 | PR_kwDOCUB6oc42cO7s | 16,840 | [Typo] Fix typo in modeling utils | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | 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/16840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16840/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16840",
"html_url": "https://github.com/huggingface/transformers/pull/16840",
"diff_url": "https://github.com/huggingface/transformers/pull/16840.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16840.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16839/comments | https://api.github.com/repos/huggingface/transformers/issues/16839/events | https://github.com/huggingface/transformers/pull/16839 | 1,208,652,471 | PR_kwDOCUB6oc42cOj4 | 16,839 | Fix typo modeling utils | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16839). All of your documentation changes will be reflected on that endpoint."
] | 1,650 | 1,650 | 1,650 | 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/16839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16839/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16839",
"html_url": "https://github.com/huggingface/transformers/pull/16839",
"diff_url": "https://github.com/huggingface/transformers/pull/16839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16839.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16838/comments | https://api.github.com/repos/huggingface/transformers/issues/16838/events | https://github.com/huggingface/transformers/issues/16838 | 1,208,539,739 | I_kwDOCUB6oc5ICNpb | 16,838 | TF: XLA model output differs when certain outputs are passed | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"How significant are the differences? Would it pass with 1e-1?",
"> How significant are the differences? Would it pass with 1e-1?\r\n\r\nTried twice, for `# case 3 FAILING: with batch size = 1 and attention mask`, the diffs are as large as `12.3...`",
"Just tried it here.\r\n\r\nOn CPU:\r\n| Test number | M... | 1,650 | 1,650 | 1,650 | MEMBER | null | Depending on the passed inputs, the output of an XLA-compiled model may significantly differ from its non-XLA counterpart. This suggests we should add tests for XLA-output equivalence, just like we do with e.g. PT-TF, as it is not guaranteed.
At the moment, this blocks further developments in `generate()` (can't rel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16837/comments | https://api.github.com/repos/huggingface/transformers/issues/16837/events | https://github.com/huggingface/transformers/issues/16837 | 1,208,529,031 | I_kwDOCUB6oc5ICLCH | 16,837 | no attribute ViTFeatureExtractor | {
"login": "Pannu22",
"id": 37268736,
"node_id": "MDQ6VXNlcjM3MjY4NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/37268736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pannu22",
"html_url": "https://github.com/Pannu22",
"followers_url": "https://api.github.com/users/Pannu2... | [] | closed | false | null | [] | [
"Installing `Pillow` to env fixed it.",
"Thanks for this!"
] | 1,650 | 1,652 | 1,650 | NONE | null | Getting following error:
AttributeError: module transformers.models.vit has no attribute ViTFeatureExtractor
on calling:
`processor = TrOCRProcessor.from_pretrained("microsoft/trocr-large-printed")`
System:
Jenson AGX
Tried in RTX & it is working fine.
Installation:
`pip install git+https://github.com/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16837/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16836/comments | https://api.github.com/repos/huggingface/transformers/issues/16836/events | https://github.com/huggingface/transformers/pull/16836 | 1,208,505,296 | PR_kwDOCUB6oc42bvVR | 16,836 | Fx with meta | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger is it ready now?",
"Since it does not change the API, and does not provide any new feature, the current set of test is enough.\r\nI also ran the test with `torch=1.10.2` (we have `TORCH_FX_REQUIRED_VERSION = version.parse(... | 1,650 | 1,651 | 1,651 | MEMBER | null | # What does this PR do?
This PR simplies and improves the way tracing works with torch.fx.
Instead of recording concrete values via a forward pass on the original model, metadata is attached to the proxies, either tensors on the `meta` device (which saves us from making actual computations, only shape inference i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16836",
"html_url": "https://github.com/huggingface/transformers/pull/16836",
"diff_url": "https://github.com/huggingface/transformers/pull/16836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16836.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16835/comments | https://api.github.com/repos/huggingface/transformers/issues/16835/events | https://github.com/huggingface/transformers/pull/16835 | 1,208,482,561 | PR_kwDOCUB6oc42bqel | 16,835 | replace `Speech2TextTokenizer` by `Speech2TextFeatureExtractor` in some docstrings | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
It seems to me that fbank features can be returned by an `FeatureExtractor` and not by a `Tokenizer`. This PR proposes to make some changes in the docstrings that mention that `Speech2TextTokenizer` should be used to return fbank features.
It seems to me that among the 3 models - `Speech2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16835/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16835",
"html_url": "https://github.com/huggingface/transformers/pull/16835",
"diff_url": "https://github.com/huggingface/transformers/pull/16835.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16835.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16834/comments | https://api.github.com/repos/huggingface/transformers/issues/16834/events | https://github.com/huggingface/transformers/pull/16834 | 1,208,397,184 | PR_kwDOCUB6oc42bYSf | 16,834 | Add semantic script, trainer | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,651 | 1,651 | CONTRIBUTOR | null | # What does this PR do?
This PR adds `run_semantic_segmentation.py`, which leverages the Trainer API for fine-tuning any model supported by `AutoModelForSemanticSegmentation`.
To do:
- [x] fix WandB logging, which doesn't seem to like the fact that metrics are turned into lists. Might need some help here from ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16834/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16834",
"html_url": "https://github.com/huggingface/transformers/pull/16834",
"diff_url": "https://github.com/huggingface/transformers/pull/16834.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16834.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16833/comments | https://api.github.com/repos/huggingface/transformers/issues/16833/events | https://github.com/huggingface/transformers/pull/16833 | 1,208,316,350 | PR_kwDOCUB6oc42bG5k | 16,833 | [ASR Pipeline] Correct init docs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | 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/16833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16833/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16833",
"html_url": "https://github.com/huggingface/transformers/pull/16833",
"diff_url": "https://github.com/huggingface/transformers/pull/16833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16833.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16832/comments | https://api.github.com/repos/huggingface/transformers/issues/16832/events | https://github.com/huggingface/transformers/issues/16832 | 1,208,285,355 | I_kwDOCUB6oc5IBPir | 16,832 | Dropping support for Python 3.6 | {
"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 | [] | [
"What is the purpose of dropping support while not using latest features of newer python versions (or newer versions of other libraries, which are dropping support)?",
"Hey @LSinev, thank you for asking. There are some features that would have been implemented in a simpler manner had Python 3.6 been dropped earli... | 1,650 | 1,654 | 1,654 | COLLABORATOR | null | Python 3.6 [has been retired](https://peps.python.org/pep-0494/#lifespan) on December 21st 2021 and won't get new security releases anymore. As a result, Transformers will stop supporting Python 3.6 and have a minimum requirement of Python 3.7 in the next release (v4.19.0), around the beginning of May. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16832/reactions",
"total_count": 14,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16832/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16831/comments | https://api.github.com/repos/huggingface/transformers/issues/16831/events | https://github.com/huggingface/transformers/issues/16831 | 1,208,255,838 | I_kwDOCUB6oc5IBIVe | 16,831 | GPT2.generate() with custom input_embeds argument returning tensor (1*max_length) instead of (batch_size*max_length) | {
"login": "JustABiologist",
"id": 67026235,
"node_id": "MDQ6VXNlcjY3MDI2MjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/67026235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JustABiologist",
"html_url": "https://github.com/JustABiologist",
"followers_url": "https://api.gi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @JustABiologist,\r\n\r\nI sadly can't run the above code as I don't have access to `\"GPT_2 filepath\"` - could you make sure that the code snippet is reproducible?",
"There are two issues here.\r\n\r\n1. The argument is called `inputs_embeds` and not `input_embeds`\r\n2. `generate` doesn't support passing `... | 1,650 | 1,661 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.17.0
- Platform: Linux-4.15.0-175-generic-x86_64-with-glibc2.27
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.1 (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/16831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16831/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16830/comments | https://api.github.com/repos/huggingface/transformers/issues/16830/events | https://github.com/huggingface/transformers/issues/16830 | 1,208,246,417 | I_kwDOCUB6oc5IBGCR | 16,830 | Repeated Generation | {
"login": "Sandip-Hapani134",
"id": 101804481,
"node_id": "U_kgDOBhFpwQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101804481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sandip-Hapani134",
"html_url": "https://github.com/Sandip-Hapani134",
"followers_url": "https://api.gi... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @Sandip-Hapani134 👋 Assuming you are using our `generate()` function, try adding the `do_sample=True` argument to it. \r\n\r\nLet us know if it helped :)",
"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 ... | 1,650 | 1,653 | 1,653 | NONE | null | When I am giving input for the summarization, every time it is the generating same summary. (Sometimes even if I consider the first few lines of input as new input, in those cases also it is generating the same output summary.)
Example:
Input: With an immunocompromised son, how could we not be terrified of COVI... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16830/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16829/comments | https://api.github.com/repos/huggingface/transformers/issues/16829/events | https://github.com/huggingface/transformers/pull/16829 | 1,208,195,994 | PR_kwDOCUB6oc42asnE | 16,829 | Add doc about `attention_mask` on gpt2 | {
"login": "wiio12",
"id": 19700931,
"node_id": "MDQ6VXNlcjE5NzAwOTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/19700931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wiio12",
"html_url": "https://github.com/wiio12",
"followers_url": "https://api.github.com/users/wiio12/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | 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/16829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16829/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16829",
"html_url": "https://github.com/huggingface/transformers/pull/16829",
"diff_url": "https://github.com/huggingface/transformers/pull/16829.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16829.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16828/comments | https://api.github.com/repos/huggingface/transformers/issues/16828/events | https://github.com/huggingface/transformers/pull/16828 | 1,208,115,164 | PR_kwDOCUB6oc42abXm | 16,828 | Fixing return type tensor with `num_return_sequences>1`. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Fixes #16796
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16828/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16828",
"html_url": "https://github.com/huggingface/transformers/pull/16828",
"diff_url": "https://github.com/huggingface/transformers/pull/16828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16828.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16827/comments | https://api.github.com/repos/huggingface/transformers/issues/16827/events | https://github.com/huggingface/transformers/pull/16827 | 1,208,054,973 | PR_kwDOCUB6oc42aPdp | 16,827 | Adding support for `array` key in raw dictionnaries in ASR pipeline. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Adding support for `array` key in raw dictionnaries in ASR pipeline.
This means we can simplify the Quicktour example to look again a bit
more what the old `ffmpeg` example looked like.
Even simpler code might be enabled by
https://github.com/huggingface/datasets/issues/4180
in the future. We ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16827/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16827",
"html_url": "https://github.com/huggingface/transformers/pull/16827",
"diff_url": "https://github.com/huggingface/transformers/pull/16827.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16827.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16826/comments | https://api.github.com/repos/huggingface/transformers/issues/16826/events | https://github.com/huggingface/transformers/pull/16826 | 1,207,963,875 | PR_kwDOCUB6oc42Z_hB | 16,826 | [Semantic script] Improve README | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Closing this one in favor of #16834 "
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the README of the semantic segmentation example script.
To do:
- [ ] include higher quality gif | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16826/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16826",
"html_url": "https://github.com/huggingface/transformers/pull/16826",
"diff_url": "https://github.com/huggingface/transformers/pull/16826.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16826.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16825/comments | https://api.github.com/repos/huggingface/transformers/issues/16825/events | https://github.com/huggingface/transformers/pull/16825 | 1,207,742,294 | PR_kwDOCUB6oc42ZVoj | 16,825 | Correct Logging of Eval metric to Tensorboard | {
"login": "Jeevesh8",
"id": 48825663,
"node_id": "MDQ6VXNlcjQ4ODI1NjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/48825663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jeevesh8",
"html_url": "https://github.com/Jeevesh8",
"followers_url": "https://api.github.com/users/Jee... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Actually `eval_metrics` is never used, could you delete this line and update the PR ? This will fix the failing test.\r\nhttps://github.com/huggingface/transformers/blob/d3bd9ac72802c0a3d04c3c63739bcd8f0731b593/examples/flax/text-cla... | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
An empty dictionary ``eval_metrics`` was being logged, is replaced by ``eval_metric`` which is the output dictionary of ``metric.compute()``. Probably this was a typo in the code.
<!-- Remove if not applicable -->
Fixes # (issue)
## Before submitting
- [x] This PR fixes a typo or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16825/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16825",
"html_url": "https://github.com/huggingface/transformers/pull/16825",
"diff_url": "https://github.com/huggingface/transformers/pull/16825.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16825.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16824/comments | https://api.github.com/repos/huggingface/transformers/issues/16824/events | https://github.com/huggingface/transformers/issues/16824 | 1,207,530,464 | I_kwDOCUB6oc5H-XPg | 16,824 | Tranformers documentation translation to Portuguese | {
"login": "omarespejel",
"id": 4755430,
"node_id": "MDQ6VXNlcjQ3NTU0MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarespejel",
"html_url": "https://github.com/omarespejel",
"followers_url": "https://api.github.com/us... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
},
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2N... | closed | false | {
"login": "omarespejel",
"id": 4755430,
"node_id": "MDQ6VXNlcjQ3NTU0MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarespejel",
"html_url": "https://github.com/omarespejel",
"followers_url": "https://api.github.com/us... | [
{
"login": "omarespejel",
"id": 4755430,
"node_id": "MDQ6VXNlcjQ3NTU0MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarespejel",
"html_url": "https://github.com/omarespejel",
"followers_url": "https... | [
"Hey, I'll translate quicktour.mdx. ",
"USP 🇧🇷 presente!\r\n\r\nObrigado @vitorfrois e @rzimmerdev! Coloquei como WIP (work in progress) os docs em que estão trabalhando 🤗. @rzimmerdev muito obrigado pelo seu PR! Se você puder, por favor, coloque aqui quais outros documentos você deseja traduzir. Podemos adici... | 1,650 | 1,666 | 1,666 | CONTRIBUTOR | null | Hi!
Let's bring the documentation to all the Portuguese-speaking community :)
Who would want to translate? **Please follow our [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md).** Here is a list of the files ready for translation. Let us know here if you'd like to tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16824/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16824/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16823/comments | https://api.github.com/repos/huggingface/transformers/issues/16823/events | https://github.com/huggingface/transformers/issues/16823 | 1,207,518,289 | I_kwDOCUB6oc5H-URR | 16,823 | (TF) model.generate to tf.function for tf serving | {
"login": "piEsposito",
"id": 47679710,
"node_id": "MDQ6VXNlcjQ3Njc5NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/47679710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piEsposito",
"html_url": "https://github.com/piEsposito",
"followers_url": "https://api.github.com/use... | [
{
"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 | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hey @piEsposito,\r\n\r\nThe function should now be useable with `tf.function` I think. We don't want to wrap generate `tf.function` automatically ourselves, but you should be able to do the following now:\r\n\r\n```py\r\n#!/usr/bin/env python3\r\nfrom transformers import TFGPT2LMHeadModel, GPT2Tokenizer\r\nimport... | 1,650 | 1,659 | 1,659 | CONTRIBUTOR | null | ### Feature request
It would be nice if you wrapped the generate method of autorregressive models into a `tf.function`. That way we could export and serve it with all the Tensorflow production stack.
Its kinda a revival of #5443.
It would enable us to do something like:
```python
from transformers import Auto... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16823/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/16823/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16822/comments | https://api.github.com/repos/huggingface/transformers/issues/16822/events | https://github.com/huggingface/transformers/issues/16822 | 1,207,481,640 | I_kwDOCUB6oc5H-LUo | 16,822 | Inference/prediction ValueError using BART | {
"login": "PrijsDF",
"id": 26660621,
"node_id": "MDQ6VXNlcjI2NjYwNjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/26660621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PrijsDF",
"html_url": "https://github.com/PrijsDF",
"followers_url": "https://api.github.com/users/PrijsD... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"What is the error here ?\r\n",
"> What is the error here ?\r\n\r\nI actually forgot to include the error. I just added it :)",
"This just looks like a typo, the argument to `generate` is `input_ids` and `inputs`.",
"Hey @patil-suraj, thank you for your response.\r\n\r\nI'm not entirely sure what you mean; I ... | 1,650 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-4.19.0-19-cloud-amd64-x86_64-with-debian-10.12
- Python version: 3.7.12
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16821/comments | https://api.github.com/repos/huggingface/transformers/issues/16821/events | https://github.com/huggingface/transformers/pull/16821 | 1,207,465,358 | PR_kwDOCUB6oc42YiO7 | 16,821 | fix _setup_devices in case where there is no torch.distributed package in build | {
"login": "dlwh",
"id": 9633,
"node_id": "MDQ6VXNlcjk2MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dlwh",
"html_url": "https://github.com/dlwh",
"followers_url": "https://api.github.com/users/dlwh/followers",
"followi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"done!",
"Thanks!"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
At least in some instances (e.g. conda on my m1), torch is built without distributed support enabled. This takes the form of torch.distributed.is_available() returning false and torch.distributed.is_initialized() raising an exception. In this particular method, it's enough to skip the check i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16821/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16821",
"html_url": "https://github.com/huggingface/transformers/pull/16821",
"diff_url": "https://github.com/huggingface/transformers/pull/16821.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16821.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16820/comments | https://api.github.com/repos/huggingface/transformers/issues/16820/events | https://github.com/huggingface/transformers/pull/16820 | 1,207,186,111 | PR_kwDOCUB6oc42Xmmq | 16,820 | [Data2Vec Text] Correct Data2Vec Text | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> We can't just remove a class that is in the main init and was in the release, and I also don't see why we should remove it. GPT-2 is not meant for token classification if you read its paper, yet we still have the ` GPT2ForTokenClas... | 1,650 | 1,650 | 1,650 | 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/16820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16820",
"html_url": "https://github.com/huggingface/transformers/pull/16820",
"diff_url": "https://github.com/huggingface/transformers/pull/16820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16819/comments | https://api.github.com/repos/huggingface/transformers/issues/16819/events | https://github.com/huggingface/transformers/pull/16819 | 1,207,177,302 | PR_kwDOCUB6oc42Xkxd | 16,819 | TF: Add sigmoid activation function | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"As an aside, GELU is a core Keras activation now, although we might have to wait until we can move our minimum version before we can switch to using it instead of our own implementations. Other than that, this looks great!"
] | 1,650 | 1,650 | 1,650 | MEMBER | null | # What does this PR do?
Fixes #16810 -- adds the sigmoid activation function to the TF activation functions.
Also sorts the activation functions in the enum-like dict and in the tests, to quickly identify missing functions. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16819/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16819",
"html_url": "https://github.com/huggingface/transformers/pull/16819",
"diff_url": "https://github.com/huggingface/transformers/pull/16819.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16819.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16818/comments | https://api.github.com/repos/huggingface/transformers/issues/16818/events | https://github.com/huggingface/transformers/pull/16818 | 1,207,177,072 | PR_kwDOCUB6oc42Xkuf | 16,818 | Update build_pr_documentation.yml | {
"login": "myoung34",
"id": 879922,
"node_id": "MDQ6VXNlcjg3OTkyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/879922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/myoung34",
"html_url": "https://github.com/myoung34",
"followers_url": "https://api.github.com/users/myoung3... | [] | closed | false | null | [] | [
"Ignore =)"
] | 1,650 | 1,650 | 1,650 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16818/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16818/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16818",
"html_url": "https://github.com/huggingface/transformers/pull/16818",
"diff_url": "https://github.com/huggingface/transformers/pull/16818.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16818.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16817/comments | https://api.github.com/repos/huggingface/transformers/issues/16817/events | https://github.com/huggingface/transformers/pull/16817 | 1,207,047,162 | PR_kwDOCUB6oc42XJQc | 16,817 | Wav2 vec2 phoneme ctc tokenizer optimisation | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | COLLABORATOR | null | # What does this PR do?
This is my FIRST PR!
The Wav2Vec2PhonemCTCTokenizer is slow when its argument `do_phonemize` is set to True. It re-initialises the backend at each forward pass. This is adressed using a class argument.
There was also an H4 title in the documentation which had a link which did not render... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16817/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16817/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16817",
"html_url": "https://github.com/huggingface/transformers/pull/16817",
"diff_url": "https://github.com/huggingface/transformers/pull/16817.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16817.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16816/comments | https://api.github.com/repos/huggingface/transformers/issues/16816/events | https://github.com/huggingface/transformers/pull/16816 | 1,206,922,877 | PR_kwDOCUB6oc42Wucm | 16,816 | CI: Create empty venv on cache miss | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | MEMBER | null | # What does this PR do?
Fixes a CI error introduced by https://github.com/huggingface/transformers/pull/16789 -- when there was a cache miss, it attempted to initialize a virtual environment that didn't exist, in two CI workflows.
This PR fixes that by creating empty venvs on a cache miss.
(I wonder why the or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16816/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16816",
"html_url": "https://github.com/huggingface/transformers/pull/16816",
"diff_url": "https://github.com/huggingface/transformers/pull/16816.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16816.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16815/comments | https://api.github.com/repos/huggingface/transformers/issues/16815/events | https://github.com/huggingface/transformers/pull/16815 | 1,206,883,147 | PR_kwDOCUB6oc42Wl7q | 16,815 | Make MegatronBert converter compatible with latest megatron code | {
"login": "MagiaSN",
"id": 15558746,
"node_id": "MDQ6VXNlcjE1NTU4NzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15558746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MagiaSN",
"html_url": "https://github.com/MagiaSN",
"followers_url": "https://api.github.com/users/MagiaS... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey, thank you for your PR! It was superseded by the following PR: https://github.com/huggingface/transformers/pull/15820\r\n\r\nThanks again!",
"> Hey, thank you for your PR! It was superseded by the following PR: #15820\r\n> \r\n... | 1,650 | 1,650 | 1,650 | NONE | 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/16815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16815/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16815",
"html_url": "https://github.com/huggingface/transformers/pull/16815",
"diff_url": "https://github.com/huggingface/transformers/pull/16815.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16815.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16814/comments | https://api.github.com/repos/huggingface/transformers/issues/16814/events | https://github.com/huggingface/transformers/pull/16814 | 1,206,780,525 | PR_kwDOCUB6oc42WQeW | 16,814 | Allow passing encoder_ouputs as tuple to EncoderDecoder Models | {
"login": "jsnfly",
"id": 37632631,
"node_id": "MDQ6VXNlcjM3NjMyNjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/37632631?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsnfly",
"html_url": "https://github.com/jsnfly",
"followers_url": "https://api.github.com/users/jsnfly/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"\r\n@jsnfly , thanks you for this PR... Is it possible to do this fix for a T5 model as well.. It is also a sequence to sequence models and sometime we may want to pass a tuple to the decoder."
] | 1,650 | 1,656 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15536
For now I have added a test of the functionality to an existing test, since I'm not sure if there should be a separate test (or a test at all) for such a minor issue. Let me know if there is a better way.
## Before submitting
- [ ] This PR fixes a typo or improves the docs... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16814/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16814",
"html_url": "https://github.com/huggingface/transformers/pull/16814",
"diff_url": "https://github.com/huggingface/transformers/pull/16814.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16814.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16813/comments | https://api.github.com/repos/huggingface/transformers/issues/16813/events | https://github.com/huggingface/transformers/issues/16813 | 1,206,506,009 | I_kwDOCUB6oc5H6dIZ | 16,813 | huggingface-cli login in dockerfile | {
"login": "hyunwoongko",
"id": 38183241,
"node_id": "MDQ6VXNlcjM4MTgzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/38183241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hyunwoongko",
"html_url": "https://github.com/hyunwoongko",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I copied token file to my /root/.huggingace. but it doesn't work.",
"In your dockerfile, you can manually save the token with the following:\r\n\r\n```\r\npython -c 'from huggingface_hub import HfFolder; HfFolder.save_token(\"<TOKEN>\")'\r\n```\r\n\r\nIt will save it in `~/.huggingface/token`. You can check it w... | 1,650 | 1,683 | 1,650 | CONTRIBUTOR | null | Hello. I want to use private model in my docker environment.
for that, I need to login in the dockerfile. (to deploy model using entrypoint)
is there anyway to do this? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16813/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16813/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16812/comments | https://api.github.com/repos/huggingface/transformers/issues/16812/events | https://github.com/huggingface/transformers/pull/16812 | 1,206,494,412 | PR_kwDOCUB6oc42VUQK | 16,812 | Add Wav2Vec2Conformer | {
"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 | [] | [
"Currently blocked by https://github.com/pytorch/fairseq/issues/4356",
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger would be great if you could do a quick 2nd round of review, notably:\r\n\r\n1.) UniSpeechSatBaseModelOutput and others don't exist anymore and are repl... | 1,650 | 1,652 | 1,652 | 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/16812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16812/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16812",
"html_url": "https://github.com/huggingface/transformers/pull/16812",
"diff_url": "https://github.com/huggingface/transformers/pull/16812.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16812.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16811/comments | https://api.github.com/repos/huggingface/transformers/issues/16811/events | https://github.com/huggingface/transformers/issues/16811 | 1,206,444,892 | I_kwDOCUB6oc5H6ONc | 16,811 | Confusion about past_key_values and attention_mask in GPT2Attention | {
"login": "wiio12",
"id": 19700931,
"node_id": "MDQ6VXNlcjE5NzAwOTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/19700931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wiio12",
"html_url": "https://github.com/wiio12",
"followers_url": "https://api.github.com/users/wiio12/fo... | [] | closed | false | null | [] | [
" Great question @wiio12! \r\n\r\nYou're exactly right `attention_mask` needs to contain the masking strategy that was used for `past_key_values`. In other words, the `attention_mask` always has to have the length: `len(past_key_values) + len(input_ids)`",
"Thank you for your response @patrickvonplaten, very clea... | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # Enviorment info
- `transformers` version: 4.12.5
Models:
- GPT-2, GPT: @patil-suraj, @patrickvonplaten, @LysandreJik
# Infomation
When I read through the code in `modeling_gpt2`, I got confused about how attention_mask is used. Here, the code concatenates the past key and value into the current hidden_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16811/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16810/comments | https://api.github.com/repos/huggingface/transformers/issues/16810/events | https://github.com/huggingface/transformers/issues/16810 | 1,206,370,205 | I_kwDOCUB6oc5H57-d | 16,810 | Missing activation Function | {
"login": "RodSernaPerez",
"id": 37450380,
"node_id": "MDQ6VXNlcjM3NDUwMzgw",
"avatar_url": "https://avatars.githubusercontent.com/u/37450380?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RodSernaPerez",
"html_url": "https://github.com/RodSernaPerez",
"followers_url": "https://api.githu... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hey @RodSernaPerez 👋 The `sigmoid` activation function was added to our list of TF activation functions, it should be operational now (you will have to install `transformers>=4.19.0.dev0` or pull from `main`). \r\n\r\nFeel free to reopen the issue if you run into problems :)"
] | 1,650 | 1,650 | 1,650 | NONE | null | I think the sigmoid / softmax activation function is missing here
https://github.com/huggingface/transformers/blob/31ec2cb2badfbdd4c1ac9c6c9b8a74e974984206/src/transformers/models/roberta/modeling_tf_roberta.py#L1299 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16810/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16809/comments | https://api.github.com/repos/huggingface/transformers/issues/16809/events | https://github.com/huggingface/transformers/issues/16809 | 1,206,268,463 | I_kwDOCUB6oc5H5jIv | 16,809 | [Benchmark] | {
"login": "MegaBoboss",
"id": 103204844,
"node_id": "U_kgDOBibH7A",
"avatar_url": "https://avatars.githubusercontent.com/u/103204844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MegaBoboss",
"html_url": "https://github.com/MegaBoboss",
"followers_url": "https://api.github.com/users/Meg... | [] | closed | false | null | [] | [] | 1,650 | 1,650 | 1,650 | NONE | null | # 🖥 Benchmarking `transformers`
## Benchmark
Which part of `transformers` did you benchmark?
## Set-up
What did you run your benchmarks on? Please include details, such as: CPU, GPU? If using multiple GPUs, which parallelization did you use?
## Results
Put your results here!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16809/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16808/comments | https://api.github.com/repos/huggingface/transformers/issues/16808/events | https://github.com/huggingface/transformers/pull/16808 | 1,206,247,606 | PR_kwDOCUB6oc42Uku- | 16,808 | Pin Jax to last working release | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for fixing this @sgugger !"
] | 1,650 | 1,650 | 1,650 | COLLABORATOR | null | # What does this PR do?
Jax maintainers has apparently no problem breaking the `optax` library and every library depending on it. So this PR pins Jax and jaxlib for now until this gets sorted out.
cc @patil-suraj @patrickvonplaten for information, will merge as soon as CI is green (or only 500 errors coming from ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16808/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/16808/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16808",
"html_url": "https://github.com/huggingface/transformers/pull/16808",
"diff_url": "https://github.com/huggingface/transformers/pull/16808.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16808.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16807/comments | https://api.github.com/repos/huggingface/transformers/issues/16807/events | https://github.com/huggingface/transformers/issues/16807 | 1,206,191,863 | I_kwDOCUB6oc5H5Qb3 | 16,807 | use transformers on apple mac m1 (TF backend) | {
"login": "srulik-ben-david-hs",
"id": 99398701,
"node_id": "U_kgDOBey0LQ",
"avatar_url": "https://avatars.githubusercontent.com/u/99398701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srulik-ben-david-hs",
"html_url": "https://github.com/srulik-ben-david-hs",
"followers_url": "https:/... | [] | closed | false | null | [] | [
"I believe it should work with both on M1, @NielsRogge you have experience using `transformers` on M1 macs right?",
"I'm using PyTorch only on my Mac, but if you use TF for Transformers you get a nice speedup, see here for a nice thread: https://twitter.com/lvwerra/status/1470818833619468290?t=1bDbo3Kl-MHBF2MbDh5... | 1,650 | 1,650 | 1,650 | NONE | null | is it possible?
I saw that there is an option to use tensorflow-metal..but does it gonna work seamlessly with transformers?
https://developer.apple.com/metal/tensorflow-plugin/
for pytorch it seems not possible yet.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16807/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16806/comments | https://api.github.com/repos/huggingface/transformers/issues/16806/events | https://github.com/huggingface/transformers/pull/16806 | 1,206,172,435 | PR_kwDOCUB6oc42UXK3 | 16,806 | use base_version to check torch version in torch_less_than_1_11 | {
"login": "nbroad1881",
"id": 24982805,
"node_id": "MDQ6VXNlcjI0OTgyODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbroad1881",
"html_url": "https://github.com/nbroad1881",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> It also properly deals with the `dev0` and the likes, so all good to me, thanks for the fix! Could you just apply the same to the line before (`is_torch_less_than_1_8`) so that next time someone adds a new check like this, they don... | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | The current check `version.parse(torch.__version__) < version.parse("1.11")` doesn't work if the version has additional stuff after it like `1.11.0a0+17540c5`.
New way: `version.parse(version.parse(torch.__version__).base_version) < version.parse("1.11")`
This change, as suggested by @whoknowsB [here](https://git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16806/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16806",
"html_url": "https://github.com/huggingface/transformers/pull/16806",
"diff_url": "https://github.com/huggingface/transformers/pull/16806.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16806.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16805/comments | https://api.github.com/repos/huggingface/transformers/issues/16805/events | https://github.com/huggingface/transformers/pull/16805 | 1,206,163,915 | PR_kwDOCUB6oc42UWEv | 16,805 | run_translation.py: resize decoder based on tokenizer | {
"login": "AmitMY",
"id": 5757359,
"node_id": "MDQ6VXNlcjU3NTczNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5757359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmitMY",
"html_url": "https://github.com/AmitMY",
"followers_url": "https://api.github.com/users/AmitMY/foll... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16805). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,650 | 1,653 | 1,653 | NONE | null | # What does this PR do?
Changes the `run_translation.py` script to resize the decoder based on the tokenizer.
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16805/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16805",
"html_url": "https://github.com/huggingface/transformers/pull/16805",
"diff_url": "https://github.com/huggingface/transformers/pull/16805.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16805.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16804/comments | https://api.github.com/repos/huggingface/transformers/issues/16804/events | https://github.com/huggingface/transformers/issues/16804 | 1,205,921,088 | I_kwDOCUB6oc5H4OVA | 16,804 | Blenderbot export issue in ONNX and C++ | {
"login": "Zapotecatl",
"id": 6554457,
"node_id": "MDQ6VXNlcjY1NTQ0NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6554457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zapotecatl",
"html_url": "https://github.com/Zapotecatl",
"followers_url": "https://api.github.com/users... | [
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Migration",
"name": "Migration",
"color": "e99695",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"cc @lewtun, maybe also @michaelbenayoun and @mfuntowicz ",
"> Hi everyone, my issue is regarding blenderbot: facebook/blenderbot-400M-distill. I did the exportation with:\r\n> \r\n> `python -m transformers.onnx --model=facebook/blenderbot-400M-distill onnx/`\r\n\r\nHi @Zapotecatl , could you try to add the right... | 1,650 | 1,670 | 1,654 | NONE | null | # 📚 Migration
Hi everyone, my issue is regarding blenderbot: facebook/blenderbot-400M-distill. I did the exportation with:
`python -m transformers.onnx --model=facebook/blenderbot-400M-distill onnx/`
And I get:
```
Some weights of the model checkpoint at facebook/blenderbot-400M-distill were not used... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16804/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16804/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16803/comments | https://api.github.com/repos/huggingface/transformers/issues/16803/events | https://github.com/huggingface/transformers/issues/16803 | 1,205,863,924 | I_kwDOCUB6oc5H4AX0 | 16,803 | ValueError: too many values to unpack (expected 2) | {
"login": "maria22431",
"id": 103781441,
"node_id": "U_kgDOBi-UQQ",
"avatar_url": "https://avatars.githubusercontent.com/u/103781441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maria22431",
"html_url": "https://github.com/maria22431",
"followers_url": "https://api.github.com/users/mar... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,650 | 1,653 | 1,653 | NONE | null | hi
i tried run the code bi_LSTM for summerization but in Prediction got this Error
i cheeked all thing but i didn't understand where the problem, here the Cod:
--------------------------------------------------------------------------------------
# Encode the input sequence to get the feature vector
encoder_model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16803/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16803/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16802/comments | https://api.github.com/repos/huggingface/transformers/issues/16802/events | https://github.com/huggingface/transformers/issues/16802 | 1,205,806,888 | I_kwDOCUB6oc5H3yco | 16,802 | Add support for moving Trainer out of GPU memory | {
"login": "ClonedOne",
"id": 6853743,
"node_id": "MDQ6VXNlcjY4NTM3NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6853743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ClonedOne",
"html_url": "https://github.com/ClonedOne",
"followers_url": "https://api.github.com/users/Cl... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,650 | 1,655 | 1,655 | NONE | null | # 🚀 Feature request
Hello! I couldn't find any way of doing this, so I'm opening this issue. I'm sorry if there is already support for this and I couldn't find it.
It would be useful to have the ability to completely remove a Trainer and all associated objects (model, optimizer, etc..) out of the GPU memory with... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16802/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16801/comments | https://api.github.com/repos/huggingface/transformers/issues/16801/events | https://github.com/huggingface/transformers/pull/16801 | 1,205,590,046 | PR_kwDOCUB6oc42SqIz | 16,801 | [SegFormer, BEiT] Clean up tests | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
BEiT and SegFormer still had some code that I had to remove, as semantic segmentation models are now created in the `_prepare_for_class` method in `test_modeling_common.py` (which was added in #15991). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16801/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16801",
"html_url": "https://github.com/huggingface/transformers/pull/16801",
"diff_url": "https://github.com/huggingface/transformers/pull/16801.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16801.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16800/comments | https://api.github.com/repos/huggingface/transformers/issues/16800/events | https://github.com/huggingface/transformers/issues/16800 | 1,205,554,740 | I_kwDOCUB6oc5H2040 | 16,800 | 🐛Diverse Beam Search BUG | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey @Hannibal046, \r\n\r\nI cannot reproduce the bug, but I also don't think that we are still supporting PyTorch 1.2.0. Could you upgrade to PyTorch library to a newer version and try again?",
"Hi @patrickvonplaten ,\r\nThanks your time. I upgrade my PyTorch version, and the bug is gone."
] | 1,650 | 1,650 | 1,650 | 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! -->
2022-04-15 20:47:39.551372: I tensorflow/core/platform/cpu_feature_guard.cc:145] This TensorFlow binary is optimized with Intel(R) MKL-DNN ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16800/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16799/comments | https://api.github.com/repos/huggingface/transformers/issues/16799/events | https://github.com/huggingface/transformers/pull/16799 | 1,205,442,291 | PR_kwDOCUB6oc42SKsf | 16,799 | [ViT, BEiT, DeiT, DPT] Improve code | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
This PR cleans up some code of ViT, BEiT, DeiT and DPT.
Most importantly, it corrects the tuple outputs, in case no pooler was added (as shown by #16760).
Next to that, it cleans up the tests, by
- removing `to_2tuple`, and instead leveraging an `expected_seq_len` attribute of the `Mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16799/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16799",
"html_url": "https://github.com/huggingface/transformers/pull/16799",
"diff_url": "https://github.com/huggingface/transformers/pull/16799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16799.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16798/comments | https://api.github.com/repos/huggingface/transformers/issues/16798/events | https://github.com/huggingface/transformers/issues/16798 | 1,205,419,887 | I_kwDOCUB6oc5H2T9v | 16,798 | DataCollatorForLanguageModeling using the wrong symbol for masking | {
"login": "Charlie-83",
"id": 11279546,
"node_id": "MDQ6VXNlcjExMjc5NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/11279546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Charlie-83",
"html_url": "https://github.com/Charlie-83",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @KangarooChief ,\r\n\r\nIt's indeed the expected behavior :slightly_smiling_face: The data collator for language modeling does not only replace with a mask. You can see the logic of the `DataCollatorForLanguageModeling` here:\r\nhttps://github.com/huggingface/transformers/blob/9a24b97b7f304fa1ceaaeba0312412939... | 1,650 | 1,650 | 1,650 | NONE | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.9.7
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16798/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16797/comments | https://api.github.com/repos/huggingface/transformers/issues/16797/events | https://github.com/huggingface/transformers/pull/16797 | 1,205,380,787 | PR_kwDOCUB6oc42R9qi | 16,797 | [Image classification script] Update README.md | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,650 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Some small README improvements for the image classification script. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16797/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16797",
"html_url": "https://github.com/huggingface/transformers/pull/16797",
"diff_url": "https://github.com/huggingface/transformers/pull/16797.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16797.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16796/comments | https://api.github.com/repos/huggingface/transformers/issues/16796/events | https://github.com/huggingface/transformers/issues/16796 | 1,205,326,559 | I_kwDOCUB6oc5H19Lf | 16,796 | Small Bug: text2text_generation and text_generation result in duplicate results | {
"login": "FrankDataAnalystPython",
"id": 39264971,
"node_id": "MDQ6VXNlcjM5MjY0OTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/39264971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrankDataAnalystPython",
"html_url": "https://github.com/FrankDataAnalystPython",
"followe... | [] | closed | false | {
"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... | [
{
"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... | [
"Hey @FrankDataAnalystPython,\r\n\r\nGreat job discovering the bug :slightly_smiling_face: ! \r\nIt would be great if you could open a PR to fix it",
"@FrankDataAnalystPython \r\nThanks for the report, opened a PR for the fix ! \r\n\r\nhttps://github.com/huggingface/transformers/pull/16828",
"Dear @Narsil:\r\n ... | 1,650 | 1,650 | 1,650 | NONE | null | - `transformers` version: 4.17.0
- Platform: Darwin-20.1.0-x86_64-i386-64bit
- Python version: 3.7.2
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16796/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16796/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16795/comments | https://api.github.com/repos/huggingface/transformers/issues/16795/events | https://github.com/huggingface/transformers/issues/16795 | 1,205,288,617 | I_kwDOCUB6oc5H1z6p | 16,795 | Problem at using CLIPFeatureExtractor from transformers.models.clip.feature_extraction_clip | {
"login": "heyzude",
"id": 12981081,
"node_id": "MDQ6VXNlcjEyOTgxMDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/12981081?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/heyzude",
"html_url": "https://github.com/heyzude",
"followers_url": "https://api.github.com/users/heyzud... | [] | closed | false | null | [] | [
"Hi,\r\n\r\n> images are list of images in numpy array or some other types such as PIL or tensor\r\nclip_feature_extractor(images=images, return_tensors='pt')\r\n\r\nIf you pass a list of images, make sure they are all of the same type.",
"Yes I did passed a list of images whose images are all in same type, but t... | 1,650 | 1,663 | 1,655 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: Ubuntu
- Python version: 3.7
- PyTorch version (GPU?): 1.7.0
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16795/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16795/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16794/comments | https://api.github.com/repos/huggingface/transformers/issues/16794/events | https://github.com/huggingface/transformers/issues/16794 | 1,205,130,056 | I_kwDOCUB6oc5H1NNI | 16,794 | [Request] Add Wav2Vec support for onnx conversion | {
"login": "limapedro",
"id": 16644771,
"node_id": "MDQ6VXNlcjE2NjQ0Nzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16644771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/limapedro",
"html_url": "https://github.com/limapedro",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I believe @lewtun is working on that.",
"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/huggingfac... | 1,649 | 1,655 | 1,653 | NONE | null | Hi, I'd like to request support for Wav2Vec on the transformers-onnx library.
Thank you in advance. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16794/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16793/comments | https://api.github.com/repos/huggingface/transformers/issues/16793/events | https://github.com/huggingface/transformers/issues/16793 | 1,204,973,975 | I_kwDOCUB6oc5H0nGX | 16,793 | Quick question about efficiently initializing model parameters | {
"login": "FrederickXZhang",
"id": 44933344,
"node_id": "MDQ6VXNlcjQ0OTMzMzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/44933344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrederickXZhang",
"html_url": "https://github.com/FrederickXZhang",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,649 | 1,653 | 1,653 | NONE | null | Hi,
First of all, thanks for your great work on building such an amazing pytorch package!
I am trying to modify the [modeling_bart.py](https://github.com/huggingface/transformers/blob/v4.11.3/src/transformers/models/bart/modeling_bart.py) file, specifically [BartDecoderLayer](https://github.com/huggingface/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16793/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16792/comments | https://api.github.com/repos/huggingface/transformers/issues/16792/events | https://github.com/huggingface/transformers/pull/16792 | 1,204,948,246 | PR_kwDOCUB6oc42QlK5 | 16,792 | Add `LongT5` model | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello @patrickvonplaten and @patil-suraj. I will need to go through the code a few times again to polish it. However, as this is the very first time for me to add the new model into `transformers`, I'd like to kindly ask you if you c... | 1,649 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Fixes #16681
This PR adds `PyTorch` and `Flax` implementation of the `LongT5` model. (TensorFlow implementation is omitted for this PR as it requires another round of reviews. However, I'm willing to work on the TF side in another PR as well)
This PR adds `LongT5` model according to the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16792/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16792/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16792",
"html_url": "https://github.com/huggingface/transformers/pull/16792",
"diff_url": "https://github.com/huggingface/transformers/pull/16792.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16792.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16791/comments | https://api.github.com/repos/huggingface/transformers/issues/16791/events | https://github.com/huggingface/transformers/pull/16791 | 1,204,777,928 | PR_kwDOCUB6oc42QAyg | 16,791 | Change no_trainer scripts to force an output_dir if tracking is enabled | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,665 | 1,649 | CONTRIBUTOR | null | `TensorBoard` requires an output directory that isn't `None`, so this PR forces an `output_dir` if tracking is used in all the `no_trainer` scripts. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16791/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16791",
"html_url": "https://github.com/huggingface/transformers/pull/16791",
"diff_url": "https://github.com/huggingface/transformers/pull/16791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16791.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16790/comments | https://api.github.com/repos/huggingface/transformers/issues/16790/events | https://github.com/huggingface/transformers/issues/16790 | 1,204,738,631 | I_kwDOCUB6oc5HztpH | 16,790 | Batching does not work with any XGLM model (simple script to reproduce issue included) | {
"login": "ri938",
"id": 8639734,
"node_id": "MDQ6VXNlcjg2Mzk3MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8639734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ri938",
"html_url": "https://github.com/ri938",
"followers_url": "https://api.github.com/users/ri938/follower... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Super keen to resolve this issue and am willing to contribute if given suggestions.",
"cc @patil-suraj ",
"Hey @ri938 ! This is because the inputs are padded to right by default, but for batch generation the padding side should be left. If you set `tokenizer.padding_side = \"left\"` then it should work as expe... | 1,649 | 1,655 | 1,655 | NONE | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Linux-4.4.0-140-generic-x86_64-with-LinuxMint-18.1-serena
- Python version: 3.7.10
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): 2.3.4 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16790/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16789/comments | https://api.github.com/repos/huggingface/transformers/issues/16789/events | https://github.com/huggingface/transformers/pull/16789 | 1,204,735,595 | PR_kwDOCUB6oc42P34O | 16,789 | CI: non-remote GH Actions now use a python venv | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(cc @ydshieh )"
] | 1,649 | 1,650 | 1,650 | MEMBER | null | # What does this PR do?
This PR changes the cached python environment in non-remote GH actions to fresh virtual environments, that are rebuilt whenever `setup.py` gets updated. This ensures our test environment is closer to what a new user would see in the wild, and that we don't have package constraints due to oth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16789/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16789",
"html_url": "https://github.com/huggingface/transformers/pull/16789",
"diff_url": "https://github.com/huggingface/transformers/pull/16789.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16789.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16788/comments | https://api.github.com/repos/huggingface/transformers/issues/16788/events | https://github.com/huggingface/transformers/pull/16788 | 1,204,733,720 | PR_kwDOCUB6oc42P3ek | 16,788 | Add semantic script no trainer, v2 | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
This is a clean version of #16630. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16788/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16788",
"html_url": "https://github.com/huggingface/transformers/pull/16788",
"diff_url": "https://github.com/huggingface/transformers/pull/16788.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16788.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16787/comments | https://api.github.com/repos/huggingface/transformers/issues/16787/events | https://github.com/huggingface/transformers/issues/16787 | 1,204,706,021 | I_kwDOCUB6oc5Hzlrl | 16,787 | Special Tokens Not Working as Expected in Bert Tokenizer | {
"login": "bharathc346",
"id": 53350528,
"node_id": "MDQ6VXNlcjUzMzUwNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/53350528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bharathc346",
"html_url": "https://github.com/bharathc346",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thank you very much for sharing this issue!\r\n\r\nIt looks like you've hit on a problem in the data workflow in our slow tokenizers (which has been around for a very long time apparently :scream_cat: )!\r\n\r\n\r\nTo solve your problem, I suggest you do instead:\r\n```python\r\nfrom transformers import BertTokeni... | 1,649 | 1,653 | 1,653 | NONE | null | ## Environment info
- `transformers` version: 4.18.0
- Platform: macOS-12.0.1-arm64-arm-64bit
- Python version: 3.8.13
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16787/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16786/comments | https://api.github.com/repos/huggingface/transformers/issues/16786/events | https://github.com/huggingface/transformers/pull/16786 | 1,204,674,657 | PR_kwDOCUB6oc42PsZ6 | 16,786 | Raise error and suggestion when using custom optimizer with Fairscale or Deepspeed | {
"login": "allanj",
"id": 3351187,
"node_id": "MDQ6VXNlcjMzNTExODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3351187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/allanj",
"html_url": "https://github.com/allanj",
"followers_url": "https://api.github.com/users/allanj/foll... | [] | closed | false | null | [] | [
"I'm not really in favor of adding an argument to not save the optimizer as there is no point checkpointing if the optimizer is not saved. For the fairscale problem of OOM, there is an option that was detailed in #14542 to use ` force_broadcast_object=True` with the newest version of fairscale.",
"Oh, I just saw ... | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
1st Issues: OOM when saving the optimizer, https://github.com/huggingface/transformers/issues/14542
This issue happens in consolidating the optimizer, we add an argument `save_optimizer_state` to give an option on whether we want to save it.
2nd issue: Using a custom optimizer has a probl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16786/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/16786/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16786",
"html_url": "https://github.com/huggingface/transformers/pull/16786",
"diff_url": "https://github.com/huggingface/transformers/pull/16786.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16786.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16785/comments | https://api.github.com/repos/huggingface/transformers/issues/16785/events | https://github.com/huggingface/transformers/pull/16785 | 1,204,633,746 | PR_kwDOCUB6oc42Plub | 16,785 | [Research] Speed up evaluation for XTREME-S | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patrickvonplaten these are ready to merge now I think \r\n\r\nAlso cc @sanchit-gandhi: the fixes should make your life much easier if you decide to do a run of multilingual translation :)"
] | 1,649 | 1,651 | 1,651 | MEMBER | null | # What does this PR do?
This adds a couple of improvements to the evaluation parts of the XTREME-S script:
* fix the bug where filtering by language happened multiple times for parallel workers (redundantly)
* use `preprocess_logits_for_metrics` to transform the logits into pred_ids before concatenating them to av... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16785/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16785",
"html_url": "https://github.com/huggingface/transformers/pull/16785",
"diff_url": "https://github.com/huggingface/transformers/pull/16785.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16785.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16784/comments | https://api.github.com/repos/huggingface/transformers/issues/16784/events | https://github.com/huggingface/transformers/issues/16784 | 1,204,556,324 | I_kwDOCUB6oc5HzBIk | 16,784 | Resuming Language Model Pre-training spends too much time skipping data | {
"login": "murthyrudra",
"id": 14203368,
"node_id": "MDQ6VXNlcjE0MjAzMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/14203368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/murthyrudra",
"html_url": "https://github.com/murthyrudra",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello! Could you please provide information on your environment, on the script used, etc? Thanks.",
"Hi, Thanks for the reply.\r\nPlease find the details\r\n\r\n- `transformers` version: 4.18.0\r\n- Platform: Red Hat Enterprise Linux release 8.5 (Ootpa)\r\n- Python version: 3.8.11\r\n- PyTorch version (GPU?): 1... | 1,649 | 1,653 | 1,653 | NONE | null | # 🚀 Feature request
Speed-up data skipping process when resuming from a checkpoint
## Motivation
Hi, currently resuming a language model pre-training from a checkpoint spends too much time skipping data.
<img width="1641" alt="Screenshot 2022-04-13 at 1 51 58 PM" src="https://user-images.githubusercontent.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16784/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16783/comments | https://api.github.com/repos/huggingface/transformers/issues/16783/events | https://github.com/huggingface/transformers/pull/16783 | 1,204,538,167 | PR_kwDOCUB6oc42PRgj | 16,783 | Fix nightly CI Accelerate failures | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
},
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2M... | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16783). All of your documentation changes will be reflected on that endpoint."
] | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null | # Fix Nightly CI Build failures for Accelerate examples
## What does this add?
Changes the `run_examples_torch_all` CircleCI workflow to also install Accelerate from git for the time being, until the next release is performed.
The CI was failing due to accelerate being tested with unreleased fixes and improvements | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16783/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16783",
"html_url": "https://github.com/huggingface/transformers/pull/16783",
"diff_url": "https://github.com/huggingface/transformers/pull/16783.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16783.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16782/comments | https://api.github.com/repos/huggingface/transformers/issues/16782/events | https://github.com/huggingface/transformers/pull/16782 | 1,204,469,759 | PR_kwDOCUB6oc42PC8S | 16,782 | add wav2vec2_alignment | {
"login": "arijitx",
"id": 6756124,
"node_id": "MDQ6VXNlcjY3NTYxMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6756124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arijitx",
"html_url": "https://github.com/arijitx",
"followers_url": "https://api.github.com/users/arijitx/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @patrickvonplaten can you please review this PR ?",
"> \r\n\r\n\r\n\r\n> This looks very nice already! Great job :-)\r\n> \r\n> Could we maybe also add a README.md that gives an example on how to use it?\r\n\r\nThanks @patrickvo... | 1,649 | 1,689 | 1,664 | CONTRIBUTOR | null |
# What does this PR do?
Generate character level alignment with wav2vec2 models for audio and text pairs.
https://github.com/huggingface/transformers/issues/16570
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16782/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16782",
"html_url": "https://github.com/huggingface/transformers/pull/16782",
"diff_url": "https://github.com/huggingface/transformers/pull/16782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16781/comments | https://api.github.com/repos/huggingface/transformers/issues/16781/events | https://github.com/huggingface/transformers/pull/16781 | 1,204,461,627 | PR_kwDOCUB6oc42PBL0 | 16,781 | wav2vec2_alignment | {
"login": "arijitx",
"id": 6756124,
"node_id": "MDQ6VXNlcjY3NTYxMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6756124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arijitx",
"html_url": "https://github.com/arijitx",
"followers_url": "https://api.github.com/users/arijitx/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16781). All of your documentation changes will be reflected on that endpoint.",
"<del>Hey @arijitx </del>\r\n\r\n<del>The PR looked good! :-) Feel free to open it again if you want</del>\r\n\r\nSuperseded by https://github.... | 1,649 | 1,649 | 1,649 | CONTRIBUTOR | null |
# What does this PR do?
Generate character level alignment with wav2vec2 models for audio and text pairs.
https://github.com/huggingface/transformers/issues/16570
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16781/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16781",
"html_url": "https://github.com/huggingface/transformers/pull/16781",
"diff_url": "https://github.com/huggingface/transformers/pull/16781.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16781.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16780/comments | https://api.github.com/repos/huggingface/transformers/issues/16780/events | https://github.com/huggingface/transformers/pull/16780 | 1,204,429,677 | PR_kwDOCUB6oc42O6bz | 16,780 | Fix GPT-J onnx conversion | {
"login": "chainyo",
"id": 50595514,
"node_id": "MDQ6VXNlcjUwNTk1NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/50595514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chainyo",
"html_url": "https://github.com/chainyo",
"followers_url": "https://api.github.com/users/chainy... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Fine I'm going to accept @lewtun 's suggestion. :hugs: \r\n\r\nI see there are some failing checks, and I also see that there are problems with linting is it normal ?",
"The `run_tests_torch_and_tf` failure is unrelated, to fix th... | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Fix some problems encountered while converting a GPT-J model to Onnx.
Thanks to @ri938 who found where to fix bugs (on 🤗 Discord).
Models:
gpt2: @patrickvonplaten, @LysandreJik
and @lewtun because you reviewed the first PR for GPT-J Onnx Config, here #16274
I'm currently uploading a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16780/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/16780/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16780",
"html_url": "https://github.com/huggingface/transformers/pull/16780",
"diff_url": "https://github.com/huggingface/transformers/pull/16780.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16780.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16779/comments | https://api.github.com/repos/huggingface/transformers/issues/16779/events | https://github.com/huggingface/transformers/issues/16779 | 1,204,426,845 | I_kwDOCUB6oc5Hyhhd | 16,779 | Why do we need to expand the token_type_ids? | {
"login": "CaoYiwei",
"id": 26463693,
"node_id": "MDQ6VXNlcjI2NDYzNjkz",
"avatar_url": "https://avatars.githubusercontent.com/u/26463693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaoYiwei",
"html_url": "https://github.com/CaoYiwei",
"followers_url": "https://api.github.com/users/Cao... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,649 | 1,653 | 1,653 | NONE | null | in modeling_bert.py, foward function of bertembeddings, line224, we can just write like this:
```python
if token_type_ids is None:
if hasattr(self, "token_type_ids"):
token_type_ids = self.token_type_ids[:, :seq_length]
else:
token_type_ids = torch.z... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16779/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16778/comments | https://api.github.com/repos/huggingface/transformers/issues/16778/events | https://github.com/huggingface/transformers/pull/16778 | 1,204,377,553 | PR_kwDOCUB6oc42OvOG | 16,778 | Long QuestionAnsweringPipeline fix. | {
"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 | [] | [
"@LysandreJik This is not fully ready yet as the test does not really check that the bug is fixed. Do you have any ideas on how to check that behavior ? (Previous code was just silently not doing anything since the np.arrays are an array of `np.list(..)` in the splitted case.)\r\n\r\nEdit: It's not covered by a sl... | 1,649 | 1,650 | 1,650 | 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 with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16778/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16778/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16778",
"html_url": "https://github.com/huggingface/transformers/pull/16778",
"diff_url": "https://github.com/huggingface/transformers/pull/16778.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16778.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16777/comments | https://api.github.com/repos/huggingface/transformers/issues/16777/events | https://github.com/huggingface/transformers/issues/16777 | 1,204,256,751 | I_kwDOCUB6oc5Hx3_v | 16,777 | Question about google/bigbird-pegasus-large-pubmed | {
"login": "tetsu9923",
"id": 50471234,
"node_id": "MDQ6VXNlcjUwNDcxMjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/50471234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tetsu9923",
"html_url": "https://github.com/tetsu9923",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"From the model card:\r\n\r\n> This checkpoint is obtained after fine-tuning BigBirdPegasusForConditionalGeneration for summarization on pubmed dataset from [scientific_papers](https://huggingface.co/datasets/scientific_papers)[](https://huggingface.co/google/bigbird-pegasus-large-pubmed#bibtex-entry-and-citation-i... | 1,649 | 1,649 | 1,649 | NONE | null | Hi, I have a question about the BigBird seq2seq model [google/bigbird-pegasus-large-pubmed](https://huggingface.co/google/bigbird-pegasus-large-pubmed).
How was this model trained?
Was it pretrained with just word-level or sentence-level masking?
Or was it further fine-tuned by the summarization task?
Thank you. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16777/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16776/comments | https://api.github.com/repos/huggingface/transformers/issues/16776/events | https://github.com/huggingface/transformers/issues/16776 | 1,204,256,327 | I_kwDOCUB6oc5Hx35H | 16,776 | How to set different LOCAL_RANK env variable values for multiple GPUs of a single node machine with Accelerate | {
"login": "chris-opendata",
"id": 33976903,
"node_id": "MDQ6VXNlcjMzOTc2OTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/33976903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chris-opendata",
"html_url": "https://github.com/chris-opendata",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi, \r\n\r\nSame problem here, did you find any solution to this problem? @chris-opendata ",
"Here is the solution:\r\n\r\n1. Activate your venv environment.\r\n2. Install accelerate package.\r\n3. Type \"accelerate config\" at terminal to go through multigpu configuration.\r\n4. In your running bash script, use... | 1,649 | 1,663 | 1,650 | NONE | null | This is more of a question than a bug report.
I am adopting the script with Accelerate from https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py.
I intend to parallel on two gpus of a single machine, one on GPU 0 and the other on GPU 1. As I notic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16776/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16775/comments | https://api.github.com/repos/huggingface/transformers/issues/16775/events | https://github.com/huggingface/transformers/issues/16775 | 1,204,071,535 | I_kwDOCUB6oc5HxKxv | 16,775 | How to initialize BigBird Encoder-Decoder model with weights of full_attention Transformer Encoder model like BERT | {
"login": "tetsu9923",
"id": 50471234,
"node_id": "MDQ6VXNlcjUwNDcxMjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/50471234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tetsu9923",
"html_url": "https://github.com/tetsu9923",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,649 | 1,653 | 1,653 | NONE | null | Hi, I am trying to train summarization model with [run_summarization.py](https://github.com/huggingface/transformers/blob/main/examples/pytorch/summarization/run_summarization.py).
As a starting point, I want to initialize BigBird Encoder-Decoder model with weights of full_attention Transformer Encoder model (e.g. BER... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16775/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16775/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16774/comments | https://api.github.com/repos/huggingface/transformers/issues/16774/events | https://github.com/huggingface/transformers/pull/16774 | 1,203,970,433 | PR_kwDOCUB6oc42Ng_z | 16,774 | Add doc tests for Albert and Bigbird | {
"login": "vumichien",
"id": 31467068,
"node_id": "MDQ6VXNlcjMxNDY3MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/31467068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vumichien",
"html_url": "https://github.com/vumichien",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@ydshieh Could you please take a look at it? I think we still have a problem with `AlbertTokenizer ` as we have discussed on the Discord channel `the AlbertTokenizer will add an extra \"_\" just after the \"[MASK]\" token` which will lead to the different shape between `input_text` and `target_text`. This is the c... | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Add doc tests for Albert and Bigbird, a part of issue https://github.com/huggingface/transformers/issues/16292
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16774/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16774",
"html_url": "https://github.com/huggingface/transformers/pull/16774",
"diff_url": "https://github.com/huggingface/transformers/pull/16774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16774.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16773/comments | https://api.github.com/repos/huggingface/transformers/issues/16773/events | https://github.com/huggingface/transformers/issues/16773 | 1,203,882,589 | I_kwDOCUB6oc5Hwcpd | 16,773 | loading roberta from local file | {
"login": "Rababalkhalifa",
"id": 24195074,
"node_id": "MDQ6VXNlcjI0MTk1MDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/24195074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rababalkhalifa",
"html_url": "https://github.com/Rababalkhalifa",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"You're loading RoBERTa in a `TFBertModel`, you should load it in a `TFRobertaModel`!"
] | 1,649 | 1,649 | 1,649 | NONE | null | I get this message: ```
Some weights of the PyTorch model were not used when initializing the TF 2.0 model TFBertModel: [ -['roberta.encoder.layer.9.attention.self.value.bias', 'lm_head.layer_norm.bias', 'roberta.encoder.layer.4.attention.self.value.weight', 'roberta.encoder.layer.9.attention.self.value.weight', 'robe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16772/comments | https://api.github.com/repos/huggingface/transformers/issues/16772/events | https://github.com/huggingface/transformers/pull/16772 | 1,203,841,208 | PR_kwDOCUB6oc42NGUq | 16,772 | Refactor issues with yaml | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks!\r\n\r\nFor the new bug report screenshot, looks like the section Who can help is not editable?\r\n\r\nThe new layout looks good! I would like to have a section 'Code Snippet' if it is not in the new layout yet. 🙂 (Haven't re... | 1,649 | 1,650 | 1,650 | MEMBER | null | This PR:
- Refactors the issue templates using the newly introduced YAML issues.
- Introduces a `config.yml` for issues which enables a redirect to the forum
- Removes the benchmarking issue which has not been used at all and introduces noise in the issue selection process. With its removal, I'm aiming for a lower n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16772/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/16772/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16772",
"html_url": "https://github.com/huggingface/transformers/pull/16772",
"diff_url": "https://github.com/huggingface/transformers/pull/16772.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16772.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16771/comments | https://api.github.com/repos/huggingface/transformers/issues/16771/events | https://github.com/huggingface/transformers/pull/16771 | 1,203,798,906 | PR_kwDOCUB6oc42M9RU | 16,771 | Some tests misusing assertTrue for comparisons fix | {
"login": "code-review-doctor",
"id": 72647856,
"node_id": "MDQ6VXNlcjcyNjQ3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/72647856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/code-review-doctor",
"html_url": "https://github.com/code-review-doctor",
"followers_url": "ht... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"tests are failing now because the comparisons are actually being performed by the tests. Before the tests were just checking if the first argument was truthy, because that's what `assertTrue` does.\r\n\r\nI'm just a static analysis b... | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | Fixes #16770 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16771",
"html_url": "https://github.com/huggingface/transformers/pull/16771",
"diff_url": "https://github.com/huggingface/transformers/pull/16771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16770/comments | https://api.github.com/repos/huggingface/transformers/issues/16770/events | https://github.com/huggingface/transformers/issues/16770 | 1,203,797,862 | I_kwDOCUB6oc5HwH9m | 16,770 | Some tests misusing assertTrue for comparisons | {
"login": "code-review-doctor",
"id": 72647856,
"node_id": "MDQ6VXNlcjcyNjQ3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/72647856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/code-review-doctor",
"html_url": "https://github.com/code-review-doctor",
"followers_url": "ht... | [] | closed | false | null | [] | [] | 1,649 | 1,650 | 1,650 | CONTRIBUTOR | null | `assertTrue` is not for comparing arguments, should use `assertEqual` for that.
The developer's intent of the test was to compare argument 1 with argument 2, which is not happening. Really what is happening is the test is passing because first argument is truthy. The correct method to use is `assertEqual`
https://git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16770/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.