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/10130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10130/comments | https://api.github.com/repos/huggingface/transformers/issues/10130/events | https://github.com/huggingface/transformers/pull/10130 | 806,085,151 | MDExOlB1bGxSZXF1ZXN0NTcxNTcyNjA3 | 10,130 | [DeepSpeed in notebooks] Jupyter + Colab | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,613 | 1,637 | 1,613 | CONTRIBUTOR | null | This PR addresses issues raised in https://github.com/huggingface/transformers/issues/10011 when the user tried to use DeepSpeed in a notebook (most likely colab).
This PR:
* forces device and distributed setup init from TrainingArguments explicitly at the beginning of Trainer's `__init__`. This is needed since u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10130/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10130",
"html_url": "https://github.com/huggingface/transformers/pull/10130",
"diff_url": "https://github.com/huggingface/transformers/pull/10130.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10130.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10129/comments | https://api.github.com/repos/huggingface/transformers/issues/10129/events | https://github.com/huggingface/transformers/pull/10129 | 806,043,041 | MDExOlB1bGxSZXF1ZXN0NTcxNTM4NzMy | 10,129 | Fix v2 model loading issue | {
"login": "BigBird01",
"id": 38195654,
"node_id": "MDQ6VXNlcjM4MTk1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/38195654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BigBird01",
"html_url": "https://github.com/BigBird01",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @BigBird01, thanks a lot for fixing these issues! I'd like to prevent as much as possible from having the `pre_load_hooks` in the code. When do you expect mismatched head dimensions?",
"This is the case that if we want to fine-tune a task based on mnli models, e.g. MRPC, SST, QNLI. If we want to avoid this me... | 1,613 | 1,613 | 1,613 | CONTRIBUTOR | null | # What does this PR do?
Fix few issues with loading deberta v2 models and deberta mnli fine-tuned model
<!--
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 r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10129/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10129",
"html_url": "https://github.com/huggingface/transformers/pull/10129",
"diff_url": "https://github.com/huggingface/transformers/pull/10129.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10129.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10128/comments | https://api.github.com/repos/huggingface/transformers/issues/10128/events | https://github.com/huggingface/transformers/issues/10128 | 806,011,613 | MDU6SXNzdWU4MDYwMTE2MTM= | 10,128 | Bug in numpy_pad_and_concatenate | {
"login": "liamcli",
"id": 1198666,
"node_id": "MDQ6VXNlcjExOTg2NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1198666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liamcli",
"html_url": "https://github.com/liamcli",
"followers_url": "https://api.github.com/users/liamcli/... | [] | closed | false | null | [] | [
"Indeed. Would you like to do a PR to fix this since you spotted the bug?",
"sure thing!",
"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 [co... | 1,613 | 1,618 | 1,618 | NONE | null | https://github.com/huggingface/transformers/blob/77b862847b8069d57c0849ca012f48414c427d8e/src/transformers/trainer_pt_utils.py#L71
I believe this should be
`np.concatenate((array1, array2), axis=0)` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10128/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10127/comments | https://api.github.com/repos/huggingface/transformers/issues/10127/events | https://github.com/huggingface/transformers/issues/10127 | 805,946,518 | MDU6SXNzdWU4MDU5NDY1MTg= | 10,127 | XLM-R tokenizer is none | {
"login": "aggiejiang",
"id": 40179465,
"node_id": "MDQ6VXNlcjQwMTc5NDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/40179465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aggiejiang",
"html_url": "https://github.com/aggiejiang",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"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/... | [
{
"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": "htt... | [
"Hello! This is weird, it shouldn't happen. Could you try to install `sentencepiece` and let me know if it fixes your issue? Thank you!",
"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\nPleas... | 1,612 | 1,620 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 4.3.2
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.4.1 (True)
### Who can help
@LysandreJik @n1t0
## Information
I am using XLM-R:
The prob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10126/comments | https://api.github.com/repos/huggingface/transformers/issues/10126/events | https://github.com/huggingface/transformers/pull/10126 | 805,910,844 | MDExOlB1bGxSZXF1ZXN0NTcxNDMzMjMz | 10,126 | Add new community notebook - Blenderbot | {
"login": "lordtt13",
"id": 35500534,
"node_id": "MDQ6VXNlcjM1NTAwNTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/35500534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lordtt13",
"html_url": "https://github.com/lordtt13",
"followers_url": "https://api.github.com/users/lor... | [] | closed | false | null | [] | [
"Thank you for your work @lordtt13 \r\n\r\nActually, there are already plenty of notebooks about how to fine-tune T5. It would be great if could add a notebook for missing/new models/task. Below are some of the new models which aren't used much\r\n\r\n- T5_v1_1, mT5\r\n- ProphetNet, xlm-prophetnet\r\n- Blenderbot\r... | 1,612 | 1,613 | 1,613 | CONTRIBUTOR | null | Updated community.md file to add new notebook, How to fine tune T5 for summarization using the Trainer API | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10126/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10126",
"html_url": "https://github.com/huggingface/transformers/pull/10126",
"diff_url": "https://github.com/huggingface/transformers/pull/10126.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10126.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10125/comments | https://api.github.com/repos/huggingface/transformers/issues/10125/events | https://github.com/huggingface/transformers/issues/10125 | 805,853,544 | MDU6SXNzdWU4MDU4NTM1NDQ= | 10,125 | Converted pytorch model to onnx does not work correctly | {
"login": "yzhang-github-pub",
"id": 73549252,
"node_id": "MDQ6VXNlcjczNTQ5MjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/73549252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang-github-pub",
"html_url": "https://github.com/yzhang-github-pub",
"followers_url": "https... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,612 | 1,627 | 1,619 | NONE | null | I converted pretrained 'Rostlab/prot_bert_bfd' @ huggingface to onnx, then tried to convert a checkpoint from fine tuning of the pretrained model. Comparing to pretrained model, conversion of fine tuned model generated a lot of warnings. Basically the warnings said that parameters from first to last layer were not init... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10125/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10124/comments | https://api.github.com/repos/huggingface/transformers/issues/10124/events | https://github.com/huggingface/transformers/pull/10124 | 805,839,721 | MDExOlB1bGxSZXF1ZXN0NTcxMzc0OTc0 | 10,124 | [Doc] Fix version control in internal pages | {
"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,612 | 1,613 | 1,613 | COLLABORATOR | null | # What does this PR do?
When I added the internal submenu, I didn't think of also adding it in the test that properly generates the links for another version of the doc. This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10124",
"html_url": "https://github.com/huggingface/transformers/pull/10124",
"diff_url": "https://github.com/huggingface/transformers/pull/10124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10124.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10123/comments | https://api.github.com/repos/huggingface/transformers/issues/10123/events | https://github.com/huggingface/transformers/issues/10123 | 805,793,568 | MDU6SXNzdWU4MDU3OTM1Njg= | 10,123 | Help on training TFBERT to IntegerEncoded sequences | {
"login": "victormaricato",
"id": 11489228,
"node_id": "MDQ6VXNlcjExNDg5MjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/11489228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/victormaricato",
"html_url": "https://github.com/victormaricato",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"I had to define the following parameters on `BertConfig`:\r\n\r\n`config = BertConfig(vocab_size=4+1, hidden_size=len(x), max_position_embeddings=len(x))`\r\n\r\nMy issue is now:\r\n\r\n`InvalidArgumentError: Index out of range using input dim 1; input has only 1 dims [Op:StridedSlice] name: tf_bert_model_8/bert/s... | 1,612 | 1,613 | 1,613 | NONE | null | Hi,
My inputs are Integer Encoded vectors, like:
`[1,2,3,1,2,4,1,2,3,4,2,3,4, ...]`
Where:
`len(inputs) = 1200` & `unique values = 4` (1,2,3,4).
As you can see, this is not a common NLP problem as I have only 4 tokens, instead of a huge vocabulary.
And I could not find any pretrained vocab to tokenize this.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10123/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10122/comments | https://api.github.com/repos/huggingface/transformers/issues/10122/events | https://github.com/huggingface/transformers/pull/10122 | 805,669,674 | MDExOlB1bGxSZXF1ZXN0NTcxMjMyOTAx | 10,122 | Add SageMakerTrainer for model paralellism | {
"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,612 | 1,613 | 1,613 | COLLABORATOR | null | # What does this PR do?
This PR adds a subclass of `Trainer` to use model parallelism in SageMaker. This new `Trainer` still retains all the functionality of the previous trainer (e.g. when not run in SageMaker it will work like the normal one) while automatically enabling model parallelism when an example script is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10122/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10122",
"html_url": "https://github.com/huggingface/transformers/pull/10122",
"diff_url": "https://github.com/huggingface/transformers/pull/10122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10121/comments | https://api.github.com/repos/huggingface/transformers/issues/10121/events | https://github.com/huggingface/transformers/issues/10121 | 805,617,166 | MDU6SXNzdWU4MDU2MTcxNjY= | 10,121 | Allow `do_lower_case=True` for any tokenizer | {
"login": "n1t0",
"id": 1217986,
"node_id": "MDQ6VXNlcjEyMTc5ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n1t0",
"html_url": "https://github.com/n1t0",
"followers_url": "https://api.github.com/users/n1t0/followers",
... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Discussed offline with @n1t0: our current decision is to wait for https://github.com/huggingface/tokenizers/issues/659 to be resolved before moving on with this issue. \r\nThis is the better tradeoff as the alternative would imply duplicating a lot of logic in `transformers` that's already present but not exposed ... | 1,612 | 1,616 | null | MEMBER | null | # 🚀 Feature request
Extract the `do_lower_case` option to make it available for any tokenizer. Not just those that initially supported this, like the `BERT` tokenizers.
## Motivation
Sometimes we want to specify `do_lower_case=True` in the `tokenizer_config.json` of a custom tokenizer to activate the lowercas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10121/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10121/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10120/comments | https://api.github.com/repos/huggingface/transformers/issues/10120/events | https://github.com/huggingface/transformers/pull/10120 | 805,523,963 | MDExOlB1bGxSZXF1ZXN0NTcxMTEwNjQ5 | 10,120 | Conversion from slow to fast for BPE spm vocabs contained an error. | {
"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,612 | 1,613 | 1,613 | CONTRIBUTOR | null | # What does this PR do?
- There is only 1 test currently (tokenizers + slow) that used the modified path
and it's reformer, which does not contain any ids modification so the
bug was silent for now.
- The real issue is that vocab variable was overloaded by
SentencePieceExtractor, leading to Slow specific vocab o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10120/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10120",
"html_url": "https://github.com/huggingface/transformers/pull/10120",
"diff_url": "https://github.com/huggingface/transformers/pull/10120.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10120.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10119/comments | https://api.github.com/repos/huggingface/transformers/issues/10119/events | https://github.com/huggingface/transformers/pull/10119 | 805,298,544 | MDExOlB1bGxSZXF1ZXN0NTcwOTI3ODY2 | 10,119 | Line endings should be LF across repo and not CRLF | {
"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 | [] | [
"Thank you @LysandreJik, this will alleviate much of the pain Windows users had with git in the past!",
"To hack my way up the contributors list, can I change all line endings to CRLF then revert? 😂 "
] | 1,612 | 1,612 | 1,612 | MEMBER | null | Up to now we've had quite a few issues with users on Windows having their line endings be "CRLF" by default, while Linux users have "LF" line endings by default.
### Problem
This can be problematic in the following scenarios where no handling of the issue has been done on the user's side:
- When a user runs `mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10119/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10119",
"html_url": "https://github.com/huggingface/transformers/pull/10119",
"diff_url": "https://github.com/huggingface/transformers/pull/10119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10119.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10118/comments | https://api.github.com/repos/huggingface/transformers/issues/10118/events | https://github.com/huggingface/transformers/issues/10118 | 805,259,580 | MDU6SXNzdWU4MDUyNTk1ODA= | 10,118 | Exporting transformers models in ONNX format | {
"login": "chetanambi",
"id": 37707687,
"node_id": "MDQ6VXNlcjM3NzA3Njg3",
"avatar_url": "https://avatars.githubusercontent.com/u/37707687?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chetanambi",
"html_url": "https://github.com/chetanambi",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi!\r\nTry this one, but do it from an empty folder:\r\n`python3 -m transformers.convert_graph_to_onnx --framework pt --model bert-base-cased bert-base-cased.onnx`",
"@Denovitz Thanks a lot. I was able to convert the BERT model to ONNX successfully. Do you have a sample code of how the converted ONNX model can b... | 1,612 | 1,619 | 1,619 | NONE | null | I am trying to convert transformer model to ONNX by referring the article **[here](https://huggingface.co/transformers/serialization.html)** but running into below error. Can you please guide me if this is not the correct way of doing it.
Code I am using in Colab:
```
!git clone https://github.com/huggingface/tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10117/comments | https://api.github.com/repos/huggingface/transformers/issues/10117/events | https://github.com/huggingface/transformers/pull/10117 | 805,241,287 | MDExOlB1bGxSZXF1ZXN0NTcwODgwNDE0 | 10,117 | [Wav2Vec2] Improve Tokenizer & Model for batched inference | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Go Patrick!!!!! YES! someone who cares!",
"Merging since @LysandreJik is off today and this is blocking me a bit"
] | 1,612 | 1,613 | 1,613 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10117/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10117",
"html_url": "https://github.com/huggingface/transformers/pull/10117",
"diff_url": "https://github.com/huggingface/transformers/pull/10117.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10117.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10116/comments | https://api.github.com/repos/huggingface/transformers/issues/10116/events | https://github.com/huggingface/transformers/pull/10116 | 805,211,535 | MDExOlB1bGxSZXF1ZXN0NTcwODU1MTMw | 10,116 | [scheduled github CI] add deepspeed fairscale deps | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Thanks!"
] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | This PR adds `deepspeed` +`fairscale` to pip install on multi-gpu self-hosted scheduled job - so that we can start running those tests.
@LysandreJik, @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10116",
"html_url": "https://github.com/huggingface/transformers/pull/10116",
"diff_url": "https://github.com/huggingface/transformers/pull/10116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10116.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10115/comments | https://api.github.com/repos/huggingface/transformers/issues/10115/events | https://github.com/huggingface/transformers/pull/10115 | 805,207,219 | MDExOlB1bGxSZXF1ZXN0NTcwODUxMzA0 | 10,115 | [CI] build docs faster | {
"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,612 | 1,612 | 1,612 | CONTRIBUTOR | null | I assume the CI machine should have at least 4 cores, so let's build docs faster.
@sgugger, @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10115",
"html_url": "https://github.com/huggingface/transformers/pull/10115",
"diff_url": "https://github.com/huggingface/transformers/pull/10115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10115.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10114/comments | https://api.github.com/repos/huggingface/transformers/issues/10114/events | https://github.com/huggingface/transformers/pull/10114 | 805,192,036 | MDExOlB1bGxSZXF1ZXN0NTcwODM4MDE4 | 10,114 | [DeepSpeed] restore memory for evaluation | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | I spent some time trying to see if we could gain from DeepSpeed during inference - and while in the future there will be goodies to make it useful at the moment we don't need it, so let's make DeepSpeed cleanly contained to `train` for now.
This PR has a few small tweaks:
- frees up all the memory used by DeepSpee... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10114/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10114",
"html_url": "https://github.com/huggingface/transformers/pull/10114",
"diff_url": "https://github.com/huggingface/transformers/pull/10114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10114.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10113/comments | https://api.github.com/repos/huggingface/transformers/issues/10113/events | https://github.com/huggingface/transformers/issues/10113 | 805,141,157 | MDU6SXNzdWU4MDUxNDExNTc= | 10,113 | CUDA Out of Memory After Several Epochs | {
"login": "liyucheng09",
"id": 27999909,
"node_id": "MDQ6VXNlcjI3OTk5OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/27999909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liyucheng09",
"html_url": "https://github.com/liyucheng09",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I'm quite puzzled too, to be honest. I know that sometimes, PyTorch will trigger a CUDA OOM error even if there is enough memory in theory just because it's not able to find a contiguous chunk or has some leftovers for some reason, exactly like what your message suggests (22.53GB allocated but 23.21GB reserved by ... | 1,612 | 1,673 | 1,621 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.1.1
- Platform: Linux-4.14.105-1-tlinux3-0013-x86_64-with-centos-7.2-Final
- Python version: 3.7.7
- PyTor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10113/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/10113/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10112/comments | https://api.github.com/repos/huggingface/transformers/issues/10112/events | https://github.com/huggingface/transformers/issues/10112 | 805,095,973 | MDU6SXNzdWU4MDUwOTU5NzM= | 10,112 | Possible bug in RAG Tokenizer | {
"login": "krishanudb",
"id": 11831343,
"node_id": "MDQ6VXNlcjExODMxMzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/11831343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishanudb",
"html_url": "https://github.com/krishanudb",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"hi @krishanudb \r\n\r\nThank you for reporting this @krishanudb !",
"Is there any update on this issue? @patil-suraj ",
"It's fixed now on master!\r\nsee #10167",
"The issue persists in transformers 4.3.3\r\n\r\n/usr/local/lib/python3.7/dist-packages/transformers/models/rag/tokenization_rag.py in prepare_seq... | 1,612 | 1,615 | 1,613 | NONE | null | On this line
input_dict = tokenizer.prepare_seq2seq_batch(question, return_tensors="pt")
the following error is being generated
AttributeError: 'super' object has no attribute 'prepare_seq2seq_batch'
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10111/comments | https://api.github.com/repos/huggingface/transformers/issues/10111/events | https://github.com/huggingface/transformers/issues/10111 | 805,091,319 | MDU6SXNzdWU4MDUwOTEzMTk= | 10,111 | Bug in RAG Sequence generate | {
"login": "krishanudb",
"id": 11831343,
"node_id": "MDQ6VXNlcjExODMxMzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/11831343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishanudb",
"html_url": "https://github.com/krishanudb",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @krishanudb \r\n\r\nCould you post a code snippet so we can reproduce the issue? Please post your env info, short code snippet, and stack trace if possible when reporting bugs. Thanks.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to... | 1,612 | 1,619 | 1,619 | NONE | null | IMHO there is a bug in the RAG Sequence model, in the generate function.
The shapes mismatch all the time. I looked into the code and found the issue in the following loop.
https://github.com/huggingface/transformers/blob/85395e4901f87b880f364bcd6424fe37da94574b/src/transformers/models/rag/modeling_rag.py#L936
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10111/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10110/comments | https://api.github.com/repos/huggingface/transformers/issues/10110/events | https://github.com/huggingface/transformers/pull/10110 | 805,086,064 | MDExOlB1bGxSZXF1ZXN0NTcwNzQ4NDk2 | 10,110 | Fix tokenizers training in notebooks | {
"login": "n1t0",
"id": 1217986,
"node_id": "MDQ6VXNlcjEyMTc5ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n1t0",
"html_url": "https://github.com/n1t0",
"followers_url": "https://api.github.com/users/n1t0/followers",
... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | MEMBER | null | The `train` method has been updated in `tokenizers` v0.10, and it includes a breaking change from the previous versions (reordered arguments). This modification ensures it works for all versions.
cc @sgugger @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10110",
"html_url": "https://github.com/huggingface/transformers/pull/10110",
"diff_url": "https://github.com/huggingface/transformers/pull/10110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10110.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10109/comments | https://api.github.com/repos/huggingface/transformers/issues/10109/events | https://github.com/huggingface/transformers/issues/10109 | 805,011,295 | MDU6SXNzdWU4MDUwMTEyOTU= | 10,109 | Git does not find the model folder and does not commit model files in the hugging face | {
"login": "MLDovakin",
"id": 78375175,
"node_id": "MDQ6VXNlcjc4Mzc1MTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/78375175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MLDovakin",
"html_url": "https://github.com/MLDovakin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"hi @IndianMLGay \r\n\r\nYou should `cd` into `simple-small-kvantorium` directory and then do `git add/commit/push` etc",
"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 issu... | 1,612 | 1,618 | 1,618 | NONE | null | I work for Google Colab. This is how I save my training model files
````
trainer.save_model("./kvantorium-small")
tokenizer.save_pretrained("/content/For_tokenize", legacy_format=False)
````
Next, I want to commit my files to the hugging face repository. As shown in the guide (https://huggingface.co/welcome)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10108/comments | https://api.github.com/repos/huggingface/transformers/issues/10108/events | https://github.com/huggingface/transformers/issues/10108 | 804,987,783 | MDU6SXNzdWU4MDQ5ODc3ODM= | 10,108 | Non-JSON-serializable tokenizer config with `save_pretrained` | {
"login": "vinbo8",
"id": 1384073,
"node_id": "MDQ6VXNlcjEzODQwNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1384073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vinbo8",
"html_url": "https://github.com/vinbo8",
"followers_url": "https://api.github.com/users/vinbo8/foll... | [] | closed | false | null | [] | [
"Hi @vin-ivar \r\n\r\nThe `tokenizer` does not need the model config file, there is no need to pass it when initializing the tokenizer.",
"That fixes it, I was using an older script without taking that bit out."
] | 1,612 | 1,613 | 1,613 | 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.3.1
- Platform: Linux
- Python version: 3.7.9
- PyTorch version (GPU?): 1.7.1 (GPU)
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10108/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10107/comments | https://api.github.com/repos/huggingface/transformers/issues/10107/events | https://github.com/huggingface/transformers/pull/10107 | 804,922,454 | MDExOlB1bGxSZXF1ZXN0NTcwNjExNjAy | 10,107 | Remove speed metrics from default compute objective [WIP] | {
"login": "shiva-z",
"id": 14043961,
"node_id": "MDQ6VXNlcjE0MDQzOTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/14043961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shiva-z",
"html_url": "https://github.com/shiva-z",
"followers_url": "https://api.github.com/users/shiva-... | [] | closed | false | null | [] | [
"Oh boy, that is rather bad! Thanks a lot for fixing this!\r\nDid you want to add the test in this PR?",
"> Oh boy, that is rather bad! Thanks a lot for fixing this!\r\n> Did you want to add the test in this PR?\r\n\r\nI can also create a follow up PR if you want to merge this asap. I can't implement the test cas... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR removes speed metrics (e.g. `eval_runtime`) from the default compute objective (`default_compute_objective`). `default_compute_objective` is used when no `compute_objective` is passed to `Trainer.hyperparameter_search`. `Trainer` adds speed metrics such as `eval_runtime` and `eval_sam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10107/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10107",
"html_url": "https://github.com/huggingface/transformers/pull/10107",
"diff_url": "https://github.com/huggingface/transformers/pull/10107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10107.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10106/comments | https://api.github.com/repos/huggingface/transformers/issues/10106/events | https://github.com/huggingface/transformers/pull/10106 | 804,906,658 | MDExOlB1bGxSZXF1ZXN0NTcwNTk4MzIw | 10,106 | Revert "Fix TFConvBertModelIntegrationTest::test_inference_masked_lm Test" | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://ap... | [] | closed | false | null | [] | [] | 1,612 | 1,651 | 1,617 | MEMBER | null | Reverts huggingface/transformers#10104 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10106",
"html_url": "https://github.com/huggingface/transformers/pull/10106",
"diff_url": "https://github.com/huggingface/transformers/pull/10106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10106.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10105/comments | https://api.github.com/repos/huggingface/transformers/issues/10105/events | https://github.com/huggingface/transformers/issues/10105 | 804,870,511 | MDU6SXNzdWU4MDQ4NzA1MTE= | 10,105 | PruneTrain: Fast Neural Network Training by Dynamic Sparse Model Reconfiguration | {
"login": "gaceladri",
"id": 7850682,
"node_id": "MDQ6VXNlcjc4NTA2ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7850682?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gaceladri",
"html_url": "https://github.com/gaceladri",
"followers_url": "https://api.github.com/users/ga... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg... | open | false | null | [] | [] | 1,612 | 1,612 | null | NONE | null | # 🚀 Feature request
PruneTrain. {...} By using a structured-pruning approach and additional reconfiguration techniques we introduce, the pruned model can still be efficiently processed on a GPU accelerator. Overall, **PruneTrain achieves a reduction of 39% in the end-to-end training time of ResNet50 for ImageNet by... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10105/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/10105/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10104/comments | https://api.github.com/repos/huggingface/transformers/issues/10104/events | https://github.com/huggingface/transformers/pull/10104 | 804,836,419 | MDExOlB1bGxSZXF1ZXN0NTcwNTM4NTI3 | 10,104 | Fix TFConvBertModelIntegrationTest::test_inference_masked_lm Test | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"@abhishekkrthakur - this doesn't look good to me. \r\n\r\nJust changing the hardcoded integration test to values that make the test pass does not seem like the way to go here. The PyTorch integration test: https://github.com/huggingface/transformers/blob/7c7962ba891864f9770b9e9424f87d158b839a59/tests/test_modeling... | 1,612 | 1,612 | 1,612 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10104/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10104",
"html_url": "https://github.com/huggingface/transformers/pull/10104",
"diff_url": "https://github.com/huggingface/transformers/pull/10104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10104.patch",
"merged_at... | |
https://api.github.com/repos/huggingface/transformers/issues/10103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10103/comments | https://api.github.com/repos/huggingface/transformers/issues/10103/events | https://github.com/huggingface/transformers/pull/10103 | 804,800,256 | MDExOlB1bGxSZXF1ZXN0NTcwNTA3NzQ4 | 10,103 | Fix Faiss Import | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"As expected the two RAG tests are failing",
"Thanks for fixing!"
] | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10103/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10103",
"html_url": "https://github.com/huggingface/transformers/pull/10103",
"diff_url": "https://github.com/huggingface/transformers/pull/10103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10103.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10102/comments | https://api.github.com/repos/huggingface/transformers/issues/10102/events | https://github.com/huggingface/transformers/pull/10102 | 804,788,248 | MDExOlB1bGxSZXF1ZXN0NTcwNDk3ODUw | 10,102 | Replace faiss cpu by faiss | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,612 | 1,613 | 1,613 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10102",
"html_url": "https://github.com/huggingface/transformers/pull/10102",
"diff_url": "https://github.com/huggingface/transformers/pull/10102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10102.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10101/comments | https://api.github.com/repos/huggingface/transformers/issues/10101/events | https://github.com/huggingface/transformers/pull/10101 | 804,782,697 | MDExOlB1bGxSZXF1ZXN0NTcwNDkzMjMz | 10,101 | Change dependency from faiss-cpu to faiss | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10101/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10101",
"html_url": "https://github.com/huggingface/transformers/pull/10101",
"diff_url": "https://github.com/huggingface/transformers/pull/10101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10101.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10100/comments | https://api.github.com/repos/huggingface/transformers/issues/10100/events | https://github.com/huggingface/transformers/pull/10100 | 804,637,618 | MDExOlB1bGxSZXF1ZXN0NTcwMzcxNDMw | 10,100 | Fix some edge cases in report_to and add deprecation warnings | {
"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,612 | 1,612 | 1,612 | COLLABORATOR | null | # What does this PR do?
This PR adds two new values for the `report_to` TrainingArguments:
- "all" for all integrations installed
- "none" for none (necessary when using in the CLI and we can't pass an empty list)
It also starts warning the user (with an info to not be too spammy) of the upcoming change of defa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10100/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10100",
"html_url": "https://github.com/huggingface/transformers/pull/10100",
"diff_url": "https://github.com/huggingface/transformers/pull/10100.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10100.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10099/comments | https://api.github.com/repos/huggingface/transformers/issues/10099/events | https://github.com/huggingface/transformers/issues/10099 | 804,581,681 | MDU6SXNzdWU4MDQ1ODE2ODE= | 10,099 | Issue training Longformer | {
"login": "TomUdale-debug",
"id": 78804008,
"node_id": "MDQ6VXNlcjc4ODA0MDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/78804008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomUdale-debug",
"html_url": "https://github.com/TomUdale-debug",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"I've been having the same problem",
"Maybe @patrickvonplaten can chime in here",
"Hey @TomUdale-debug - thanks for reporting your issue. It's quite difficult to debug problems with training, but I'll try my best to help you here. However, I would need full access to the training data etc...Could you please mak... | 1,612 | 1,619 | 1,619 | NONE | null | Hello, apologies if this is the wrong place to ask for help, I'm currently trying to fine-tune longformer on a text classification task. My script is below.
When I use ```for param in model.longformer.encoder.parameters():
param.requires_grad = False``` to not train the encoder layer but just the classific... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10099/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10099/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10098/comments | https://api.github.com/repos/huggingface/transformers/issues/10098/events | https://github.com/huggingface/transformers/pull/10098 | 804,554,093 | MDExOlB1bGxSZXF1ZXN0NTcwMzAyMjEz | 10,098 | Adding support for TFEncoderDecoderModel | {
"login": "thevasudevgupta",
"id": 53136577,
"node_id": "MDQ6VXNlcjUzMTM2NTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thevasudevgupta",
"html_url": "https://github.com/thevasudevgupta",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi @patrickvonplaten,\r\nI just realised that major step will be adding cross-attention layer to `TFDecoderLMHeadModel` for enabling this support. I will start doing that next.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be address... | 1,612 | 1,619 | 1,619 | 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/10098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10098",
"html_url": "https://github.com/huggingface/transformers/pull/10098",
"diff_url": "https://github.com/huggingface/transformers/pull/10098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10098.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10097/comments | https://api.github.com/repos/huggingface/transformers/issues/10097/events | https://github.com/huggingface/transformers/issues/10097 | 804,458,453 | MDU6SXNzdWU4MDQ0NTg0NTM= | 10,097 | DeBERTa v2 throws "TypeError: stat: path should be string...", v1 not | {
"login": "205g0",
"id": 74575852,
"node_id": "MDQ6VXNlcjc0NTc1ODUy",
"avatar_url": "https://avatars.githubusercontent.com/u/74575852?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/205g0",
"html_url": "https://github.com/205g0",
"followers_url": "https://api.github.com/users/205g0/follow... | [] | closed | false | null | [] | [
"Hi @205g0 \r\n\r\nThank you for reporting this! \r\n\r\n`microsoft/deberta-xlarge-v2` uses `sentencepiece` vocab and it's not implemented for deberta, which is the reason for this error. ",
"Hey Suraj, thanks for the quick response and good to know!",
"@BigBird01 do you think you could add the missing tokeniz... | 1,612 | 1,619 | 1,619 | 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.3.1
- Platform: Linux-5.4.0-54-generic-x86_64-with-glibc2.29
- Python version: 3.8.5
- PyTorch version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10097/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10096/comments | https://api.github.com/repos/huggingface/transformers/issues/10096/events | https://github.com/huggingface/transformers/pull/10096 | 804,434,876 | MDExOlB1bGxSZXF1ZXN0NTcwMjAxOTI1 | 10,096 | Fix example in Wav2Vec2 documentation | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://ap... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | MEMBER | null | Fixes an example in Wav2Vec2 documentation | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10096/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/10096/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10096",
"html_url": "https://github.com/huggingface/transformers/pull/10096",
"diff_url": "https://github.com/huggingface/transformers/pull/10096.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10096.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10095/comments | https://api.github.com/repos/huggingface/transformers/issues/10095/events | https://github.com/huggingface/transformers/pull/10095 | 804,416,680 | MDExOlB1bGxSZXF1ZXN0NTcwMTg3NTky | 10,095 | Fix naming in TF MobileBERT | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a naming issue in the `TFMobileBertForMaskedLM` model.
# Fixes
#10088 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10095/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10095",
"html_url": "https://github.com/huggingface/transformers/pull/10095",
"diff_url": "https://github.com/huggingface/transformers/pull/10095.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10095.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10094/comments | https://api.github.com/repos/huggingface/transformers/issues/10094/events | https://github.com/huggingface/transformers/pull/10094 | 804,414,794 | MDExOlB1bGxSZXF1ZXN0NTcwMTg2MDU3 | 10,094 | [RAG] fix generate | {
"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 | [] | [
"Wow this is a huge bug actually! Thanks a lot for fixing it @patil-suraj! \r\n\r\n@LysandreJik @sgugger - Sadly Circle CI is skipping all RAG tests at the moment -> therefore we should first fix the faiss import (#10103), then rebase this PR to see that everything is correctly solved, merge it and then do a patch ... | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
#9984 introduced a new `encoder_no_repeat_ngram_size` `generate` param, but it was missing from `RagTokenForGeneration.generate`, it's a required argument for `_get_logits_processor` which is called inside `RagTokenForGeneration.generate`.
This PR adds the argument to `RagTokenForGenerat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10094/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10094",
"html_url": "https://github.com/huggingface/transformers/pull/10094",
"diff_url": "https://github.com/huggingface/transformers/pull/10094.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10094.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10093/comments | https://api.github.com/repos/huggingface/transformers/issues/10093/events | https://github.com/huggingface/transformers/issues/10093 | 804,409,388 | MDU6SXNzdWU4MDQ0MDkzODg= | 10,093 | Pre-Training for Question Generation | {
"login": "saichandrapandraju",
"id": 41769919,
"node_id": "MDQ6VXNlcjQxNzY5OTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/41769919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saichandrapandraju",
"html_url": "https://github.com/saichandrapandraju",
"followers_url": "ht... | [] | closed | false | null | [] | [
"I guess @patil-suraj is the expert in this, check out his [repo](https://github.com/patil-suraj/question_generation) explaining all the details.",
"ok..\r\n@patil-suraj , plz revert on [this](https://github.com/patil-suraj/question_generation/issues/69) issue I raised in your repo"
] | 1,612 | 1,612 | 1,612 | NONE | null | Hi,
How to pre-train any of language generation models (T5, BART or GPT ) for Question Generation task where I had passage, question and answer?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10093/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10092/comments | https://api.github.com/repos/huggingface/transformers/issues/10092/events | https://github.com/huggingface/transformers/pull/10092 | 804,383,024 | MDExOlB1bGxSZXF1ZXN0NTcwMTYwMzkw | 10,092 | Logging propagation | {
"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,612 | 1,612 | 1,612 | MEMBER | null | This PR enables logs propagation by default with transformers' logging system, in a similar fashion to https://github.com/huggingface/datasets/pull/1845.
Unlike `datasets` however, we will not remove the default handler in transformers' logging system: this handler is heavily used in all examples, and removing the d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10092/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10092",
"html_url": "https://github.com/huggingface/transformers/pull/10092",
"diff_url": "https://github.com/huggingface/transformers/pull/10092.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10092.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10091/comments | https://api.github.com/repos/huggingface/transformers/issues/10091/events | https://github.com/huggingface/transformers/issues/10091 | 804,334,409 | MDU6SXNzdWU4MDQzMzQ0MDk= | 10,091 | How to run distributed training on multiple machines? | {
"login": "allanj",
"id": 3351187,
"node_id": "MDQ6VXNlcjMzNTExODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3351187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/allanj",
"html_url": "https://github.com/allanj",
"followers_url": "https://api.github.com/users/allanj/foll... | [] | closed | false | null | [] | [
"I'm only aware that the PyTorch official documentation is using the RPC: https://pytorch.org/tutorials/intermediate/dist_pipeline_parallel_tutorial.html",
"This is more of a question for the PyTorch GitHub then ours since this is a question about to use `torch.distributed.launch`. That's why I'll close the issue... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.3.0
- Platform: PyTorch
- Python version: 3.7
- PyTorch version (GPU?): 1.7.1
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: Yes
##Who can help:
Examples:
- maintained examples (not research project or legacy): @sgugger, @pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10091/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10091/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10090/comments | https://api.github.com/repos/huggingface/transformers/issues/10090/events | https://github.com/huggingface/transformers/issues/10090 | 804,332,530 | MDU6SXNzdWU4MDQzMzI1MzA= | 10,090 | [question] Are the tensorflow bert weights same as the original repo ? | {
"login": "Slyne",
"id": 6286804,
"node_id": "MDQ6VXNlcjYyODY4MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6286804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Slyne",
"html_url": "https://github.com/Slyne",
"followers_url": "https://api.github.com/users/Slyne/follower... | [] | closed | false | null | [] | [
"Hi! Could you provide the code you used to get the predictions with the BERT checkpoint on TF Hub? The two should be identical.",
"> Hi! Could you provide the code you used to get the predictions with the BERT checkpoint on TF Hub? The two should be identical.\r\n\r\nI copied from https://tfhub.dev/tensorflow/be... | 1,612 | 1,619 | 1,619 | 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:
- `transformers` version: 4.2.2
- Platform: Linux-4.15.0-133-generic-x86_64-with-debian-stretch-sid
- Python... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10089/comments | https://api.github.com/repos/huggingface/transformers/issues/10089/events | https://github.com/huggingface/transformers/pull/10089 | 804,326,793 | MDExOlB1bGxSZXF1ZXN0NTcwMTE0Mzkz | 10,089 | Deprecate Wav2Vec2ForMaskedLM and add Wav2Vec2ForCTC | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"> LGTM! Could we remove `Wav2Vec2ForMaskedLM` from the documentation?\r\n\r\nYes! It's better than adding a note saying that the model is deprecated? => yeah let's just remove it!"
] | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10089/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10089",
"html_url": "https://github.com/huggingface/transformers/pull/10089",
"diff_url": "https://github.com/huggingface/transformers/pull/10089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10089.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10088/comments | https://api.github.com/repos/huggingface/transformers/issues/10088/events | https://github.com/huggingface/transformers/issues/10088 | 804,313,273 | MDU6SXNzdWU4MDQzMTMyNzM= | 10,088 | Language modelling head has zero weights in pretrained TFMobileBertForMaskedLM | {
"login": "mknz",
"id": 6409704,
"node_id": "MDQ6VXNlcjY0MDk3MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6409704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mknz",
"html_url": "https://github.com/mknz",
"followers_url": "https://api.github.com/users/mknz/followers",
... | [] | closed | false | {
"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/... | [
{
"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": "htt... | [
"Hello!\r\n\r\nIndeed there is an issue in the naming for `TFMobileBertForMaskedLM`. This will be fixed in the next release.",
"OK, thanks for the quick response!",
"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 com... | 1,612 | 1,618 | 1,618 | NONE | null | ## Description
The `TFMobileBertForMaskedLM` example returns all zero logits while `MobileBertForMaskedLM` example works fine.
https://huggingface.co/transformers/model_doc/mobilebert.html#tfmobilebertformaskedlm
I checked language modeling head weights for both models and found that TF pretrained model has zero w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10087/comments | https://api.github.com/repos/huggingface/transformers/issues/10087/events | https://github.com/huggingface/transformers/pull/10087 | 804,233,244 | MDExOlB1bGxSZXF1ZXN0NTcwMDM1NzA0 | 10,087 | remove adjust_logits_during_generation method | {
"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 | [] | [
"All slow tests passing in PT!",
"@patrickvonplaten (Bart, MBart, Pegasus, Marian, Blenderbot, BlenderbotSmall) slow tests are passing in TF as well.",
"Applied Sylvain's suggestions. Merging!"
] | 1,612 | 1,668 | 1,612 | MEMBER | null | # What does this PR do?
This PR is the first split of #9811.
This PR
1. introduces two new `generate` and `config` arguments and `LogitsProcessor`
- `forced_bos_token_id` and `forced_eos_token_id`, to force a specific start and end token. This is particularly useful for many to many and one to many tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10087/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/10087/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10087",
"html_url": "https://github.com/huggingface/transformers/pull/10087",
"diff_url": "https://github.com/huggingface/transformers/pull/10087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10087.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10086/comments | https://api.github.com/repos/huggingface/transformers/issues/10086/events | https://github.com/huggingface/transformers/pull/10086 | 804,221,068 | MDExOlB1bGxSZXF1ZXN0NTcwMDI1NDA5 | 10,086 | doc: update W&B related doc | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"There's also `docs/source/example.md` but I understand it is built automatically from `examples/README.md`"
] | 1,612 | 1,612 | 1,612 | 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/10086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10086/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10086",
"html_url": "https://github.com/huggingface/transformers/pull/10086",
"diff_url": "https://github.com/huggingface/transformers/pull/10086.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10086.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10085/comments | https://api.github.com/repos/huggingface/transformers/issues/10085/events | https://github.com/huggingface/transformers/pull/10085 | 804,186,750 | MDExOlB1bGxSZXF1ZXN0NTY5OTk2NzY1 | 10,085 | [examples/s2s] add test set predictions | {
"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 | [] | [
"> I propose that the best approach would be to finish everything that is planned and then we will run tests side by side and note any small discrepancies if any and fix them in one go? Does that work?\r\n\r\nYes, this was the last major missing piece from this script. Now I'm going to start running both scripts si... | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
This PR adds the `do_predict` option to the `run_seq2seq.py` script for test set predictions.
Fixes #10032
cc. @stas00 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10085/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/10085/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10085",
"html_url": "https://github.com/huggingface/transformers/pull/10085",
"diff_url": "https://github.com/huggingface/transformers/pull/10085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10085.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10084/comments | https://api.github.com/repos/huggingface/transformers/issues/10084/events | https://github.com/huggingface/transformers/issues/10084 | 804,059,530 | MDU6SXNzdWU4MDQwNTk1MzA= | 10,084 | Tapas not working with tables exceeding token limit | {
"login": "bogdankostic",
"id": 48713846,
"node_id": "MDQ6VXNlcjQ4NzEzODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/48713846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bogdankostic",
"html_url": "https://github.com/bogdankostic",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nYes the column ranks may cause issues when a table is too big, as the vocab size is only 256. See also [my reply](https://github.com/huggingface/transformers/issues/9221#issuecomment-749093391) on #9221.\r\n\r\nActually, the authors of TAPAS did release a new method in a [follow-up paper](https://arxiv.... | 1,612 | 1,687 | 1,619 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.3.0
- Platform: MacOS
- Python version: 3.7
- PyTorch version (GPU?): 1.7.1
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
@LysandreJik @sgugger @NielsRogge
## Information
Model I am using (Bert, XLNet ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10083/comments | https://api.github.com/repos/huggingface/transformers/issues/10083/events | https://github.com/huggingface/transformers/issues/10083 | 804,018,050 | MDU6SXNzdWU4MDQwMTgwNTA= | 10,083 | model.generate needs BART config update | {
"login": "swethmandava",
"id": 17828952,
"node_id": "MDQ6VXNlcjE3ODI4OTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/17828952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swethmandava",
"html_url": "https://github.com/swethmandava",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @swethmandava,\r\n\r\nSorry I don't understand the issue here - what do you mean by `model.generate` runs into errors? Your above code snippet works fine for me. Could you clarify the issue? Thank you!",
"`summary_ids = model.generate(inputs['input_ids'], num_beams=4, max_length=5, early_stopping=True, num_b... | 1,612 | 1,613 | 1,613 | CONTRIBUTOR | null | ### Who can help
@patrickvonplaten @patil-suraj
```
model = BartForConditionalGeneration.from_pretrained('facebook/bart-large-cnn')
tokenizer = BartTokenizer.from_pretrained('facebook/bart-large-cnn')
ARTICLE_TO_SUMMARIZE = "My friends are cool but they eat too many carbs."
inputs = tokenizer([ARTICLE_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10083/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10082/comments | https://api.github.com/repos/huggingface/transformers/issues/10082/events | https://github.com/huggingface/transformers/issues/10082 | 803,985,366 | MDU6SXNzdWU4MDM5ODUzNjY= | 10,082 | Supporting truncation from both ends of the sequence in BertTokenizerFast | {
"login": "shangw-nvidia",
"id": 66387198,
"node_id": "MDQ6VXNlcjY2Mzg3MTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/66387198?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shangw-nvidia",
"html_url": "https://github.com/shangw-nvidia",
"followers_url": "https://api.githu... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Hi, thanks for opening an issue! We have the `padding_side` tokenizer attribute, but it doesn't work for truncation unfortunately.\r\n@n1t0, what do you think?",
"@LysandreJik Thanks a lot for your response! @n1t0 I'm wondering what your thoughts are on this feature?"
] | 1,612 | 1,613 | null | NONE | null | # 🚀 Feature request
For `BertTokenizerFast` (inherited from `PreTrainedTokenizerFast`), it seems like `__call__` only supports truncating from the end of the sequences if we set `truncation` to be `longest_first`, `only_first` or `only_second`. For example, assuming `max_length` is 6 and `truncation` is `longest_fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10082/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10082/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10081/comments | https://api.github.com/repos/huggingface/transformers/issues/10081/events | https://github.com/huggingface/transformers/issues/10081 | 803,964,866 | MDU6SXNzdWU4MDM5NjQ4NjY= | 10,081 | pipeline("sentiment-analysis') - index out of range in self | {
"login": "nikchha",
"id": 37020365,
"node_id": "MDQ6VXNlcjM3MDIwMzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/37020365?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikchha",
"html_url": "https://github.com/nikchha",
"followers_url": "https://api.github.com/users/nikchh... | [] | closed | false | null | [] | [
"Hello! Do you mind giving us a reproducible example, for example the sequence that makes this pipeline crash? Without such an example we won't be able to find out what's wrong. Thank you for your understanding",
"Hello! Thank you very much for your quick reply. While there are many entities in my dataset that ca... | 1,612 | 1,612 | 1,612 | 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.2.2
- Platform: Manjaro Linux (Feb 2021)
- Python version: 3.8.5
- PyTorch version (GPU?): 1.7.1 (GPU)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10080/comments | https://api.github.com/repos/huggingface/transformers/issues/10080/events | https://github.com/huggingface/transformers/pull/10080 | 803,834,719 | MDExOlB1bGxSZXF1ZXN0NTY5Njk2NTE1 | 10,080 | [deepspeed tests] transition to new tests dir | {
"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 | [] | [
"> I no longer can use the libraries from seq2seq since I can't do a relative import from the script.\r\n\r\nWe can add things to the sys path if needed (see the [general text examples](https://github.com/huggingface/transformers/blob/master/examples/test_examples.py)).\r\n\r\nThanks for doing this, it looks good t... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | as discussed at https://github.com/huggingface/transformers/issues/10076 relocating deepspeed tests a dedicated area and out of the scripts area.
I went right ahead and create a dedicated sub-folder for deepspeed tests.
I no longer can use the libraries from `seq2seq` since I can't do a relative import from the s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10080/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10080",
"html_url": "https://github.com/huggingface/transformers/pull/10080",
"diff_url": "https://github.com/huggingface/transformers/pull/10080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10080.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10079/comments | https://api.github.com/repos/huggingface/transformers/issues/10079/events | https://github.com/huggingface/transformers/issues/10079 | 803,788,439 | MDU6SXNzdWU4MDM3ODg0Mzk= | 10,079 | Unclear error "NotImplementedError: "while saving tokenizer. How fix it? | {
"login": "MLDovakin",
"id": 78375175,
"node_id": "MDQ6VXNlcjc4Mzc1MTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/78375175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MLDovakin",
"html_url": "https://github.com/MLDovakin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Maybe @n1t0 can chime in here!",
"> When I output tokenizer name_or_path = nothing is displayed. This is normal?\r\n\r\nI think it is yes, you are loading using `tokenizer_file=` instead of using the normal path with `from_pretrained`. No need to worry about this.\r\n\r\nConcerning the error, I think the way to ... | 1,612 | 1,619 | 1,619 | NONE | null | Here is my tokenizer code and how I save it to a json file" /content/bert-datas7.json"
````
from tokenizers import normalizers
from tokenizers.normalizers import Lowercase, NFD, StripAccents
bert_tokenizer.pre_tokenizer = Whitespace()
from tokenizers.processors import TemplateProcessing
bert_tokenizer.pos... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10079/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10078/comments | https://api.github.com/repos/huggingface/transformers/issues/10078/events | https://github.com/huggingface/transformers/pull/10078 | 803,762,731 | MDExOlB1bGxSZXF1ZXN0NTY5NjM2OTgz | 10,078 | Replace strided slice with tf.expand_dims | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"> When two new dimensions are need, can we use a different operator to make the code more readable? Suggested tf.reshape but there might be something else available?\r\n\r\nYes, this is doable with `tf.reshape`.",
"All the slow tests of the concerned models are ok!"
] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR aims to replace the strided slice notation by its TF operator counterpart. As proposed by @mfuntowicz https://github.com/huggingface/transformers/pull/9890#discussion_r571939682 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10078/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10078",
"html_url": "https://github.com/huggingface/transformers/pull/10078",
"diff_url": "https://github.com/huggingface/transformers/pull/10078.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10078.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10077/comments | https://api.github.com/repos/huggingface/transformers/issues/10077/events | https://github.com/huggingface/transformers/pull/10077 | 803,762,030 | MDExOlB1bGxSZXF1ZXN0NTY5NjM2Mzkw | 10,077 | Update tokenizers requirement | {
"login": "n1t0",
"id": 1217986,
"node_id": "MDQ6VXNlcjEyMTc5ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n1t0",
"html_url": "https://github.com/n1t0",
"followers_url": "https://api.github.com/users/n1t0/followers",
... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | MEMBER | null | Bump `tokenizers` version requirement to use the latest release, and also accept any new version before the next one possibly breaking. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10077/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10077",
"html_url": "https://github.com/huggingface/transformers/pull/10077",
"diff_url": "https://github.com/huggingface/transformers/pull/10077.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10077.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10076/comments | https://api.github.com/repos/huggingface/transformers/issues/10076/events | https://github.com/huggingface/transformers/issues/10076 | 803,740,872 | MDU6SXNzdWU4MDM3NDA4NzI= | 10,076 | [tests] where to put deepspeed + fairscale tests | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"The examples are not tests, so `examples/deepspeed` should not be created to host some deepspeed tests. I'm wondering why we would need an `examples/deepspeed` since the base concept of having deepspeed integrating in our `Trainer` is to have it work out of the box for **all** our examples.\r\n\r\nMy suggestion wa... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | As a split off from this comment https://github.com/huggingface/transformers/pull/10039#pullrequestreview-585482462 we need to find a new home for deepspeed + fairscale tests.
Currently there are under `examples/seq2seq` because they rely on `finetune_trainer.py` ( `run_seq2seq.py` once the transition is over).
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10076/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10075/comments | https://api.github.com/repos/huggingface/transformers/issues/10075/events | https://github.com/huggingface/transformers/issues/10075 | 803,732,718 | MDU6SXNzdWU4MDM3MzI3MTg= | 10,075 | assertion failed: [predictions must be >= 0] | {
"login": "ZJaume",
"id": 11339330,
"node_id": "MDQ6VXNlcjExMzM5MzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/11339330?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZJaume",
"html_url": "https://github.com/ZJaume",
"followers_url": "https://api.github.com/users/ZJaume/fo... | [] | closed | false | null | [] | [
"Maybe @jplu has an idea!",
"I dug up a bit into the model and it seems that the activation is `tanh`. Shouldn't it be a `sigmoid` or a `softmax`? That's why it is producing predictions lower than 0.\r\n\r\n```python\r\nIn [2]: model.classifier.dense\r\nOut[2]: <tensorflow.python.keras.layers.core.Dense at 0x7f6f... | 1,612 | 1,642 | 1,612 | NONE | null | Trying to train a binary classifier over sentence pairs with custom dataset throws a Tensroflow error.
## 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.2.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10074/comments | https://api.github.com/repos/huggingface/transformers/issues/10074/events | https://github.com/huggingface/transformers/issues/10074 | 803,647,850 | MDU6SXNzdWU4MDM2NDc4NTA= | 10,074 | AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'new_ones' | {
"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 | [] | [
"Did you fix this, and if so, how? I'm having the same problem and nothing's working for me so far.\r\n\r\n**EDIT**: Fixed it, I was using `tf` tensors with a (PyTorch) `AutoModel` instead of a `TFAutoModel`."
] | 1,612 | 1,618 | 1,612 | NONE | null | I have environment with following
```
torch=1.7.1+cpu
tensorflow=2.2.0
transformers=4.2.2
Python=3.6.12
```
and I am using below command
```
input_ids = tokenizer.encode('accident', return_tensors='tf')
greedy_output = model.generate(input_ids, max_length=50)
print("Output:\n" + 100 * '-')
```
bu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10074/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10073/comments | https://api.github.com/repos/huggingface/transformers/issues/10073/events | https://github.com/huggingface/transformers/pull/10073 | 803,610,938 | MDExOlB1bGxSZXF1ZXN0NTY5NTEwMjQ5 | 10,073 | Added integration tests for Pytorch implementation of the ELECTRA model | {
"login": "spatil6",
"id": 6419011,
"node_id": "MDQ6VXNlcjY0MTkwMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6419011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spatil6",
"html_url": "https://github.com/spatil6",
"followers_url": "https://api.github.com/users/spatil6/... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | Added integration tests for Pytorch implementation of the ELECTRA model
Fixes #9949
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10073",
"html_url": "https://github.com/huggingface/transformers/pull/10073",
"diff_url": "https://github.com/huggingface/transformers/pull/10073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10073.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10072/comments | https://api.github.com/repos/huggingface/transformers/issues/10072/events | https://github.com/huggingface/transformers/pull/10072 | 803,588,395 | MDExOlB1bGxSZXF1ZXN0NTY5NDkxNzEx | 10,072 | Fixing model templates | {
"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 | [] | [
"One of the model templates test (the pull request target) will fail because it doesn't take into account the changes made in the PR. Following this in https://github.com/huggingface/transformers/issues/10065",
"Thanks for fixing!"
] | 1,612 | 1,612 | 1,612 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10072/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10072",
"html_url": "https://github.com/huggingface/transformers/pull/10072",
"diff_url": "https://github.com/huggingface/transformers/pull/10072.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10072.patch",
"merged_at... | |
https://api.github.com/repos/huggingface/transformers/issues/10071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10071/comments | https://api.github.com/repos/huggingface/transformers/issues/10071/events | https://github.com/huggingface/transformers/pull/10071 | 803,574,702 | MDExOlB1bGxSZXF1ZXN0NTY5NDgwNTEy | 10,071 | Fix mlflow param overflow clean | {
"login": "noise-field",
"id": 14188757,
"node_id": "MDQ6VXNlcjE0MTg4NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/14188757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noise-field",
"html_url": "https://github.com/noise-field",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the issue #8849 where MLflow logging failed due to parameters logged being too long. Now the MLflow logger also fetches the limits directly from MLflow validation utility.
Fixes #8849
An example using run_seq2seq.py: https://colab.research.google.com/drive/1Sof7YtueI5MNcm9... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10071/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10071",
"html_url": "https://github.com/huggingface/transformers/pull/10071",
"diff_url": "https://github.com/huggingface/transformers/pull/10071.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10071.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10070/comments | https://api.github.com/repos/huggingface/transformers/issues/10070/events | https://github.com/huggingface/transformers/pull/10070 | 803,568,905 | MDExOlB1bGxSZXF1ZXN0NTY5NDc1Njcx | 10,070 | remove token_type_ids from TokenizerBertGeneration output | {
"login": "sadakmed",
"id": 18331629,
"node_id": "MDQ6VXNlcjE4MzMxNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadakmed",
"html_url": "https://github.com/sadakmed",
"followers_url": "https://api.github.com/users/sad... | [] | closed | false | null | [] | [] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
this PR fixes #10045 removes `token_type_ids` as it's not needed for `BertGenerationModel`
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10070/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10070",
"html_url": "https://github.com/huggingface/transformers/pull/10070",
"diff_url": "https://github.com/huggingface/transformers/pull/10070.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10070.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10069/comments | https://api.github.com/repos/huggingface/transformers/issues/10069/events | https://github.com/huggingface/transformers/pull/10069 | 803,517,444 | MDExOlB1bGxSZXF1ZXN0NTY5NDMzNjk0 | 10,069 | Fix TF template | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"@LysandreJik I think there is a problem with the Template test. It doesn't seem to take into account the changes in the current PR.",
"Good catch @jplu, thanks for fixing! Yes indeed, this test needs to be reworked. Tracking it in https://github.com/huggingface/transformers/issues/10065"
] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
Fix the TF template. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10069",
"html_url": "https://github.com/huggingface/transformers/pull/10069",
"diff_url": "https://github.com/huggingface/transformers/pull/10069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10069.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10068/comments | https://api.github.com/repos/huggingface/transformers/issues/10068/events | https://github.com/huggingface/transformers/issues/10068 | 803,492,684 | MDU6SXNzdWU4MDM0OTI2ODQ= | 10,068 | Integrating GPT-2 model with Web page | {
"login": "states786",
"id": 64096105,
"node_id": "MDQ6VXNlcjY0MDk2MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/64096105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/states786",
"html_url": "https://github.com/states786",
"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,612 | 1,619 | 1,619 | NONE | null | Hi,
I would like to integrate GPT-2 model with web technology such as html, and javascript in order to build a similar editor https://transformer.huggingface.co/doc/gpt2-large
Can you please guide me how can I achieve it? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10068/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10067/comments | https://api.github.com/repos/huggingface/transformers/issues/10067/events | https://github.com/huggingface/transformers/issues/10067 | 803,479,834 | MDU6SXNzdWU4MDM0Nzk4MzQ= | 10,067 | "Connection error, and we cannot find the requested files in the cached path." ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on. | {
"login": "zakidotai",
"id": 21052344,
"node_id": "MDQ6VXNlcjIxMDUyMzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/21052344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zakidotai",
"html_url": "https://github.com/zakidotai",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! Can you try installing the brand new v4.3.0 to see if it resolves your issue?",
"same problem here and my transformers is v4.3.0, still not working",
"Could you try to load the model/tokenizer and specify the `local_files_only=True` kwarg to the `from_pretrained` method, before passing them to the pipel... | 1,612 | 1,686 | 1,615 | NONE | null | I am trying to execute this command after installing all the required modules and I ran into this error:
NOTE : We are running this on HPC cluster.
`python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('I love you'))"
`
Traceback (most recent call last):
File "<string>", line 1, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10067/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/10067/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10066/comments | https://api.github.com/repos/huggingface/transformers/issues/10066/events | https://github.com/huggingface/transformers/pull/10066 | 803,478,192 | MDExOlB1bGxSZXF1ZXN0NTY5NDAxMDMw | 10,066 | Removing run_pl_glue.py from text classification docs, include run_xnli.py & run_tf_text_classification.py | {
"login": "cbjuan",
"id": 2938045,
"node_id": "MDQ6VXNlcjI5MzgwNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2938045?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cbjuan",
"html_url": "https://github.com/cbjuan",
"followers_url": "https://api.github.com/users/cbjuan/foll... | [] | closed | false | null | [] | [
"Sure! Change applied",
"Done, command `make style` applied. Thanks for the guidance",
"Build still not succeeding. I will check ",
"Ah yes, those links don't need the underscores! Good catch and sorry for giving you the wrong example to follow. Just waiting for the last tests and we can merge :-)",
"No wor... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
Since `run_pl_glue.py` is not part of `text-classification` examples after #9010, this PR removes it from the text-classification docs. Also, it adds `run_xnli.py` and `run_tf_text_classification.py` scripts, which are in that folder now.
<!--
Congratulations! You've made it this far! You'r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10066/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10066",
"html_url": "https://github.com/huggingface/transformers/pull/10066",
"diff_url": "https://github.com/huggingface/transformers/pull/10066.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10066.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10065/comments | https://api.github.com/repos/huggingface/transformers/issues/10065/events | https://github.com/huggingface/transformers/issues/10065 | 803,442,429 | MDU6SXNzdWU4MDM0NDI0Mjk= | 10,065 | Model templates tests are run twice | {
"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 | {
"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/... | [
{
"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": "htt... | [] | 1,612 | 1,614 | 1,614 | MEMBER | null | The CI currently runs the model template tests twice when opening a PR from a branch of the huggingface/transformers repo.
The `pull_request_target` should only trigger on external pull requests, or we should remove the `push` target so that the suite only runs once.
Additionally, the `pull_request_target` suite ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10065/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/10065/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10064/comments | https://api.github.com/repos/huggingface/transformers/issues/10064/events | https://github.com/huggingface/transformers/pull/10064 | 803,440,078 | MDExOlB1bGxSZXF1ZXN0NTY5MzY4OTc5 | 10,064 | Fix model template typo | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thanks for fixing!"
] | 1,612 | 1,612 | 1,612 | MEMBER | null | Fix typo introduced in https://github.com/huggingface/transformers/pull/10033 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10064",
"html_url": "https://github.com/huggingface/transformers/pull/10064",
"diff_url": "https://github.com/huggingface/transformers/pull/10064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10064.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10063/comments | https://api.github.com/repos/huggingface/transformers/issues/10063/events | https://github.com/huggingface/transformers/pull/10063 | 803,419,880 | MDExOlB1bGxSZXF1ZXN0NTY5MzUyNDQ4 | 10,063 | [Finetune Seq2Seq Trainer] fix bert2bert test | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"failing test is unrelated -> waiting for @sgugger's approval before merging though."
] | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10063",
"html_url": "https://github.com/huggingface/transformers/pull/10063",
"diff_url": "https://github.com/huggingface/transformers/pull/10063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10062/comments | https://api.github.com/repos/huggingface/transformers/issues/10062/events | https://github.com/huggingface/transformers/pull/10062 | 803,410,667 | MDExOlB1bGxSZXF1ZXN0NTY5MzQ0NzU2 | 10,062 | Disable temporarily too slow tests (Longformer/LED) | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"@jplu feel free to merge after fixing the style!"
] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
The tests about SavedModel takes way too long for Longformer and LED. To do not timeout the CI, we disable them and will see how to better handle them. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10062",
"html_url": "https://github.com/huggingface/transformers/pull/10062",
"diff_url": "https://github.com/huggingface/transformers/pull/10062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10062.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10061/comments | https://api.github.com/repos/huggingface/transformers/issues/10061/events | https://github.com/huggingface/transformers/issues/10061 | 803,404,708 | MDU6SXNzdWU4MDM0MDQ3MDg= | 10,061 | Dimension error while finetuning longformer with roberta-large EncoderDecoderModel | {
"login": "amiyamandal-dev",
"id": 42173775,
"node_id": "MDQ6VXNlcjQyMTczNzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/42173775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amiyamandal-dev",
"html_url": "https://github.com/amiyamandal-dev",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hey @amiyamandal-dev, you can only combine `longformer-base-4096` with `roberta-base` since those two models have the same `hidden_size`. Combining `longformer-base-4096` with `roberta-large` will necessarily lead to errors.",
"Thank you for your reply @patrickvonplaten,\r\nAble to understand why it's not workin... | 1,612 | 1,612 | 1,612 | NONE | null | ## Environment info
- `transformers` version: 4.2.2
- Platform: Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-debian-buster-sid
- Python version: 3.6.11
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): 2.2.0 (True)
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in scri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10061/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10060/comments | https://api.github.com/repos/huggingface/transformers/issues/10060/events | https://github.com/huggingface/transformers/pull/10060 | 803,401,639 | MDExOlB1bGxSZXF1ZXN0NTY5MzM3MzI3 | 10,060 | [BART Tests] Fix Bart mask filling pipeline tests | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Test failure is unrelated. Merging "
] | 1,612 | 1,612 | 1,612 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10060/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10060",
"html_url": "https://github.com/huggingface/transformers/pull/10060",
"diff_url": "https://github.com/huggingface/transformers/pull/10060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10060.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10059/comments | https://api.github.com/repos/huggingface/transformers/issues/10059/events | https://github.com/huggingface/transformers/pull/10059 | 803,384,426 | MDExOlB1bGxSZXF1ZXN0NTY5MzIyOTUz | 10,059 | Fix slow dpr test | {
"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,612 | 1,612 | 1,612 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10059/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10059",
"html_url": "https://github.com/huggingface/transformers/pull/10059",
"diff_url": "https://github.com/huggingface/transformers/pull/10059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10059.patch",
"merged_at... | |
https://api.github.com/repos/huggingface/transformers/issues/10058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10058/comments | https://api.github.com/repos/huggingface/transformers/issues/10058/events | https://github.com/huggingface/transformers/issues/10058 | 803,326,382 | MDU6SXNzdWU4MDMzMjYzODI= | 10,058 | When encoding text to feature vectors - Would be awesome to be able to use the simplest tokenizer with a split on spaces | {
"login": "Svito-zar",
"id": 15908492,
"node_id": "MDQ6VXNlcjE1OTA4NDky",
"avatar_url": "https://avatars.githubusercontent.com/u/15908492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Svito-zar",
"html_url": "https://github.com/Svito-zar",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This solution seems to be working:\r\n```\r\nfrom transformers import DistilBertModel, DistilBertTokenizer\r\nimport torch\r\n\r\ntext_str = \"also du fängst an mit der Stadtrundfahrt\"\r\n\r\n# create DistilBERT tokenizer and model\r\ntokenizer = DistilBertTokenizer.from_pretrained('distilbert-base-german-cased')... | 1,612 | 1,619 | 1,619 | NONE | null | # 🚀 Feature request
When using the `DistilBertTokenizer` (or `BertTokenizer`) I would love to tokenize my text by simply splitting it on spaces:
```
['also', 'du', 'fängst', 'an', 'mit', 'der', 'Stadtrundfahrt']
```
instead of the default behavior, which is splitting it into sub-parts:
```
['also', 'du', 'f',... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10057/comments | https://api.github.com/repos/huggingface/transformers/issues/10057/events | https://github.com/huggingface/transformers/pull/10057 | 803,267,505 | MDExOlB1bGxSZXF1ZXN0NTY5MjIzNjcx | 10,057 | Fixed docs for the shape of `scores` in `generate()` | {
"login": "kylie-box",
"id": 29100716,
"node_id": "MDQ6VXNlcjI5MTAwNzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/29100716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kylie-box",
"html_url": "https://github.com/kylie-box",
"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,612 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
Fixed the shape of `scores` from `generate()` outputs to be `max_length-1` for all output classes. The first token `decoder_start_token_id` is not generated and thus no scores.
[Scores in generate()](https://discuss.huggingface.co/t/scores-in-generate/3450)
[Generation Probabilities: How t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10057",
"html_url": "https://github.com/huggingface/transformers/pull/10057",
"diff_url": "https://github.com/huggingface/transformers/pull/10057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10056/comments | https://api.github.com/repos/huggingface/transformers/issues/10056/events | https://github.com/huggingface/transformers/pull/10056 | 803,056,275 | MDExOlB1bGxSZXF1ZXN0NTY5MDQ5NDQz | 10,056 | Play around with mask-filling of original model | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,612 | 1,619 | 1,619 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10056/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10056",
"html_url": "https://github.com/huggingface/transformers/pull/10056",
"diff_url": "https://github.com/huggingface/transformers/pull/10056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10056.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10055/comments | https://api.github.com/repos/huggingface/transformers/issues/10055/events | https://github.com/huggingface/transformers/issues/10055 | 803,048,099 | MDU6SXNzdWU4MDMwNDgwOTk= | 10,055 | Cannnot train Roberta: 2 different errors | {
"login": "neel04",
"id": 11617870,
"node_id": "MDQ6VXNlcjExNjE3ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/11617870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neel04",
"html_url": "https://github.com/neel04",
"followers_url": "https://api.github.com/users/neel04/fo... | [] | closed | false | null | [] | [
"Please follow the instructions in the template and do not tag more than three people. In this case you are sending notifications to seven different persons for a problem no one can help you solve since you did not give enough information. Let's see why:\r\n\r\nThe first error seems to indicate your labels are stri... | 1,612 | 1,613 | 1,613 | NONE | null | ## Environment info
- `transformers` version: 4.4.0.dev0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.4.1 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10054/comments | https://api.github.com/repos/huggingface/transformers/issues/10054/events | https://github.com/huggingface/transformers/issues/10054 | 803,020,120 | MDU6SXNzdWU4MDMwMjAxMjA= | 10,054 | Error: "Transformers CLI tool: error: unrecognized arguments: kvantorium-small" while deploying machine learning model to hugging face profile | {
"login": "MLDovakin",
"id": 78375175,
"node_id": "MDQ6VXNlcjc4Mzc1MTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/78375175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MLDovakin",
"html_url": "https://github.com/MLDovakin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! Since version v4.0.0, we recommend using git and git-lfs to upload your models. Could you take a look at the following documentation page: [Model sharing and uploading](https://huggingface.co/transformers/model_sharing.html) and try what is shown in that document? Thank you!",
"> Hello! Since version v4.0... | 1,612 | 1,619 | 1,619 | NONE | null | I work with hugging face on Google Colab
My process of training and tuning the model looks like this. The model is successfully trained and saved in the models folder, but when I am going to upload it to my huggingface repository, an error occurs
````
tokenizer = `PreTrainedTokenizerFast(tokenizer_file='/conten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10053/comments | https://api.github.com/repos/huggingface/transformers/issues/10053/events | https://github.com/huggingface/transformers/pull/10053 | 803,010,706 | MDExOlB1bGxSZXF1ZXN0NTY5MDE1MjU2 | 10,053 | Add CharacterBERT model [WIP] | {
"login": "helboukkouri",
"id": 36409068,
"node_id": "MDQ6VXNlcjM2NDA5MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/36409068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/helboukkouri",
"html_url": "https://github.com/helboukkouri",
"followers_url": "https://api.github.c... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"I will, thanks for the ping @helboukkouri!",
"Hi @helboukkouri, how are you doing? What do you think of the proposed changes above? Would you like us to take over from here?",
"> Hi @helboukkouri, how are you doing? What do you think of the proposed changes above? Would you like us to take over from here?\r\n\... | 1,612 | 1,696 | 1,696 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10053/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10053/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10053",
"html_url": "https://github.com/huggingface/transformers/pull/10053",
"diff_url": "https://github.com/huggingface/transformers/pull/10053.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10053.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10052/comments | https://api.github.com/repos/huggingface/transformers/issues/10052/events | https://github.com/huggingface/transformers/pull/10052 | 802,996,648 | MDExOlB1bGxSZXF1ZXN0NTY5MDA1MTA0 | 10,052 | implementing tflxmertmodel integration test | {
"login": "sadakmed",
"id": 18331629,
"node_id": "MDQ6VXNlcjE4MzMxNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadakmed",
"html_url": "https://github.com/sadakmed",
"followers_url": "https://api.github.com/users/sad... | [] | 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,612 | 1,625 | 1,621 | CONTRIBUTOR | null | # What does this PR do?
this PR implement an integration test for TFLxmertmodel as requested in #9954
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10052/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10052",
"html_url": "https://github.com/huggingface/transformers/pull/10052",
"diff_url": "https://github.com/huggingface/transformers/pull/10052.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10052.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10051/comments | https://api.github.com/repos/huggingface/transformers/issues/10051/events | https://github.com/huggingface/transformers/issues/10051 | 802,964,243 | MDU6SXNzdWU4MDI5NjQyNDM= | 10,051 | [example] run_ner.py raised error: IndexError: Target 3 is out of bounds. | {
"login": "gongel",
"id": 24390500,
"node_id": "MDQ6VXNlcjI0MzkwNTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24390500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gongel",
"html_url": "https://github.com/gongel",
"followers_url": "https://api.github.com/users/gongel/fo... | [] | closed | false | null | [] | [
"Which version of the datasets library are you using? The script runs fine on my side.",
"Hi @sgugger,\r\nI use Version 1.2.1 of the datasets library.",
"I tried the different version of the datasets library. It seems that it is not due to the version of the datasets library.\r\n- Version 1.2.1, 1.2.0, 1.1.3\r\... | 1,612 | 1,621 | 1,619 | 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.3.0.dev0 or 4.2.2
- Platform: MacOS
- Python version: 3.6
- PyTorch version (GPU?): 1.7.1
- Tensorflow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10051/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10050/comments | https://api.github.com/repos/huggingface/transformers/issues/10050/events | https://github.com/huggingface/transformers/issues/10050 | 802,956,607 | MDU6SXNzdWU4MDI5NTY2MDc= | 10,050 | run_ner.py fails when loading a model/checkpoint from a directory | {
"login": "ikergarcia1996",
"id": 18737249,
"node_id": "MDQ6VXNlcjE4NzM3MjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/18737249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ikergarcia1996",
"html_url": "https://github.com/ikergarcia1996",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Same [issue](https://github.com/huggingface/transformers/issues/10051) as me 😄 ",
"I'm guessing this has to do with the number of labels your model has. When doing the following:\r\n\r\n```py\r\nmodel = XLMRobertaModel.from_pretrained('xlm-roberta-base')\r\nspath = \"models/xlmroberta\"\r\nmodel.save_pretraine... | 1,612 | 1,612 | 1,612 | 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.3.0.dev0
- Platform: Linux-3.10.0-957.1.3.el7.x86_64-x86_64-with-centos-7.6.1810-Core
- Python version: 3.6... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10049/comments | https://api.github.com/repos/huggingface/transformers/issues/10049/events | https://github.com/huggingface/transformers/issues/10049 | 802,954,190 | MDU6SXNzdWU4MDI5NTQxOTA= | 10,049 | Installing tf2.0 in my env but still get ImportError in my code | {
"login": "YangHan-Morningstar",
"id": 67748964,
"node_id": "MDQ6VXNlcjY3NzQ4OTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/67748964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YangHan-Morningstar",
"html_url": "https://github.com/YangHan-Morningstar",
"followers_url": ... | [] | closed | false | null | [] | [
"I tried BertForSequenceClassification instead of TFBertForSequenceClassification and it works, I'm confused now",
"Hi! Version v4.2.2 supports pytorch >=1.3.0 and TensorFlow >=2.3.0. Could you install TensorFlow 2.3.0 and let me know if it fixes your issue?\r\n\r\nYou can import `BertForSequenceClassification` b... | 1,612 | 1,619 | 1,619 | NONE | null | Hi, I have installed tf2.0 in my env and I followed the readme which says if you have installed the tf2.0 you can just run pip install transformers. But I got Error: "ImportError: cannot import name 'TFBertForSequenceClassification' from 'transformers' (unknown location)"
My code:
from transformers import BertToken... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10048/comments | https://api.github.com/repos/huggingface/transformers/issues/10048/events | https://github.com/huggingface/transformers/issues/10048 | 802,944,161 | MDU6SXNzdWU4MDI5NDQxNjE= | 10,048 | ImportError: cannot import name 'list_datasets' | {
"login": "hassani24",
"id": 29934287,
"node_id": "MDQ6VXNlcjI5OTM0Mjg3",
"avatar_url": "https://avatars.githubusercontent.com/u/29934287?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hassani24",
"html_url": "https://github.com/hassani24",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Maybe @lhoestq can chime in here!",
"Hi ! It might come from a conflict. Somehow python is loading a bad `datasets` module. Can you check that you don't have a folder named \"datasets\" in your working directory or in a directory of you python path ?\r\n\r\nCan you try to run this as well ?\r\n```python\r\n# if ... | 1,612 | 1,612 | 1,612 | NONE | null | I'm having an unusual issue on one computer and I'm hoping that someone out there has seen something like this before. This issue does not exist on another computer. Both computers are windows 10 machines, using python 3.6.4, virtualenv, and visual studio code as the ide
I have created a clean virtualenv and insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10048/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10047/comments | https://api.github.com/repos/huggingface/transformers/issues/10047/events | https://github.com/huggingface/transformers/issues/10047 | 802,838,319 | MDU6SXNzdWU4MDI4MzgzMTk= | 10,047 | Can you give some suggestion about add features with input_ids to token-classification model ? | {
"login": "svjack",
"id": 27874014,
"node_id": "MDQ6VXNlcjI3ODc0MDE0",
"avatar_url": "https://avatars.githubusercontent.com/u/27874014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/svjack",
"html_url": "https://github.com/svjack",
"followers_url": "https://api.github.com/users/svjack/fo... | [] | closed | false | null | [] | [
"The more general question is that dose huggingface model support some interface about\r\nadd other char level feature as auxiliary features ?",
"And i search some bert with ner implementations, they all not use pos tag features.\r\nBut when i view the following code :\r\n**https://github.com/sberbank-ai/ner-ber... | 1,612 | 1,619 | 1,619 | NONE | null | Hi, I want to add POS TAG labels as input with input_ids as auxiliary feature feature in NER model.
How can i get the entry in the forward function ?
And i review some implementations about model use bert model to perform NER such as
https://github.com/monologg/JointBERT/blob/master/model/modeling_jointbert.py
It... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10046/comments | https://api.github.com/repos/huggingface/transformers/issues/10046/events | https://github.com/huggingface/transformers/pull/10046 | 802,815,657 | MDExOlB1bGxSZXF1ZXN0NTY4ODcwMTMz | 10,046 | [s2s examples] Replace -100 token ids with the tokenizer pad_id for compute_metrics | {
"login": "olinguyen",
"id": 4341867,
"node_id": "MDQ6VXNlcjQzNDE4Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4341867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/olinguyen",
"html_url": "https://github.com/olinguyen",
"followers_url": "https://api.github.com/users/ol... | [] | closed | false | null | [] | [
"Hi, \r\nStill running into this issue here with the run_summarization.py file - \r\n\r\n\r\n```Traceback (most recent call last):\r\n File \"run_summarization.py\", line 674, in <module>\r\n main()\r\n File \"run_summarization.py\", line 628, in main\r\n predict_results = trainer.predict(\r\n File \"/User... | 1,612 | 1,630 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR is a small fix that replaces the -100 token ids with the tokenizer pad_id when decoding sequences to compute metrics as was done in [this HF blog post](https://huggingface.co/blog/warm-starting-encoder-decoder)
## When does this problem occur?
When running `examples/seq2seq/fine... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10046",
"html_url": "https://github.com/huggingface/transformers/pull/10046",
"diff_url": "https://github.com/huggingface/transformers/pull/10046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10045/comments | https://api.github.com/repos/huggingface/transformers/issues/10045/events | https://github.com/huggingface/transformers/issues/10045 | 802,640,136 | MDU6SXNzdWU4MDI2NDAxMzY= | 10,045 | BertGenerationTokenizer provides an unexpected value for BertGenerationModel | {
"login": "sadakmed",
"id": 18331629,
"node_id": "MDQ6VXNlcjE4MzMxNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/18331629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadakmed",
"html_url": "https://github.com/sadakmed",
"followers_url": "https://api.github.com/users/sad... | [] | closed | false | null | [] | [
"Hi @sadakmed!\r\n\r\nYou're right, there's no need for token type IDs in this tokenizer. The workaround for this is to remove `token_type_ids` from the model input names, as it is done in the DistilBERT tokenizer:\r\n\r\nhttps://github.com/huggingface/transformers/blob/cdd86592317e7db3bab75555c3837fabc74e3429/src/... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | - `transformers` version: 4.2.2
- PyTorch version (GPU?): 1.7.0+cu101
- tokenizers: @n1t0, @LysandreJik
## Information
in both models BertGenerationEncoder, BertGenerationDecoder, there's no need for `token_type_ids` however the BertGenerationTokenizer provides it, this issue will be raised if you want to inpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10045/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10044/comments | https://api.github.com/repos/huggingface/transformers/issues/10044/events | https://github.com/huggingface/transformers/issues/10044 | 802,628,977 | MDU6SXNzdWU4MDI2Mjg5Nzc= | 10,044 | [s2s examples] dataset porting | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Here is a script to convert these:\r\n\r\n```\r\nimport io\r\nimport json\r\nimport re\r\n\r\nsrc_lang, tgt_lang = [\"en\", \"ro\"]\r\n\r\nfor split in [\"train\", \"val\", \"test\"]:\r\n recs = []\r\n fout = f\"{split}.json\"\r\n with io.open(fout, \"w\", encoding=\"utf-8\") as f:\r\n for type in ... | 1,612 | 1,615 | 1,613 | CONTRIBUTOR | null | We need to port these to jsonlines and ideally make them part of dataset hub:
https://cdn-datasets.huggingface.co/translation/wmt_en_ro.tar.gz
https://cdn-datasets.huggingface.co/translation/wmt_en_de.tgz
https://cdn-datasets.huggingface.co/summarization/cnn_dm_v2.tgz
The problem is that nobody knows how these ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10043/comments | https://api.github.com/repos/huggingface/transformers/issues/10043/events | https://github.com/huggingface/transformers/pull/10043 | 802,622,141 | MDExOlB1bGxSZXF1ZXN0NTY4NzI5NTYz | 10,043 | [s2s examples] README.md fixes | {
"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,612 | 1,612 | 1,612 | CONTRIBUTOR | null | This PR:
* fixes a cl arg typo
* clarifies that it's jsonlines format and not json that's expected
* adds a link explaining jsonlines
@sgugger, how do we apply the auto-re-wrapping to examples README.md files? Currently the new file is all very long lines. Thank you!
@patil-suraj, @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10043",
"html_url": "https://github.com/huggingface/transformers/pull/10043",
"diff_url": "https://github.com/huggingface/transformers/pull/10043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10042/comments | https://api.github.com/repos/huggingface/transformers/issues/10042/events | https://github.com/huggingface/transformers/issues/10042 | 802,621,215 | MDU6SXNzdWU4MDI2MjEyMTU= | 10,042 | Pegasus ONNX format? | {
"login": "Ashwin367",
"id": 67852248,
"node_id": "MDQ6VXNlcjY3ODUyMjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/67852248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ashwin367",
"html_url": "https://github.com/Ashwin367",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"follow this [answer](https://stackoverflow.com/a/66117248/13273054), posted on StackOverflow.",
"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... | 1,612 | 1,619 | 1,619 | NONE | null | I tried to convert Pegasus to the ONNX format using [this ](https://colab.research.google.com/github/huggingface/transformers/blob/master/notebooks/04-onnx-export.ipynb#scrollTo=foYlXrSksR_v) guide but it failed. Can Pegasus be converted to the ONNX format or is that not possible yet? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10042/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10041/comments | https://api.github.com/repos/huggingface/transformers/issues/10041/events | https://github.com/huggingface/transformers/pull/10041 | 802,602,417 | MDExOlB1bGxSZXF1ZXN0NTY4NzE0Nzcz | 10,041 | [s2s] Can't mix --fp16 and --device cpu | {
"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 | [] | [
"I'm not following, `finetune_trainer.py` is replaced by `run_seq2seq.py`.\r\n\r\nWhat replaces these 3?\r\n```\r\nrun_distributed_eval.py\r\nrun_eval.py\r\nrun_eval_search.py\r\n```",
"Not familiar with `run_eval_search` but the new `run_seq2seq` is supposed to run the right evaluation (so no need for `run_eval... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | This PR fixes this user-side error:
```
RuntimeError: "threshold_cpu" not implemented for 'Half'
```
reported at https://github.com/huggingface/transformers/issues/10040
This combination `--fp16 --device cpu` is not possible, as explained here: https://github.com/pytorch/pytorch/issues/48245#issuecomment-73071... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10041/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10041",
"html_url": "https://github.com/huggingface/transformers/pull/10041",
"diff_url": "https://github.com/huggingface/transformers/pull/10041.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10041.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10040/comments | https://api.github.com/repos/huggingface/transformers/issues/10040/events | https://github.com/huggingface/transformers/issues/10040 | 802,594,219 | MDU6SXNzdWU4MDI1OTQyMTk= | 10,040 | seq2seq: fail gracefully when predicting using --device cpu and --fp16 | {
"login": "PeterAJansen",
"id": 3813268,
"node_id": "MDQ6VXNlcjM4MTMyNjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3813268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeterAJansen",
"html_url": "https://github.com/PeterAJansen",
"followers_url": "https://api.github.com... | [] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [] | 1,612 | 1,612 | 1,612 | NONE | null | When using the recommended seq2seq evaluation procedure in https://github.com/huggingface/transformers/blob/master/examples/seq2seq/README.md :
```
export DATA_DIR=wmt_en_ro
./run_eval.py t5-base \
$DATA_DIR/val.source t5_val_generations.txt \
--reference_path $DATA_DIR/val.target \
--score_path enr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10040/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10039/comments | https://api.github.com/repos/huggingface/transformers/issues/10039/events | https://github.com/huggingface/transformers/pull/10039 | 802,576,192 | MDExOlB1bGxSZXF1ZXN0NTY4Njk0OTcx | 10,039 | [trainer] deepspeed bug fixes and tests | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"> Thanks for the PR. Concerning the new `test_deepspeed.py` file, the goal is to remove things from the seq2seq folder to make it less intimidating to new users, not add stuff in it ;-)\r\n> \r\n> Maybe we should put all tests in examples/tests/, that would be easier.\r\n\r\nI'm open to suggestions, this is not re... | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | This PR:
* fixes a bug with `model.no_sync()` which is not supported by DeepSpeed - we had the test but it's not running on CI
* fixes a bug with when `--train` is not used - have to `.to(device)` in that case - reported here (https://github.com/huggingface/transformers/issues/9996#issuecomment-774232901)
* splits ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10039/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10039",
"html_url": "https://github.com/huggingface/transformers/pull/10039",
"diff_url": "https://github.com/huggingface/transformers/pull/10039.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10039.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10038/comments | https://api.github.com/repos/huggingface/transformers/issues/10038/events | https://github.com/huggingface/transformers/issues/10038 | 802,512,989 | MDU6SXNzdWU4MDI1MTI5ODk= | 10,038 | [examples s2s] run_seq2seq.py tweaks | {
"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 | [] | [
"this has been resolved in various PRs. It's looking even better than before."
] | 1,612 | 1,616 | 1,616 | CONTRIBUTOR | null | Would it be possible to sync the new `run_seq2seq.py` with `./finetune_trainer.py` outputs?
Before:
```
2021-02-05 12:59:55 | INFO | __main__ | ***** train metrics *****
2021-02-05 12:59:55 | INFO | __main__ | epoch = 1.0
2021-02-05 12:59:55 | INFO | __main__ | train_n_objs = 60
2021-02-05 12:59:55 | INFO |... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10037/comments | https://api.github.com/repos/huggingface/transformers/issues/10037/events | https://github.com/huggingface/transformers/pull/10037 | 802,509,518 | MDExOlB1bGxSZXF1ZXN0NTY4NjQwOTIy | 10,037 | [examples] make run scripts executable | {
"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 | [] | [
"Totally!\r\n\r\nJust this one:\r\n```\r\n/templates/adding_a_new_example_script/{{cookiecutter.directory_name}}/run_{{cookiecutter.example_shortcut}}.py\r\n```\r\ncorrect?\r\n\r\nAny other scripts that I didn't catch with `examples/*/run_*.py`?\r\n",
"I don't think so, we should be good."
] | 1,612 | 1,612 | 1,612 | CONTRIBUTOR | null | For consistently and convenience of not needing to type `python` to run a script this PR adds to all `examples/*/run_*py` scripts a python shebang and make the scripts executable.
Was done with:
```
perl -0777 -pi -e 's|^|#!/usr/bin/env python\n|' */run_*.py
chmod a+x */run_*.py
```
@patil-suraj , @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10037/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10037",
"html_url": "https://github.com/huggingface/transformers/pull/10037",
"diff_url": "https://github.com/huggingface/transformers/pull/10037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10037.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10036/comments | https://api.github.com/repos/huggingface/transformers/issues/10036/events | https://github.com/huggingface/transformers/issues/10036 | 802,491,462 | MDU6SXNzdWU4MDI0OTE0NjI= | 10,036 | [s2s examples] convert existing scripts to run_seq2seq.py from finetune_trainer.py | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"`run_seq2seq.py` didn't survive for long, it's no more in master, so yet another automatic conversion for translation scripts is:\r\n\r\n```\r\nperl -pi -e 's|run_seq2seq.py|run_translation.py|g; s|--task translation_(\\w\\w)_to_(\\w\\w)|--source_lang $1 --target_lang $2|;' process.txt\r\n```\r\n",
"This issue h... | 1,612 | 1,699 | 1,619 | CONTRIBUTOR | null | As `transformers` examples are evolving it seems that the good old `finetune_trainer.py` is going to be moved into unmaintained `examples/legacy/` area, and `run_seq2seq.py` is to be the new king, so let's automate this process
Assuming your cmd script is `process.txt` (and replace with the file names that you have ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10035/comments | https://api.github.com/repos/huggingface/transformers/issues/10035/events | https://github.com/huggingface/transformers/issues/10035 | 802,336,117 | MDU6SXNzdWU4MDIzMzYxMTc= | 10,035 | Cannot import DataCollatorForSeq2Seq from Transformers library | {
"login": "Arman-IMRSV",
"id": 70702200,
"node_id": "MDQ6VXNlcjcwNzAyMjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/70702200?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arman-IMRSV",
"html_url": "https://github.com/Arman-IMRSV",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Could you try running this on master ? I just ran this script on master and it's working fine.",
"As mentioned in the README of the [examples folder](https://github.com/huggingface/transformers/tree/master/examples#important-note), all examples require a [source install](https://huggingface.co/transformers/insta... | 1,612 | 1,612 | 1,612 | 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.2.2
- Platform: Ubuntu
- Python version: 3.7
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 1.7.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10035/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10034/comments | https://api.github.com/repos/huggingface/transformers/issues/10034/events | https://github.com/huggingface/transformers/pull/10034 | 802,293,471 | MDExOlB1bGxSZXF1ZXN0NTY4NDYwNjk0 | 10,034 | Truncate max length if needed in all examples | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"@sgugger Thanks for fixing this. I made this mistake again (running many jobs at once with different models) and my jobs didn't crash (meanwhile I had upgraded to the latest transformers 🚀 )"
] | 1,612 | 1,614 | 1,612 | COLLABORATOR | null | # What does this PR do?
As pointed out in #10015, most examples will let the tokenzation and training run when `tokenizer.model_max_length < max_seq_length` and the default value is sometimes bigger than the max length for some models (like BertTweet). This PR addresses that.
Fixes #10015 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10034",
"html_url": "https://github.com/huggingface/transformers/pull/10034",
"diff_url": "https://github.com/huggingface/transformers/pull/10034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10034.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10033/comments | https://api.github.com/repos/huggingface/transformers/issues/10033/events | https://github.com/huggingface/transformers/pull/10033 | 802,270,771 | MDExOlB1bGxSZXF1ZXN0NTY4NDQyMjA3 | 10,033 | A few fixes in the documentation | {
"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,612 | 1,612 | 1,612 | COLLABORATOR | null | # What does this PR do?
This PR fixes a few things in the documentation mainly:
- version tags to reflect the latest patch-release (4.2.2
- documents decode and batch_decode in `PreTrainedTokenizer` and `PreTrainedTokenizerFast`.
Fixes #10019
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10033/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/10033",
"html_url": "https://github.com/huggingface/transformers/pull/10033",
"diff_url": "https://github.com/huggingface/transformers/pull/10033.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/10033.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/10032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10032/comments | https://api.github.com/repos/huggingface/transformers/issues/10032/events | https://github.com/huggingface/transformers/issues/10032 | 802,263,782 | MDU6SXNzdWU4MDIyNjM3ODI= | 10,032 | generation length always equal to 20 when using run_seq2seq.py script | {
"login": "moussaKam",
"id": 28675016,
"node_id": "MDQ6VXNlcjI4Njc1MDE2",
"avatar_url": "https://avatars.githubusercontent.com/u/28675016?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moussaKam",
"html_url": "https://github.com/moussaKam",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Hi @moussaKam \r\n\r\nThank you for reporting this.\r\nCould you try evaluating directly using the generate method and calculate `avg eval_gen_len` ?",
"Hi @patil-suraj\r\n\r\nI tried with the `generate` method, the model is well trained and can generate sequences with more than 20 tokens. Apparently the problem... | 1,612 | 1,612 | 1,612 | 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.4.0.dev0
- Platform: Linux-4.4.0-197-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10032/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/10031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/10031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/10031/comments | https://api.github.com/repos/huggingface/transformers/issues/10031/events | https://github.com/huggingface/transformers/issues/10031 | 802,236,731 | MDU6SXNzdWU4MDIyMzY3MzE= | 10,031 | AttributeError: module 'transformers' has no attribute 'PegasusForCausalLM' | {
"login": "ibrahim-elsawy",
"id": 53919684,
"node_id": "MDQ6VXNlcjUzOTE5Njg0",
"avatar_url": "https://avatars.githubusercontent.com/u/53919684?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ibrahim-elsawy",
"html_url": "https://github.com/ibrahim-elsawy",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Yes, this model was only added recently, it's not in v4.2.1 (check the [documentation](https://huggingface.co/transformers/model_doc/pegasus.html)). \r\nYou need to install the pre-release:\r\n```\r\npip install transformers --pre\r\n```\r\nor [install from source](https://huggingface.co/transformers/installation.... | 1,612 | 1,612 | 1,612 | NONE | null | ## Environment info
- `transformers` version: 4.2.2
- Platform: Linux-5.8.0-40-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/10031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/10031/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.