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/11944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11944/comments | https://api.github.com/repos/huggingface/transformers/issues/11944/events | https://github.com/huggingface/transformers/issues/11944 | 906,670,948 | MDU6SXNzdWU5MDY2NzA5NDg= | 11,944 | wandb integration gags during hyperparameter search | {
"login": "Mindful",
"id": 2897172,
"node_id": "MDQ6VXNlcjI4OTcxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2897172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mindful",
"html_url": "https://github.com/Mindful",
"followers_url": "https://api.github.com/users/Mindful/... | [] | closed | false | null | [] | [
"Maybe of interest to @borisdayma ",
"Just ran into the same problem.\r\nThanks for opening this issue."
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Environment info
- transformers version: 4.6.1
- Platform: Linux-4.19.0-16-cloud-amd64-x86_64-with-glibc2.10
- Python version: 3.8.10
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11944/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11943/comments | https://api.github.com/repos/huggingface/transformers/issues/11943/events | https://github.com/huggingface/transformers/issues/11943 | 906,669,544 | MDU6SXNzdWU5MDY2Njk1NDQ= | 11,943 | RuntimeError: CUDA error: device-side assert triggered | {
"login": "gandharvsuri",
"id": 31670690,
"node_id": "MDQ6VXNlcjMxNjcwNjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/31670690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gandharvsuri",
"html_url": "https://github.com/gandharvsuri",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@patil-suraj ",
"Hey @gandharvsuri,\r\n\r\nRunning your (slighly adapted) code example does not give me any errors. \r\n\r\nAlso, please don't ping more people if you don't receive an answer within a day (no need to also ping @patil-suraj). We try to answer all issues and to do so efficiently, it is not helpful ... | 1,622 | 1,702 | 1,622 | 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.6.1
- Platform: Google Colab
- Python version: 3.7
- PyTorch version (GPU?): 1.8.1+cu101
- Using GPU in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11943/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11942/comments | https://api.github.com/repos/huggingface/transformers/issues/11942/events | https://github.com/huggingface/transformers/issues/11942 | 906,665,301 | MDU6SXNzdWU5MDY2NjUzMDE= | 11,942 | Typo in Pegasus model usage example | {
"login": "albertovilla",
"id": 1217687,
"node_id": "MDQ6VXNlcjEyMTc2ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217687?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertovilla",
"html_url": "https://github.com/albertovilla",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Thanks for flagging this! Would you mind sending a PR with the fix since you found it?",
"Hi @sgugger, I have just created a PR. \r\nKind regards",
"Thanks!\r\nClosed by #11979 "
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: Linux-5.4.109+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- PyTorch version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11942/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11941/comments | https://api.github.com/repos/huggingface/transformers/issues/11941/events | https://github.com/huggingface/transformers/issues/11941 | 906,608,505 | MDU6SXNzdWU5MDY2MDg1MDU= | 11,941 | position_ids version changed during training | {
"login": "Gforky",
"id": 4157614,
"node_id": "MDQ6VXNlcjQxNTc2MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4157614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gforky",
"html_url": "https://github.com/Gforky",
"followers_url": "https://api.github.com/users/Gforky/foll... | [] | closed | false | null | [] | [
"Hello! Do you have a reproducible code example? Did you use the text-classification examples given in this repo?",
"> Hello! Do you have a reproducible code example? Did you use the text-classification examples given in this repo?\r\n\r\nHi, thanks for your reply. Since it's a private project, I cannot provide y... | 1,622 | 1,625 | 1,625 | 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.5.1
- Platform: linux
- Python version: 3.6.9
- PyTorch version (GPU?): yes
- Tensorflow version (GPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11941/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11940/comments | https://api.github.com/repos/huggingface/transformers/issues/11940/events | https://github.com/huggingface/transformers/pull/11940 | 906,607,224 | MDExOlB1bGxSZXF1ZXN0NjU3NTc0NTEx | 11,940 | [deepspeed] docs | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | This PR:
* documents `train_batch_size` and `train_micro_batch_size_per_gpu` DS config entries
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11940",
"html_url": "https://github.com/huggingface/transformers/pull/11940",
"diff_url": "https://github.com/huggingface/transformers/pull/11940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11940.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11939/comments | https://api.github.com/repos/huggingface/transformers/issues/11939/events | https://github.com/huggingface/transformers/issues/11939 | 906,528,561 | MDU6SXNzdWU5MDY1Mjg1NjE= | 11,939 | XLM tokenizer lang2id attribute is None | {
"login": "Quang-Vinh",
"id": 22286515,
"node_id": "MDQ6VXNlcjIyMjg2NTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/22286515?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Quang-Vinh",
"html_url": "https://github.com/Quang-Vinh",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"FYI, I tried downgrading and I found that the most recent version that doesn't have this bug is `transformers==4.3.3`. So you could try downgrading to that version for now, until someone fixes it.\r\n\r\n```\r\npip install transformers==4.3.3\r\n```",
"Thanks for the advice! So far I have just been manually spec... | 1,622 | 1,628 | 1,628 | 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.5.1
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.8
- PyTorch version (GPU?): 1.8.1+cpu (Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11939/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/11939/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11938/comments | https://api.github.com/repos/huggingface/transformers/issues/11938/events | https://github.com/huggingface/transformers/issues/11938 | 906,507,527 | MDU6SXNzdWU5MDY1MDc1Mjc= | 11,938 | [docs] XLNETModel forward returns last_hidden_state 3rd dim should be d_model instead of hidden_size | {
"login": "Muktan",
"id": 31338369,
"node_id": "MDQ6VXNlcjMxMzM4MzY5",
"avatar_url": "https://avatars.githubusercontent.com/u/31338369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muktan",
"html_url": "https://github.com/Muktan",
"followers_url": "https://api.github.com/users/Muktan/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nActually, `hidden_size` is an alias for `d_model`, as can be seen [here](https://github.com/huggingface/transformers/blob/7e73601f3240b99d952c34b63bf4f8b78ca1462d/src/transformers/models/xlnet/configuration_xlnet.py#L233).\r\n\r\nThey mean the same thing. But I get your confusion, as some models use `hi... | 1,622 | 1,625 | 1,625 | CONTRIBUTOR | null | **Link to doc** - https://huggingface.co/transformers/model_doc/xlnet.html#xlnetmodel
**Problem description** - forward method of XLNETModel returns `last_hidden_state` with dimension `(batch_size, num_predict, hidden_size)`. However, `hidden_size` is not an XLNET config (unlike for BERT) instead that dimension shou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11938/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11937/comments | https://api.github.com/repos/huggingface/transformers/issues/11937/events | https://github.com/huggingface/transformers/pull/11937 | 906,425,893 | MDExOlB1bGxSZXF1ZXN0NjU3NDMzMzcz | 11,937 | Neptune.ai integration | {
"login": "vbyno",
"id": 2923624,
"node_id": "MDQ6VXNlcjI5MjM2MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2923624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vbyno",
"html_url": "https://github.com/vbyno",
"followers_url": "https://api.github.com/users/vbyno/follower... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
The PR integrates the trainer with [neptune.ai](https://neptune.ai/)
To start with neptune.ai logging:
1) Set env variables:
NEPTUNE_PROJECT
NEPTUNE_API_TOKEN
2) Add an option that turns on Neptune logging
```
--report_to 'neptune'
```
# Who can review?
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11937/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11937",
"html_url": "https://github.com/huggingface/transformers/pull/11937",
"diff_url": "https://github.com/huggingface/transformers/pull/11937.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11937.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11936/comments | https://api.github.com/repos/huggingface/transformers/issues/11936/events | https://github.com/huggingface/transformers/issues/11936 | 906,424,786 | MDU6SXNzdWU5MDY0MjQ3ODY= | 11,936 | Flax text-classification multi-optimizer incorrect | {
"login": "n2cholas",
"id": 12474257,
"node_id": "MDQ6VXNlcjEyNDc0MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/12474257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n2cholas",
"html_url": "https://github.com/n2cholas",
"followers_url": "https://api.github.com/users/n2c... | [] | closed | false | null | [] | [
"Actually `optax.adamw` can take a `mask` directly to mask weight decay (since that's pretty common):\r\n\r\n```py\r\ntx = optax.adamw(learning_rate=learning_rate_fn, b1=0.9, b2=0.999, eps=1e-6, weight_decay=weight_decay, \r\n mask=partial(jax.tree_map, lambda p: p.ndim != 1))\r\n```",
"Hey @n2cho... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | The below code is incorrect:
https://github.com/huggingface/transformers/blob/8d171628fe84bdf92ee40b5375d7265278180f14/examples/flax/text-classification/run_flax_glue.py#L173-L188
- The `dict` from `traverse_util.flatten_dict` has keys which are tuples of strings, not one long string with the path separated by pe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11936/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11936/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11935/comments | https://api.github.com/repos/huggingface/transformers/issues/11935/events | https://github.com/huggingface/transformers/pull/11935 | 906,408,144 | MDExOlB1bGxSZXF1ZXN0NjU3NDIwMDg0 | 11,935 | Use `self.assertEqual` instead of `assert` in deberta v2 test. | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | PR to fix #11929 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11935/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11935",
"html_url": "https://github.com/huggingface/transformers/pull/11935",
"diff_url": "https://github.com/huggingface/transformers/pull/11935.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11935.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11934/comments | https://api.github.com/repos/huggingface/transformers/issues/11934/events | https://github.com/huggingface/transformers/issues/11934 | 906,402,013 | MDU6SXNzdWU5MDY0MDIwMTM= | 11,934 | Predict masked word at the beginning of the sentence | {
"login": "lalchand-pandia",
"id": 20551584,
"node_id": "MDQ6VXNlcjIwNTUxNTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/20551584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lalchand-pandia",
"html_url": "https://github.com/lalchand-pandia",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"The special characters mean that these words are preceded by a space. This is not the case when the words are the start of sentences!",
"So, if I insert a space at the beginning of the sentence before [MASK], I should words beginning with special character or the tokenizer removes those extra spaces at the begin... | 1,622 | 1,625 | 1,625 | NONE | null | Case 1: I have a sentence "After the campaign finance laws changed, Albert ran for mayor of his city." which I have modified as
\<s\> \<mask\> the campaign finance laws changed, he ran for mayor of his city. \</s\>.
This input is passed through pre-trained RobertaBase and RobertaLarge (RobertaTokenizer, RobertaForM... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11934/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11933/comments | https://api.github.com/repos/huggingface/transformers/issues/11933/events | https://github.com/huggingface/transformers/pull/11933 | 906,375,786 | MDExOlB1bGxSZXF1ZXN0NjU3MzkxNTYw | 11,933 | Porting Layoutlmv2 to Huggingface | {
"login": "monuminu",
"id": 33065876,
"node_id": "MDQ6VXNlcjMzMDY1ODc2",
"avatar_url": "https://avatars.githubusercontent.com/u/33065876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monuminu",
"html_url": "https://github.com/monuminu",
"followers_url": "https://api.github.com/users/mon... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,625 | 1,625 | 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/11933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11933",
"html_url": "https://github.com/huggingface/transformers/pull/11933",
"diff_url": "https://github.com/huggingface/transformers/pull/11933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11933.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11932/comments | https://api.github.com/repos/huggingface/transformers/issues/11932/events | https://github.com/huggingface/transformers/issues/11932 | 906,371,108 | MDU6SXNzdWU5MDYzNzExMDg= | 11,932 | LayoutLMv2 Model | {
"login": "monuminu",
"id": 33065876,
"node_id": "MDQ6VXNlcjMzMDY1ODc2",
"avatar_url": "https://avatars.githubusercontent.com/u/33065876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monuminu",
"html_url": "https://github.com/monuminu",
"followers_url": "https://api.github.com/users/mon... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"What's the current status of this?\r\nI see Microsoft has already pushed the code as mentioned above for this but i can't import it from huggingface.",
"I have completed the work but there is a problem with installing detectron2 using pip . Anyone can help on this ?",
"Can you tell me the issue with installing... | 1,622 | 1,630 | 1,630 | NONE | null | # 🌟 New model addition
## Model description
LayoutLMv2 by pre-training text, layout and image in a multi-modal framework, where new model architectures and pre-training tasks are leveraged. Specifically, LayoutLMv2 not only uses the existing masked visual-language modeling task but also the new text-image alignm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11932/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11931/comments | https://api.github.com/repos/huggingface/transformers/issues/11931/events | https://github.com/huggingface/transformers/issues/11931 | 906,296,874 | MDU6SXNzdWU5MDYyOTY4NzQ= | 11,931 | How to load the best performance checkpoint after training? | {
"login": "Gpwner",
"id": 19349207,
"node_id": "MDQ6VXNlcjE5MzQ5MjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/19349207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gpwner",
"html_url": "https://github.com/Gpwner",
"followers_url": "https://api.github.com/users/Gpwner/fo... | [] | closed | false | null | [] | [
"Could you give us the whole command you executed? We can't reproduce the problem without it.",
"@sgugger Here is my whole command:\r\n`python run_mlm.py --model_name_or_path model/roberta-base --do_train --do_eval --output_dir mlm_new --max_seq_length 128 --load_best_model_at_end True --save_steps 2000 --overwr... | 1,622 | 1,625 | 1,625 | NONE | null | When I was training MLM with `https://github.com/huggingface/transformers/blob/master/examples/pytorch/language-modeling/run_mlm.py`
, I have already set the `--load_best_model_at_end True`.But when finish the training,I check the trainer_state.json file and I found these mssage:
```
"best_metric": null,
"best... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11931/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/11931/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11930/comments | https://api.github.com/repos/huggingface/transformers/issues/11930/events | https://github.com/huggingface/transformers/issues/11930 | 905,876,078 | MDU6SXNzdWU5MDU4NzYwNzg= | 11,930 | Ray pickling issue when running hp search | {
"login": "mvacaporale",
"id": 20452655,
"node_id": "MDQ6VXNlcjIwNDUyNjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/20452655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mvacaporale",
"html_url": "https://github.com/mvacaporale",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Same error as this: https://github.com/huggingface/transformers/issues/11249. We are currently looking into this. In the meantime, can you use an earlier version as you suggested? Thanks.",
"Will do. Didn't see that other issue there. Thanks for the help. "
] | 1,622 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Platform: Amazon Linux 2
- Python version: 3.7.7
- PyTorch version (GPU?): 1.8.1
- Tensorflow version (GPU?): 2.0.0
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
Trainer / Ray
@sgugger, @richardliaw... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11930/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11929/comments | https://api.github.com/repos/huggingface/transformers/issues/11929/events | https://github.com/huggingface/transformers/issues/11929 | 905,689,215 | MDU6SXNzdWU5MDU2ODkyMTU= | 11,929 | Use `self.assertEqual` instead of `assert` in tests. | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"> I can provide a PR...\r\n\r\nsee #11935"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | IMO the test should use `self.assertEqual` instead of `assert` here:
https://github.com/huggingface/transformers/blob/8d171628fe84bdf92ee40b5375d7265278180f14/tests/test_tokenization_deberta_v2.py#L105-L106
I can provide a PR... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11929/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11928/comments | https://api.github.com/repos/huggingface/transformers/issues/11928/events | https://github.com/huggingface/transformers/pull/11928 | 905,500,423 | MDExOlB1bGxSZXF1ZXN0NjU2NTc0NzM1 | 11,928 | [Flax][WIP] Speed up pretraining | {
"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 whole random masking can be done before each training loop to speed things up -> would be an interesting experiment",
"Ok this gives no speed-up actually -> closing"
] | 1,622 | 1,622 | 1,622 | 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/11928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11928/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11928",
"html_url": "https://github.com/huggingface/transformers/pull/11928",
"diff_url": "https://github.com/huggingface/transformers/pull/11928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11927/comments | https://api.github.com/repos/huggingface/transformers/issues/11927/events | https://github.com/huggingface/transformers/pull/11927 | 905,475,585 | MDExOlB1bGxSZXF1ZXN0NjU2NTUxNzM5 | 11,927 | add relevant description to tqdm in examples | {
"login": "bhavitvyamalik",
"id": 19718818,
"node_id": "MDQ6VXNlcjE5NzE4ODE4",
"avatar_url": "https://avatars.githubusercontent.com/u/19718818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhavitvyamalik",
"html_url": "https://github.com/bhavitvyamalik",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"> I was also thinking we should have `check_min_version` for `datasets` as well as this won't work in dataset versions prior to 1.7.0.\r\n\r\nThat and also we need to make sure that the CI runs 1.7.0. So probably just bumping the required min version project-wide will resolve this at once.",
"@stas00, Datasets 1... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Fixes #11797. Added description to `dataset.map` to improve tqdm bars. This would tell the user what's being processed. As of now I've only targeted `text-classification`, please let me know if it looks good or if any changes are required so that I can update the rest of them as well.
I was ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11927/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11927",
"html_url": "https://github.com/huggingface/transformers/pull/11927",
"diff_url": "https://github.com/huggingface/transformers/pull/11927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11927.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11926/comments | https://api.github.com/repos/huggingface/transformers/issues/11926/events | https://github.com/huggingface/transformers/issues/11926 | 905,394,534 | MDU6SXNzdWU5MDUzOTQ1MzQ= | 11,926 | Modifying the distill bert architecture | {
"login": "IamSparky",
"id": 42636586,
"node_id": "MDQ6VXNlcjQyNjM2NTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42636586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IamSparky",
"html_url": "https://github.com/IamSparky",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"If you look at the [documentation of `DistilBertModel`](https://huggingface.co/transformers/model_doc/distilbert.html#distilbertmodel), you can see it doesn't use token_type_ids.",
"> If you look at the [documentation of `DistilBertModel`](https://huggingface.co/transformers/model_doc/distilbert.html#distilbertm... | 1,622 | 1,622 | 1,622 | NONE | null | Currently getting the following error while running the distillbert model :
**TypeError: forward() got an unexpected keyword argument 'token_type_ids'**
I constructed the model as follows:
```
class Distill_BERTBaseUncased(nn.Module):
def __init__(self):
super(Distill_BERTBaseUncased, self).__ini... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11926/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11925/comments | https://api.github.com/repos/huggingface/transformers/issues/11925/events | https://github.com/huggingface/transformers/issues/11925 | 905,286,464 | MDU6SXNzdWU5MDUyODY0NjQ= | 11,925 | BERT pretraining: [SEP] vs. Segment Embeddings? | {
"login": "velixo",
"id": 7550072,
"node_id": "MDQ6VXNlcjc1NTAwNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7550072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/velixo",
"html_url": "https://github.com/velixo",
"followers_url": "https://api.github.com/users/velixo/foll... | [] | closed | false | null | [] | [
"From the BERT paper: \"We differentiate the sentences in two ways. First, we separate them with a special token ([SEP]). Second, we add a learned embedding to every token indicating whether it belongs to sentence A or sentence B.\"\r\n\r\nDeep learning, as you may now, is a lot of experimenting, and in this case, ... | 1,622 | 1,625 | 1,625 | NONE | null | I’m confused about the differences between the intent of the [SEP] tokens and Segment Embeddings applied to the input of BERT during pretraining.
As far as I’ve understood, the [SEP] tokens are inserted between sentence A and B to enable the model’s ability to distinguish between the two sentences for BERTs Next-Sen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11925/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11925/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11924/comments | https://api.github.com/repos/huggingface/transformers/issues/11924/events | https://github.com/huggingface/transformers/pull/11924 | 905,258,694 | MDExOlB1bGxSZXF1ZXN0NjU2MzUwMjI5 | 11,924 | Test optuna and ray | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | MEMBER | null | Run the slow tests for optuna and ray
cc @richardliaw @amogkam | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11924/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11924",
"html_url": "https://github.com/huggingface/transformers/pull/11924",
"diff_url": "https://github.com/huggingface/transformers/pull/11924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11924.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11923/comments | https://api.github.com/repos/huggingface/transformers/issues/11923/events | https://github.com/huggingface/transformers/issues/11923 | 905,213,762 | MDU6SXNzdWU5MDUyMTM3NjI= | 11,923 | Trainer.predict using customized model.predict function? | {
"login": "iamlockelightning",
"id": 12706469,
"node_id": "MDQ6VXNlcjEyNzA2NDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/12706469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamlockelightning",
"html_url": "https://github.com/iamlockelightning",
"followers_url": "https... | [] | closed | false | null | [] | [
"Cant you just subclass the Trainer class and write your own `predict`?",
"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 guidelin... | 1,622 | 1,625 | 1,625 | CONTRIBUTOR | null | I am using the [Trainer](https://huggingface.co/transformers/main_classes/trainer.html) to train a sentence-bert model with triplet-loss. Then I want to do some inference. How to call Trainer.predict using custom model.predict function?
I use `model.forward()` to calculate loss in training stage. But I want to use a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11923/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11922/comments | https://api.github.com/repos/huggingface/transformers/issues/11922/events | https://github.com/huggingface/transformers/pull/11922 | 905,074,062 | MDExOlB1bGxSZXF1ZXN0NjU2MTc3Njc0 | 11,922 | get_ordinal(local=True) replaced with get_local_ordinal() in training_args.py | {
"login": "BassaniRiccardo",
"id": 48254418,
"node_id": "MDQ6VXNlcjQ4MjU0NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/48254418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BassaniRiccardo",
"html_url": "https://github.com/BassaniRiccardo",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Thanks a lot!"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Fixed
Wrong method call fixed. Modified according to:
https://pytorch.org/xla/release/1.8.1/_modules/torch_xla/core/xla_model.html
TPU training as called by the following or similar scripts now works:
```ruby
python xla_spawn.py \
--num_cores=8 \
language-modeling/run_mlm.py \
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11922/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11922",
"html_url": "https://github.com/huggingface/transformers/pull/11922",
"diff_url": "https://github.com/huggingface/transformers/pull/11922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11921/comments | https://api.github.com/repos/huggingface/transformers/issues/11921/events | https://github.com/huggingface/transformers/issues/11921 | 904,950,309 | MDU6SXNzdWU5MDQ5NTAzMDk= | 11,921 | ProphetNetForConditionalGeneration model isn't returning all objects properly | {
"login": "pranonrahman",
"id": 37942208,
"node_id": "MDQ6VXNlcjM3OTQyMjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/37942208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pranonrahman",
"html_url": "https://github.com/pranonrahman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"What are all the objects you expect to get? The `loss` is only returned if you pass the labels to the model - otherwise it cannot compute any loss. Please check out the [return statement of ProphetNetForConditionalGeneration's forward method for more information](https://huggingface.co/transformers/model_doc/proph... | 1,622 | 1,622 | 1,622 | 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.6.1
- Platform: Google Colab
- Python version:
- PyTorch version (GPU?): GPU
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11921/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11920/comments | https://api.github.com/repos/huggingface/transformers/issues/11920/events | https://github.com/huggingface/transformers/pull/11920 | 904,857,318 | MDExOlB1bGxSZXF1ZXN0NjU1OTc4Nzc5 | 11,920 | Remove redundant `nn.log_softmax` in `run_flax_glue.py` | {
"login": "n2cholas",
"id": 12474257,
"node_id": "MDQ6VXNlcjEyNDc0MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/12474257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n2cholas",
"html_url": "https://github.com/n2cholas",
"followers_url": "https://api.github.com/users/n2c... | [] | closed | false | null | [] | [
"Great catch @n2cholas! Could you also remove the line:\r\n\r\n```python\r\nimport flax.linen as nn\r\n```\r\n\r\nto make our code quality checks happy? Happy to merge right after :-)",
"Done @patrickvonplaten!"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
`optax.softmax_cross_entropy` expects unscaled logits, so it already calls `nn.log_softmax` ([here](https://github.com/deepmind/optax/blob/master/optax/_src/loss.py#L166)). `nn.log_softmax` is idempotent so mathematically it shouldn't have made a difference.
## Before submitting
- [ ] Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11920",
"html_url": "https://github.com/huggingface/transformers/pull/11920",
"diff_url": "https://github.com/huggingface/transformers/pull/11920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11919/comments | https://api.github.com/repos/huggingface/transformers/issues/11919/events | https://github.com/huggingface/transformers/issues/11919 | 904,760,647 | MDU6SXNzdWU5MDQ3NjA2NDc= | 11,919 | Trainer reported loss is wrong when using DeepSpeed and gradient_accumulation_steps > 1 | {
"login": "rfernand2",
"id": 4296158,
"node_id": "MDQ6VXNlcjQyOTYxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4296158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rfernand2",
"html_url": "https://github.com/rfernand2",
"followers_url": "https://api.github.com/users/rf... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Please note that the fix should involve ignoring the return value of `deepspeed.backward()` in this [line](https://github.com/huggingface/transformers/blob/8d171628fe84bdf92ee40b5375d7265278180f14/src/transformers/trainer.py#L1754). Or at least not updating loss with this return value since it is the scaled loss v... | 1,622 | 1,623 | 1,623 | NONE | null | ## Environment info
- `transformers` version: 4.7.0.dev0
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.0
- PyTorch version (GPU?): 1.8.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: no but using DeepSpeed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11919/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11918/comments | https://api.github.com/repos/huggingface/transformers/issues/11918/events | https://github.com/huggingface/transformers/pull/11918 | 904,732,403 | MDExOlB1bGxSZXF1ZXN0NjU1ODY3NjE0 | 11,918 | [Flax] Return Attention from BERT, ELECTRA, RoBERTa and GPT2 | {
"login": "jayendra13",
"id": 651057,
"node_id": "MDQ6VXNlcjY1MTA1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/651057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayendra13",
"html_url": "https://github.com/jayendra13",
"followers_url": "https://api.github.com/users/j... | [] | closed | false | null | [] | [
"🎉 "
] | 1,622 | 1,622 | 1,622 | 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/11918/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11918/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11918",
"html_url": "https://github.com/huggingface/transformers/pull/11918",
"diff_url": "https://github.com/huggingface/transformers/pull/11918.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11918.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11917/comments | https://api.github.com/repos/huggingface/transformers/issues/11917/events | https://github.com/huggingface/transformers/pull/11917 | 904,715,132 | MDExOlB1bGxSZXF1ZXN0NjU1ODUxMjY5 | 11,917 | [Flax][WIP] Addition of Flax-Wav2Vec Model | {
"login": "bhadreshpsavani",
"id": 26653468,
"node_id": "MDQ6VXNlcjI2NjUzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhadreshpsavani",
"html_url": "https://github.com/bhadreshpsavani",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Cool PR! For next steps, we should write the missing classes and remove everything which is related to:\r\n\r\n```\r\nfeat_extract_norm=\"group\"\r\ndo_stable_layer_norm=True\r\n```\r\n\r\n(This config parameters are only used for https://huggingface.co/facebook/wav2vec2-base-960h which is the oldest of the wav2ve... | 1,622 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
This PR is for the addition of Wav2Vec Model
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11917/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/11917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11917",
"html_url": "https://github.com/huggingface/transformers/pull/11917",
"diff_url": "https://github.com/huggingface/transformers/pull/11917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11916/comments | https://api.github.com/repos/huggingface/transformers/issues/11916/events | https://github.com/huggingface/transformers/issues/11916 | 904,680,663 | MDU6SXNzdWU5MDQ2ODA2NjM= | 11,916 | Wrong perplexity when evaluate the megatron-gpt2. | {
"login": "codecaution",
"id": 34735292,
"node_id": "MDQ6VXNlcjM0NzM1Mjky",
"avatar_url": "https://avatars.githubusercontent.com/u/34735292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codecaution",
"html_url": "https://github.com/codecaution",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"We’ll try to reproduce the issue on our side. We’ll keep you posted. Thanks!",
"> We’ll try to reproduce the issue on our side. We’ll keep you posted. Thanks!\r\n\r\nThanks for your help!\r\n",
"We (NVIDIA engineers) were able to reproduce strange perplexity results and we are trying to identify the root cause... | 1,622 | 1,623 | 1,623 | 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.7.0.dev0
- Platform: Linux-5.4.0-1046-azure-x86_64-with-debian-buster-sid
- Python version: 3.6.10
- PyTor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11916/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/11916/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11915/comments | https://api.github.com/repos/huggingface/transformers/issues/11915/events | https://github.com/huggingface/transformers/issues/11915 | 904,644,362 | MDU6SXNzdWU5MDQ2NDQzNjI= | 11,915 | RuntimeError: The size of tensor a (716) must match the size of tensor b (512) at non-singleton dimension 1 | {
"login": "lisa563",
"id": 78732119,
"node_id": "MDQ6VXNlcjc4NzMyMTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/78732119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lisa563",
"html_url": "https://github.com/lisa563",
"followers_url": "https://api.github.com/users/lisa56... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,625 | 1,625 | 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.6.0.dev0
- Platform: windows 7
- Python version: 3.8.8
- PyTorch version (GPU?):
- Tensorflow version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11915/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11914/comments | https://api.github.com/repos/huggingface/transformers/issues/11914/events | https://github.com/huggingface/transformers/issues/11914 | 904,614,159 | MDU6SXNzdWU5MDQ2MTQxNTk= | 11,914 | How to get back the identified words from LayoutLMForTokenClassification? | {
"login": "karandua2016",
"id": 18511921,
"node_id": "MDQ6VXNlcjE4NTExOTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/18511921?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karandua2016",
"html_url": "https://github.com/karandua2016",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nA solution for this can be the following (taken from my [Fine-tuning BERT for NER notebook](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/BERT/Custom_Named_Entity_Recognition_with_BERT_only_first_wordpiece.ipynb)):\r\n\r\n. In the end, the tutorial shows an annotated image with identified classes for various tokens.
How can I get back the origin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11914/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11913/comments | https://api.github.com/repos/huggingface/transformers/issues/11913/events | https://github.com/huggingface/transformers/issues/11913 | 904,492,548 | MDU6SXNzdWU5MDQ0OTI1NDg= | 11,913 | Inference for pinned model keeps loading | {
"login": "Kvit",
"id": 1123272,
"node_id": "MDQ6VXNlcjExMjMyNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1123272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kvit",
"html_url": "https://github.com/Kvit",
"followers_url": "https://api.github.com/users/Kvit/followers",
... | [] | closed | false | null | [] | [
"after I have unpinned the model embeddings pipeline started working again (unless you did something on the back end)",
"I have repeated the experiment: pinned model - embedding pipeline API returns \"loading\" status; unpinned model - embedding pipeline returns valid results (after model 'warm up'). Look like i... | 1,622 | 1,622 | 1,622 | NONE | null | I have pinned the enterprise model: `ligolab/DxRoberta`
This model is pinned for instant start.
When I try the Inference API `fill-mask` task, it responds instantly
However, when I try API call to embedding pipeline https://api-inference.huggingface.co/pipeline/feature-extraction/ligolab/DxRoberta , I keep getting... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11913/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/11913/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11912/comments | https://api.github.com/repos/huggingface/transformers/issues/11912/events | https://github.com/huggingface/transformers/issues/11912 | 904,350,610 | MDU6SXNzdWU5MDQzNTA2MTA= | 11,912 | Distillation of Pegasus using Pseudo labeling | {
"login": "ibrahim-elsawy",
"id": 53919684,
"node_id": "MDQ6VXNlcjUzOTE5Njg0",
"avatar_url": "https://avatars.githubusercontent.com/u/53919684?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ibrahim-elsawy",
"html_url": "https://github.com/ibrahim-elsawy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | NONE | null |
### Who can help
@sgugger
@patrickvonplaten
Models:
- Distillation of Pegasus
## Information
The model I am using (google/pegasus-xsum):
The problem:
- Trying to implement Pegasus Distillation using [Pseudo Labeling](https://github.com/huggingface/transformers/blob/master/examples/research_project... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11912/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11911/comments | https://api.github.com/repos/huggingface/transformers/issues/11911/events | https://github.com/huggingface/transformers/pull/11911 | 904,175,486 | MDExOlB1bGxSZXF1ZXN0NjU1MzQ1MDc2 | 11,911 | Fix a condition in test_generate_with_head_masking | {
"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 | [] | [] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | Fix a glitch in a condition in `test_generate_with_headmasking`, i.e.
```diff
- if set(head_masking.keys()) < set([*signature.parameters.keys()]):
+ if set(head_masking.keys()) > set([*signature.parameters.keys()]):
continue
```
This PR also fixes usage of head_mask for bigbird_pegasus and speech2texy mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11911/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11911",
"html_url": "https://github.com/huggingface/transformers/pull/11911",
"diff_url": "https://github.com/huggingface/transformers/pull/11911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11911.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11910/comments | https://api.github.com/repos/huggingface/transformers/issues/11910/events | https://github.com/huggingface/transformers/issues/11910 | 904,141,831 | MDU6SXNzdWU5MDQxNDE4MzE= | 11,910 | xla_spawn.py: xm.get_ordinal() got an unexpected keyword argument 'local' | {
"login": "BassaniRiccardo",
"id": 48254418,
"node_id": "MDQ6VXNlcjQ4MjU0NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/48254418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BassaniRiccardo",
"html_url": "https://github.com/BassaniRiccardo",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Thanks for the catch! Since you have the proper fix indeed, would like to make a PR with it?",
"Done, thanks!",
"Closed by #11922"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.7.0.dev0
- Platform: Linux-5.4.109+-x86_64-with-Ubuntu-18.04-bionic (working on Colab with TPU)
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1+cu101 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- Using GPU in script?: No, using TPU
- Using distrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11910/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11909/comments | https://api.github.com/repos/huggingface/transformers/issues/11909/events | https://github.com/huggingface/transformers/pull/11909 | 904,137,095 | MDExOlB1bGxSZXF1ZXN0NjU1MzExNjQx | 11,909 | FlaxGPTNeo Draft PR | {
"login": "zanussbaum",
"id": 33707069,
"node_id": "MDQ6VXNlcjMzNzA3MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/33707069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zanussbaum",
"html_url": "https://github.com/zanussbaum",
"followers_url": "https://api.github.com/use... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hey @zanussbaum, \r\n\r\nRegarding on how to proceed with the implementation, could you maybe post your questions here and tag @patil-suraj and @patrickvonplaten so that we can move forward? :-)",
"Hey @patrickvonplaten, I actually chatted with Suraj this morning and\ncleared my questions up about the Self Atten... | 1,622 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
Add FlaxGPTNeo to HuggingFace Models!
<!--
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 contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11909/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/11909/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11909",
"html_url": "https://github.com/huggingface/transformers/pull/11909",
"diff_url": "https://github.com/huggingface/transformers/pull/11909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11909.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11908/comments | https://api.github.com/repos/huggingface/transformers/issues/11908/events | https://github.com/huggingface/transformers/issues/11908 | 904,119,499 | MDU6SXNzdWU5MDQxMTk0OTk= | 11,908 | Fine tuning with transformer models for Regression tasks | {
"login": "zyberg2091",
"id": 42847318,
"node_id": "MDQ6VXNlcjQyODQ3MzE4",
"avatar_url": "https://avatars.githubusercontent.com/u/42847318?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zyberg2091",
"html_url": "https://github.com/zyberg2091",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I think it's better to ask this question on the [forum](https://discuss.huggingface.co/) rather than here. For example, all questions related to training BERT for regression can be found [here](https://discuss.huggingface.co/search?q=bert%20regression)."
] | 1,622 | 1,623 | 1,623 | NONE | null | - `transformers` version: Bert, Albert, openai-gpt2
- Tensorflow version (GPU?): 2.5.0
## Information
Model I am using : Bert, Albert, openai-gpt2
The problem arises when using:
* [x] my own modified scripts: (give details below) <br>
- performed fine tuning
The tasks I am working on is:
* [x] my... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11908/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11907/comments | https://api.github.com/repos/huggingface/transformers/issues/11907/events | https://github.com/huggingface/transformers/pull/11907 | 904,020,157 | MDExOlB1bGxSZXF1ZXN0NjU1MjA5NTUw | 11,907 | Add conversion from TF to PT for Tapas retrieval models | {
"login": "bogdankostic",
"id": 48713846,
"node_id": "MDQ6VXNlcjQ4NzEzODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/48713846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bogdankostic",
"html_url": "https://github.com/bogdankostic",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for this, it's certainly something I'd like to add in the future. The TAPAS team seems quite active, they released [yet another paper involving TAPAS](https://arxiv.org/abs/2106.00479) (to work on larger tables).",
"This issue has been automatically marked as stale because it has not had recent activity. ... | 1,622 | 1,644 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
Table Retrieval models based on Tapas as described [here](https://arxiv.org/pdf/2103.12011.pdf) just got published in the [Tapas repository](https://github.com/google-research/tapas). The existing conversion function does not work with the retrieval models, so I added support to convert them ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11907/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11907",
"html_url": "https://github.com/huggingface/transformers/pull/11907",
"diff_url": "https://github.com/huggingface/transformers/pull/11907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11907.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11906/comments | https://api.github.com/repos/huggingface/transformers/issues/11906/events | https://github.com/huggingface/transformers/pull/11906 | 903,894,197 | MDExOlB1bGxSZXF1ZXN0NjU1MTA0Njgz | 11,906 | Added Sequence Classification class in GPTNeo | {
"login": "bhadreshpsavani",
"id": 26653468,
"node_id": "MDQ6VXNlcjI2NjUzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhadreshpsavani",
"html_url": "https://github.com/bhadreshpsavani",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # Added Sequence Classification Class in GPT Neo Model
Fixes #11811
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11906",
"html_url": "https://github.com/huggingface/transformers/pull/11906",
"diff_url": "https://github.com/huggingface/transformers/pull/11906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11905/comments | https://api.github.com/repos/huggingface/transformers/issues/11905/events | https://github.com/huggingface/transformers/issues/11905 | 903,809,141 | MDU6SXNzdWU5MDM4MDkxNDE= | 11,905 | Customize pretrained model for model hub | {
"login": "Matthieu-Tinycoaching",
"id": 77435960,
"node_id": "MDQ6VXNlcjc3NDM1OTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/77435960?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Matthieu-Tinycoaching",
"html_url": "https://github.com/Matthieu-Tinycoaching",
"followers_... | [] | closed | false | null | [] | [
"Maybe of interest to @nreimers ",
"Hi @Matthieu-Tinycoaching \r\n\r\nI was sadly not able to re-produce your error. Have you uploaded such a model to the hub? Could you post the link here?\r\n\r\nAnd how does your code look like to load the model?",
"Hi @nreimers \r\n\r\nI retried with including the custom cla... | 1,622 | 1,622 | 1,622 | NONE | null | Hi community,
I would like to add mean pooling step inside a custom SentenceTransformer class derived from the model sentence-transformers/stsb-xlm-r-multilingual, in order to avoid to do this supplementary step after getting the tokens embeddings.
My aim is to push this custom model onto model hub. If not using ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11905/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11904/comments | https://api.github.com/repos/huggingface/transformers/issues/11904/events | https://github.com/huggingface/transformers/issues/11904 | 903,802,844 | MDU6SXNzdWU5MDM4MDI4NDQ= | 11,904 | 'error': 'Model Matthieu/stsb-xlm-r-multilingual is currently loading' | {
"login": "Matthieu-Tinycoaching",
"id": 77435960,
"node_id": "MDQ6VXNlcjc3NDM1OTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/77435960?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Matthieu-Tinycoaching",
"html_url": "https://github.com/Matthieu-Tinycoaching",
"followers_... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,625 | 1,625 | NONE | null | Hello,
I have pushed on model hub (https://huggingface.co/Matthieu/stsb-xlm-r-multilingual) a pretrained sentence transformer model (https://huggingface.co/sentence-transformers/stsb-xlm-r-multilingual).
However, when trying to get prediction via th API_URL I stil got the following error:
`{'error': 'Model Matth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11904/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11903/comments | https://api.github.com/repos/huggingface/transformers/issues/11903/events | https://github.com/huggingface/transformers/issues/11903 | 903,741,601 | MDU6SXNzdWU5MDM3NDE2MDE= | 11,903 | Problem when freezing all GPT2 model except the LM head | {
"login": "yana-xuyan",
"id": 38536635,
"node_id": "MDQ6VXNlcjM4NTM2NjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/38536635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yana-xuyan",
"html_url": "https://github.com/yana-xuyan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi! In GPT-2, as with most models, the LM head is tied to the embeddings: it has the same weights.\r\n\r\nYou can play around with the `tie_word_embeddings` configuration option, but your LM head will be randomly initialized.",
"Thank you very much!"
] | 1,622 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-4.15.0-142-generic-x86_64-with-debian-stretch-sid
- Python version: 3.7.7
- PyTorch version (GPU?): 1.5.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11903/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11902/comments | https://api.github.com/repos/huggingface/transformers/issues/11902/events | https://github.com/huggingface/transformers/pull/11902 | 903,631,277 | MDExOlB1bGxSZXF1ZXN0NjU0ODY2MjYz | 11,902 | [Flax] return attentions | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | 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/11902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11902/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11902",
"html_url": "https://github.com/huggingface/transformers/pull/11902",
"diff_url": "https://github.com/huggingface/transformers/pull/11902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11902.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11901/comments | https://api.github.com/repos/huggingface/transformers/issues/11901/events | https://github.com/huggingface/transformers/issues/11901 | 903,568,491 | MDU6SXNzdWU5MDM1Njg0OTE= | 11,901 | [Flax] Add attention weights outputs to all models | {
"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://... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Also, adding this feature will require us to bump up the Flax dependency to `>=0.3.4` for `flax` in https://github.com/huggingface/transformers/blob/master/setup.py",
"I am starting with Bert.",
"Hi @patrickvonplaten @patil-suraj https://github.com/huggingface/transformers/pull/11918"
] | 1,622 | 1,623 | 1,623 | MEMBER | null | # 🚀 Feature request
At the moment we cannot return a list of attention weight outputs in Flax as we can do in PyTorch.
In PyTorch, there is a `output_attentions` boolean in the forward call of every function, see [here](https://github.com/huggingface/transformers/blob/42fe0dc23e4a7495ebd08185f5850315a1a12dc0/sr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11901/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11900/comments | https://api.github.com/repos/huggingface/transformers/issues/11900/events | https://github.com/huggingface/transformers/pull/11900 | 903,480,138 | MDExOlB1bGxSZXF1ZXN0NjU0NzMxNDQ4 | 11,900 | [Community Notebooks] Add Emotion Speech Noteboook | {
"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 | [] | [
"Amazing notebook @m3hrdadfi !"
] | 1,622 | 1,622 | 1,622 | 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/11900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11900/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11900",
"html_url": "https://github.com/huggingface/transformers/pull/11900",
"diff_url": "https://github.com/huggingface/transformers/pull/11900.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11900.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11899/comments | https://api.github.com/repos/huggingface/transformers/issues/11899/events | https://github.com/huggingface/transformers/issues/11899 | 903,436,089 | MDU6SXNzdWU5MDM0MzYwODk= | 11,899 | Provides an option to select the parallel mode of the Trainer. | {
"login": "hijkzzz",
"id": 19810594,
"node_id": "MDQ6VXNlcjE5ODEwNTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/19810594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hijkzzz",
"html_url": "https://github.com/hijkzzz",
"followers_url": "https://api.github.com/users/hijkzz... | [] | closed | false | null | [] | [
"This is already implemented, it just depends on how you launch your training script. To use distributed data parallel, you have to launch it with `torch.distributed.launch`.",
"> This is already implemented, it just depends on how you launch your training script. To use distributed data parallel, you have to lau... | 1,622 | 1,625 | 1,625 | NONE | null | # 🚀 Feature request
Provides an option to select the parallel mode of the Trainer.
## Motivation
For multiple GPUs, Trainer uses `nn.DataParallel` for parallel computing by default, however, this approach results in a large memory occupation for the first GPU. Please provide an API to switch to `nn.parallel.D... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11898/comments | https://api.github.com/repos/huggingface/transformers/issues/11898/events | https://github.com/huggingface/transformers/issues/11898 | 903,373,151 | MDU6SXNzdWU5MDMzNzMxNTE= | 11,898 | mutil gpu errors | {
"login": "Soulscb",
"id": 39151881,
"node_id": "MDQ6VXNlcjM5MTUxODgx",
"avatar_url": "https://avatars.githubusercontent.com/u/39151881?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Soulscb",
"html_url": "https://github.com/Soulscb",
"followers_url": "https://api.github.com/users/Soulsc... | [] | closed | false | null | [] | [
"Is this related to `transformers`? ",
"yes this is simpletransformers and i find transformers multi gpus is hard to run ",
"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 t... | 1,622 | 1,625 | 1,625 | NONE | null | i want to use multi gpus to train,but it erros;
model = nn.DataParallel(model)
model = model.cuda()
model.train_model(train_df, eval_data=eval_df)
torch.nn.modules.module.ModuleAttributeError: 'DataParallel' object has no attribute 'train_model'
so how can i to use multi gpus | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11898/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11897/comments | https://api.github.com/repos/huggingface/transformers/issues/11897/events | https://github.com/huggingface/transformers/pull/11897 | 903,208,638 | MDExOlB1bGxSZXF1ZXN0NjU0NDkxNTE2 | 11,897 | Fix Tensorflow Bart-like positional encoding | {
"login": "JunnYu",
"id": 50394665,
"node_id": "MDQ6VXNlcjUwMzk0NjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/50394665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunnYu",
"html_url": "https://github.com/JunnYu",
"followers_url": "https://api.github.com/users/JunnYu/fo... | [] | closed | false | null | [] | [] | 1,622 | 1,626 | 1,626 | 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/11897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11897/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11897",
"html_url": "https://github.com/huggingface/transformers/pull/11897",
"diff_url": "https://github.com/huggingface/transformers/pull/11897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11897.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11896/comments | https://api.github.com/repos/huggingface/transformers/issues/11896/events | https://github.com/huggingface/transformers/pull/11896 | 903,207,658 | MDExOlB1bGxSZXF1ZXN0NjU0NDkwNjQx | 11,896 | Update deepspeed config to reflect hyperparameter search parameters | {
"login": "Mindful",
"id": 2897172,
"node_id": "MDQ6VXNlcjI4OTcxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2897172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mindful",
"html_url": "https://github.com/Mindful",
"followers_url": "https://api.github.com/users/Mindful/... | [] | closed | false | null | [] | [
"Code quality check passes on my local machine 🤔 \r\nHappy to change formatting if necessary, just not sure what to change.",
"You probably have a different version of `black`.\r\n\r\nPlease try:\r\n\r\n```\r\ncd transformers\r\npip install -e .[dev]\r\nmake fixup\r\n```\r\n\r\nthis should re-align the versions.... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a few lines of code to the Trainer so that it rebuilds the Deepspeed config when running hyperparameter_search. As is, if you run hyperparameter_search while using Deepspeed the TrainingArguments are updated but the Deepspeed config is not, the two become out of sync, and Deepspe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11896",
"html_url": "https://github.com/huggingface/transformers/pull/11896",
"diff_url": "https://github.com/huggingface/transformers/pull/11896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11896.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11895/comments | https://api.github.com/repos/huggingface/transformers/issues/11895/events | https://github.com/huggingface/transformers/issues/11895 | 903,176,322 | MDU6SXNzdWU5MDMxNzYzMjI= | 11,895 | Small error in documentation / Typo | {
"login": "ashkamath",
"id": 14784179,
"node_id": "MDQ6VXNlcjE0Nzg0MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/14784179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashkamath",
"html_url": "https://github.com/ashkamath",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thanks for spotting. Feel free to open a PR to fix this :) \r\n\r\nBy the way, I see you're the main author of MDETR (amazing work!). I'm currently adding DETR to the repo (see #11653), so if you are up to help me add MDETR to the repo, feel free to reach out :) \r\n",
"Ooh thanks :D That sounds great, I'd be ha... | 1,622 | 1,623 | 1,623 | NONE | null | The documentation for BART decoder layer mentions that it expects hidden states as well as the encoder hidden states to be expected in "(seq_len, batch, embed_dim)" instead of the "(batch, seq_len, embed_dim)" that is actually is expected. Lead to a bit of confusion so would be great if it were corrected! :)
Relevan... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11895/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11894/comments | https://api.github.com/repos/huggingface/transformers/issues/11894/events | https://github.com/huggingface/transformers/issues/11894 | 903,139,331 | MDU6SXNzdWU5MDMxMzkzMzE= | 11,894 | Deepspeed integration ignores Optuna trial parameters in hyperparameter_search | {
"login": "Mindful",
"id": 2897172,
"node_id": "MDQ6VXNlcjI4OTcxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2897172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mindful",
"html_url": "https://github.com/Mindful",
"followers_url": "https://api.github.com/users/Mindful/... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Thanks for the report, @Mindful!\r\n\r\nIt's very possible that I mistakenly bypassed some logic of optuna, as I have never used it. \r\n\r\nWould you like to have a look and see if you can fix it - since you have already been researching this - basically go into `src/transformers/trainer.py` look for `optuna` and... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: Linux-4.19.0-16-cloud-amd64-x86_64-with-glibc2.10
- Python version: 3.8.10
- PyTorch versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11894/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11893/comments | https://api.github.com/repos/huggingface/transformers/issues/11893/events | https://github.com/huggingface/transformers/pull/11893 | 903,046,203 | MDExOlB1bGxSZXF1ZXN0NjU0MzQ4MTg5 | 11,893 | RAG-2nd2end-revamp | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"I added all the minor changes and I would like to thank @patrickvonplaten and @lhoestq for the enormous amounts of support and advice. :)",
" Hey \r\nThanks for giving this end to end version. Am trying to run it and see its performance on my own dataset (much smaller and domain specific to see if get performan... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | same as [shamanez:rag-retriever-end2end](https://github.com/huggingface/transformers/pull/11655) PR. In the previous version, I got some version control problems.
Really sorry to come up with duplicate PRs :(.
@lhoestq @patrickvonplaten
I conducted an experiment to check the difference and added a simple ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11893/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/11893/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11893",
"html_url": "https://github.com/huggingface/transformers/pull/11893",
"diff_url": "https://github.com/huggingface/transformers/pull/11893.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11893.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11892/comments | https://api.github.com/repos/huggingface/transformers/issues/11892/events | https://github.com/huggingface/transformers/pull/11892 | 902,826,943 | MDExOlB1bGxSZXF1ZXN0NjU0MTUzOTEy | 11,892 | Link official Cloud TPU JAX docs | {
"login": "avital",
"id": 37586,
"node_id": "MDQ6VXNlcjM3NTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/37586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avital",
"html_url": "https://github.com/avital",
"followers_url": "https://api.github.com/users/avital/followers",
... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
Adds a link to the new official Cloud TPU VM JAX docs.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11892/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11892",
"html_url": "https://github.com/huggingface/transformers/pull/11892",
"diff_url": "https://github.com/huggingface/transformers/pull/11892.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11892.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11891/comments | https://api.github.com/repos/huggingface/transformers/issues/11891/events | https://github.com/huggingface/transformers/issues/11891 | 902,807,995 | MDU6SXNzdWU5MDI4MDc5OTU= | 11,891 | GPT2 saved pb file cannot handle dynamic sequence length | {
"login": "sufengniu",
"id": 2965176,
"node_id": "MDQ6VXNlcjI5NjUxNzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2965176?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sufengniu",
"html_url": "https://github.com/sufengniu",
"followers_url": "https://api.github.com/users/su... | [] | closed | false | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [
{
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url"... | [
"Hi! As far as I'm aware, we don't support TF Hub integrations right now. If you want to save or load a TF2 model from Transformers, you can use the `save_pretrained` method like so:\r\n\r\n```\r\nfrom transformers import GPT2Tokenizer, TFGPT2Model\r\n\r\ntokenizer = GPT2Tokenizer.from_pretrained('gpt2')\r\nmodel =... | 1,622 | 1,622 | 1,622 | 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.6.1
- Platform: Darwin-20.4.0-x86_64-i386-64bit
- Python version: 3.7.7
- PyTorch version (GPU?): 1.7.1 (F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11890/comments | https://api.github.com/repos/huggingface/transformers/issues/11890/events | https://github.com/huggingface/transformers/pull/11890 | 902,574,938 | MDExOlB1bGxSZXF1ZXN0NjUzOTI5MjE0 | 11,890 | changing find_batch_size to work with tokenizer outputs | {
"login": "joerenner",
"id": 11395913,
"node_id": "MDQ6VXNlcjExMzk1OTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/11395913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joerenner",
"html_url": "https://github.com/joerenner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Mmm, I don't think I am allowed to push commits on your branch and the CI decided to not run on your PR. Could you push an empty commit to trigger it?\r\n```\r\ngit commit --allow-empty -m \"Trigger CI\"\r\n```\r\nShould do this (and then push).\r\n",
"ah looks like it needs approval:\r\n\r\n```First-time contri... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | trainer_pt_utils.find_batch_size currently does not recognize the batch size of BatchEncoding objects. This can cause an error when a trainer relies on find_batch_size to report the number of observed examples in the evaluation loop, which is the case when the eval dataset is Iterable.
# What does this PR do?
Ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11890",
"html_url": "https://github.com/huggingface/transformers/pull/11890",
"diff_url": "https://github.com/huggingface/transformers/pull/11890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11890.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11889/comments | https://api.github.com/repos/huggingface/transformers/issues/11889/events | https://github.com/huggingface/transformers/pull/11889 | 902,519,679 | MDExOlB1bGxSZXF1ZXN0NjUzODgwMTA0 | 11,889 | Hubert | {
"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://... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"> batching\r\n\r\nIt uses `Wav2Vec2Processor` for feature extraction etc"
] | 1,622 | 1,623 | 1,623 | MEMBER | null | # What does this PR do?
This PR adds Hubert:
- https://ai.facebook.com/blog/hubert-self-supervised-representation-learning-for-speech-recognition-generation-and-compression
- https://arxiv.org/pdf/2106.07447.pdf?fbclid=IwAR3hI4uGqc4mV5j-ob8R5yLu-BaamVoe9ncxUoVmgFLjJXsE1IevP0rdNYY
Checkpoints are available her... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11889/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11889",
"html_url": "https://github.com/huggingface/transformers/pull/11889",
"diff_url": "https://github.com/huggingface/transformers/pull/11889.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11889.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11888/comments | https://api.github.com/repos/huggingface/transformers/issues/11888/events | https://github.com/huggingface/transformers/issues/11888 | 902,504,417 | MDU6SXNzdWU5MDI1MDQ0MTc= | 11,888 | Add a new pipeline for the Relation Extraction task. | {
"login": "xegulon",
"id": 74178038,
"node_id": "MDQ6VXNlcjc0MTc4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/74178038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xegulon",
"html_url": "https://github.com/xegulon",
"followers_url": "https://api.github.com/users/xegulo... | [] | closed | false | null | [] | [
"We have a voluntarily generic `token-classification` pipeline that should be suited for this, no?",
"> We have a voluntarily generic `token-classification` pipeline that should be suited for this, no?\r\n\r\nAs far as I understood, `token-classification` is just an alias for `ner` (in the source code, we can obs... | 1,622 | 1,630 | 1,622 | NONE | null | # 🚀 Feature request
Add a new pipeline option for the Relation Extraction task : `nlp = pipeline('relation-extraction')`
## Motivation
Relation Extraction between named entities is a well-known NLP task. For example, when you get entities relative to medications (let's say our entity types are DRUG and FORM (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11888/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11887/comments | https://api.github.com/repos/huggingface/transformers/issues/11887/events | https://github.com/huggingface/transformers/issues/11887 | 902,370,782 | MDU6SXNzdWU5MDIzNzA3ODI= | 11,887 | Wrong subword aggregation when using aggregation_strategy | {
"login": "Guidofaassen",
"id": 6339558,
"node_id": "MDQ6VXNlcjYzMzk1NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6339558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Guidofaassen",
"html_url": "https://github.com/Guidofaassen",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"I suspect we might have an issue recognizing subwords when using the BPE tokenizer.\r\nUsing a BERT based model works as expected:\r\n```\r\n>> nlp = transformers.pipeline('ner', model='wietsedv/bert-base-dutch-cased-finetuned-conll2002-ner', aggregation_strategy='first')\r\n>> nlp(\"Groenlinks praat over Schiphol... | 1,622 | 1,627 | 1,627 | NONE | null | ## Environment info
- `transformers` version: 4.7.0.dev0
- Platform: Windows
- Python version: 3.9.4
- PyTorch version (GPU?): No
- Tensorflow version (GPU?): No
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
@Narsil
@francescorubbo
@elk-cloner
## In... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11887/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11886/comments | https://api.github.com/repos/huggingface/transformers/issues/11886/events | https://github.com/huggingface/transformers/pull/11886 | 902,270,929 | MDExOlB1bGxSZXF1ZXN0NjUzNjU2NzE5 | 11,886 | [Flax] Allow dataclasses to be jitted | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | 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/11886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11886/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11886",
"html_url": "https://github.com/huggingface/transformers/pull/11886",
"diff_url": "https://github.com/huggingface/transformers/pull/11886.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11886.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11885/comments | https://api.github.com/repos/huggingface/transformers/issues/11885/events | https://github.com/huggingface/transformers/issues/11885 | 902,258,244 | MDU6SXNzdWU5MDIyNTgyNDQ= | 11,885 | Find the requested files in the cached path without the internet | {
"login": "Bachstelze",
"id": 19904888,
"node_id": "MDQ6VXNlcjE5OTA0ODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/19904888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bachstelze",
"html_url": "https://github.com/Bachstelze",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You can save your model and tokenizer to a directory using `save_pretrained` and load them from there! You only need to specify the directory path to the model/tokenizer arguments you pass to the `pipeline` method.",
"This issue has been automatically marked as stale because it has not had recent activity. If yo... | 1,622 | 1,625 | 1,625 | NONE | null | # 🚀 Feature request
The pipeline needs an internet connection to find the cached path. A request usually consumes time.
## Motivation
Could we search only localy for a better performance?
## Your contribution
My test code:
```
from transformers import pipeline
from transformers import AutoTokenizer, Auto... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11885/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11884/comments | https://api.github.com/repos/huggingface/transformers/issues/11884/events | https://github.com/huggingface/transformers/issues/11884 | 902,170,031 | MDU6SXNzdWU5MDIxNzAwMzE= | 11,884 | Mask token mismatch with the model on hosted inference API of Model Hub | {
"login": "Ethan-yt",
"id": 9592150,
"node_id": "MDQ6VXNlcjk1OTIxNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9592150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ethan-yt",
"html_url": "https://github.com/Ethan-yt",
"followers_url": "https://api.github.com/users/Ethan... | [] | closed | false | null | [] | [
"In the past, it was no error.\r\n<img width=\"510\" alt=\"lm-demo\" src=\"https://user-images.githubusercontent.com/9592150/120172538-bd4e1b80-c235-11eb-8576-6446a2dd0ed8.png\">\r\nI don't know when it starts to emit an error.\r\n<img width=\"544\" alt=\"image\" src=\"https://user-images.githubusercontent.com/9592... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ### Who can help
@LysandreJik
@julien-c
@mfuntowicz
## Information
In my model card: https://huggingface.co/ethanyt/guwenbert-base, I used to be able to run the hosted inference successfully, but recently it prompted an error: `"<mask>" must be present in your input.`
My model uses RoBERTa MLM and BERT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11883/comments | https://api.github.com/repos/huggingface/transformers/issues/11883/events | https://github.com/huggingface/transformers/pull/11883 | 902,139,753 | MDExOlB1bGxSZXF1ZXN0NjUzNTM3MjAz | 11,883 | Add FlaxCLIP | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"- Added jitted tests for `get_image_features` and `get_text_features`\r\n- `__init__(...)` now takes `input_shape` as an arg, when `None` it's set using default values in `config`.\r\n\r\nMerging!"
] | 1,622 | 1,622 | 1,622 | MEMBER | null | # What does this PR do?
This PR adds the CLIP model in JAX/Flax. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11883/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11883",
"html_url": "https://github.com/huggingface/transformers/pull/11883",
"diff_url": "https://github.com/huggingface/transformers/pull/11883.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11883.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11882/comments | https://api.github.com/repos/huggingface/transformers/issues/11882/events | https://github.com/huggingface/transformers/issues/11882 | 902,129,696 | MDU6SXNzdWU5MDIxMjk2OTY= | 11,882 | BertForMaskedLM training fails when using iterable eval_dataset and DataCollatorForLanguageModeling collator. | {
"login": "joerenner",
"id": 11395913,
"node_id": "MDQ6VXNlcjExMzk1OTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/11395913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joerenner",
"html_url": "https://github.com/joerenner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Might be of interest to @sgugger ",
"Fixed by #11890"
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: Linux-5.8.0-48-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.9
- PyTorch v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11882/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11881/comments | https://api.github.com/repos/huggingface/transformers/issues/11881/events | https://github.com/huggingface/transformers/issues/11881 | 901,658,668 | MDU6SXNzdWU5MDE2NTg2Njg= | 11,881 | Adding new Jax Models. | {
"login": "jayendra13",
"id": 651057,
"node_id": "MDQ6VXNlcjY1MTA1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/651057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayendra13",
"html_url": "https://github.com/jayendra13",
"followers_url": "https://api.github.com/users/j... | [
{
"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": "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://... | [
{
"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",
"follo... | [
"Hi there, thank you for your interest in JAX.\r\n\r\nWe plan to add as many models as possible in JAX/Flax. Right now we are working on improving the JAX support in the lib, better JAX/Flax tests, generation, cookie-cutter templates etc so that it'll become easier to add more models faster.\r\n\r\nPlease stay tune... | 1,621 | 1,623 | 1,623 | CONTRIBUTOR | null | Is there any board to track that how many current models have jax implementation ?
I would like to contribute to add jax implementation for the remaining ones, which model I can take to start ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11881/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11881/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11880/comments | https://api.github.com/repos/huggingface/transformers/issues/11880/events | https://github.com/huggingface/transformers/issues/11880 | 901,469,644 | MDU6SXNzdWU5MDE0Njk2NDQ= | 11,880 | KeyError: 'labels' in distill_classifier.py | {
"login": "adamFinastra",
"id": 46481258,
"node_id": "MDQ6VXNlcjQ2NDgxMjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/46481258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adamFinastra",
"html_url": "https://github.com/adamFinastra",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I am facing the same issue and cannot run the google colab examples either. Any help is appreciated! ",
"@joeddav was there a specific point in time to clone the repo from to get the scripts to run or anything recent that has changed which might have broken the code?",
"Experienced the same issue with labels t... | 1,621 | 1,624 | 1,624 | 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.6.1
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.7.6
- PyTorch version (GPU?): 1.8.1 (F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11880/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11879/comments | https://api.github.com/repos/huggingface/transformers/issues/11879/events | https://github.com/huggingface/transformers/issues/11879 | 901,460,002 | MDU6SXNzdWU5MDE0NjAwMDI= | 11,879 | Trainer : AttributeError: 'str' object has no attribute '_memory_tracker' | {
"login": "KhalidAlt",
"id": 49135754,
"node_id": "MDQ6VXNlcjQ5MTM1NzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/49135754?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KhalidAlt",
"html_url": "https://github.com/KhalidAlt",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The `Trainer` will resume from the last epoch and continue the learning... if you create it. You are using the class directly, not a `Trainer` object."
] | 1,621 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.6.0
- Platform: Linux-5.8.0-53-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.0+cu111 (True)
- Tensorflow version (GPU?): 2.4.1 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11879/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11878/comments | https://api.github.com/repos/huggingface/transformers/issues/11878/events | https://github.com/huggingface/transformers/pull/11878 | 901,354,613 | MDExOlB1bGxSZXF1ZXN0NjUyODIwODQ3 | 11,878 | [Wav2Vec2ForCTC] example typo fixed | {
"login": "madprogramer",
"id": 3719664,
"node_id": "MDQ6VXNlcjM3MTk2NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3719664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/madprogramer",
"html_url": "https://github.com/madprogramer",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | 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/11878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11878/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11878",
"html_url": "https://github.com/huggingface/transformers/pull/11878",
"diff_url": "https://github.com/huggingface/transformers/pull/11878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11878.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11877/comments | https://api.github.com/repos/huggingface/transformers/issues/11877/events | https://github.com/huggingface/transformers/issues/11877 | 901,351,725 | MDU6SXNzdWU5MDEzNTE3MjU= | 11,877 | basic_tokenizer don't preserve token encoding/format | {
"login": "valtheval",
"id": 24987833,
"node_id": "MDQ6VXNlcjI0OTg3ODMz",
"avatar_url": "https://avatars.githubusercontent.com/u/24987833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valtheval",
"html_url": "https://github.com/valtheval",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! The basic tokenizer is only a building block of the `BertTokenizer` - and it was not intended to be used independently.\r\n\r\nWhat are you trying to achieve especially, that the `BertTokenizer` cannot?\r\n\r\nUsually, it is best to assume that the tokenizer should be used as it is configured on the hub - a... | 1,621 | 1,625 | 1,625 | NONE | null | Hello all!
## Environment info
- `transformers` version: 4.3.2
- Platform: Linux-4.19.0-13-cloud-amd64-x86_64-with-glibc2.28
- Python version: 3.8.6
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): 2.4.1 (False)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11877/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11876/comments | https://api.github.com/repos/huggingface/transformers/issues/11876/events | https://github.com/huggingface/transformers/issues/11876 | 901,215,515 | MDU6SXNzdWU5MDEyMTU1MTU= | 11,876 | Cannot add tokenizer to model repo | {
"login": "Kvit",
"id": 1123272,
"node_id": "MDQ6VXNlcjExMjMyNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1123272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kvit",
"html_url": "https://github.com/Kvit",
"followers_url": "https://api.github.com/users/Kvit/followers",
... | [] | closed | false | null | [] | [
"This is a known issue on our side. Can you try once more? cc @n1t0 @sterchelen ",
"Same result:\r\n```\r\n---------------------------------------------------------------------------\r\nCalledProcessError Traceback (most recent call last)\r\n/usr/local/lib/python3.7/dist-packages/huggingfac... | 1,621 | 1,621 | 1,621 | 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.6.1
- Platform: Linux-5.4.109+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- Google Colab Pro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11876/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11875/comments | https://api.github.com/repos/huggingface/transformers/issues/11875/events | https://github.com/huggingface/transformers/issues/11875 | 901,178,456 | MDU6SXNzdWU5MDExNzg0NTY= | 11,875 | [lm examples] replicate --config_overrides addition to other LM examples | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I am getting started with this task. ",
"Thank you, @kumar-abhishek!"
] | 1,621 | 1,623 | 1,623 | CONTRIBUTOR | null | This PR https://github.com/huggingface/transformers/pull/11798 created for `run_clm.py` which adds a new feature `--config_overrides` needs to be replayed for other scripts under `examples/pytorch/language-modeling/`.
If you choose to work on this small project, please comment that you're working on it.
And thank... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11875/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11874/comments | https://api.github.com/repos/huggingface/transformers/issues/11874/events | https://github.com/huggingface/transformers/pull/11874 | 901,149,203 | MDExOlB1bGxSZXF1ZXN0NjUyNjM2NTE1 | 11,874 | [AutomaticSpeechRecognitionPipeline] Ensure input tensors are on device | {
"login": "francescorubbo",
"id": 5140987,
"node_id": "MDQ6VXNlcjUxNDA5ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5140987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/francescorubbo",
"html_url": "https://github.com/francescorubbo",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [] | 1,621 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
Enables using AutomaticSpeechRecognitionPipeline on GPU.
The feature extractor does not create tensors on the appropriate device, so we call `ensure_tensor_on_device` before feeding the processed inputs to the model.
Fixes #11829
## Before submitting
- [ ] This PR fixes a typo or im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11874/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11874",
"html_url": "https://github.com/huggingface/transformers/pull/11874",
"diff_url": "https://github.com/huggingface/transformers/pull/11874.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11874.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11873/comments | https://api.github.com/repos/huggingface/transformers/issues/11873/events | https://github.com/huggingface/transformers/issues/11873 | 900,970,372 | MDU6SXNzdWU5MDA5NzAzNzI= | 11,873 | Errors in Quickstart Documentation related to GPT-2 | {
"login": "williamsdoug",
"id": 2381871,
"node_id": "MDQ6VXNlcjIzODE4NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2381871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/williamsdoug",
"html_url": "https://github.com/williamsdoug",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Oh, this page should not be there anymore, it's part of the old documentation. Out of curiosity, how did you get on it?",
"Hi @sgugger -\r\n\r\nI think I see the problem. If the user navigates to huggingface.co first, then follows the links, it points to the updated documentation. Also, the link associated wit... | 1,621 | 1,625 | 1,625 | NONE | null | To: @sgugger, @patrickvonplaten, @LysandreJik
## Environment info
- `transformers` version: 4.6.0
- Platform: Linux-5.4.0-73-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: True
- Using dis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11873/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11872/comments | https://api.github.com/repos/huggingface/transformers/issues/11872/events | https://github.com/huggingface/transformers/pull/11872 | 900,938,902 | MDExOlB1bGxSZXF1ZXN0NjUyNDQ4NTc5 | 11,872 | modify qa-trainer | {
"login": "zhangfanTJU",
"id": 58031744,
"node_id": "MDQ6VXNlcjU4MDMxNzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/58031744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangfanTJU",
"html_url": "https://github.com/zhangfanTJU",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I encountered an unexpected error in ci, could you help me to finish this pr? @LysandreJik ",
"Seems like a CircleCI failure, I just relaunched all tests.",
"the CircleCI encountered a HTTPError, what should I do? @LysandreJik "
] | 1,621 | 1,622 | 1,622 | CONTRIBUTOR | null | I fixed the evaluation failure for the TrainerQA-based script [`examples/pytorch/question-answering/run_qa.py`](https://github.com/huggingface/transformers/blob/master/examples/pytorch/question-answering/run_qa.py) when using distributed training, which has been partially fixed in #11746.
```
Traceback (most recen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11872/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11872",
"html_url": "https://github.com/huggingface/transformers/pull/11872",
"diff_url": "https://github.com/huggingface/transformers/pull/11872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11872.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11871/comments | https://api.github.com/repos/huggingface/transformers/issues/11871/events | https://github.com/huggingface/transformers/issues/11871 | 900,909,558 | MDU6SXNzdWU5MDA5MDk1NTg= | 11,871 | Want to use bert-base-uncased model without internet connection | {
"login": "IamSparky",
"id": 42636586,
"node_id": "MDQ6VXNlcjQyNjM2NTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42636586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IamSparky",
"html_url": "https://github.com/IamSparky",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This would be better suited on the Forum, but I would suggest doing (with git-lfs installed)\r\n\r\n```bash\r\ngit clone https://huggingface.co/bert-base-uncased\r\n```\r\n\r\nand then\r\n```python\r\nimport transformers\r\ntransformers.BertTokenizer.from_pretrained(\"./bert-base-uncased\", do_lower_case=True)\r\n... | 1,621 | 1,622 | 1,622 | NONE | null | I want to use the bert-base-uncased model in offline , for that I need the bert tokenizer and bert model have there packages saved in my local . **I am unable to understand how should I achieve it in my local without any internet connection** ?
import transformers
transformers.BertTokenizer.from_pretrained("bert-ba... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11871/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11870/comments | https://api.github.com/repos/huggingface/transformers/issues/11870/events | https://github.com/huggingface/transformers/issues/11870 | 900,768,841 | MDU6SXNzdWU5MDA3Njg4NDE= | 11,870 | Issue: BART does not learn during fine-tuning for abstractive text summarization | {
"login": "DidiDerDenker",
"id": 31280364,
"node_id": "MDQ6VXNlcjMxMjgwMzY0",
"avatar_url": "https://avatars.githubusercontent.com/u/31280364?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DidiDerDenker",
"html_url": "https://github.com/DidiDerDenker",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @patrickvonplaten ",
"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/b... | 1,621 | 1,628 | 1,628 | NONE | null | ## Environment info
- transformers version: 4.5.1
- Python version: Python 3.7
- Using GPU in script? Yes
### Who can help
- @patrickvonplaten
## Information
I am currently working on abstractive text summarization. In the process I am trying to fine-tune BART on german text data. This works i.e. with b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11870/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/11870/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11869/comments | https://api.github.com/repos/huggingface/transformers/issues/11869/events | https://github.com/huggingface/transformers/issues/11869 | 900,714,735 | MDU6SXNzdWU5MDA3MTQ3MzU= | 11,869 | Custom train file not supported in run_qa.py | {
"login": "thuan00",
"id": 55292740,
"node_id": "MDQ6VXNlcjU1MjkyNzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/55292740?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thuan00",
"html_url": "https://github.com/thuan00",
"followers_url": "https://api.github.com/users/thuan0... | [] | closed | false | null | [] | [
"Hi there. As mentioned in the main [README](https://github.com/huggingface/transformers#why-shouldnt-i-use-transformers) examples are just that: examples. The script is intended to work on SQUAD or any file that is structured exactly the same way. To make it work on your own dataset, you will need to make some sli... | 1,621 | 1,621 | 1,621 | NONE | null | ## Environment info
- transformers version: 4.6.1
- Platform: Linux-5.4.109+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1+cu101 (True)
- Tensorflow version (GPU?): 2.4.1 (True)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Who... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11869/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11868/comments | https://api.github.com/repos/huggingface/transformers/issues/11868/events | https://github.com/huggingface/transformers/issues/11868 | 900,694,315 | MDU6SXNzdWU5MDA2OTQzMTU= | 11,868 | Wrong BlenderbotConfig description (max_position_embeddings) | {
"login": "shinishiho",
"id": 59284549,
"node_id": "MDQ6VXNlcjU5Mjg0NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/59284549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shinishiho",
"html_url": "https://github.com/shinishiho",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,621 | 1,625 | 1,625 | NONE | null | Hi there, the documentation page for BlenderbotConfiguration has a wrong parameter description
[https://huggingface.co/transformers/model_doc/blenderbot.html](url)
max_position_embeddings (int, optional, defaults to 1024) – The maximum sequence length that this model might ever be used with. Typically set this to s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11868/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/11868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11867/comments | https://api.github.com/repos/huggingface/transformers/issues/11867/events | https://github.com/huggingface/transformers/pull/11867 | 900,626,329 | MDExOlB1bGxSZXF1ZXN0NjUyMTY5ODA4 | 11,867 | Fix incorrect TPU pricing in Flax GLUE README.md | {
"login": "marcvanzee",
"id": 180100,
"node_id": "MDQ6VXNlcjE4MDEwMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/180100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcvanzee",
"html_url": "https://github.com/marcvanzee",
"followers_url": "https://api.github.com/users/m... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,621 | 1,625 | 1,625 | 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/11867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11867/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11867",
"html_url": "https://github.com/huggingface/transformers/pull/11867",
"diff_url": "https://github.com/huggingface/transformers/pull/11867.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11867.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11866/comments | https://api.github.com/repos/huggingface/transformers/issues/11866/events | https://github.com/huggingface/transformers/issues/11866 | 900,614,620 | MDU6SXNzdWU5MDA2MTQ2MjA= | 11,866 | # 🖥 Benchmarking `transformers` | {
"login": "turnertye74",
"id": 80142188,
"node_id": "MDQ6VXNlcjgwMTQyMTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/80142188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/turnertye74",
"html_url": "https://github.com/turnertye74",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | 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!
__Originally posted by @turnertye74 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11866/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11865/comments | https://api.github.com/repos/huggingface/transformers/issues/11865/events | https://github.com/huggingface/transformers/issues/11865 | 900,614,025 | MDU6SXNzdWU5MDA2MTQwMjU= | 11,865 | [Benchmark] | {
"login": "turnertye74",
"id": 80142188,
"node_id": "MDQ6VXNlcjgwMTQyMTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/80142188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/turnertye74",
"html_url": "https://github.com/turnertye74",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | 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/11865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11865/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11864/comments | https://api.github.com/repos/huggingface/transformers/issues/11864/events | https://github.com/huggingface/transformers/issues/11864 | 900,566,822 | MDU6SXNzdWU5MDA1NjY4MjI= | 11,864 | Bart tokenizer and bart model for conditional generation have different vocab size | {
"login": "clementbernardd",
"id": 44928643,
"node_id": "MDQ6VXNlcjQ0OTI4NjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/44928643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clementbernardd",
"html_url": "https://github.com/clementbernardd",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi there,\r\n\r\nThis is because the [orginal](https://github.com/pytorch/fairseq/tree/master/examples/bart#pre-trained-models) `bart-large-xsum` model uses 50264 for token_embedding, so you would probably need to extend the token embedding layer."
] | 1,621 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Google colab
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1
- Using GPU in script?: No
### Who can help
@patrickvonplaten, @patil-suraj
Models:
- bart
Library:
- text generation: @patrickvonplaten
- tokenizers: @Lysand... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11864/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11863/comments | https://api.github.com/repos/huggingface/transformers/issues/11863/events | https://github.com/huggingface/transformers/pull/11863 | 900,551,299 | MDExOlB1bGxSZXF1ZXN0NjUyMTAzNjAx | 11,863 | [Proposal] Adding infinite generation as an option to generate | {
"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 | [] | [
"I get what you are saying, it's a valid concern.\r\n\r\n`position ids` tend to be very well correlated with their siblings, so it shouldn't matter (so much) for the first few iterations out of bounds.\r\nIt will matter more at full fledged `seq_length` drift, but I figure it's the callers responsibility to underst... | 1,621 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
`generate` is limited in a lot of models, where we can't generate
more tokens than the limit of a said model (`seq_length`,
`max_position_embeddings`).
It corresponds to a reality of how models where trained, but advanced
usage like inference might rely on using the models to generate longer
o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11863/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11863",
"html_url": "https://github.com/huggingface/transformers/pull/11863",
"diff_url": "https://github.com/huggingface/transformers/pull/11863.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11863.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11862/comments | https://api.github.com/repos/huggingface/transformers/issues/11862/events | https://github.com/huggingface/transformers/issues/11862 | 900,528,866 | MDU6SXNzdWU5MDA1Mjg4NjY= | 11,862 | 'SequenceClassifierOutput' object has no attribute 'log_softmax' | {
"login": "AngThanos",
"id": 41022754,
"node_id": "MDQ6VXNlcjQxMDIyNzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/41022754?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AngThanos",
"html_url": "https://github.com/AngThanos",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! Could you share the code you have that led to this error? Thanks",
"This is my source code. I use google colab. Thank you for your fast reply.\r\n[https://drive.google.com/file/d/1zRKRolc-IuKAt_J96gTCoO801r6eXu2q/view?usp=sharing](url)\r\n",
"I think the issue is that you have:\r\n```py\r\n\r\nclass C... | 1,621 | 1,621 | 1,621 | NONE | null | Hi there,
I'm trying to transfer the pre-trained ViT model (model base patch 16, image size 224) on Cassava Leaf Disease Dataset. However, when I started to train the model, I encountered an error: 'SequenceClassifierOutput' object has no attribute 'log_softmax' which is shown in details in the attached image.
Can... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11861/comments | https://api.github.com/repos/huggingface/transformers/issues/11861/events | https://github.com/huggingface/transformers/issues/11861 | 900,518,760 | MDU6SXNzdWU5MDA1MTg3NjA= | 11,861 | ONNX model conversion | {
"login": "fdlci",
"id": 73292708,
"node_id": "MDQ6VXNlcjczMjkyNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/73292708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fdlci",
"html_url": "https://github.com/fdlci",
"followers_url": "https://api.github.com/users/fdlci/follow... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,621 | 1,625 | 1,625 | NONE | null | Hi,
I have been comparing inference speeds between pytorch models and their ONNX versions. To convert a model from pytorch to ONNX I have used the code your provided in convert_graph_to_onnx.py.
I have built my onnx model as follows as I am applying it to QA: python transformers/src/transformers/convert_graph_to_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11860/comments | https://api.github.com/repos/huggingface/transformers/issues/11860/events | https://github.com/huggingface/transformers/pull/11860 | 900,459,302 | MDExOlB1bGxSZXF1ZXN0NjUyMDIzNTkx | 11,860 | Add some tests to the slow suite | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | MEMBER | null | This PR adds the torchscript tests to the slow suite. The current CI isn't passing because it crashes and exceeds the 10-minute timeout, this PR is a first step into fixing that.
Will look into re-enabling the torchscript tests on each commit (they'll be tested every day for now) once we refactor the test suite to b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11860",
"html_url": "https://github.com/huggingface/transformers/pull/11860",
"diff_url": "https://github.com/huggingface/transformers/pull/11860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11860.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11859/comments | https://api.github.com/repos/huggingface/transformers/issues/11859/events | https://github.com/huggingface/transformers/pull/11859 | 900,455,377 | MDExOlB1bGxSZXF1ZXN0NjUyMDE5OTQ5 | 11,859 | Enable memory metrics in tests that need it | {
"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 | [] | [
"Thanks a lot for catching and fixing @LysandreJik !"
] | 1,621 | 1,621 | 1,621 | MEMBER | null | PR https://github.com/huggingface/transformers/pull/11851 was merged without updating the tests to reflect the change in the argument default.
Explicitly specified the need for memory metrics for these tests.
Merging now to have CI pass, feel free to comment if that's not the right approach @stas00 @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11859/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/11859/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11859",
"html_url": "https://github.com/huggingface/transformers/pull/11859",
"diff_url": "https://github.com/huggingface/transformers/pull/11859.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11859.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11858/comments | https://api.github.com/repos/huggingface/transformers/issues/11858/events | https://github.com/huggingface/transformers/pull/11858 | 900,370,756 | MDExOlB1bGxSZXF1ZXN0NjUxOTQyNjA0 | 11,858 | typo | {
"login": "WrRan",
"id": 7569098,
"node_id": "MDQ6VXNlcjc1NjkwOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7569098?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WrRan",
"html_url": "https://github.com/WrRan",
"followers_url": "https://api.github.com/users/WrRan/follower... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | CONTRIBUTOR | null | # What does this PR do?
fix typo
<!--
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 replac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11858/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11858",
"html_url": "https://github.com/huggingface/transformers/pull/11858",
"diff_url": "https://github.com/huggingface/transformers/pull/11858.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11858.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11857/comments | https://api.github.com/repos/huggingface/transformers/issues/11857/events | https://github.com/huggingface/transformers/pull/11857 | 900,309,398 | MDExOlB1bGxSZXF1ZXN0NjUxODg3OTMz | 11,857 | [WIP] Fix cross attentions for TF T5 | {
"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 | [] | [] | 1,621 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR fixes cross attentions for TF T5 model. This includes adding a new input argument `cross_attn_head_mask` and also adding `cross_attentions` to the model's output.
<hr>
**Reviewers:** @patrickvonplaten @Rocketknight1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11857/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11857",
"html_url": "https://github.com/huggingface/transformers/pull/11857",
"diff_url": "https://github.com/huggingface/transformers/pull/11857.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11857.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11856/comments | https://api.github.com/repos/huggingface/transformers/issues/11856/events | https://github.com/huggingface/transformers/pull/11856 | 900,294,521 | MDExOlB1bGxSZXF1ZXN0NjUxODc0ODI1 | 11,856 | fixed a small typo in the CONTRIBUTING doc | {
"login": "stsuchi",
"id": 8391010,
"node_id": "MDQ6VXNlcjgzOTEwMTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8391010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stsuchi",
"html_url": "https://github.com/stsuchi",
"followers_url": "https://api.github.com/users/stsuchi/... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | 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/11856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11856/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11856",
"html_url": "https://github.com/huggingface/transformers/pull/11856",
"diff_url": "https://github.com/huggingface/transformers/pull/11856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11856.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11855/comments | https://api.github.com/repos/huggingface/transformers/issues/11855/events | https://github.com/huggingface/transformers/pull/11855 | 900,148,509 | MDExOlB1bGxSZXF1ZXN0NjUxNzQ5NTE1 | 11,855 | [lm examples] fix overflow in perplexity calc | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | CONTRIBUTOR | null | This PR fixes overflow exception in perplexity calculation. Triggered when doing eval on untrained model and the loss is huge.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11855/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11855",
"html_url": "https://github.com/huggingface/transformers/pull/11855",
"diff_url": "https://github.com/huggingface/transformers/pull/11855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11855.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11854/comments | https://api.github.com/repos/huggingface/transformers/issues/11854/events | https://github.com/huggingface/transformers/issues/11854 | 900,047,463 | MDU6SXNzdWU5MDAwNDc0NjM= | 11,854 | Permission denied for cardiffnlp/twitter-roberta-base-emotion | {
"login": "StephenQuirolgico",
"id": 4974765,
"node_id": "MDQ6VXNlcjQ5NzQ3NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4974765?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StephenQuirolgico",
"html_url": "https://github.com/StephenQuirolgico",
"followers_url": "https:/... | [] | closed | false | null | [] | [
"The model seems accessible: https://huggingface.co/cardiffnlp/twitter-roberta-base-emotion \r\n\r\nAnd running the example code locally correctly loads the model, and outputs the following:\r\n\r\n```py\r\n1) joy 0.9382\r\n2) optimism 0.0362\r\n3) anger 0.0145\r\n4) sadness 0.0112\r\n```\r\n\r\nCould you try again... | 1,621 | 1,622 | 1,622 | NONE | null | @patrickvonplaten
When trying to access `cardiffnlp/twitter-roberta-base-emotion` using the example code, it can't seem to find the model. I also tried calling the model from an NLP framework (AdaptNLP) and it gave a Permission denied error. However, I don't get this error when using `cardiffnlp/twitter-roberta-bas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11854/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11854/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11853/comments | https://api.github.com/repos/huggingface/transformers/issues/11853/events | https://github.com/huggingface/transformers/issues/11853 | 899,912,428 | MDU6SXNzdWU4OTk5MTI0Mjg= | 11,853 | Multi-node training for casual language modeling example does not work | {
"login": "hamid-ramezani",
"id": 73587486,
"node_id": "MDQ6VXNlcjczNTg3NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/73587486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamid-ramezani",
"html_url": "https://github.com/hamid-ramezani",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Are you sure the port is open between the two machines? Not having any output is usually a symptom of that. I've tried on my side and I can run the script on multi-nodes.",
"@sgugger Thanks for the reply :)\r\n\r\n> Are you sure the port is open between the two machines?\r\n\r\nyes I made sure by giving differen... | 1,621 | 1,621 | 1,621 | 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.7.0.dev0
- Platform: Linux-4.19.0-14-amd64-x86_64-with-debian-10.8
- Python version: 3.7.10
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11853/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11852/comments | https://api.github.com/repos/huggingface/transformers/issues/11852/events | https://github.com/huggingface/transformers/pull/11852 | 899,887,384 | MDExOlB1bGxSZXF1ZXN0NjUxNTIyNzg3 | 11,852 | Fix two typos in docs | {
"login": "nickls",
"id": 363928,
"node_id": "MDQ6VXNlcjM2MzkyOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/363928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickls",
"html_url": "https://github.com/nickls",
"followers_url": "https://api.github.com/users/nickls/follow... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | CONTRIBUTOR | null | # What does this PR do?
Fixed two minor typos.
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11852/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11852",
"html_url": "https://github.com/huggingface/transformers/pull/11852",
"diff_url": "https://github.com/huggingface/transformers/pull/11852.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11852.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11851/comments | https://api.github.com/repos/huggingface/transformers/issues/11851/events | https://github.com/huggingface/transformers/pull/11851 | 899,813,633 | MDExOlB1bGxSZXF1ZXN0NjUxNDYxNDM0 | 11,851 | Switch mem metrics flag | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | COLLABORATOR | null | # What does this PR do?
As flagged out in #11485, the memory metrics take a bit of performance, so this PR switches the flag that enable them to give the best performance by default (and the user can still manually activate them when they want them!)
Fixes #11845 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11851",
"html_url": "https://github.com/huggingface/transformers/pull/11851",
"diff_url": "https://github.com/huggingface/transformers/pull/11851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11851.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11850/comments | https://api.github.com/repos/huggingface/transformers/issues/11850/events | https://github.com/huggingface/transformers/issues/11850 | 899,808,935 | MDU6SXNzdWU4OTk4MDg5MzU= | 11,850 | Gradient is None in after deepspeed backward | {
"login": "EarthXP",
"id": 15072042,
"node_id": "MDQ6VXNlcjE1MDcyMDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/15072042?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EarthXP",
"html_url": "https://github.com/EarthXP",
"followers_url": "https://api.github.com/users/EarthX... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"**edit** looks like Deepspeed needs to add an API to do that: https://github.com/microsoft/DeepSpeed/issues/1098\r\n\r\nMy original suggestion is very likely not to work. I have just never tried it in this context:\r\n\r\n---------\r\n\r\nSince params are sharded, you need to gather them before you can read their ... | 1,621 | 1,621 | 1,621 | 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.5.1
- Platform: Linux-4.15.0-112-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11850/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11849/comments | https://api.github.com/repos/huggingface/transformers/issues/11849/events | https://github.com/huggingface/transformers/pull/11849 | 899,796,716 | MDExOlB1bGxSZXF1ZXN0NjUxNDQ3Mzgw | 11,849 | Add simple ByteTokenizer for Reformer | {
"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 | [] | [
"> Cool, thank you for opening this PR!\r\n> \r\n> Before merging, I think two issues should be resolved:\r\n> \r\n> * I'm not sure what that `ReformerByteTokenizer` can be used for - so if I'm unaware, I suppose users will be too. Adding a bit of documentation regarding what is that tokenizer and why it's here... | 1,621 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
Fixes #11649
Adds a ReformerByteTokenizer for (https://huggingface.co/google/reformer-enwik8).
- Everything is a bit hardcoded in that tokenizer as very little configuration is expected
- no fast tokenizer (a bit useless as this manipulates raw bytes
and has very little python logic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11849/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11849",
"html_url": "https://github.com/huggingface/transformers/pull/11849",
"diff_url": "https://github.com/huggingface/transformers/pull/11849.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11849.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11848/comments | https://api.github.com/repos/huggingface/transformers/issues/11848/events | https://github.com/huggingface/transformers/issues/11848 | 899,773,395 | MDU6SXNzdWU4OTk3NzMzOTU= | 11,848 | Token Classification OOM | {
"login": "mirfan899",
"id": 3822565,
"node_id": "MDQ6VXNlcjM4MjI1NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3822565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mirfan899",
"html_url": "https://github.com/mirfan899",
"followers_url": "https://api.github.com/users/mi... | [] | closed | false | null | [] | [
"You should use `eval_accumulation_steps=n` (for instance 20) to have the predictions be moved to the CPU every n steps during evaluation (n should be lower than the step you get an OOM error)",
"Thanks, it worked perfectly.",
"> You should use `eval_accumulation_steps=n` (for instance 20) to have the predicti... | 1,621 | 1,653 | 1,622 | NONE | null | I am using the Token Classification Example on my dataset. It has around 20k lines for train and around 2k lines for validation and 2k for the test dataset. I have used the following example for my dataset.
https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/token_classification.ipynb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11848/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/11848/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11847/comments | https://api.github.com/repos/huggingface/transformers/issues/11847/events | https://github.com/huggingface/transformers/issues/11847 | 899,724,165 | MDU6SXNzdWU4OTk3MjQxNjU= | 11,847 | Request addition of 'GPT2ForwardBackward' models | {
"login": "GenTxt",
"id": 22547261,
"node_id": "MDQ6VXNlcjIyNTQ3MjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22547261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GenTxt",
"html_url": "https://github.com/GenTxt",
"followers_url": "https://api.github.com/users/GenTxt/fo... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [] | 1,621 | 1,621 | null | NONE | null | # 🌟 Request addition of 'GPT2ForwardBackward' models
## Model description
Code for running forward and backward versions of GPT-2 XL. These were trained for the paper:
**Reflective Decoding: Beyond Unidirectional Generation with Off-the-Shelf Language Models**; Peter West, Ximing Lu, Ari Holtzman, Chandra Bha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11847/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11846/comments | https://api.github.com/repos/huggingface/transformers/issues/11846/events | https://github.com/huggingface/transformers/pull/11846 | 899,654,089 | MDExOlB1bGxSZXF1ZXN0NjUxMzI1NzI0 | 11,846 | Fix reference to XLNet | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,621 | 1,621 | 1,621 | COLLABORATOR | null | # What does this PR do?
Fixes a reference to the XLNet page in the documentation of TrainingArguments.
Fixes #11831 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11846/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11846",
"html_url": "https://github.com/huggingface/transformers/pull/11846",
"diff_url": "https://github.com/huggingface/transformers/pull/11846.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11846.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11845/comments | https://api.github.com/repos/huggingface/transformers/issues/11845/events | https://github.com/huggingface/transformers/issues/11845 | 899,630,055 | MDU6SXNzdWU4OTk2MzAwNTU= | 11,845 | Regression in training speed since 4.4.0 | {
"login": "yaysummeriscoming",
"id": 11413145,
"node_id": "MDQ6VXNlcjExNDEzMTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/11413145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaysummeriscoming",
"html_url": "https://github.com/yaysummeriscoming",
"followers_url": "https... | [] | closed | false | null | [] | [
"Thanks for flagging! I used your reproducer (very nice by the way!) and a git bisect and it comes from #10937, which reworks the way memory metrics are computed. You just have to set `skip_memory_metrics=True` in your `TrainingArguments` to skip the memory metric computation and you will get your performance back.... | 1,621 | 1,625 | 1,621 | NONE | null | ## Environment info
- `transformers` version: 4.4.0/4.6.1
- Platform: Linux-5.8.0-53-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): 2.4.1 (False)
- Using GPU in script?: Yes, RTX 3090
- Using distributed or parallel set-up in scri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11845/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.