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/14556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14556/comments | https://api.github.com/repos/huggingface/transformers/issues/14556/events | https://github.com/huggingface/transformers/issues/14556 | 1,065,402,150 | I_kwDOCUB6oc4_gL8m | 14,556 | Target customized languages using multi-lingual sentence transformer models like "stsb-xlm-r-multilingual" | {
"login": "Tortoise17",
"id": 36593708,
"node_id": "MDQ6VXNlcjM2NTkzNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36593708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tortoise17",
"html_url": "https://github.com/Tortoise17",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,638 | 1,638 | 1,638 | NONE | null | I have seen these models with multi-lingual ability and they are very nice.
But, I would like to ask that is there any possibility to have the specific target language / languages from the multi-language data search?
Like source language >> input, target language << output?
Main motivation is that, I have data in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14556/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14555/comments | https://api.github.com/repos/huggingface/transformers/issues/14555/events | https://github.com/huggingface/transformers/pull/14555 | 1,065,362,301 | PR_kwDOCUB6oc4vGEd7 | 14,555 | Add LayoutLMv2 to models exportable with ONNX | {
"login": "fadi212",
"id": 37739280,
"node_id": "MDQ6VXNlcjM3NzM5Mjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/37739280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fadi212",
"html_url": "https://github.com/fadi212",
"followers_url": "https://api.github.com/users/fadi21... | [] | closed | false | null | [] | [
"@michaelbenayoun Can you please review this PR and highlight why these circleci tests are failing ?",
"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 fol... | 1,638 | 1,664 | 1,641 | NONE | null | This PR adds the code for converting LayoutLMv2 model to onnx format. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14555/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14555",
"html_url": "https://github.com/huggingface/transformers/pull/14555",
"diff_url": "https://github.com/huggingface/transformers/pull/14555.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14555.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14554/comments | https://api.github.com/repos/huggingface/transformers/issues/14554/events | https://github.com/huggingface/transformers/issues/14554 | 1,065,340,637 | I_kwDOCUB6oc4_f87d | 14,554 | Loading from checkpoint without skipping requires the same number of GPUs | {
"login": "vitalyshalumov",
"id": 33824221,
"node_id": "MDQ6VXNlcjMzODI0MjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/33824221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vitalyshalumov",
"html_url": "https://github.com/vitalyshalumov",
"followers_url": "https://api.gi... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"Yes, in general the API to resume training requires you to have the exact same setup. You won't get to the same results otherwise.",
"> Yes, in general the API to resume training requires you to have the exact same setup. You won't get to the same results otherwise.\r\n\r\nMy aim is not to reproduce the results.... | 1,638 | 1,640 | 1,640 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.5
- Platform: Linux-4.4.0-210-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14554/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14553/comments | https://api.github.com/repos/huggingface/transformers/issues/14553/events | https://github.com/huggingface/transformers/pull/14553 | 1,065,281,792 | PR_kwDOCUB6oc4vF2QS | 14,553 | to support 3 dim attention mask in tf version | {
"login": "BruceJust",
"id": 36367169,
"node_id": "MDQ6VXNlcjM2MzY3MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/36367169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BruceJust",
"html_url": "https://github.com/BruceJust",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
}
] | 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,638 | 1,642 | 1,642 | NONE | null | support 3 dim attention mask
# What does this PR do?
to support 3 dim attention mask in tf version
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14553/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14553",
"html_url": "https://github.com/huggingface/transformers/pull/14553",
"diff_url": "https://github.com/huggingface/transformers/pull/14553.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14553.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14552/comments | https://api.github.com/repos/huggingface/transformers/issues/14552/events | https://github.com/huggingface/transformers/issues/14552 | 1,065,274,050 | I_kwDOCUB6oc4_fsrC | 14,552 | Can’t run Parallel inference | {
"login": "dabasmoti",
"id": 38852155,
"node_id": "MDQ6VXNlcjM4ODUyMTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/38852155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dabasmoti",
"html_url": "https://github.com/dabasmoti",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @dabasmoti,\r\n\r\nCan you share the full reproducible script ?\r\nIt seems that something early on is messing things up.\r\n\r\nIf you remove `model=model` then it works perfectly. The model creation is likely to be the issue.",
"@Narsil \r\nThank you for your comment.\r\n\r\nHere is the script\r\n\r\n```\r\... | 1,638 | 1,641 | 1,641 | NONE | null | - `transformers` version: 4.12.3
- Platform: Darwin-20.6.0-x86_64-i386-64bit
- Python version: 3.7.0
- PyTorch version (GPU?): 1.10.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14552/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14551/comments | https://api.github.com/repos/huggingface/transformers/issues/14551/events | https://github.com/huggingface/transformers/issues/14551 | 1,065,270,869 | I_kwDOCUB6oc4_fr5V | 14,551 | Question about the <mask> | {
"login": "yz-qiang",
"id": 72866861,
"node_id": "MDQ6VXNlcjcyODY2ODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/72866861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yz-qiang",
"html_url": "https://github.com/yz-qiang",
"followers_url": "https://api.github.com/users/yz-... | [] | 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,638 | 1,641 | 1,641 | NONE | null | When fine-tuning the Bert, can I add some kind of constraint on the pre_trained **Bert model** so that Bert knows the different locations of **\<mask\>** to predict the same content? For example, **xxx \<mask1\> xxx xxx, .... xxx \<mask1\>.**. I know Bert can predict the **MASK** in two positions into the same word wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14551/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14550/comments | https://api.github.com/repos/huggingface/transformers/issues/14550/events | https://github.com/huggingface/transformers/issues/14550 | 1,065,161,756 | I_kwDOCUB6oc4_fRQc | 14,550 | Huggingface Missing Larger T5 Flax Models | {
"login": "kev-zhao",
"id": 56480397,
"node_id": "MDQ6VXNlcjU2NDgwMzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/56480397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kev-zhao",
"html_url": "https://github.com/kev-zhao",
"followers_url": "https://api.github.com/users/kev... | [] | closed | false | null | [] | [
"cc @patil-suraj @patrickvonplaten",
"Thanks for the issue - just uploaded it: https://huggingface.co/t5-large/blob/main/flax_model.msgpack",
"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\... | 1,638 | 1,686 | 1,641 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.5
- Platform: Linux-5.4.0-90-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14550/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14549/comments | https://api.github.com/repos/huggingface/transformers/issues/14549/events | https://github.com/huggingface/transformers/pull/14549 | 1,065,125,709 | PR_kwDOCUB6oc4vFks- | 14,549 | Update TAPAS tokenization's add_numeric_table_values | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"@NielsRogge could you take a look at this?",
"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/huggi... | 1,638 | 1,652 | 1,652 | CONTRIBUTOR | null | Using `table.iloc[row_index, col_index]` will use the index label, whereas `table.loc[row_index, col_index]` will use the location. So if the original dataframe had an index, using `iloc` would try to access the incorrect index and fall out of range. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14549/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14549",
"html_url": "https://github.com/huggingface/transformers/pull/14549",
"diff_url": "https://github.com/huggingface/transformers/pull/14549.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14549.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14548/comments | https://api.github.com/repos/huggingface/transformers/issues/14548/events | https://github.com/huggingface/transformers/issues/14548 | 1,065,034,614 | I_kwDOCUB6oc4_eyN2 | 14,548 | Does the word embedding matrix of GPT2 load from the checkpoint, during the fine-tuning? | {
"login": "Choitsugun",
"id": 33718854,
"node_id": "MDQ6VXNlcjMzNzE4ODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/33718854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Choitsugun",
"html_url": "https://github.com/Choitsugun",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I was mistaken. Sorry."
] | 1,638 | 1,638 | 1,638 | NONE | null | Does the word embedding matrix of GPT2 load from the checkpoint, during the fine-tuning?
(transformer.wte.weight⇒shared token embedding layer Shared weights logic)
I tried to do the following:
model = TFGPT2LMHeadModel.from_pretrained("gpt2-medium")
model.get_output_embeddings().weight
But the fol... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14548/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14547/comments | https://api.github.com/repos/huggingface/transformers/issues/14547/events | https://github.com/huggingface/transformers/pull/14547 | 1,065,020,114 | PR_kwDOCUB6oc4vFT1e | 14,547 | [Flax] token-classification model steps enumerate start from 1 | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You mean here\r\nhttps://github.com/huggingface/transformers/blob/2b87fdac6c3ff6483eb4d8f98bbd4e1374ac4958/examples/flax/token-classification/run_flax_ner.py#L602\r\n\r\nLike this `cur_step = (epoch * step_per_epoch) + (step + 1) `\r\n",
"Yes, exactly!"
] | 1,638 | 1,638 | 1,638 | 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/14547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14547/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14547",
"html_url": "https://github.com/huggingface/transformers/pull/14547",
"diff_url": "https://github.com/huggingface/transformers/pull/14547.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14547.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14546 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14546/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14546/comments | https://api.github.com/repos/huggingface/transformers/issues/14546/events | https://github.com/huggingface/transformers/pull/14546 | 1,064,926,334 | PR_kwDOCUB6oc4vFL3D | 14,546 | Fix a Bug, trainer_seq2seq.py, in the else branch at Line 172, generation_inputs should be a dict | {
"login": "TranSirius",
"id": 28385142,
"node_id": "MDQ6VXNlcjI4Mzg1MTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/28385142?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TranSirius",
"html_url": "https://github.com/TranSirius",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @TranSirius,\r\n\r\nThanks a lot for your PR here! It looks good to me - @sgugger can you maybe take a look as well?",
"Should we maybe write some tests for this use case as well?",
"Oops didn't see your comment @patrickvonplaten. Adding a test would be nice to have indeed @TranSirius if you want to work o... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # Fixing Bug
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a descr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14546/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14546",
"html_url": "https://github.com/huggingface/transformers/pull/14546",
"diff_url": "https://github.com/huggingface/transformers/pull/14546.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14546.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14545/comments | https://api.github.com/repos/huggingface/transformers/issues/14545/events | https://github.com/huggingface/transformers/pull/14545 | 1,064,921,650 | PR_kwDOCUB6oc4vFLJ9 | 14,545 | fix bug for trainer_seq2seq, generation_inputs should be a dict befor… | {
"login": "TranSirius",
"id": 28385142,
"node_id": "MDQ6VXNlcjI4Mzg1MTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/28385142?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TranSirius",
"html_url": "https://github.com/TranSirius",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | …e sending to model.generate (Arround Line 165 - Line 185)
# Fixing Bug
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14545/reactions",
"total_count": 5,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/14545/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14545",
"html_url": "https://github.com/huggingface/transformers/pull/14545",
"diff_url": "https://github.com/huggingface/transformers/pull/14545.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14545.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14544/comments | https://api.github.com/repos/huggingface/transformers/issues/14544/events | https://github.com/huggingface/transformers/issues/14544 | 1,064,900,403 | I_kwDOCUB6oc4_eRcz | 14,544 | TAPAS tokenizer is unable to handle indexed dataframes | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis has been reported before in #10265. Would you mind opening a PR to fix this?",
"@NielsRogge I started a PR here: https://github.com/huggingface/transformers/pull/14549\r\n\r\nI'm not sure if it totally solves the problem, but it's a start",
"@NielsRogge I'm looking about at this comment right n... | 1,637 | 1,641 | 1,641 | CONTRIBUTOR | null | Running the following code will result in a `iloc` error:
```python
from transformers import TapasTokenizer
import pandas as pd
model_name = 'google/tapas-base'
tokenizer = TapasTokenizer.from_pretrained(model_name)
data = {'Actors': ["Brad Pitt", "Leonardo Di Caprio", "George Clooney"], 'Number of movies':... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14544/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14543/comments | https://api.github.com/repos/huggingface/transformers/issues/14543/events | https://github.com/huggingface/transformers/issues/14543 | 1,064,894,637 | I_kwDOCUB6oc4_eQCt | 14,543 | TAPAS tanh activation on the pooling layer | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThe TAPAS authors borrowed this from the original BERT paper, which decided to apply a tanh layer. \r\n\r\nThe BERT author explains why he did that [here](https://github.com/google-research/bert/issues/43).",
"Ah thanks, you are right. They indeed use tanh in the code: https://github.com/google-resear... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | I noticed the following in the TAPAS pooling layer:
https://github.com/huggingface/transformers/blob/d83b0e0c079f0826d186270a86622ff5f1efd9c1/src/transformers/models/tapas/modeling_tapas.py#L696-L709
I'm curious about the use of `nn.Tanh()`. I wasn't able to find more information about that activation in [the pap... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14543/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14542/comments | https://api.github.com/repos/huggingface/transformers/issues/14542/events | https://github.com/huggingface/transformers/issues/14542 | 1,064,789,388 | I_kwDOCUB6oc4_d2WM | 14,542 | CUDA OOM at `self.optimizer.consolidate_state_dict()` in Trainer when using sharded_ddp | {
"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 | [] | [
"You should remove the checkpointing by using `save_strategy=\"no\"` to avoid getting out of memory: since the optimizer states are sharded to avoid spending too much GPU memory, you get the OOM error when the `Trainer` tries to save the optimizer state.",
"Thank you for your reply! But if I remove the checkpoint... | 1,637 | 1,649 | 1,641 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.3
- Platform: Linux-5.4.0-1057-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14542/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/14542/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14541/comments | https://api.github.com/repos/huggingface/transformers/issues/14541/events | https://github.com/huggingface/transformers/issues/14541 | 1,064,694,011 | I_kwDOCUB6oc4_dfD7 | 14,541 | Out of the box GPT-2 CLM hits out of memory on an AWS 8x Nvidia A100 VM | {
"login": "oscar-p-wiz",
"id": 43073465,
"node_id": "MDQ6VXNlcjQzMDczNDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/43073465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oscar-p-wiz",
"html_url": "https://github.com/oscar-p-wiz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @sgugger maybe we should reduce the default batch size and/or sequence length here",
"The defaults are pretty good, but we should definitely update the example command give to either use a smaller `block_size` or some gradient accumulation with a smaller batch size.",
"This issue has been automatically mark... | 1,637 | 1,641 | 1,641 | NONE | null | Running the command located here https://github.com/huggingface/transformers/tree/master/examples/pytorch/language-modeling
python run_clm.py \
--model_name_or_path gpt2 \
--dataset_name wikitext \
--dataset_config_name wikitext-2-raw-v1 \
--do_train \
--do_eval \
--output_dir /tmp/test... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14541/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/14541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14540/comments | https://api.github.com/repos/huggingface/transformers/issues/14540/events | https://github.com/huggingface/transformers/issues/14540 | 1,064,691,043 | I_kwDOCUB6oc4_deVj | 14,540 | cannot import name 'SpeechEncoderDecoder' from 'transformers' - wav2vec2-xls-r-2b-22-to-16 | {
"login": "programmeddeath1",
"id": 44861370,
"node_id": "MDQ6VXNlcjQ0ODYxMzcw",
"avatar_url": "https://avatars.githubusercontent.com/u/44861370?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/programmeddeath1",
"html_url": "https://github.com/programmeddeath1",
"followers_url": "https://... | [] | 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,\r\n1) The pretrained model 'xls_r_2b_22_16.pt' is 19.6gb on the fairseq github repo. The xls_r_2b_22_16 model on the hugging face hub is 9.8GB. Could this be the issue? are these different models that were uploaded.\r\n2) The second sample code shows SpeechEncoderDecoder, it should be SpeechEncoderDecoderMode... | 1,637 | 1,641 | 1,641 | NONE | null | Hi,
I am currently trying to run this model - facebook/wav2vec2-xls-r-2b-22-to-16
https://huggingface.co/facebook/wav2vec2-xls-r-2b-22-to-16
The example code given using the pipeline is giving significantly different results compared to the api hosted on hugging face. I recorded and sent the same audio to the api ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14540/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14539/comments | https://api.github.com/repos/huggingface/transformers/issues/14539/events | https://github.com/huggingface/transformers/issues/14539 | 1,064,690,874 | I_kwDOCUB6oc4_deS6 | 14,539 | Two bugs in AdamW | {
"login": "manuelciosici",
"id": 51477,
"node_id": "MDQ6VXNlcjUxNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuelciosici",
"html_url": "https://github.com/manuelciosici",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"Thank you for submitting this bug report and the investigation, @manuelciosici\r\n\r\n> Look at lines 369-370. The weight decay is multiplied with `p.data` which no longer corresponds to `theta_{t-1}` since `p.data` was modified in line 369.\r\n\r\nYou must have meant line 359 in the sentence above.\r\n\r\nYour in... | 1,637 | 1,647 | 1,642 | 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.13.0.dev0
- Platform: Linux-3.10.0-1160.45.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.7
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14539/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/14539/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14538/comments | https://api.github.com/repos/huggingface/transformers/issues/14538/events | https://github.com/huggingface/transformers/issues/14538 | 1,064,686,251 | I_kwDOCUB6oc4_ddKr | 14,538 | cannot import name 'DataCollatorForSeq2Seq' from 'transformers' | {
"login": "QzzIsCoding",
"id": 56379157,
"node_id": "MDQ6VXNlcjU2Mzc5MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/56379157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QzzIsCoding",
"html_url": "https://github.com/QzzIsCoding",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"After restarting jupyter, the problem is solved."
] | 1,637 | 1,637 | 1,637 | NONE | null | ## Environment info
- `transformers` version: 4.13.0.dev0
- Platform: Ubuntu
- Python version: 3.7
- PyTorch version (GPU?): 1.10.0
### Who can help
@sgugger
## Models:
- encoder-decoder models
## To reproduce
Steps to reproduce the behavior:
`git clone https://github.com/huggingface/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14538/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14537/comments | https://api.github.com/repos/huggingface/transformers/issues/14537/events | https://github.com/huggingface/transformers/issues/14537 | 1,064,506,063 | I_kwDOCUB6oc4_cxLP | 14,537 | Is the attention_mask in BertSelfAttention applied correctly? | {
"login": "avolny",
"id": 12871158,
"node_id": "MDQ6VXNlcjEyODcxMTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12871158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avolny",
"html_url": "https://github.com/avolny",
"followers_url": "https://api.github.com/users/avolny/fo... | [] | closed | false | null | [] | [
"These issues may be of help: https://github.com/huggingface/transformers/issues/13555 https://github.com/huggingface/transformers/issues/542\r\n\r\nApparently it would still help quite a bit to have comments explaining what's happening - would you like to try your hand at it?",
"Oooh, yeah, didn't realize it was... | 1,637 | 1,641 | 1,641 | NONE | null | https://github.com/huggingface/transformers/blob/69511cdcaec8c1c7f0d7f378964eca0ce74ed5a8/src/transformers/models/bert/modeling_bert.py#L325-L327
Relevant Models:
- BERT: @LysandreJik
I was just working on adjusting Bert to my custom architecture, and when editing the BertSelfAttention module, I have noticed a ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14537/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14536/comments | https://api.github.com/repos/huggingface/transformers/issues/14536/events | https://github.com/huggingface/transformers/pull/14536 | 1,064,475,226 | PR_kwDOCUB6oc4vD-Ar | 14,536 | Add CodeParrot 🦜 codebase | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"> * For each step (preprocessing, training, evaluation etc), I think it would be useful to have a CLI with some default values. Currently, there are some hard-coded variables / configs that require the end-user to read the source code to understand what's going on.\r\n\r\nThe reason I went without a CLI is that mo... | 1,637 | 1,638 | 1,638 | MEMBER | null | # Add CodeParrot 🦜 codebase
This PR adds the CodeParrot 🦜 codebase to `examples/research_projects/`. The folder `scripts/` includes files for the following steps:
- data preprocessing
- model initialization
- training with accelerate
- validation loss
- evaluate on HumanEval benchmark
In addition the REA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14536/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14536/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14536",
"html_url": "https://github.com/huggingface/transformers/pull/14536",
"diff_url": "https://github.com/huggingface/transformers/pull/14536.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14536.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14535/comments | https://api.github.com/repos/huggingface/transformers/issues/14535/events | https://github.com/huggingface/transformers/pull/14535 | 1,064,421,946 | PR_kwDOCUB6oc4vDzhx | 14,535 | [flax] unfreeze initial cache in gpt models | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | MEMBER | null | # What does this PR do?
Fix flax `generate` for GPT models when the initial `seq_len` is 1.
The issue is the init_cache method of flax GPT2 returns the cache as a `FrozenDict`, but the model’s forward returns cache as a `dict`.
It works with seq_len > 1 because, when seq_len > 1, we call the body fun outside o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14535/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14535",
"html_url": "https://github.com/huggingface/transformers/pull/14535",
"diff_url": "https://github.com/huggingface/transformers/pull/14535.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14535.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14534/comments | https://api.github.com/repos/huggingface/transformers/issues/14534/events | https://github.com/huggingface/transformers/pull/14534 | 1,064,266,104 | PR_kwDOCUB6oc4vDWBe | 14,534 | Fixes | {
"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,637 | 1,637 | 1,637 | MEMBER | null | Final updates to quicktour. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14534/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14534",
"html_url": "https://github.com/huggingface/transformers/pull/14534",
"diff_url": "https://github.com/huggingface/transformers/pull/14534.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14534.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14533/comments | https://api.github.com/repos/huggingface/transformers/issues/14533/events | https://github.com/huggingface/transformers/pull/14533 | 1,064,244,368 | PR_kwDOCUB6oc4vDRiw | 14,533 | Quicktour updates | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This ensures that the `!` are inserted when converted to notebooks, and will only install TensorFlow in TF envs, PyTorch in PT envs, and both in envs that do both"
] | 1,637 | 1,637 | 1,637 | MEMBER | null | Tiny fixes for the quicktour cc @cfregly @philschmid | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14533/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14533",
"html_url": "https://github.com/huggingface/transformers/pull/14533",
"diff_url": "https://github.com/huggingface/transformers/pull/14533.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14533.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14532/comments | https://api.github.com/repos/huggingface/transformers/issues/14532/events | https://github.com/huggingface/transformers/issues/14532 | 1,064,096,363 | I_kwDOCUB6oc4_bNJr | 14,532 | Difference in the length of positional embeddings produces different results | {
"login": "devjwsong",
"id": 16731987,
"node_id": "MDQ6VXNlcjE2NzMxOTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/16731987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devjwsong",
"html_url": "https://github.com/devjwsong",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,641 | 1,641 | NONE | null | Hi, I am currently experimenting with how the length of dialogue histories in one input affects the performance of dialogue models using multi-session chat data. While I am working on **BlenderbotSmallForConditionalGeneration** from Huggingface's transformers with the checkpoint "blenderbot_small-90M", I encountered re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14532/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14532/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14531/comments | https://api.github.com/repos/huggingface/transformers/issues/14531/events | https://github.com/huggingface/transformers/issues/14531 | 1,064,077,655 | I_kwDOCUB6oc4_bIlX | 14,531 | Deepspeed and T5-11B for multitask training | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I have a feeling that the issue is not in using deepspeed but somewhere else in your setup. \r\n\r\nLet's remove deepspeed for a moment from the equation and try your setup with a single gpu setup with `t5-large` or even `t5-small` - make it work first so that it produces what you expect albeit with a lower qualit... | 1,637 | 1,690 | 1,641 | NONE | null | Carrying on my conversation here @stas00
https://github.com/huggingface/transformers/issues/9996#issuecomment-968348129
Used the run_translation.py and now my loss is 0.0 :( . This is probably doomed to fail
```
{'loss': 7.2639, 'learning_rate': 0.001, 'epoch': 0.02} ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14531/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14530/comments | https://api.github.com/repos/huggingface/transformers/issues/14530/events | https://github.com/huggingface/transformers/issues/14530 | 1,063,915,719 | I_kwDOCUB6oc4_ahDH | 14,530 | Logits warper for batch generation | {
"login": "bnurbekov",
"id": 5952089,
"node_id": "MDQ6VXNlcjU5NTIwODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5952089?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bnurbekov",
"html_url": "https://github.com/bnurbekov",
"followers_url": "https://api.github.com/users/bn... | [] | 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... | [
"Hey @bnurbekov,\r\n\r\nSorry for replying so late. We recently allowed to pass customized logits wrapper to `generate()`. Could you maybe try to build a custom wrapper for your purpose this way? \r\n\r\nhttps://github.com/huggingface/transformers/pull/14779",
"This issue has been automatically marked as stale be... | 1,637 | 1,644 | 1,644 | NONE | null | # 🚀 Feature request
Is there a way to modify `logits_warper`, so that it will apply different parameters (`top_p`, `top_k`, `temperature`) for each item in a batch instead of applying the same parameters for all items in the batch:
https://github.com/huggingface/transformers/blob/f25a9332e8d091398ce96c462e02a46794... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14530/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14529/comments | https://api.github.com/repos/huggingface/transformers/issues/14529/events | https://github.com/huggingface/transformers/pull/14529 | 1,063,894,324 | PR_kwDOCUB6oc4vCI5H | 14,529 | added save_directories for _psave_pretrained_pt and _tf, changed model to tf_model and pt_model, enable the notebook to run cleanly from top to bottom without error | {
"login": "cfregly",
"id": 1438064,
"node_id": "MDQ6VXNlcjE0MzgwNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1438064?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cfregly",
"html_url": "https://github.com/cfregly",
"followers_url": "https://api.github.com/users/cfregly/... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | @LysandreJik @philschmid
# 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.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14529/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14529",
"html_url": "https://github.com/huggingface/transformers/pull/14529",
"diff_url": "https://github.com/huggingface/transformers/pull/14529.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14529.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14528/comments | https://api.github.com/repos/huggingface/transformers/issues/14528/events | https://github.com/huggingface/transformers/issues/14528 | 1,063,772,413 | I_kwDOCUB6oc4_Z-D9 | 14,528 | trainer process bar can't move while training | {
"login": "jongjyh",
"id": 37979232,
"node_id": "MDQ6VXNlcjM3OTc5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/37979232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jongjyh",
"html_url": "https://github.com/jongjyh",
"followers_url": "https://api.github.com/users/jongjy... | [] | closed | false | null | [] | [
"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,637 | 1,641 | 1,641 | 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.12.5
- Platform:pytorch
- Python version:3.8
- PyTorch version (GPU?):1.12.0-cuda11.3
- Tensorflow version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14528/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14527/comments | https://api.github.com/repos/huggingface/transformers/issues/14527/events | https://github.com/huggingface/transformers/pull/14527 | 1,063,723,260 | PR_kwDOCUB6oc4vBmgl | 14,527 | Fix a slow test. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
Fixes the test
```bash
RUN_SLOW=1 RUN_PIPELINE_TESTS=1 pytest -sv tests/test_pipelines_audio_classification.py::Audi
oClassificationPipelineTests::test_large_model_pt
```
Fails on `torch==1.10.0+cu113`. Given the small differences of results I assume this is of no consequence.
<!-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14527",
"html_url": "https://github.com/huggingface/transformers/pull/14527",
"diff_url": "https://github.com/huggingface/transformers/pull/14527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14527.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14526/comments | https://api.github.com/repos/huggingface/transformers/issues/14526/events | https://github.com/huggingface/transformers/pull/14526 | 1,063,706,962 | PR_kwDOCUB6oc4vBjUg | 14,526 | Rename ImageGPT | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
This PR renames `ImageGPTForCausalLM` to `ImageGPTForCausalImageModeling`.
It's a long name. I know. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14526/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14526",
"html_url": "https://github.com/huggingface/transformers/pull/14526",
"diff_url": "https://github.com/huggingface/transformers/pull/14526.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14526.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14525/comments | https://api.github.com/repos/huggingface/transformers/issues/14525/events | https://github.com/huggingface/transformers/pull/14525 | 1,063,555,706 | PR_kwDOCUB6oc4vBG5P | 14,525 | fix #14524 (IndexError when mask prob is too low) | {
"login": "nikvaessen",
"id": 7225987,
"node_id": "MDQ6VXNlcjcyMjU5ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikvaessen",
"html_url": "https://github.com/nikvaessen",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I've had a deeper look into the actual masking methods in `fairseq` and `transformers`. I think the documentation is vague, and at odds with the description in https://arxiv.org/abs/2006.11477:\r\n\r\n> During fine-tuning we apply a masking strategy to the feature encoder outputs similar to SpecAug-\r\nment [41]: ... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
This fixes the issue described in #14524. This assumes that users are okay with at least some masking if they set the probability to something > 0. I assume this is an okay fix because for time masking `min_masks=2`.
## Who can review?
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14525/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/14525/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14525",
"html_url": "https://github.com/huggingface/transformers/pull/14525",
"diff_url": "https://github.com/huggingface/transformers/pull/14525.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14525.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14524/comments | https://api.github.com/repos/huggingface/transformers/issues/14524/events | https://github.com/huggingface/transformers/issues/14524 | 1,063,546,816 | I_kwDOCUB6oc4_ZG_A | 14,524 | Computation of mask indices in Wav2vec2Model fails with low probabilities | {
"login": "nikvaessen",
"id": 7225987,
"node_id": "MDQ6VXNlcjcyMjU5ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikvaessen",
"html_url": "https://github.com/nikvaessen",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,637 | 1,638 | 1,638 | 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.12.2
- Platform: Linux
- Python version: 3.8
- PyTorch version (GPU?): 1.10
### Who can help
@patric... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14524/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14523/comments | https://api.github.com/repos/huggingface/transformers/issues/14523/events | https://github.com/huggingface/transformers/issues/14523 | 1,063,512,662 | I_kwDOCUB6oc4_Y-pW | 14,523 | Examples for speech recognition trainings from scratch | {
"login": "stefan-falk",
"id": 43335432,
"node_id": "MDQ6VXNlcjQzMzM1NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/43335432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-falk",
"html_url": "https://github.com/stefan-falk",
"followers_url": "https://api.github.com/... | [] | 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... | [
"@patrickvonplaten @anton-l unfortunately I didn't get an answer to [my post](https://discuss.huggingface.co/t/need-help-training-speech2text-from-scratch/12306) in the 🤗 forum yet. I don't know if you would mind to take a look and maybe leave some advice on this topic. Thanks for any help.",
"Hey @stefan-falk,\... | 1,637 | 1,647 | 1,647 | NONE | null | # 🚀 Feature request
Fine-tuning is rather straight forward but it looks to me as if running a training from scratch isn't. I am rather new to 🤗 but from what I've learned to far is that it's rather tricky to get by and find out how to start a new `Speech2Text` training (for example).
We got [`run_wav2vec2_pret... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14523/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14522/comments | https://api.github.com/repos/huggingface/transformers/issues/14522/events | https://github.com/huggingface/transformers/issues/14522 | 1,063,401,268 | I_kwDOCUB6oc4_Yjc0 | 14,522 | Speeding up the models inference by OpenVINO through accurate quantization via NNCF | {
"login": "kshpv",
"id": 32935044,
"node_id": "MDQ6VXNlcjMyOTM1MDQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/32935044?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kshpv",
"html_url": "https://github.com/kshpv",
"followers_url": "https://api.github.com/users/kshpv/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,637 | 1,641 | 1,641 | NONE | null | # 🚀 Feature request
Add quantization support via [NNCF ](https://github.com/openvinotoolkit/nncf) for fast inference on OpenVINO
## Motivation
Using NNCF can speed up models up to 4x by INT8 quantization. Look at the results [here](https://github.com/openvinotoolkit/nncf#nlp-huggingface-transformers-powered-m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14522/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14521/comments | https://api.github.com/repos/huggingface/transformers/issues/14521/events | https://github.com/huggingface/transformers/issues/14521 | 1,063,322,257 | I_kwDOCUB6oc4_YQKR | 14,521 | GPT model `generate()` function not correctly skipping the padding tokens indicated by `attention_mask` | {
"login": "niansong1996",
"id": 10934810,
"node_id": "MDQ6VXNlcjEwOTM0ODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/10934810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/niansong1996",
"html_url": "https://github.com/niansong1996",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Maybe of interest to @patrickvonplaten @Narsil ",
"Update: I changed my experiment code from right padding to left padding and the performance is greatly improved. If the `generate()` function truly skips the padding tokens, this should not have happened. ",
"I just checked, and the attention_mask is correctly... | 1,637 | 1,691 | 1,642 | NONE | null | According to #7552, the padding tokens will be skipped when calculating the `postional_id` during `generate()`, if the corresponding positions are masked out in `attention_mask`. If I understand this correctly, this would mean that the appearance of padding tokens does not matter as long as they are not attended to. Ho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14521/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/14521/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14520/comments | https://api.github.com/repos/huggingface/transformers/issues/14520/events | https://github.com/huggingface/transformers/pull/14520 | 1,063,095,862 | PR_kwDOCUB6oc4u_sxx | 14,520 | [CI] clear `~/.cache/torch_extensions` between builds | {
"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,637 | 1,637 | 1,637 | CONTRIBUTOR | null | This PR is trying to address CI failures with pt-nightly. https://github.com/huggingface/transformers/runs/4280926354?check_suite_focus=true
`~/.cache/torch_extensions/` currently uses a single hardcoded path to install all custom cuda extensions and so when it was built with pt-1.8 but then attempted to be used wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14520/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14520",
"html_url": "https://github.com/huggingface/transformers/pull/14520",
"diff_url": "https://github.com/huggingface/transformers/pull/14520.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14520.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14519/comments | https://api.github.com/repos/huggingface/transformers/issues/14519/events | https://github.com/huggingface/transformers/pull/14519 | 1,062,863,285 | PR_kwDOCUB6oc4u_CdV | 14,519 | Make the "Can't load <file> for <model_name>" error more user-friendly | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [] | closed | false | null | [] | [
"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,637 | 1,641 | 1,641 | MEMBER | null | # What does this PR do?
This makes the "wrong path" error more explicit and adaptive to avoid issues like https://github.com/huggingface/transformers/issues/14479 where the error message didn't specify that tokenizer files were not in the model repo in the first place.
- [ ] TODO: rewrite the errors for all modul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14519/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/14519/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14519",
"html_url": "https://github.com/huggingface/transformers/pull/14519",
"diff_url": "https://github.com/huggingface/transformers/pull/14519.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14519.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14518/comments | https://api.github.com/repos/huggingface/transformers/issues/14518/events | https://github.com/huggingface/transformers/issues/14518 | 1,062,575,444 | I_kwDOCUB6oc4_VZ1U | 14,518 | Wav2vec2 finetuned model's strange truncated predictions | {
"login": "BakuDev",
"id": 9320011,
"node_id": "MDQ6VXNlcjkzMjAwMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9320011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BakuDev",
"html_url": "https://github.com/BakuDev",
"followers_url": "https://api.github.com/users/BakuDev/... | [] | 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 @BakuDev! Indeed, it looks like the model overfits to the length of sentences in the training data. Try augmenting the training dataset by randomly concatenating 2 or more clips together to roughly match the length of your validation data, or add some long examples from CommonVoice.",
"> Hi @BakuDev! Indeed, ... | 1,637 | 1,637 | 1,637 | NONE | null | ### What is your question?
I'm getting strange truncation of prediction at different steps of training. Please help to understand what is the issue?
At the first steps of training like 800-1600 (2-3 epochs) I'm getting predictions of valid length and words count but with low accuracy (which is ok at the first steps),... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14518/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14517/comments | https://api.github.com/repos/huggingface/transformers/issues/14517/events | https://github.com/huggingface/transformers/pull/14517 | 1,062,562,455 | PR_kwDOCUB6oc4u-OTu | 14,517 | Update versions.yml format | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | 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/14517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14517/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14517",
"html_url": "https://github.com/huggingface/transformers/pull/14517",
"diff_url": "https://github.com/huggingface/transformers/pull/14517.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14517.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14516/comments | https://api.github.com/repos/huggingface/transformers/issues/14516/events | https://github.com/huggingface/transformers/pull/14516 | 1,062,521,210 | PR_kwDOCUB6oc4u-FzI | 14,516 | Fix typo in toctree | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"No worries :) "
] | 1,637 | 1,637 | 1,637 | 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/14516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14516/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14516",
"html_url": "https://github.com/huggingface/transformers/pull/14516",
"diff_url": "https://github.com/huggingface/transformers/pull/14516.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14516.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14515/comments | https://api.github.com/repos/huggingface/transformers/issues/14515/events | https://github.com/huggingface/transformers/pull/14515 | 1,062,462,033 | PR_kwDOCUB6oc4u96HN | 14,515 | Fix feature extraction utils import | {
"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,637 | 1,637 | 1,637 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14515/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14515",
"html_url": "https://github.com/huggingface/transformers/pull/14515",
"diff_url": "https://github.com/huggingface/transformers/pull/14515.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14515.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14514/comments | https://api.github.com/repos/huggingface/transformers/issues/14514/events | https://github.com/huggingface/transformers/pull/14514 | 1,062,364,666 | PR_kwDOCUB6oc4u9l5n | 14,514 | LayoutLMv2FeatureExtractor now supports non-English languages when applying Tesseract OCR. | {
"login": "Xargonus",
"id": 26150359,
"node_id": "MDQ6VXNlcjI2MTUwMzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/26150359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Xargonus",
"html_url": "https://github.com/Xargonus",
"followers_url": "https://api.github.com/users/Xar... | [] | closed | false | null | [] | [
"Can you verify the slow tests (which are not run by the CI) are passing as well?\r\n\r\ni.e. `RUN_SLOW=yes pytest tests/test_feature_extraction_layoutlmv2.py` and `RUN_SLOW=yes pytest tests/test_feature_processor_layoutlmv2.py `",
"I assume you meant `RUN_SLOW=yes pytest tests/test_feature_extraction_layoutlmv2.... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
This PR adds an additional `ocr_lang` argument to the \_\_init\_\_ method of LayoutLMv2FeatureExtractor which specifies which Teserract model to use when applying Tesseract OCR.
Fixes #14511
@NielsRogge | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14514/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14514",
"html_url": "https://github.com/huggingface/transformers/pull/14514",
"diff_url": "https://github.com/huggingface/transformers/pull/14514.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14514.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14513/comments | https://api.github.com/repos/huggingface/transformers/issues/14513/events | https://github.com/huggingface/transformers/issues/14513 | 1,062,306,094 | I_kwDOCUB6oc4_UYEu | 14,513 | ❓ Define tokenizer from `tokenizers` as a `PreTrainedTokenizer` | {
"login": "pietrolesci",
"id": 61748653,
"node_id": "MDQ6VXNlcjYxNzQ4NjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/61748653?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pietrolesci",
"html_url": "https://github.com/pietrolesci",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello, have you taken a look at the following documentation? https://huggingface.co/transformers/fast_tokenizers.html\r\n\r\nIt showcases how to handle tokenizers from the tokenizer library within `transformers`. Let me know if it helps!",
"Hi @LysandreJik, \r\n\r\nThanks a lot for your swift reply. \r\n\r\nThat... | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | Hi there,
I defined a simple whitespace tokenizer using the `tokenizers` library and I would like to integrate it with the transformers ecosystem. As an example, I would like to be able to use it with the `DataCollatorWithPadding`. Is there a way to easily (i.e., non-hacky) integrate tokenizers from `tokenizers` lib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14513/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14512/comments | https://api.github.com/repos/huggingface/transformers/issues/14512/events | https://github.com/huggingface/transformers/pull/14512 | 1,062,278,535 | PR_kwDOCUB6oc4u9TqK | 14,512 | Doc new front github actions | {
"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 | [] | [
"Doesn't have to be part of this PR. making a note here that: \r\nneeds to be updated with each new build/release\r\nhttps://github.com/huggingface/transformers/blob/765f6a4f1728050e487ba93d51512672ef3d6c4d/docs/source/versions.yml#L1-L5 just as this list is updated currently \r\n https://github.com/huggingface/tra... | 1,637 | 1,638 | 1,638 | MEMBER | null | New doc builder.
Before merging, will only need to change the branch name to which the script pushes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14512/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14512",
"html_url": "https://github.com/huggingface/transformers/pull/14512",
"diff_url": "https://github.com/huggingface/transformers/pull/14512.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14512.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14511/comments | https://api.github.com/repos/huggingface/transformers/issues/14511/events | https://github.com/huggingface/transformers/issues/14511 | 1,062,263,207 | I_kwDOCUB6oc4_UNmn | 14,511 | LayoutXLMProcessor applies the english Tesseract model | {
"login": "Xargonus",
"id": 26150359,
"node_id": "MDQ6VXNlcjI2MTUwMzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/26150359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Xargonus",
"html_url": "https://github.com/Xargonus",
"followers_url": "https://api.github.com/users/Xar... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nGreat point, thanks for the feature request.\r\n\r\nIt would be rather straightforward: one should just add a lang parameter to [this line](https://github.com/huggingface/transformers/blob/956a483173e77ebf655ca9636a5f7b6ef010b307/src/transformers/models/layoutlmv2/feature_extraction_layoutlmv2.py#L54).\... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # 🚀 Feature request
LayoutXLMProcessor.\_\_call\_\_ should support a language argument for Tesseract OCR
## Motivation
LayoutXLM is a multilingual version of the successful LayoutLMv2 model. The main reason to use it over LayoutLMV2 is to handle different languages, yet the current API does not allow specifyi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14511/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14510/comments | https://api.github.com/repos/huggingface/transformers/issues/14510/events | https://github.com/huggingface/transformers/issues/14510 | 1,062,236,691 | I_kwDOCUB6oc4_UHIT | 14,510 | bidirectional training for GPT2 | {
"login": "lytum",
"id": 38668257,
"node_id": "MDQ6VXNlcjM4NjY4MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/38668257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lytum",
"html_url": "https://github.com/lytum",
"followers_url": "https://api.github.com/users/lytum/follow... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nI've answered your question on the [forum](https://discuss.huggingface.co/t/fine-tuning-gpt2-for-bidirectional-training/12155/4).",
"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\... | 1,637 | 1,641 | 1,641 | NONE | null | # 🚀 Feature request
May I ask, if there is possible to fine-tune GPT2 in bidirectional training and bidirectional training together?
Like the UniLM: https://github.com/microsoft/unilm/tree/master/unilm-v1
## Motivation
GPT2 is widely used in text generation in unidirectional training (left-to-right). Coul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14510/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14509/comments | https://api.github.com/repos/huggingface/transformers/issues/14509/events | https://github.com/huggingface/transformers/issues/14509 | 1,062,209,240 | I_kwDOCUB6oc4_UAbY | 14,509 | Converted TF model cannot generate line breaks anymore | {
"login": "MaxGodTier",
"id": 75464567,
"node_id": "MDQ6VXNlcjc1NDY0NTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/75464567?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaxGodTier",
"html_url": "https://github.com/MaxGodTier",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi, this is an interesting issue, and I suspect it doesn't have much to do with either TF or PyTorch. The reason is that models like GPT2 output integer token IDs, and if you're getting the same text either way then it likely means your models are outputting the same tokens. The problem is therefore probably that ... | 1,637 | 1,649 | 1,648 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.11.3
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.8
- PyTorch version (GPU?): 1.9.0 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14509/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14508/comments | https://api.github.com/repos/huggingface/transformers/issues/14508/events | https://github.com/huggingface/transformers/pull/14508 | 1,062,179,848 | PR_kwDOCUB6oc4u8-_7 | 14,508 | add cache_dir for tokenizer verification loading | {
"login": "vmaryasin",
"id": 67067775,
"node_id": "MDQ6VXNlcjY3MDY3Nzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/67067775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vmaryasin",
"html_url": "https://github.com/vmaryasin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,637 | 1,647 | 1,637 | CONTRIBUTOR | null | When loading a pretrained tokenizer, a verification is done to ensure
that the actual tokenizer class matches the class it was called from.
If the tokenizer is absent, its config file is loaded from the repo.
However, the cache_dir for downloading is not provided, which leads to
ignoring of the user-specified cac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14508/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14508",
"html_url": "https://github.com/huggingface/transformers/pull/14508",
"diff_url": "https://github.com/huggingface/transformers/pull/14508.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14508.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14507/comments | https://api.github.com/repos/huggingface/transformers/issues/14507/events | https://github.com/huggingface/transformers/issues/14507 | 1,062,154,379 | I_kwDOCUB6oc4_TzCL | 14,507 | Distributed Training with Triplet Loss and DistilRoberta encoder | {
"login": "rafaljanwojcik",
"id": 48239833,
"node_id": "MDQ6VXNlcjQ4MjM5ODMz",
"avatar_url": "https://avatars.githubusercontent.com/u/48239833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaljanwojcik",
"html_url": "https://github.com/rafaljanwojcik",
"followers_url": "https://api.gi... | [] | 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,637 | 1,641 | 1,641 | NONE | null | I wasn't sure if this issue is suitable as a Bug Report, so I copied the template only, so that its readable
## 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:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14507/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14506/comments | https://api.github.com/repos/huggingface/transformers/issues/14506/events | https://github.com/huggingface/transformers/issues/14506 | 1,062,100,620 | I_kwDOCUB6oc4_Tl6M | 14,506 | RuntimeError: The expanded size of the tensor (20) must match the existing size (101) at non-singleton dimension 0. Target sizes: [20]. Tensor sizes: [101] | {
"login": "avnerbarr",
"id": 2404795,
"node_id": "MDQ6VXNlcjI0MDQ3OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2404795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avnerbarr",
"html_url": "https://github.com/avnerbarr",
"followers_url": "https://api.github.com/users/av... | [] | 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,637 | 1,693 | 1,641 | NONE | null | My goal is to be able to pass 100 (or 300) tokens (or some other number) as input and get back at most 16 additional tokens (or some other number I can control).
Code is strait forward:
```
vocab_size = model.config.vocab_size
input_ids = torch.randint(vocab_size, (1, 300), dtype=torch.long, device=device)
m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14506/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14505/comments | https://api.github.com/repos/huggingface/transformers/issues/14505/events | https://github.com/huggingface/transformers/issues/14505 | 1,062,089,600 | I_kwDOCUB6oc4_TjOA | 14,505 | FillMaskPipeline assumes model return dict but return_dict is not set | {
"login": "richardwth",
"id": 33274336,
"node_id": "MDQ6VXNlcjMzMjc0MzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/33274336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/richardwth",
"html_url": "https://github.com/richardwth",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Ok, `_forward` assumes that the model will returns a `BaseModelOutput` which are Transformers specific dicts which are necessary to support all backends (PT, TF, flax).\r\n\r\nThere won't be support for tuples since it's harder and less readable to use.\r\nThe pipelines do need to change what get passed on to `pos... | 1,637 | 1,637 | 1,637 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.11.3
- Platform: Linux
- Python version: 3.6.13
- PyTorch version (GPU?): 1.9
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14505/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14504/comments | https://api.github.com/repos/huggingface/transformers/issues/14504/events | https://github.com/huggingface/transformers/issues/14504 | 1,062,048,318 | I_kwDOCUB6oc4_TZI- | 14,504 | Add a new gradient regularization feature | {
"login": "RunxinXu",
"id": 24697309,
"node_id": "MDQ6VXNlcjI0Njk3MzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/24697309?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RunxinXu",
"html_url": "https://github.com/RunxinXu",
"followers_url": "https://api.github.com/users/Run... | [] | closed | false | null | [] | [
"Maybe of interest to @sgugger or @Rocketknight1 :)",
"It seems like an interesting paper, but there are **a lot** of papers with new training recipes like this, and I don't think we can implement them all until they become very famous and widely-used. Also, this particular method should be relatively easy for us... | 1,637 | 1,638 | 1,638 | NONE | null | # 🚀 Feature request
When we fine-tune a large-scale pre-trained model in the downstream task (especially with low-resource data), it would be helpful if we randomly discard some gradients, as introduced in this [paper](https://aclanthology.org/2021.emnlp-main.749.pdf).
Therefore, I wonder if I could add this simpl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14503/comments | https://api.github.com/repos/huggingface/transformers/issues/14503/events | https://github.com/huggingface/transformers/pull/14503 | 1,061,763,275 | PR_kwDOCUB6oc4u7oQj | 14,503 | Add GPTJForQuestionAnswering | {
"login": "tucan9389",
"id": 37643248,
"node_id": "MDQ6VXNlcjM3NjQzMjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/37643248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tucan9389",
"html_url": "https://github.com/tucan9389",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi, @sgugger and @patrickvonplaten again.\r\nLike the https://github.com/huggingface/transformers/pull/13290 PR that I made before, I made QA for GPT-J class and made this PR for that.\r\nIf you have time, I'd appreciate your review and feedback on it.",
"This seems good to me - @patil-suraj, do you mind taking ... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
- Add `GPTJForQuestionAnswering` class for GPTJ upstream and QA downstream task
<!-- Remove if not applicable -->
Fixes # (issue)
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14503/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/14503/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14503",
"html_url": "https://github.com/huggingface/transformers/pull/14503",
"diff_url": "https://github.com/huggingface/transformers/pull/14503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14503.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14502/comments | https://api.github.com/repos/huggingface/transformers/issues/14502/events | https://github.com/huggingface/transformers/issues/14502 | 1,061,536,360 | I_kwDOCUB6oc4_RcJo | 14,502 | DeBERTa-v3 does not preserve spaces before/after additional special tokens in convert_tokens_to_string output | {
"login": "JohnGiorgi",
"id": 8917831,
"node_id": "MDQ6VXNlcjg5MTc4MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8917831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnGiorgi",
"html_url": "https://github.com/JohnGiorgi",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Sorry for the delay in answering this, pinging @SaulLu so she can take a look when she has the time :)",
"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 f... | 1,637 | 1,647 | 1,647 | 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.12.5
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.8.5
- PyTorch version (GPU?): 1.10.0 (F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14501/comments | https://api.github.com/repos/huggingface/transformers/issues/14501/events | https://github.com/huggingface/transformers/pull/14501 | 1,061,487,207 | PR_kwDOCUB6oc4u6urc | 14,501 | [TAPAS] Tiny fix | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Can you include a test to ensure the behavior doesn't happen in the future?",
"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 gui... | 1,637 | 1,641 | 1,641 | CONTRIBUTOR | null | # What does this PR do?
This PR includes a finy fix for TAPAS. Namely, when `config.select_one_column` is set to `False`, the model should not recompute the token logits.
Relevant to #13393 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14501/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14501",
"html_url": "https://github.com/huggingface/transformers/pull/14501",
"diff_url": "https://github.com/huggingface/transformers/pull/14501.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14501.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14500/comments | https://api.github.com/repos/huggingface/transformers/issues/14500/events | https://github.com/huggingface/transformers/issues/14500 | 1,061,477,375 | I_kwDOCUB6oc4_RNv_ | 14,500 | (TF) InternalError: Multiple CPU devices | {
"login": "jmwoloso",
"id": 7530947,
"node_id": "MDQ6VXNlcjc1MzA5NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7530947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmwoloso",
"html_url": "https://github.com/jmwoloso",
"followers_url": "https://api.github.com/users/jmwol... | [] | closed | false | null | [] | [
"This is unusual - is this issue unique to Hugging Face models? Does it still occur with a basic Keras model? ",
"Hi @Rocketknight1! I haven't tried with basic Keras models. I can try that if you think it would help, however, `TFDistilBertForSequenceClassification` trained successfully, so I suspect it is somethi... | 1,637 | 1,646 | 1,646 | 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.12.5
- Platform: Linux-5.4.0-90-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.6
- PyTorch ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14500/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14499/comments | https://api.github.com/repos/huggingface/transformers/issues/14499/events | https://github.com/huggingface/transformers/pull/14499 | 1,061,468,928 | PR_kwDOCUB6oc4u6q1S | 14,499 | Doc fixes | {
"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,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
This PR adds multiple fixes for the new frontend, mainly:
- remove all the sphinx-specific files
- convert the old index.rst to index.mdx
- adapt the scripts that touched the index.rst (to update the list of models and the table of frameworks)
- fix the image links in the parallelism.md f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14499/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14499",
"html_url": "https://github.com/huggingface/transformers/pull/14499",
"diff_url": "https://github.com/huggingface/transformers/pull/14499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14499.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14498/comments | https://api.github.com/repos/huggingface/transformers/issues/14498/events | https://github.com/huggingface/transformers/issues/14498 | 1,061,390,514 | I_kwDOCUB6oc4_Q4iy | 14,498 | How to get logits from generate() method ? | {
"login": "Atharva-Phatak",
"id": 42376808,
"node_id": "MDQ6VXNlcjQyMzc2ODA4",
"avatar_url": "https://avatars.githubusercontent.com/u/42376808?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Atharva-Phatak",
"html_url": "https://github.com/Atharva-Phatak",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis can be done easily by setting the `output_scores` flag of the [generate](https://huggingface.co/transformers/main_classes/model.html?highlight=generate#transformers.generation_utils.GenerationMixin.generate) method to `True`.",
"output_scores will be of shape ```(max_length-input_ids.shape[-1], )... | 1,637 | 1,708 | 1,637 | NONE | null | Hello,
I am using RL to train Seq2Seq models and I need logits from generate method ? Since in RL we need to sample from current policy?
Does anyone know how I can adapt generate method to get logits ?
Specifically I am using BART based models.
If you guys could give a code snippet or something. That will be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14498/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14497/comments | https://api.github.com/repos/huggingface/transformers/issues/14497/events | https://github.com/huggingface/transformers/issues/14497 | 1,061,377,818 | I_kwDOCUB6oc4_Q1ca | 14,497 | FLAX core dump error on CloudTPU when running run_clm_flax.py | {
"login": "dumitrescustefan",
"id": 22746816,
"node_id": "MDQ6VXNlcjIyNzQ2ODE2",
"avatar_url": "https://avatars.githubusercontent.com/u/22746816?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dumitrescustefan",
"html_url": "https://github.com/dumitrescustefan",
"followers_url": "https://... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Pinging @patil-suraj :)",
"Update: after reading [this issue](https://github.com/huggingface/transformers/issues/12606) I tried **setting the number of preprocessing workers to 1**, and after a lot of time, preprocessing finished without any crashes. So that 'solves' problem 1. \r\n\r\nHowever, problem 2 still s... | 1,637 | 1,661 | null | CONTRIBUTOR | null | Hi, I'm having a weird problem trying to train a gpt-neo model from scratch on a v3-8 cloud TPU. Something similar to the [closed issue here](https://github.com/huggingface/transformers/issues/12404). Getting:
```
https://symbolize.stripped_domain/r/?trace=7fb5dbf8a3f4,7fb5dbfe020f,7f&map=
*** SIGTERM received by ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14497/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14496/comments | https://api.github.com/repos/huggingface/transformers/issues/14496/events | https://github.com/huggingface/transformers/pull/14496 | 1,061,300,980 | PR_kwDOCUB6oc4u6HN5 | 14,496 | Add necessary new front files | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
1. Add new file toctree.yml, which serves the same purose as index.rst for Sphinx (i.e. the entire outline of the docs)
2. Add new file versions.yml, which specifices which versions are available (and whether it should be redirected to sphinx website)
3. Changes from https://github.com/hugg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14496/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14496",
"html_url": "https://github.com/huggingface/transformers/pull/14496",
"diff_url": "https://github.com/huggingface/transformers/pull/14496.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14496.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14495/comments | https://api.github.com/repos/huggingface/transformers/issues/14495/events | https://github.com/huggingface/transformers/issues/14495 | 1,060,863,630 | I_kwDOCUB6oc4_O36O | 14,495 | Cannot find 'blob' directory in your 'transformers' repository | {
"login": "parkhaemi",
"id": 61974170,
"node_id": "MDQ6VXNlcjYxOTc0MTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/61974170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parkhaemi",
"html_url": "https://github.com/parkhaemi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It is here, https://github.com/huggingface/transformers/blob/master/examples/pytorch/text-classification/run_glue.py @parkhaemi ",
"Thank you so much!!\r\nHave a nice day :)"
] | 1,637 | 1,638 | 1,638 | NONE | null | We are reading the paper 'EVALUATION OF NEURAL ARCHITECTURES TRAINED
WITH SQUARE LOSS VS CROSS-ENTROPY IN CLASSIFICATION TASKS' which is published as a conference paper at ICLR 2021.
In 13page, we found that 'https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_glue.py'. is no long... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14494/comments | https://api.github.com/repos/huggingface/transformers/issues/14494/events | https://github.com/huggingface/transformers/issues/14494 | 1,060,817,037 | I_kwDOCUB6oc4_OsiN | 14,494 | Add TAPAS trained on NQ | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi,\r\n\r\nYes you can use the existing conversion script: https://github.com/huggingface/transformers/blob/master/src/transformers/models/tapas/convert_tapas_original_tf_checkpoint_to_pytorch.py\r\n\r\nNote that there was already an attempt for this in #11907.",
"Thanks @NielsRogge! I tagged you in #11907 about... | 1,637 | 1,637 | null | CONTRIBUTOR | null | The authors of the "Open Domain Question Answering over Tables via Dense Retrieval" papers released the weights for TAPAS retriever trained on NQ here: https://github.com/google-research/tapas/blob/master/DENSE_TABLE_RETRIEVER.md
It would be nice if those weights could be converted to Huggingface model (I would pres... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14494/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14493/comments | https://api.github.com/repos/huggingface/transformers/issues/14493/events | https://github.com/huggingface/transformers/pull/14493 | 1,060,533,559 | PR_kwDOCUB6oc4u3w93 | 14,493 | fixes some key names for in LayoutLMv2 / LayoutXLM tokenizers | {
"login": "valentinkoe",
"id": 8581199,
"node_id": "MDQ6VXNlcjg1ODExOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8581199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valentinkoe",
"html_url": "https://github.com/valentinkoe",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null |
# What does this PR do?
in case of left padding_side there was a (probably copy/paste) error assigning the bbox data to the labels.
I consider this to be a typo fix.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14493",
"html_url": "https://github.com/huggingface/transformers/pull/14493",
"diff_url": "https://github.com/huggingface/transformers/pull/14493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14493.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14492/comments | https://api.github.com/repos/huggingface/transformers/issues/14492/events | https://github.com/huggingface/transformers/pull/14492 | 1,060,473,917 | PR_kwDOCUB6oc4u3kow | 14,492 | Add model checkpointing to push_to_hub and PushToHubCallback | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,637 | 1,638 | 1,638 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14492",
"html_url": "https://github.com/huggingface/transformers/pull/14492",
"diff_url": "https://github.com/huggingface/transformers/pull/14492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14492.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14491/comments | https://api.github.com/repos/huggingface/transformers/issues/14491/events | https://github.com/huggingface/transformers/issues/14491 | 1,060,451,119 | I_kwDOCUB6oc4_NTMv | 14,491 | BART + ONNX torch.jit error iterabletree cannot be used as a value | {
"login": "polly-morphism",
"id": 35422513,
"node_id": "MDQ6VXNlcjM1NDIyNTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/35422513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/polly-morphism",
"html_url": "https://github.com/polly-morphism",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Pinging @michaelbenayoun on the issue :)",
"@LysandreJik I will take a look at this.",
"Thank you, @fatcat-z!",
"ok, so it seems like a problem with versions. Works with torch==1.10.0 numpy==1.21.4\r\nonnx==1.10.2\r\nonnxruntime==1.9.0\r\n\r\nand latest transformers ",
"@patil-suraj @LysandreJik\r\n\r\nThe... | 1,637 | 1,638 | 1,638 | NONE | null | ## Environment info
onnx 1.10.2
onnxruntime 1.9.0
- `transformers` version: transformers 4.13.0.dev0
- Platform: Ubuntu 18.4
- Python version: 3.8
- PyTorch version (GPU?): torch 1.8.0 gpu
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Who can help
@fatcat-z @mfuntow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14491/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14490/comments | https://api.github.com/repos/huggingface/transformers/issues/14490/events | https://github.com/huggingface/transformers/issues/14490 | 1,060,437,542 | I_kwDOCUB6oc4_NP4m | 14,490 | Feature request: Add built-in support for autorregressive text generation with ONNX models | {
"login": "piEsposito",
"id": 47679710,
"node_id": "MDQ6VXNlcjQ3Njc5NzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/47679710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piEsposito",
"html_url": "https://github.com/piEsposito",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I believe such work is currently happening cc @michaelbenayoun @patrickvonplaten @mfuntowicz ",
"Nice. Can I contribute to that by any means?\r\n",
"@michaelbenayoun - is this supposed to be implemented in `optimum`?",
"Yes, this is planned.\r\nNice to know that there is interest for such features!\r\n\r\nPi... | 1,637 | 1,639 | 1,639 | CONTRIBUTOR | null | # 🚀 Add built-in support for autorregressive text generation with ONNX models.
After converting a autorregressive model to ONNX, it would be nice to be able to generate text with it via something like:
```python
from transformers import OnnxTextGenerationModel, AutoTokenizer
model_path = "gpt-something.onnx"
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14490/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14489/comments | https://api.github.com/repos/huggingface/transformers/issues/14489/events | https://github.com/huggingface/transformers/issues/14489 | 1,060,082,863 | I_kwDOCUB6oc4_L5Sv | 14,489 | tokenizer.save_pretrained() doest not save an important part of tokenizer_config of FlaubertTokenizer | {
"login": "vmaryasin",
"id": 67067775,
"node_id": "MDQ6VXNlcjY3MDY3Nzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/67067775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vmaryasin",
"html_url": "https://github.com/vmaryasin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,642 | 1,642 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.10.3
- Platform: Linux-5.4.0-88-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (GPU?): 1.9.0a0+df837d0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14489/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14488/comments | https://api.github.com/repos/huggingface/transformers/issues/14488/events | https://github.com/huggingface/transformers/issues/14488 | 1,060,074,561 | I_kwDOCUB6oc4_L3RB | 14,488 | Fatal error in event_loop.c | {
"login": "Crabzmatic",
"id": 31850219,
"node_id": "MDQ6VXNlcjMxODUwMjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/31850219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Crabzmatic",
"html_url": "https://github.com/Crabzmatic",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Moved to `datasets` repo: https://github.com/huggingface/datasets/issues/3310"
] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.12.5
- Platform: Windows-10-10.0.22504-SP0
- Python version: 3.8.3
- PyTorch version (GPU?): 1.4.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14488/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14487/comments | https://api.github.com/repos/huggingface/transformers/issues/14487/events | https://github.com/huggingface/transformers/pull/14487 | 1,060,001,954 | PR_kwDOCUB6oc4u2B76 | 14,487 | Add Perceiver IO | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks for the reviews, I've:\r\n\r\n* removed the einops dependency, and replaced it by just PyTorch.\r\n* removed the pre and postprocessors from the main init, they can still be imported using `from transformers.models.perceiver.modeling_perceiver import xxx`\r\n* copied all arguments for the Perceiver model-sp... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
This PR implements [Perceiver IO](https://arxiv.org/abs/2107.14795), by Google Deepmind.
Fixes #12996
It's a pretty cool piece of work: it applies a Transformer encoder to any kind of modality (images, text, audio, video) and for any problem (text classification, image classification, a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14487/reactions",
"total_count": 12,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14487",
"html_url": "https://github.com/huggingface/transformers/pull/14487",
"diff_url": "https://github.com/huggingface/transformers/pull/14487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14487.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14486/comments | https://api.github.com/repos/huggingface/transformers/issues/14486/events | https://github.com/huggingface/transformers/issues/14486 | 1,059,983,782 | I_kwDOCUB6oc4_LhGm | 14,486 | DPR usage of BertPooler | {
"login": "PaulLerner",
"id": 25532159,
"node_id": "MDQ6VXNlcjI1NTMyMTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/25532159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PaulLerner",
"html_url": "https://github.com/PaulLerner",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi ! I think it was kept in case some version of DPR had a projection layer (but afaik none of the official versions have that and the paper doesn't mention that either).\r\n\r\nI think it would also break the conversion script from DPR weights of the official repository to `transformers` weights.\r\n\r\nNot sure ... | 1,637 | 1,642 | 1,642 | 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.8.2
- Platform: Linux-5.8.0-50-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.4
- PyTorch v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14486/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14485/comments | https://api.github.com/repos/huggingface/transformers/issues/14485/events | https://github.com/huggingface/transformers/pull/14485 | 1,059,980,947 | PR_kwDOCUB6oc4u19Zs | 14,485 | Improve `add-new-pipeline` docs a bit | {
"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,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
This PR slightly improve syntaxs in code snippets in the `add-new-pipeline.rst` file.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
Anyone in the community is free to review the PR onc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14485",
"html_url": "https://github.com/huggingface/transformers/pull/14485",
"diff_url": "https://github.com/huggingface/transformers/pull/14485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14485.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14484/comments | https://api.github.com/repos/huggingface/transformers/issues/14484/events | https://github.com/huggingface/transformers/issues/14484 | 1,059,924,684 | I_kwDOCUB6oc4_LSrM | 14,484 | Loading from the wrong cache? | {
"login": "borgr",
"id": 6416600,
"node_id": "MDQ6VXNlcjY0MTY2MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6416600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borgr",
"html_url": "https://github.com/borgr",
"followers_url": "https://api.github.com/users/borgr/follower... | [] | closed | false | null | [] | [
"If it helps, I see that the first cache_dir works well, but for some reason when \"url_or_filename== 'https://huggingface.co/google/t5-v1_1-small/resolve/main/config.json'\" the cache dir passed is None, and then it looks in the wrong cache and breaks. ",
"This issue has been automatically marked as stale becaus... | 1,637 | 1,640 | 1,640 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:4.12.5
- Platform:linux
- Python version:3.8
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14483/comments | https://api.github.com/repos/huggingface/transformers/issues/14483/events | https://github.com/huggingface/transformers/issues/14483 | 1,059,911,652 | I_kwDOCUB6oc4_LPfk | 14,483 | JAVA Predict | {
"login": "qianyiwei",
"id": 30101368,
"node_id": "MDQ6VXNlcjMwMTAxMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/30101368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qianyiwei",
"html_url": "https://github.com/qianyiwei",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | NONE | null | ### Who can help
<!-- Your issue will be replied to more quickly if you can figure out the right person to tag with @
If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
Please tag fewer than 3 people.
Models:
- how save pertained BERT model in .pb, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14483/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14482/comments | https://api.github.com/repos/huggingface/transformers/issues/14482/events | https://github.com/huggingface/transformers/issues/14482 | 1,059,897,051 | I_kwDOCUB6oc4_LL7b | 14,482 | where can I find the dataset bert-base-chinese is pretrained on? | {
"login": "BoomSky0416",
"id": 57380777,
"node_id": "MDQ6VXNlcjU3MzgwNzc3",
"avatar_url": "https://avatars.githubusercontent.com/u/57380777?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BoomSky0416",
"html_url": "https://github.com/BoomSky0416",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14481/comments | https://api.github.com/repos/huggingface/transformers/issues/14481/events | https://github.com/huggingface/transformers/issues/14481 | 1,059,891,250 | I_kwDOCUB6oc4_LKgy | 14,481 | Is the index of the vocabulary in Tokenizer the same as the index of WordEmbedding? | {
"login": "wmathor",
"id": 32392878,
"node_id": "MDQ6VXNlcjMyMzkyODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/32392878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wmathor",
"html_url": "https://github.com/wmathor",
"followers_url": "https://api.github.com/users/wmatho... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | I have a word vector A, which has dimension `[1, 768]`. I compute the similarity between vector A and all words in `bert.embeddings.word_embeddings.weight` and get the most similar index is `idx`. I use the following code to see what token the `idx` is
```python
token = tokenizer.decode([idx])
```
But when I lo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14481/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14480/comments | https://api.github.com/repos/huggingface/transformers/issues/14480/events | https://github.com/huggingface/transformers/issues/14480 | 1,059,802,499 | I_kwDOCUB6oc4_K02D | 14,480 | Fine-tune Integer Bert for question answering task | {
"login": "mamoon115",
"id": 45480362,
"node_id": "MDQ6VXNlcjQ1NDgwMzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/45480362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mamoon115",
"html_url": "https://github.com/mamoon115",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@sgugger ?",
"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/... | 1,637 | 1,640 | 1,640 | NONE | null | How we can fine-tune the integer for the question answering task? Any available script | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14479/comments | https://api.github.com/repos/huggingface/transformers/issues/14479/events | https://github.com/huggingface/transformers/issues/14479 | 1,059,523,914 | I_kwDOCUB6oc4_Jw1K | 14,479 | facebook / wav2vec2-base-100k-voxpopuli fails to load on huggingface.co (also on system) | {
"login": "genevera",
"id": 12733137,
"node_id": "MDQ6VXNlcjEyNzMzMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/12733137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/genevera",
"html_url": "https://github.com/genevera",
"followers_url": "https://api.github.com/users/gen... | [] | closed | false | null | [] | [
"@anton-l can chime in if I'm wrong, but I believe that it is expected that you should create your vocabulary as shown in https://huggingface.co/blog/fine-tune-wav2vec2-english\r\n\r\nThis could be made clearer in the model card, wdyt @anton-l?",
"Hi @genevera! The model you're using is a base model pretrained on... | 1,637 | 1,637 | 1,637 | NONE | null | ## Environment info
- `transformers` version: 4.13.0.dev0
- Platform: macOS-11.6.1-arm64-arm-64bit
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14479/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14478/comments | https://api.github.com/repos/huggingface/transformers/issues/14478/events | https://github.com/huggingface/transformers/pull/14478 | 1,059,498,880 | PR_kwDOCUB6oc4u0YAf | 14,478 | Fix dummy objects for quantization | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"Thanks for taking care of it!"
] | 1,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
The dummy objects introduced recently are actually not generated and maintained by the dummy scripts, because the `is_xxx_available` test they rely on contains an _ in the xxx. This PR fixes that.
Another fix concerns the models `ForNextSentencePrediction` which were not included in the list... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14478",
"html_url": "https://github.com/huggingface/transformers/pull/14478",
"diff_url": "https://github.com/huggingface/transformers/pull/14478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14478.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14477/comments | https://api.github.com/repos/huggingface/transformers/issues/14477/events | https://github.com/huggingface/transformers/pull/14477 | 1,059,464,330 | PR_kwDOCUB6oc4u0R1z | 14,477 | Fix sentinel token IDs in data collator for Flax T5 pretraining script | {
"login": "rahuln",
"id": 3958904,
"node_id": "MDQ6VXNlcjM5NTg5MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3958904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahuln",
"html_url": "https://github.com/rahuln",
"followers_url": "https://api.github.com/users/rahuln/foll... | [] | closed | false | null | [] | [
"Hey @rahuln! I'm pinging @patrickvonplaten for review as you have worked with him until now, but please note that he's off until next week so he'll review your PR when he's back! Thanks for your understanding.",
"Great! Thanks a lot for digging into this issue and fixing it"
] | 1,637 | 1,674 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
Modifies the sentinel token IDs used in the data collator for the Flax T5 pretraining script so that they go in decreasing order starting at `len(tokenizer) - 1`, which matches the [original T5 code](https://github.com/google-research/text-to-text-transfer-transformer/blob/main/t5/data/prepro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14477",
"html_url": "https://github.com/huggingface/transformers/pull/14477",
"diff_url": "https://github.com/huggingface/transformers/pull/14477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14476/comments | https://api.github.com/repos/huggingface/transformers/issues/14476/events | https://github.com/huggingface/transformers/pull/14476 | 1,059,459,685 | PR_kwDOCUB6oc4u0RAC | 14,476 | Change examples.md <details> to use directly html | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"Can you push this on the [doc_new_front](https://github.com/huggingface/transformers/tree/doc_new_front) branch instead?",
"did so",
"Let's close this in the meantime then!"
] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
As part of the new doc, svelte markdown processor currently only interprets content of `<details>` tag as html. Therefore, made the necessary change.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14476",
"html_url": "https://github.com/huggingface/transformers/pull/14476",
"diff_url": "https://github.com/huggingface/transformers/pull/14476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14476.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14475/comments | https://api.github.com/repos/huggingface/transformers/issues/14475/events | https://github.com/huggingface/transformers/issues/14475 | 1,059,335,768 | I_kwDOCUB6oc4_JC5Y | 14,475 | Where do I find the class documentation | {
"login": "avnerbarr",
"id": 2404795,
"node_id": "MDQ6VXNlcjI0MDQ3OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2404795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avnerbarr",
"html_url": "https://github.com/avnerbarr",
"followers_url": "https://api.github.com/users/av... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hy @avnerbarr, the documentation is undergoing a large refactor which should be out in a couple of days, and which should hopefully resolve most of your pain points, stay tuned.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addres... | 1,637 | 1,640 | 1,640 | NONE | null | Stupid question:
The website is great and all, but where do I find the FULL code documentation for the APIs (i.e. pydoc or something)? For instance any time a class is "highlighted" , i.e. `model` I would expect to be able to click on it and see the full set of functions/properties it provides.
Also, navigating t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14475/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/14475/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14474/comments | https://api.github.com/repos/huggingface/transformers/issues/14474/events | https://github.com/huggingface/transformers/issues/14474 | 1,059,290,670 | I_kwDOCUB6oc4_I34u | 14,474 | How do I preserve HTML structure when putting data through transformers | {
"login": "brianSERP-Ai",
"id": 94773533,
"node_id": "U_kgDOBaYhHQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94773533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brianSERP-Ai",
"html_url": "https://github.com/brianSERP-Ai",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this stil... | 1,637 | 1,640 | 1,640 | NONE | null | I am trying to create a bulk paraphrasing tool. I have managed to get everything working fine with normal text but now I would like to also keep the <html> structure intact. Can anyone give me some tips on how to achieve this? When I put html through the models it is removed in the output. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14474/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14473/comments | https://api.github.com/repos/huggingface/transformers/issues/14473/events | https://github.com/huggingface/transformers/pull/14473 | 1,059,223,262 | PR_kwDOCUB6oc4uzkyL | 14,473 | add Tuple as possible type hint for EvalPredictions label_ids | {
"login": "ameasure",
"id": 571959,
"node_id": "MDQ6VXNlcjU3MTk1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/571959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ameasure",
"html_url": "https://github.com/ameasure",
"followers_url": "https://api.github.com/users/ameasur... | [] | closed | false | null | [] | [
"If that's the case, then for consistency the following 2 classes should have the proposed changed as well.\r\n\r\n@sgugger, what do you think?"
] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
This adds Tuple as a type hint for the label_ids attribute in EvalPredictions. It is a valid type that label_ids can have.
## 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 guideli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14473/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14473",
"html_url": "https://github.com/huggingface/transformers/pull/14473",
"diff_url": "https://github.com/huggingface/transformers/pull/14473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14473.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14472/comments | https://api.github.com/repos/huggingface/transformers/issues/14472/events | https://github.com/huggingface/transformers/pull/14472 | 1,059,193,366 | PR_kwDOCUB6oc4uzfMZ | 14,472 | Switch from using sum for flattening lists of lists in group_texts | {
"login": "nbroad1881",
"id": 24982805,
"node_id": "MDQ6VXNlcjI0OTgyODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbroad1881",
"html_url": "https://github.com/nbroad1881",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks for investigating the performance of that line! I initially used the `sum()` because it's easy to read. The `functools.reduce(operator.iconcat, list_of_lists, [])` is way less readable, but it gives so much in speed that switching may be a good thing.\r\n\r\nWdyt @LysandreJik ?",
"I was actually confused ... | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # Speed up list flattening in `group_texts` by changing `sum(list_of_lists, [])` to `functools.reduce(operator.iconcat, list_of_lists, [])`
<!--
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 mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14472",
"html_url": "https://github.com/huggingface/transformers/pull/14472",
"diff_url": "https://github.com/huggingface/transformers/pull/14472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14471/comments | https://api.github.com/repos/huggingface/transformers/issues/14471/events | https://github.com/huggingface/transformers/issues/14471 | 1,059,192,275 | I_kwDOCUB6oc4_If3T | 14,471 | Wav2Vec2ForPreTraining in 4.12 broke SpeechBrain implementation | {
"login": "TParcollet",
"id": 11910731,
"node_id": "MDQ6VXNlcjExOTEwNzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/11910731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TParcollet",
"html_url": "https://github.com/TParcollet",
"followers_url": "https://api.github.com/use... | [] | 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... | [
"I printed the mask_indices obtained by calling your function and it looks correct. Is it normal however that the call to `transformers.models.wav2vec2.modeling_wav2vec2._sample_negative_indices` returns this (batch_size being 6): \r\n<img width=\"481\" alt=\"Capture d’écran 2021-11-20 à 18 51 12\" src=\"https://... | 1,637 | 1,641 | 1,641 | NONE | null | ## Environment info
- `transformers` version:
- Platform: Linux
- Python version: 3.8
- PyTorch version (GPU?): 1.9 (and 1.10)
- Using GPU in script?: 1-32 Tesla V100
- Using distributed or parallel set-up in script?: DDP
### Who can help
@patrickvonplaten, @anton-l
## Information
Model I am using (Be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14470/comments | https://api.github.com/repos/huggingface/transformers/issues/14470/events | https://github.com/huggingface/transformers/issues/14470 | 1,059,143,084 | I_kwDOCUB6oc4_IT2s | 14,470 | Unable to load DeBERTa-v3 tokenizer | {
"login": "maiiabocharova",
"id": 71256026,
"node_id": "MDQ6VXNlcjcxMjU2MDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/71256026?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maiiabocharova",
"html_url": "https://github.com/maiiabocharova",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hello! Could you please share your environment information? Thanks.",
"> Hello! Could you please share your environment information? Thanks.\r\n\r\nHello, sure! transformers==4.12.5, python 3.7. I am using Colab for experiments",
"If you're using colab, then have you restarted the runtime after installing `sen... | 1,637 | 1,637 | 1,637 | NONE | null | ```
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("microsoft/mdeberta-v3-base")
```
Gives me an error:
ValueError: This tokenizer cannot be instantiated. Please make sure you have `sentencepiece` installed in order to use this tokenizer.
Installing sentencepiece doesn't help... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14470/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14469/comments | https://api.github.com/repos/huggingface/transformers/issues/14469/events | https://github.com/huggingface/transformers/pull/14469 | 1,059,132,565 | PR_kwDOCUB6oc4uzUDr | 14,469 | Enable automatic creation of decoder_input_ids given labels in TF | {
"login": "Carlosbogo",
"id": 84228424,
"node_id": "MDQ6VXNlcjg0MjI4NDI0",
"avatar_url": "https://avatars.githubusercontent.com/u/84228424?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Carlosbogo",
"html_url": "https://github.com/Carlosbogo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @Carlosbogo, thanks for your contribution! I've pinged @patrickvonplaten to review your PR, but please note that Patrick if off until next Monday. Thanks for your patience!",
"Thanks for the PR @Carlosbogo! \r\n\r\nI think we should also move the loss computation into the `TFEncoderDecoderModel` class simila... | 1,637 | 1,644 | 1,644 | NONE | null | Added a way to automatically create the `decoder_input_ids` from the `labels` provided by the user the `TFEncoderDecoderModel`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14469/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14469",
"html_url": "https://github.com/huggingface/transformers/pull/14469",
"diff_url": "https://github.com/huggingface/transformers/pull/14469.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14469.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14468/comments | https://api.github.com/repos/huggingface/transformers/issues/14468/events | https://github.com/huggingface/transformers/issues/14468 | 1,059,129,046 | I_kwDOCUB6oc4_IQbW | 14,468 | Pretrained bare model have weights that are not beein used | {
"login": "cajoek",
"id": 11025540,
"node_id": "MDQ6VXNlcjExMDI1NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/11025540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cajoek",
"html_url": "https://github.com/cajoek",
"followers_url": "https://api.github.com/users/cajoek/fo... | [] | closed | false | null | [] | [
"In both case you are using a checkpoint pretrained on masked language modeling. The warning tells you some weights of the checkpoint are not used, which is the case: you are using the bare model without the masked LM classification head, so you are not using those weights.",
"Alright so the default checkpoints c... | 1,637 | 1,637 | 1,637 | NONE | null | ## Environment info
- `transformers` version: 4.12.5
- Platform: Linux-5.11.0-40-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.9.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14468/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14467/comments | https://api.github.com/repos/huggingface/transformers/issues/14467/events | https://github.com/huggingface/transformers/issues/14467 | 1,059,094,908 | I_kwDOCUB6oc4_IIF8 | 14,467 | `EncoderDecoderModel` `generate` for a `ViT` as encoder | {
"login": "sachinruk",
"id": 1410927,
"node_id": "MDQ6VXNlcjE0MTA5Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1410927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinruk",
"html_url": "https://github.com/sachinruk",
"followers_url": "https://api.github.com/users/sa... | [] | closed | false | null | [] | [
"Maybe of interest to @NielsRogge even if the question would be better asked on the forum :)",
"Sorry, I'll close this here, opened the issue [in the forum](https://discuss.huggingface.co/t/encoderdecodermodel-generate-text-for-a-vit-as-encoder/12332)."
] | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | I was wondering if there was a way to do `generate` for a ViT to GPT2 `EncoderDecoderModel`. I managed to figure out how to get the loss by using the outputs of the ViT and pushing in the `encoder_outputs` into the model as shown below. However, it seems that for `generate` it is explicitly expecting `inputs_ids`. I'm ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14467/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/14467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14466/comments | https://api.github.com/repos/huggingface/transformers/issues/14466/events | https://github.com/huggingface/transformers/pull/14466 | 1,059,018,306 | PR_kwDOCUB6oc4uy-Mm | 14,466 | [test] add test for --config_overrides | {
"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,637 | 1,637 | 1,637 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/issues/14389 suggested that `--config_overrides` doesn't work.
The feature works just fine, it's just the multiple logging of the config done by the framework is confusing. I already flagged this issue here: https://github.com/huggingface/transformers/issues/11104 I have n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14466",
"html_url": "https://github.com/huggingface/transformers/pull/14466",
"diff_url": "https://github.com/huggingface/transformers/pull/14466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14466.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14465/comments | https://api.github.com/repos/huggingface/transformers/issues/14465/events | https://github.com/huggingface/transformers/pull/14465 | 1,058,881,990 | PR_kwDOCUB6oc4uyiQh | 14,465 | Auto processor | {
"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 | [] | [
"I can amend the PR to have the auto-processor then go to a tokenizer (if available) or a feature extractor (if available), as I think that's the logic we want anyway.",
"Discussed it a bit with @patrickvonplaten that isn't as excited as I am about the `AutoProcessor` being an umbrella over all modalities' prepro... | 1,637 | 1,662 | 1,637 | COLLABORATOR | null | # What does this PR do?
This PR adds an `AutoProcessor` API, similar to `AutoTokenizer` and `AutoFeatureExtractor`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14465/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14465",
"html_url": "https://github.com/huggingface/transformers/pull/14465",
"diff_url": "https://github.com/huggingface/transformers/pull/14465.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14465.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14464/comments | https://api.github.com/repos/huggingface/transformers/issues/14464/events | https://github.com/huggingface/transformers/pull/14464 | 1,058,665,341 | PR_kwDOCUB6oc4ux12i | 14,464 | [OPTIMIZATION] remove a redundant condition statement for empty str judgement in `whitespace_tokenize` | {
"login": "jacklanda",
"id": 54089835,
"node_id": "MDQ6VXNlcjU0MDg5ODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/54089835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jacklanda",
"html_url": "https://github.com/jacklanda",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | CONTRIBUTOR | null | It seems a redundant conditional judgement here for spliting a str object, because it still works when the str object is None or empty string. Maybe I just don't know what the `if` conditional judgement here used to represent some special meaning. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14464/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14464",
"html_url": "https://github.com/huggingface/transformers/pull/14464",
"diff_url": "https://github.com/huggingface/transformers/pull/14464.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14464.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14463/comments | https://api.github.com/repos/huggingface/transformers/issues/14463/events | https://github.com/huggingface/transformers/pull/14463 | 1,058,623,429 | PR_kwDOCUB6oc4uxtIt | 14,463 | Moving pipeline tests from `Narsil` to `hf-internal-testing`. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
Moving pipeline tests from `Narsil` to `hf-internal-testing`.
<!--
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/14463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14463",
"html_url": "https://github.com/huggingface/transformers/pull/14463",
"diff_url": "https://github.com/huggingface/transformers/pull/14463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14462/comments | https://api.github.com/repos/huggingface/transformers/issues/14462/events | https://github.com/huggingface/transformers/pull/14462 | 1,058,494,231 | PR_kwDOCUB6oc4uxSRv | 14,462 | Fixes torch jit tracing for LayoutLMv2 model. | {
"login": "mikkeldenker",
"id": 16692368,
"node_id": "MDQ6VXNlcjE2NjkyMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/16692368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikkeldenker",
"html_url": "https://github.com/mikkeldenker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,658 | 1,640 | CONTRIBUTOR | null | Pytorch seems to reuse memory for input_shape which caused a mismatch in shapes later in the forward pass.
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14462",
"html_url": "https://github.com/huggingface/transformers/pull/14462",
"diff_url": "https://github.com/huggingface/transformers/pull/14462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14462.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14461/comments | https://api.github.com/repos/huggingface/transformers/issues/14461/events | https://github.com/huggingface/transformers/issues/14461 | 1,058,476,697 | I_kwDOCUB6oc4_FxKZ | 14,461 | Function `ByT5Tokenizer.convert_tokens_to_string()` fails with certain tokens | {
"login": "versae",
"id": 173537,
"node_id": "MDQ6VXNlcjE3MzUzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/versae",
"html_url": "https://github.com/versae",
"followers_url": "https://api.github.com/users/versae/follow... | [] | closed | false | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [
{
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com... | [
"Maybe related: https://github.com/huggingface/transformers/issues/13779.",
"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 guidel... | 1,637 | 1,640 | 1,640 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.13.0.dev0
- Platform: Linux-5.11.0-37-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14460/comments | https://api.github.com/repos/huggingface/transformers/issues/14460/events | https://github.com/huggingface/transformers/pull/14460 | 1,058,453,784 | PR_kwDOCUB6oc4uxJ3F | 14,460 | [ImageGPT] Small fixes | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
Improves #14240 with:
1) an integration test
2) adds `ImageGPTForImageClassification` to the Auto API
3) removes the local image and uses one from the hub instead | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14460",
"html_url": "https://github.com/huggingface/transformers/pull/14460",
"diff_url": "https://github.com/huggingface/transformers/pull/14460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14460.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14459/comments | https://api.github.com/repos/huggingface/transformers/issues/14459/events | https://github.com/huggingface/transformers/pull/14459 | 1,058,441,625 | PR_kwDOCUB6oc4uxHWG | 14,459 | Add GitPython to quality tools | {
"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 | [] | [
"Should we thus remove this line in the circleCI config?\r\n```\r\n - run: pip install isort GitPython\r\n```\r\n\r\nIt's there twice (code quality and repo consistency jobs).",
"Correct, just pushed the update. Thanks!"
] | 1,637 | 1,637 | 1,637 | MEMBER | null | Adds gitpython to the `quality` command of the setup, as otherwise the quality tools cannot be used.
cc https://github.com/huggingface/transformers/pull/14379 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14459/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14459",
"html_url": "https://github.com/huggingface/transformers/pull/14459",
"diff_url": "https://github.com/huggingface/transformers/pull/14459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14459.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14458/comments | https://api.github.com/repos/huggingface/transformers/issues/14458/events | https://github.com/huggingface/transformers/pull/14458 | 1,058,434,823 | PR_kwDOCUB6oc4uxF6z | 14,458 | [Tests] Improve vision tests | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Done."
] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
Small fixes for the tests of the vision models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14458",
"html_url": "https://github.com/huggingface/transformers/pull/14458",
"diff_url": "https://github.com/huggingface/transformers/pull/14458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14458.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14457/comments | https://api.github.com/repos/huggingface/transformers/issues/14457/events | https://github.com/huggingface/transformers/issues/14457 | 1,058,379,721 | I_kwDOCUB6oc4_FZfJ | 14,457 | Tracing LayoutLMv2 results in wrong input_shape dimension | {
"login": "mikkeldenker",
"id": 16692368,
"node_id": "MDQ6VXNlcjE2NjkyMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/16692368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikkeldenker",
"html_url": "https://github.com/mikkeldenker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for working on making LayoutLMv2 torchscriptable. It would indeed be great if you can open a PR for this.\r\n\r\nAlso, if LayoutLMv2 works with TorchScript, we can update `tests/test_modeling_layoutlmv2.py`, to also take into account the TorchScript tests (as these are not run right now as seen [... | 1,637 | 1,637 | 1,637 | 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.11.3
- Platform: macOS-12.0-arm64-arm-64bit
- Python version: 3.9.0
- PyTorch version (GPU?): 1.10.0 (Fals... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14457/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14457/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.