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/12144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12144/comments | https://api.github.com/repos/huggingface/transformers/issues/12144/events | https://github.com/huggingface/transformers/issues/12144 | 919,996,034 | MDU6SXNzdWU5MTk5OTYwMzQ= | 12,144 | How to train the new wav2vec unsupervised model using hugging face ? | {
"login": "ImtiazKhanDS",
"id": 23047384,
"node_id": "MDQ6VXNlcjIzMDQ3Mzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/23047384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ImtiazKhanDS",
"html_url": "https://github.com/ImtiazKhanDS",
"followers_url": "https://api.github.c... | [
{
"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 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"The pretraining of wav2vec2-u is a pretty complex training pipeline. It'll probably still take a bit until we have this merged ",
"@patrickvonplaten @patil-suraj any updates on this yet ?",
"I won't have time in the near future to work on this - feel free to give it a try though. It's a very cool paper :-)",
... | 1,623 | 1,653 | null | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
How to train the new wav2vec unsupervised model using hugging face ? , The paper link is : https://ai.facebook.com/research/publications/unsupervised-speech-re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12144/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12143/comments | https://api.github.com/repos/huggingface/transformers/issues/12143/events | https://github.com/huggingface/transformers/issues/12143 | 919,938,452 | MDU6SXNzdWU5MTk5Mzg0NTI= | 12,143 | Ouput Includes Input | {
"login": "kurbster",
"id": 15655728,
"node_id": "MDQ6VXNlcjE1NjU1NzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/15655728?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kurbster",
"html_url": "https://github.com/kurbster",
"followers_url": "https://api.github.com/users/kur... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"Ok, I posted my question [here](https://discuss.huggingface.co/t/output-includes-input/6831).\r\n\r\nThank you!"... | 1,623 | 1,623 | 1,623 | NONE | null | Whenever I am generating text the input is included in the output. When the input is close to the maximum length the model barely produces any useful output.
# Information
When using transformers.pipeline or transformers.from_pretrianed, the model is only generating the input, when the input is long. For example,
`g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12142/comments | https://api.github.com/repos/huggingface/transformers/issues/12142/events | https://github.com/huggingface/transformers/issues/12142 | 919,857,820 | MDU6SXNzdWU5MTk4NTc4MjA= | 12,142 | CLIP tokenizer inconsistent with OpenAI release | {
"login": "normster",
"id": 6687910,
"node_id": "MDQ6VXNlcjY2ODc5MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6687910?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/normster",
"html_url": "https://github.com/normster",
"followers_url": "https://api.github.com/users/norms... | [] | 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... | [
"The non-fast tokenizer seems to be fine:\r\n\r\n```\r\n>>> tokenizer = transformers.CLIPTokenizer.from_pretrained('openai/clip-vit-base-patch32')\r\n>>> tokenizer('hello world')\r\n{'input_ids': [49406, 3306, 1002, 49407], 'attention_mask': [1, 1, 1, 1]}\r\n```",
"To add more into this, HF's fast tokenizer seems... | 1,623 | 1,629 | 1,629 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-5.4.0-52-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.1 (True)
- Tensorflow version (GPU?): 2.4.1 (False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
@patil-suraj... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12141/comments | https://api.github.com/repos/huggingface/transformers/issues/12141/events | https://github.com/huggingface/transformers/issues/12141 | 919,815,259 | MDU6SXNzdWU5MTk4MTUyNTk= | 12,141 | RuntimeError: Could not infer dtype of numpy.int64 on Squad T5 | {
"login": "helloworld123-lab",
"id": 75953751,
"node_id": "MDQ6VXNlcjc1OTUzNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/75953751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/helloworld123-lab",
"html_url": "https://github.com/helloworld123-lab",
"followers_url": "https... | [] | 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... | [
"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,623 | 1,636 | 1,626 | NONE | null | Hello,
I try to run the code for T5 on Squad dataset in [https://colab.research.google.com/github/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb](url)
I install the required libraries as:
```
!pip install transformers==2.9.1
!pip install -U nlp
!pip install sentencepiece
```
I fixed the xla error as in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12141/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12140/comments | https://api.github.com/repos/huggingface/transformers/issues/12140/events | https://github.com/huggingface/transformers/issues/12140 | 919,806,712 | MDU6SXNzdWU5MTk4MDY3MTI= | 12,140 | [FLAX] port GPTNeo to Flax | {
"login": "jayendra13",
"id": 651057,
"node_id": "MDQ6VXNlcjY1MTA1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/651057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayendra13",
"html_url": "https://github.com/jayendra13",
"followers_url": "https://api.github.com/users/j... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"GPTNeo is available in Flax."
] | 1,623 | 1,647 | 1,647 | CONTRIBUTOR | null | Port the existing GPTNeo Model to FLAX | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12140/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12139/comments | https://api.github.com/repos/huggingface/transformers/issues/12139/events | https://github.com/huggingface/transformers/pull/12139 | 919,779,936 | MDExOlB1bGxSZXF1ZXN0NjY5MDM5MDUx | 12,139 | Add output in a dictionary for TF `generate` method | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [] | closed | false | null | [] | [
"Great job @stancld !"
] | 1,623 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR adds two components into the TF `generate` method:
1. It enables the model outputs `attentions`, `hidden_states` and `scores`
2. It enables `return_dict_in_generate`
This PR thus narrows the gap between PyTorch and TF `generate` method implementations.
This PR also adds two tests for the dictionary outp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12139/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12139",
"html_url": "https://github.com/huggingface/transformers/pull/12139",
"diff_url": "https://github.com/huggingface/transformers/pull/12139.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12139.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12138/comments | https://api.github.com/repos/huggingface/transformers/issues/12138/events | https://github.com/huggingface/transformers/issues/12138 | 919,766,263 | MDU6SXNzdWU5MTk3NjYyNjM= | 12,138 | Using checkpoints in gpt neo xl | {
"login": "MK096",
"id": 20142735,
"node_id": "MDQ6VXNlcjIwMTQyNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/20142735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MK096",
"html_url": "https://github.com/MK096",
"followers_url": "https://api.github.com/users/MK096/follow... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,623 | 1,626 | 1,626 | NONE | null | Hi,
I downloaded gpt neo xl pretrained model from theeye.eye on my pc.
It downloaded various checkpoints.
How do i use them? ... Because in order to load and use model I'd need encoder. Json, pytorch. Bin, etc..
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12138/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12137/comments | https://api.github.com/repos/huggingface/transformers/issues/12137/events | https://github.com/huggingface/transformers/issues/12137 | 919,765,526 | MDU6SXNzdWU5MTk3NjU1MjY= | 12,137 | wav2vec2 not converging when finetuning | {
"login": "cheongalc",
"id": 22002891,
"node_id": "MDQ6VXNlcjIyMDAyODkx",
"avatar_url": "https://avatars.githubusercontent.com/u/22002891?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cheongalc",
"html_url": "https://github.com/cheongalc",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @meeps123,\r\n\r\nWe try to keep the github issues for code related bugs. For such questions, could you please the [forum](https://discuss.huggingface.co/) instead? :-) Feel free to tag me there! \r\n\r\nAlso could you attach a google colab so that I can take a look at your training script? It is very difficul... | 1,623 | 1,623 | 1,623 | NONE | null | ## Environment info
- `transformers` version: 4.4.0
- Platform: Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12136/comments | https://api.github.com/repos/huggingface/transformers/issues/12136/events | https://github.com/huggingface/transformers/pull/12136 | 919,752,258 | MDExOlB1bGxSZXF1ZXN0NjY5MDE4MTYx | 12,136 | Fix t5 error message | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/fo... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Change `inputs` to `input_ids` in error message.
```diff
- f"You cannot specify both {err_msg_prefix}inputs and {err_msg_prefix}inputs_embeds at the same time"
+ f"You cannot specify both {err_msg_prefix}inputs_ids and {err_msg_prefix}inputs_embeds at the sa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12136/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12136",
"html_url": "https://github.com/huggingface/transformers/pull/12136",
"diff_url": "https://github.com/huggingface/transformers/pull/12136.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12136.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12135/comments | https://api.github.com/repos/huggingface/transformers/issues/12135/events | https://github.com/huggingface/transformers/pull/12135 | 919,714,469 | MDExOlB1bGxSZXF1ZXN0NjY4OTg5MTE5 | 12,135 | [lm examples] Replicate --config_overrides addition to other LM examples | {
"login": "kumar-abhishek",
"id": 859465,
"node_id": "MDQ6VXNlcjg1OTQ2NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/859465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kumar-abhishek",
"html_url": "https://github.com/kumar-abhishek",
"followers_url": "https://api.github... | [] | closed | false | null | [] | [
"I don't think this change applies to `run_clm_no_trainer.py` and `run_mlm_no_trainer.py` since the argument `model_name_or_path` is a required argument and we can't have both arguments `model_name_or_path` and `config_overrides` at the same time. "
] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
This PR replays the new feature `--config_overrides` for other scripts under `examples/pytorch/language-modeling/` which was added by https://github.com/huggingface/transformers/pull/11798/
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12135/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/12135/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12135",
"html_url": "https://github.com/huggingface/transformers/pull/12135",
"diff_url": "https://github.com/huggingface/transformers/pull/12135.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12135.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12134/comments | https://api.github.com/repos/huggingface/transformers/issues/12134/events | https://github.com/huggingface/transformers/pull/12134 | 919,705,458 | MDExOlB1bGxSZXF1ZXN0NjY4OTgyODU2 | 12,134 | Ray Tune Integration Updates | {
"login": "amogkam",
"id": 8068268,
"node_id": "MDQ6VXNlcjgwNjgyNjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8068268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amogkam",
"html_url": "https://github.com/amogkam",
"followers_url": "https://api.github.com/users/amogkam/... | [] | closed | false | null | [] | [
"thanks @sgugger for the fast review! anything blocking to get this merged :) ?",
"This is good for me. You had standing questions for Lysandre so not sure it was ready to be merged, but I will do so if you tell me everything is okay on your side :-)",
"@sgugger yep this is ready to merge!",
"Thanks again!"
] | 1,623 | 1,623 | 1,623 | COLLABORATOR | null | # What does this PR do?
- Automatically disables memory tracker if enabled since the memory tracker is not serializable
- Fixes the Ray Tune integration test
- Adds a new test for Ray Client API
- Adds integration tests back to the scheduled Github Actions pipeline
Closes #11249, https://github.com/huggingface/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12134",
"html_url": "https://github.com/huggingface/transformers/pull/12134",
"diff_url": "https://github.com/huggingface/transformers/pull/12134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12133/comments | https://api.github.com/repos/huggingface/transformers/issues/12133/events | https://github.com/huggingface/transformers/issues/12133 | 919,659,706 | MDU6SXNzdWU5MTk2NTk3MDY= | 12,133 | Adding fastseq support to more recent version of HF transformers | {
"login": "tingofurro",
"id": 2609265,
"node_id": "MDQ6VXNlcjI2MDkyNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2609265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tingofurro",
"html_url": "https://github.com/tingofurro",
"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,623 | 1,626 | 1,626 | NONE | null | # 🚀 Feature request
Would it be possible to integrate [fastseq](https://github.com/microsoft/fastseq) with the later version of HuggingFace transformer models.
## Motivation
fastseq is a library that gives speedup on Transformers for text generation. They claim to have pretty large speedups (3-8x) for various... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12133/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12132/comments | https://api.github.com/repos/huggingface/transformers/issues/12132/events | https://github.com/huggingface/transformers/pull/12132 | 919,618,233 | MDExOlB1bGxSZXF1ZXN0NjY4OTE2ODAz | 12,132 | Use text_column_name variable instead of "text" | {
"login": "nbroad1881",
"id": 24982805,
"node_id": "MDQ6VXNlcjI0OTgyODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbroad1881",
"html_url": "https://github.com/nbroad1881",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,623 | 1,637 | 1,623 | CONTRIBUTOR | null | `text_column_name` was already defined above where I made the changes and it was also used below where I made changes.
This is a very minor change. If a dataset does not use "text" as the column name, then the `tokenize_function` will now use whatever column is assigned to `text_column_name`. `text_column_name` is j... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12132/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12132",
"html_url": "https://github.com/huggingface/transformers/pull/12132",
"diff_url": "https://github.com/huggingface/transformers/pull/12132.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12132.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12131/comments | https://api.github.com/repos/huggingface/transformers/issues/12131/events | https://github.com/huggingface/transformers/pull/12131 | 919,576,606 | MDExOlB1bGxSZXF1ZXN0NjY4ODgyNjI0 | 12,131 | [Flax] Add Beam Search | {
"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 | [] | [
"Circle CI error seem unrelated: ```OSError: /home/circleci/.local/lib/python3.7/site-packages/torch_scatter/_scatter_cpu.so: undefined symbol: _ZNK2at6Tensor6deviceEv```",
"Rebase from https://github.com/huggingface/transformers/pull/12181"
] | 1,623 | 1,623 | 1,623 | 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/12131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12131",
"html_url": "https://github.com/huggingface/transformers/pull/12131",
"diff_url": "https://github.com/huggingface/transformers/pull/12131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12131.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12130/comments | https://api.github.com/repos/huggingface/transformers/issues/12130/events | https://github.com/huggingface/transformers/pull/12130 | 919,495,702 | MDExOlB1bGxSZXF1ZXN0NjY4ODE2NDM1 | 12,130 | Fix for making student ProphetNet for Seq2Seq Distillation | {
"login": "vishal-burman",
"id": 19861874,
"node_id": "MDQ6VXNlcjE5ODYxODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/19861874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vishal-burman",
"html_url": "https://github.com/vishal-burman",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"We're not actively maintaining those examples, so would need an approval from the original author (@sshleifer ) before merging",
"LGTM!",
"Thank you both!"
] | 1,623 | 1,624 | 1,624 | 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/12130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12130/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12130",
"html_url": "https://github.com/huggingface/transformers/pull/12130",
"diff_url": "https://github.com/huggingface/transformers/pull/12130.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12130.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12129/comments | https://api.github.com/repos/huggingface/transformers/issues/12129/events | https://github.com/huggingface/transformers/issues/12129 | 919,488,014 | MDU6SXNzdWU5MTk0ODgwMTQ= | 12,129 | TypeError when trying to load pretrained ALBERT model in BertTokenizer | {
"login": "Puranjay-del-Mishra",
"id": 56340378,
"node_id": "MDQ6VXNlcjU2MzQwMzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/56340378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Puranjay-del-Mishra",
"html_url": "https://github.com/Puranjay-del-Mishra",
"followers_url": ... | [] | closed | false | null | [] | [
"Hello! Why don't you try to load the ALBERT tokenizer in an ALBERT tokenizer?\r\n```py\r\nfrom transformers import AlbertTokenizer\r\n\r\ntokenizer = AlbertTokenizer.from_pretrained(\"albert-base-v2\")\r\n```",
"Hey!\r\nI was not aware of its existence to be honest, but shouldnt loading it in the BertTokenizer w... | 1,623 | 1,627 | 1,627 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- PyTorch version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12129/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12128/comments | https://api.github.com/repos/huggingface/transformers/issues/12128/events | https://github.com/huggingface/transformers/issues/12128 | 919,453,220 | MDU6SXNzdWU5MTk0NTMyMjA= | 12,128 | got multiple values for argument 'input_shape' | {
"login": "garner1",
"id": 8114746,
"node_id": "MDQ6VXNlcjgxMTQ3NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8114746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/garner1",
"html_url": "https://github.com/garner1",
"followers_url": "https://api.github.com/users/garner1/... | [] | closed | false | null | [] | [
"Hi, \r\nIt seems to me that `input_shape` is defined twice inside super().init(...), probably both in 'config' and 'input_shape'.\r\nThanks for helping!",
"Hey @garner1, \r\n\r\nWould you like to open a PR to fix it in `research_projects/performer/`?",
"This issue has been automatically marked as stale because... | 1,623 | 1,626 | 1,626 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-4.14.232-176.381.amzn2.x86_64-x86_64-with-glibc2.2.5
- Python version: 3.7.9
- PyTorch version (GPU?): 1.8.1+cu102 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Using GPU in script?: True
- Using distributed or parallel set-up in script?:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12128/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12127/comments | https://api.github.com/repos/huggingface/transformers/issues/12127/events | https://github.com/huggingface/transformers/issues/12127 | 919,435,964 | MDU6SXNzdWU5MTk0MzU5NjQ= | 12,127 | Multi-GPU training has literally no GPU-Utilization (0%) | {
"login": "sajastu",
"id": 10419055,
"node_id": "MDQ6VXNlcjEwNDE5MDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajastu",
"html_url": "https://github.com/sajastu",
"followers_url": "https://api.github.com/users/sajast... | [] | closed | false | null | [] | [
"Solved by #11045 \r\n\r\nI had to use distributed training to this end. Closing..."
] | 1,623 | 1,623 | 1,623 | NONE | null | I know that multi-GPU training is handled by the trainer class automatically through `CUDA_VISIBLE_DEVICES=...` flag in transformers. But, I'm having a weird problem. Like, after setting `CUDA_VISIBLE_DEVICES=0,1,2`, 3 GPUs are being used and `nvidia-smi`outputs the following:
```
+---------------------------------... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12126/comments | https://api.github.com/repos/huggingface/transformers/issues/12126/events | https://github.com/huggingface/transformers/issues/12126 | 919,408,065 | MDU6SXNzdWU5MTk0MDgwNjU= | 12,126 | [Performance] Tracking open Issues and PRs (pytorch transformers) | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
},
{
"id": 2690307185,
"node_id": "MDU6TGF... | open | 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... | [
"@stas00 If I want to work on this issue, should I pick one of those issues to keep track of its performance?\r\nCan you also tell me how I can keep track of the performances? Can you give me some guidance?\r\n",
"Hi @JuheonChu, this is not an Issue to work on. As the title says this is a collection of pointers ... | 1,623 | 1,675 | null | CONTRIBUTOR | null | Let's use this Issue to track performance issues and enhancement requests, so it's easier to prioritize the work.
**This is for pytorch `transformers`**
Also I will label it as a `Good Difficult Issue` in case someone is ready for a challenging but rewarding experience of figuring things out. If you do want to ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12126/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12126/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12125/comments | https://api.github.com/repos/huggingface/transformers/issues/12125/events | https://github.com/huggingface/transformers/pull/12125 | 919,332,478 | MDExOlB1bGxSZXF1ZXN0NjY4NjY5MjA2 | 12,125 | Correct typo in summary of tasks doc | {
"login": "dataista0",
"id": 4383443,
"node_id": "MDQ6VXNlcjQzODM0NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4383443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dataista0",
"html_url": "https://github.com/dataista0",
"followers_url": "https://api.github.com/users/da... | [] | closed | false | null | [] | [] | 1,623 | 1,624 | 1,624 | 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/12125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12125",
"html_url": "https://github.com/huggingface/transformers/pull/12125",
"diff_url": "https://github.com/huggingface/transformers/pull/12125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12124/comments | https://api.github.com/repos/huggingface/transformers/issues/12124/events | https://github.com/huggingface/transformers/pull/12124 | 919,310,472 | MDExOlB1bGxSZXF1ZXN0NjY4NjQ5MDU0 | 12,124 | [style] consistent nn. and nn.functional | {
"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,623 | 1,623 | 1,623 | CONTRIBUTOR | null | As discussed in https://github.com/huggingface/transformers/issues/11600 this PR normalizes to `nn.functional.foo()` replacing `F.` and `torch.nn.` with `nn.`.
This is all automated by:
```
# deal with torch.nn
perl -pi -e 's|^import torch\n|from torch import nn\nimport torch\n|' `grep -Ilr torch.nn src`
find sr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12124/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12124",
"html_url": "https://github.com/huggingface/transformers/pull/12124",
"diff_url": "https://github.com/huggingface/transformers/pull/12124.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12124.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12123/comments | https://api.github.com/repos/huggingface/transformers/issues/12123/events | https://github.com/huggingface/transformers/pull/12123 | 919,234,975 | MDExOlB1bGxSZXF1ZXN0NjY4NTgwNTI4 | 12,123 | [optim] implement AdafactorSchedule | {
"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 | [] | [
"Correct me if I am wrong, but I see two flaws with the current solution:\r\n1) Only the first learning rate is returned as float, the following ones are tensors of size 1 - gives error while trying to pickle the logging history,\r\n2) Adafactor has separate learning rates for each of the network components (Linear... | 1,623 | 1,633 | 1,623 | CONTRIBUTOR | null | Currently Adafactor doesn't use an external scheduler and doesn't expose its lr values, and especially as reported in https://github.com/huggingface/transformers/issues/11612 the Trainer can't work without a scheduler, so this PR:
- implements `AdafactorSchedule` which is a proxy to `Adafactor` and can pull the lr val... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12123/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12123",
"html_url": "https://github.com/huggingface/transformers/pull/12123",
"diff_url": "https://github.com/huggingface/transformers/pull/12123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12123.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12122/comments | https://api.github.com/repos/huggingface/transformers/issues/12122/events | https://github.com/huggingface/transformers/pull/12122 | 919,227,193 | MDExOlB1bGxSZXF1ZXN0NjY4NTczNjgz | 12,122 | Model card defaults | {
"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 | [] | [
"Hi @sgugger , really cool feature :+1: \r\n\r\nIt would also be a good feature to distinguish between dev and test score :)",
"@LysandreJik yeah no let's not add it as it's not required\r\n\r\nWill be easier to maintain a mapping on the hub's side if it's not (needlessly) overridden. cc @osanseviero cf. https://... | 1,623 | 1,623 | 1,623 | COLLABORATOR | null | # What does this PR do?
This PR adds some better defaults to the auto-generated model cards for:
- the dataset names and tags
- the checkpoint it's fine-tuned from
- the type of task
As an example, on the classic fine-tuning of bert using the Trainer on GLUE, this is what we get for the metadata without telli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12122/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12122",
"html_url": "https://github.com/huggingface/transformers/pull/12122",
"diff_url": "https://github.com/huggingface/transformers/pull/12122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12121/comments | https://api.github.com/repos/huggingface/transformers/issues/12121/events | https://github.com/huggingface/transformers/pull/12121 | 919,202,625 | MDExOlB1bGxSZXF1ZXN0NjY4NTUxNTY3 | 12,121 | Don't log anything before logging is setup in 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 | [] | [] | 1,623 | 1,623 | 1,623 | COLLABORATOR | null | # What does this PR do?
As flagged out by #12090, the examples contain some logs before the logging is properly set up. This PR fixes that.
Fixes #12090 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12121/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12121",
"html_url": "https://github.com/huggingface/transformers/pull/12121",
"diff_url": "https://github.com/huggingface/transformers/pull/12121.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12121.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12120/comments | https://api.github.com/repos/huggingface/transformers/issues/12120/events | https://github.com/huggingface/transformers/issues/12120 | 919,169,842 | MDU6SXNzdWU5MTkxNjk4NDI= | 12,120 | ValueError in predict function for ClassificationModel | {
"login": "GoyalMansi",
"id": 47935154,
"node_id": "MDQ6VXNlcjQ3OTM1MTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/47935154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GoyalMansi",
"html_url": "https://github.com/GoyalMansi",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,623 | 1,626 | 1,626 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: Linux-4.15.0-122-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.2
- PyTorch v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12120/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12119/comments | https://api.github.com/repos/huggingface/transformers/issues/12119/events | https://github.com/huggingface/transformers/pull/12119 | 919,150,805 | MDExOlB1bGxSZXF1ZXN0NjY4NTA0ODYx | 12,119 | Adding ZeroShotImageClassificationPipeline | {
"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 | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Pinging @patil-suraj @LysandreJik ",
"Friendly ping @LysandreJik @patil-suraj",
"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 [contributin... | 1,623 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
- Based on CLIP
<!--
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 repla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12119",
"html_url": "https://github.com/huggingface/transformers/pull/12119",
"diff_url": "https://github.com/huggingface/transformers/pull/12119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12119.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12118/comments | https://api.github.com/repos/huggingface/transformers/issues/12118/events | https://github.com/huggingface/transformers/issues/12118 | 919,130,832 | MDU6SXNzdWU5MTkxMzA4MzI= | 12,118 | Passing a custom stopping_criteria list to model.generate() yields a multiple value error for that keyword arg | {
"login": "bitbanger",
"id": 120894,
"node_id": "MDQ6VXNlcjEyMDg5NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/120894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bitbanger",
"html_url": "https://github.com/bitbanger",
"followers_url": "https://api.github.com/users/bitb... | [] | closed | false | null | [] | [
"Hey @bitbanger,\r\n\r\nCould you provide a reproducible code snippet that we could just copy paste into a python shell to reproduce the error? :-) Thanks!",
"Hi there! Thanks for your response! Sure, here you go. I've confirmed that this code yields the error when run in the environment described in my report:\r... | 1,623 | 1,628 | 1,628 | NONE | null | ---
name: "\U0001F41B Bug Report"
about: Submit a bug report to help us improve transformers
title: ''
labels: ''
assignees: ''
---
## 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!... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12117/comments | https://api.github.com/repos/huggingface/transformers/issues/12117/events | https://github.com/huggingface/transformers/issues/12117 | 919,067,063 | MDU6SXNzdWU5MTkwNjcwNjM= | 12,117 | GPT Neo Tokenizers can't change BOS or EOS token | {
"login": "mallorbc",
"id": 39721523,
"node_id": "MDQ6VXNlcjM5NzIxNTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/39721523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mallorbc",
"html_url": "https://github.com/mallorbc",
"followers_url": "https://api.github.com/users/mal... | [] | 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... | [
"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,623 | 1,633 | 1,629 | 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! -->
- Platform: Linux-5.8.0-55-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1 (True)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12117/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12116/comments | https://api.github.com/repos/huggingface/transformers/issues/12116/events | https://github.com/huggingface/transformers/pull/12116 | 918,965,396 | MDExOlB1bGxSZXF1ZXN0NjY4MzM2Njk4 | 12,116 | Enable add_prefix_space on run_ner if necessary | {
"login": "kumapo",
"id": 70637,
"node_id": "MDQ6VXNlcjcwNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kumapo",
"html_url": "https://github.com/kumapo",
"followers_url": "https://api.github.com/users/kumapo/followers",
... | [] | closed | false | null | [] | [
"Thanks for your PR, but this is too complicated. The examples are just example, and should be modified by users directly for specific use-cases, we can't support everything out of the box.",
"@sgugger I agree with you it's somewhat complicated.\r\n\r\nSo, I've pushed codes that simplified as possible and also su... | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Enable add_prefix_space for a tokenizer on run_ner and run_ner_no_trainer if it needs to be instantiated with.
Fixes #9607
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12116",
"html_url": "https://github.com/huggingface/transformers/pull/12116",
"diff_url": "https://github.com/huggingface/transformers/pull/12116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12116.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12115/comments | https://api.github.com/repos/huggingface/transformers/issues/12115/events | https://github.com/huggingface/transformers/issues/12115 | 918,788,539 | MDU6SXNzdWU5MTg3ODg1Mzk= | 12,115 | Hosted inference api keeps returning 400 error | {
"login": "kevhahn97",
"id": 5675167,
"node_id": "MDQ6VXNlcjU2NzUxNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5675167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevhahn97",
"html_url": "https://github.com/kevhahn97",
"followers_url": "https://api.github.com/users/ke... | [] | closed | false | null | [] | [
"I found it resolved by fixing model config. Now it's working"
] | 1,623 | 1,624 | 1,624 | NONE | null | I'm not sure if it's okay to make issue with this topic, but I couldn't find a place to share my problem so I'm making an issue.
### Problem description
When I try to inference a public model (facebook/blenderbot-1B-distill), it keeps returning 400 error with message below, whether I tried it on model hub or throug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12115/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12114/comments | https://api.github.com/repos/huggingface/transformers/issues/12114/events | https://github.com/huggingface/transformers/issues/12114 | 918,753,672 | MDU6SXNzdWU5MTg3NTM2NzI= | 12,114 | Get the loss in LongformerForQuestionAnswering for fine-tuning | {
"login": "hanane-djeddal",
"id": 48019914,
"node_id": "MDQ6VXNlcjQ4MDE5OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/48019914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanane-djeddal",
"html_url": "https://github.com/hanane-djeddal",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"In HuggingFace Transformers, `xxxForQuestionAnswering` models don't take a `labels` argument as input. Rather, one should provide `start_positions` and `end_positions`. These indicate which token are the start of the answer, and which token are the end of the answer.\r\n\r\nCheck out this notebook which showcases ... | 1,623 | 1,626 | 1,626 | NONE | null | Hello,
I'm trying to fine-tune **LongformerForQuestionAnswering** on a custom dataset. I've written a script for training (without using hugging face _Trainer_), and I need the loss of the model for that. On the Longformer docs page, it's written that :
**loss** (torch.FloatTensor of shape (1,), optional, return... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12114/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12113/comments | https://api.github.com/repos/huggingface/transformers/issues/12113/events | https://github.com/huggingface/transformers/pull/12113 | 918,665,066 | MDExOlB1bGxSZXF1ZXN0NjY4MDcwOTA3 | 12,113 | Optimizing away the `fill-mask` pipeline. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"Ping @LysandreJik Do you mind doing a quick review ?\r\n\r\n(Tests do not have to be modified, for this to work, but it will output a lot of warning and be slower than necessary)",
"Thanks for the ping, reviewing now!",
"That's a very neat idea !\r\n\r\nIt must be quite slow though, right ?",
"Yes, definitel... | 1,623 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
- Don't send anything to the tokenizer unless needed. Vocab check is much
faster
- Keep BC by sending data to the tokenizer when needed. User handling
warning messages will see performance benefits again
- Make `targets` and `top_k` work together better `top_k` cannot be higher
than `len(target... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12113/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12113",
"html_url": "https://github.com/huggingface/transformers/pull/12113",
"diff_url": "https://github.com/huggingface/transformers/pull/12113.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12113.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12112/comments | https://api.github.com/repos/huggingface/transformers/issues/12112/events | https://github.com/huggingface/transformers/issues/12112 | 918,584,304 | MDU6SXNzdWU5MTg1ODQzMDQ= | 12,112 | How to pass `past_key_values` to GPTNeo model? | {
"login": "sooftware",
"id": 42150335,
"node_id": "MDQ6VXNlcjQyMTUwMzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/42150335?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sooftware",
"html_url": "https://github.com/sooftware",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"never mind. I solved it.",
"How? I find the shape of `past_key_values` is very strange."
] | 1,623 | 1,627 | 1,623 | NONE | null | How to pass `past_key_values` to the GPTNeo model?
I want to pass `past_key_values` to the GPTNeo model. I set `past_key_values` as a size Tuple[Tuple[torch.Tensor]] => `(num_layers, 2, batch_size, seq_length, num_heads, d_head)`. But I got a below error message.
```
Original Traceback (most recent call last):... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12111/comments | https://api.github.com/repos/huggingface/transformers/issues/12111/events | https://github.com/huggingface/transformers/pull/12111 | 918,549,495 | MDExOlB1bGxSZXF1ZXN0NjY3OTY3MDg5 | 12,111 | add readme for flax clm | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | MEMBER | null | # What does this PR do?
Update the language modeling readme for CLM.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12111/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12111",
"html_url": "https://github.com/huggingface/transformers/pull/12111",
"diff_url": "https://github.com/huggingface/transformers/pull/12111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12111.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12110/comments | https://api.github.com/repos/huggingface/transformers/issues/12110/events | https://github.com/huggingface/transformers/pull/12110 | 918,382,719 | MDExOlB1bGxSZXF1ZXN0NjY3ODE3MDcy | 12,110 | Fix head masking generate 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 | [] | [] | 1,623 | 1,623 | 1,623 | 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/12110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12110",
"html_url": "https://github.com/huggingface/transformers/pull/12110",
"diff_url": "https://github.com/huggingface/transformers/pull/12110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12110.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12109/comments | https://api.github.com/repos/huggingface/transformers/issues/12109/events | https://github.com/huggingface/transformers/issues/12109 | 918,302,233 | MDU6SXNzdWU5MTgzMDIyMzM= | 12,109 | Why attention mask is -10000 but not * 0? | {
"login": "chenxran",
"id": 45041313,
"node_id": "MDQ6VXNlcjQ1MDQxMzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/45041313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenxran",
"html_url": "https://github.com/chenxran",
"followers_url": "https://api.github.com/users/che... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nsearching previous Github issues, I found this one, which might help you: #542",
"Thanks for the reference! While I consider that maybe implementing a softmax function that allows masking after e^x may also be an approach to implement `attention_mask`?",
"This issue has been automatically marked as ... | 1,623 | 1,626 | 1,626 | NONE | null | I am reading the code in Roberta and I found that the implementation of avoiding padding token to be calculated in self-attention is to minus its value by 10000 in function `get_extended_attention_mask`.
I am wondering that why implement the mask by directly multiplying the value of padding tokens with zero? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12108/comments | https://api.github.com/repos/huggingface/transformers/issues/12108/events | https://github.com/huggingface/transformers/issues/12108 | 918,208,661 | MDU6SXNzdWU5MTgyMDg2NjE= | 12,108 | How to access training loss in TrainerCallback? | {
"login": "saikatG",
"id": 5086807,
"node_id": "MDQ6VXNlcjUwODY4MDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5086807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saikatG",
"html_url": "https://github.com/saikatG",
"followers_url": "https://api.github.com/users/saikatG/... | [] | 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,623 | 1,626 | 1,626 | NONE | null | Hi,
How can i access the current loss in the `on_step` function in `TrainerCallback`? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12108/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12107/comments | https://api.github.com/repos/huggingface/transformers/issues/12107/events | https://github.com/huggingface/transformers/issues/12107 | 918,117,006 | MDU6SXNzdWU5MTgxMTcwMDY= | 12,107 | How can I add a CNN layer on top of bert model? | {
"login": "zekaouinoureddine",
"id": 61702091,
"node_id": "MDQ6VXNlcjYxNzAyMDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/61702091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zekaouinoureddine",
"html_url": "https://github.com/zekaouinoureddine",
"followers_url": "https... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nplease ask this question on the [forum](https://discuss.huggingface.co/). We like to keep Github issues for bugs/feature requests.\r\n\r\nThanks. ",
"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 o... | 1,623 | 1,626 | 1,626 | CONTRIBUTOR | null | ### Information
I'm working on a **binary classification task** and used **BERT** model from transformers library to do it using the custom model below:
```python
class BERT(nn.Module):
def __init__(self):
super(BERT, self).__init__()
self.bert = BertModel.from_pretrained(BERT_PATH, return_dict=False)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12107/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12106/comments | https://api.github.com/repos/huggingface/transformers/issues/12106/events | https://github.com/huggingface/transformers/pull/12106 | 918,089,505 | MDExOlB1bGxSZXF1ZXN0NjY3NTU4NTY4 | 12,106 | Add GPT-J 6B support to the gpt-neo implementation | {
"login": "finetunej",
"id": 82650881,
"node_id": "MDQ6VXNlcjgyNjUwODgx",
"avatar_url": "https://avatars.githubusercontent.com/u/82650881?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/finetunej",
"html_url": "https://github.com/finetunej",
"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... | [
"Just as a note, we have a PyTorch checkpoint for GPT-J that we will be ready to upload once this PR goes through.",
"The conversion script in the top post generates a single file checkpoint, but for models of this size, I've found split up checkpoints usually more efficient to load and handle. Such split up chec... | 1,623 | 1,623 | 1,623 | NONE | null | # What does this PR do?
This PR mainly adds support for the GPT-J 6B model. A [conversion script](https://gist.github.com/finetuneanon/ee196c6cd16af1de4ca444862414683a) and [config.json](https://gist.github.com/finetuneanon/a55bdb3f5881e361faef0e96e1d41f09) for the slim checkpoint are also available.
It also addr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12106/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 7,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12106",
"html_url": "https://github.com/huggingface/transformers/pull/12106",
"diff_url": "https://github.com/huggingface/transformers/pull/12106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12106.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12105/comments | https://api.github.com/repos/huggingface/transformers/issues/12105/events | https://github.com/huggingface/transformers/issues/12105 | 917,991,927 | MDU6SXNzdWU5MTc5OTE5Mjc= | 12,105 | What is the correct way to pass labels to DetrForSegmentation? | {
"login": "nateraw",
"id": 32437151,
"node_id": "MDQ6VXNlcjMyNDM3MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nateraw",
"html_url": "https://github.com/nateraw",
"followers_url": "https://api.github.com/users/natera... | [] | closed | false | null | [] | [
"Thanks for noticing, that's a mistake. The masks needs to be torch.FloatTensor of shape (number of bounding boxes in the image, height, width) - with height and width equal to those of the `pixel_values`. \r\n\r\nNote that predicting boxes is required for the training to be possible, since the Hungarian matching i... | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | The [current documentation](https://huggingface.co/transformers/master/model_doc/detr.html#transformers.DetrForSegmentation.forward) for `DetrModelForSegmentation.forward` says the following about `labels` kwarg:
> The class labels themselves should be a torch.LongTensor of len (number of bounding boxes in the image... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12105/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12104/comments | https://api.github.com/repos/huggingface/transformers/issues/12104/events | https://github.com/huggingface/transformers/issues/12104 | 917,667,984 | MDU6SXNzdWU5MTc2Njc5ODQ= | 12,104 | Issue with mBART50 es-en translation | {
"login": "sumanthd17",
"id": 28291870,
"node_id": "MDQ6VXNlcjI4MjkxODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/28291870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sumanthd17",
"html_url": "https://github.com/sumanthd17",
"followers_url": "https://api.github.com/use... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Ping ",
"Hi @patrickvonplaten any thing you wanted to check. Sorry for the late response, was a bit tied up",
"@patil-suraj - seems like multiple people have problems with mBART50...should we maybe leave a note in the official docs about it? "
] | 1,623 | 1,633 | null | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: colab
- Python version: 3.7
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12104/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12103/comments | https://api.github.com/repos/huggingface/transformers/issues/12103/events | https://github.com/huggingface/transformers/issues/12103 | 917,491,655 | MDU6SXNzdWU5MTc0OTE2NTU= | 12,103 | ViT tensorflow Implementation | {
"login": "elk-cloner",
"id": 5828101,
"node_id": "MDQ6VXNlcjU4MjgxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5828101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elk-cloner",
"html_url": "https://github.com/elk-cloner",
"followers_url": "https://api.github.com/users... | [
{
"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, I've contributed ViT in PyTorch and wanted to also add ViT in Tensorflow, but there's currently a limitation to adding TF models that don't expect `input_ids` as an input (ViT only requires `pixel_values`). Any TF model in HuggingFace currently relies on a `input_processing` function (defined [here](https://gi... | 1,623 | 1,623 | null | CONTRIBUTOR | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
I was reading about ViT in the HuggingFace document and noticed there is no TF implementation of it. It would be great to have it in HuggingFace repo.
## ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12103/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12102/comments | https://api.github.com/repos/huggingface/transformers/issues/12102/events | https://github.com/huggingface/transformers/pull/12102 | 917,395,730 | MDExOlB1bGxSZXF1ZXN0NjY2OTMzNzQ3 | 12,102 | Appending label2id and id2label to models for inference | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12102",
"html_url": "https://github.com/huggingface/transformers/pull/12102",
"diff_url": "https://github.com/huggingface/transformers/pull/12102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12102.patch",
"merged_at... | |
https://api.github.com/repos/huggingface/transformers/issues/12101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12101/comments | https://api.github.com/repos/huggingface/transformers/issues/12101/events | https://github.com/huggingface/transformers/issues/12101 | 917,142,745 | MDU6SXNzdWU5MTcxNDI3NDU= | 12,101 | GPT2 medium config n_ctx is wrong I guess? | {
"login": "s4sarath",
"id": 10637096,
"node_id": "MDQ6VXNlcjEwNjM3MDk2",
"avatar_url": "https://avatars.githubusercontent.com/u/10637096?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/s4sarath",
"html_url": "https://github.com/s4sarath",
"followers_url": "https://api.github.com/users/s4s... | [] | closed | false | null | [] | [
"No, 1024 is correct. It refers to the sequence length of the model. ",
"Oh sorry.\r\nThen whats the config parameter of ```intermediate projection after attention```, which is ```4096``` in gpt2-medium.",
"Looking at the [config attributes of GPT-2](https://huggingface.co/transformers/model_doc/gpt2.html#trans... | 1,623 | 1,623 | 1,623 | NONE | null | Hi Guys,
For gpt2-medium ```n_ctx: 4096``` right ?
But in config it is showing ```n_ctx: 1024``` . | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12101/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12100/comments | https://api.github.com/repos/huggingface/transformers/issues/12100/events | https://github.com/huggingface/transformers/issues/12100 | 917,130,830 | MDU6SXNzdWU5MTcxMzA4MzA= | 12,100 | 'Speech2TextProcessor' has no attribute 'from_pretrained'` | {
"login": "Shiro-LK",
"id": 26505641,
"node_id": "MDQ6VXNlcjI2NTA1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shiro-LK",
"html_url": "https://github.com/Shiro-LK",
"followers_url": "https://api.github.com/users/Shi... | [] | closed | false | null | [] | [
"Hello! I'm fixing this in #12145 to return a better error."
] | 1,623 | 1,623 | 1,623 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: ubuntu
- Python version: 3.7.10
- PyTorch version (GPU?): cpu 1.8.1
- Tensorflow version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12099/comments | https://api.github.com/repos/huggingface/transformers/issues/12099/events | https://github.com/huggingface/transformers/issues/12099 | 917,112,751 | MDU6SXNzdWU5MTcxMTI3NTE= | 12,099 | FillMaskPipeline very slow when provided with a large `targets` | {
"login": "EtaoinWu",
"id": 22369305,
"node_id": "MDQ6VXNlcjIyMzY5MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/22369305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EtaoinWu",
"html_url": "https://github.com/EtaoinWu",
"followers_url": "https://api.github.com/users/Eta... | [] | closed | false | null | [] | [
"Do you have an example to reproduce the issue ? Benchmarking is sometimes suprising and hardware dependant.\r\n\r\nI can imagine that this is indeed a slowdown as Python - Rust communication is not free.\r\nHowever the omitted part of your comment is error detection, which is important and we need to keep it.\r\n\... | 1,623 | 1,624 | 1,624 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.1
- Platform: Linux-5.4.0-67-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12099/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12098/comments | https://api.github.com/repos/huggingface/transformers/issues/12098/events | https://github.com/huggingface/transformers/issues/12098 | 917,007,148 | MDU6SXNzdWU5MTcwMDcxNDg= | 12,098 | 🌟 New model addition - GPT-J-6B | {
"login": "Xirider",
"id": 37597043,
"node_id": "MDQ6VXNlcjM3NTk3MDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/37597043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Xirider",
"html_url": "https://github.com/Xirider",
"followers_url": "https://api.github.com/users/Xiride... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hello @patrickvonplaten! would you be able to give an estimation for the timeline of the implementation of the this model in huggingface? ",
"I have a PR adding support for this model here: #12098",
"> I have a PR adding support for this model here: #12098\r\n\r\nYou probably wanted to link this PR: https://gi... | 1,623 | 1,630 | 1,630 | NONE | null | # 🌟 New model addition - GPT-J-6B
## Model description
The GPT-J-6B model (GPT-NEO model in Jax with 6B parameters trained on the Pile)
Repo: https://github.com/kingoflolz/mesh-transformer-jax
Weights:
[Slim weights (bf16 weights only, for inference, 9GB)](https://the-eye.eu/public/AI/GPT-J-6B/step_383500... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12098/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/12098/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12097/comments | https://api.github.com/repos/huggingface/transformers/issues/12097/events | https://github.com/huggingface/transformers/pull/12097 | 917,004,090 | MDExOlB1bGxSZXF1ZXN0NjY2NTk4OTA4 | 12,097 | Add from_pretrained to dummy timm objects | {
"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 | [] | [
"Failure of the templates came from the failure of `make quality` on master, fixed in a commit, so this is good to merge!",
"Thanks a lot @sgugger!"
] | 1,623 | 1,623 | 1,623 | MEMBER | null | Closes https://github.com/huggingface/transformers/issues/12091
cc @NielsRogge
@sgugger Am I missing something relative to specifying that these dummy items should be generated with the `from_pretrained` method? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12097/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/12097/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12097",
"html_url": "https://github.com/huggingface/transformers/pull/12097",
"diff_url": "https://github.com/huggingface/transformers/pull/12097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12097.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12096/comments | https://api.github.com/repos/huggingface/transformers/issues/12096/events | https://github.com/huggingface/transformers/issues/12096 | 916,944,730 | MDU6SXNzdWU5MTY5NDQ3MzA= | 12,096 | DetrFeatureExtractor post_process not rescaling bboxes as expected | {
"login": "nateraw",
"id": 32437151,
"node_id": "MDQ6VXNlcjMyNDM3MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nateraw",
"html_url": "https://github.com/nateraw",
"followers_url": "https://api.github.com/users/natera... | [] | closed | false | null | [] | [
"False alarm...img sizes need to be flipped.\r\n\r\n```\r\n# ...\r\n\r\nimg_sizes = torch.tensor([tuple(reversed(im.size)) for im in images])\r\n\r\n# ...\r\n```"
] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:master
- Platform:Google Colab
- Python version:3.7
- PyTorch version (GPU?):1.8.1
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12095/comments | https://api.github.com/repos/huggingface/transformers/issues/12095/events | https://github.com/huggingface/transformers/issues/12095 | 916,897,537 | MDU6SXNzdWU5MTY4OTc1Mzc= | 12,095 | Continuous training on Fine-tuned Model | {
"login": "Noskid1999",
"id": 34827312,
"node_id": "MDQ6VXNlcjM0ODI3MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/34827312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Noskid1999",
"html_url": "https://github.com/Noskid1999",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"Sure, thank you."
] | 1,623 | 1,623 | 1,623 | NONE | null | # 🚀 Feature request
How can I continue training on a Fine-tuned Model?
I have a fine tuned model from OpenSLR data. And I want to continue training on an model as I continue to gain transcribed audio data over time. Can I do like making the fine-tuned model as a checkpoint?
## Motivation
I am aiming to make ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12095/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12094/comments | https://api.github.com/repos/huggingface/transformers/issues/12094/events | https://github.com/huggingface/transformers/issues/12094 | 916,807,948 | MDU6SXNzdWU5MTY4MDc5NDg= | 12,094 | Create a torchscript version of Tokenizer in Bert | {
"login": "soheilesm",
"id": 29102608,
"node_id": "MDQ6VXNlcjI5MTAyNjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/29102608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soheilesm",
"html_url": "https://github.com/soheilesm",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! I think you're mistaking tokenizers for models. The two are part of the NLP pipeline, but they're very different. The tokenizer prepares the inputs for the model - but it isn't a PyTorch module. It's either plain Python code, or a rust object with a Python wrapper (like it is the case here).\r\n\r\nSince it... | 1,623 | 1,626 | 1,626 | NONE | null | Hi,
Not sure if a feature request is a proper flag for the below request:
I want to create an executable version of Tokenizer for Bert - Below is a small code piece:
```
from transformers import AutoTokenizer, AutoModel
import torch
sentences = ['This framework generates tokens for each input sentence']... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12094/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12093/comments | https://api.github.com/repos/huggingface/transformers/issues/12093/events | https://github.com/huggingface/transformers/issues/12093 | 916,801,968 | MDU6SXNzdWU5MTY4MDE5Njg= | 12,093 | Speedup batch matmul in pytorch | {
"login": "AngThanos",
"id": 41022754,
"node_id": "MDQ6VXNlcjQxMDIyNzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/41022754?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AngThanos",
"html_url": "https://github.com/AngThanos",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"I've found the solution by using deepspeed.\n\nHowever, I encountered the error and I opened an issue here. Plea... | 1,623 | 1,623 | 1,623 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
Hi there,
I'm trying to combine Sparse Transformer into Vision Transformer to speed up the time-consuming training also inference.
Howe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12093/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12092/comments | https://api.github.com/repos/huggingface/transformers/issues/12092/events | https://github.com/huggingface/transformers/issues/12092 | 916,735,993 | MDU6SXNzdWU5MTY3MzU5OTM= | 12,092 | Replicating PEGASUS results on a benchmark dataset | {
"login": "sajastu",
"id": 10419055,
"node_id": "MDQ6VXNlcjEwNDE5MDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajastu",
"html_url": "https://github.com/sajastu",
"followers_url": "https://api.github.com/users/sajast... | [] | 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,623 | 1,626 | 1,626 | NONE | null | I'm trying to replicate the PEGASUS results on Reddit-TIFU dataset, but the scores I'm getting are a bit far from what has been reported in the main paper. I'm using the same test set as the one authors used in the main paper (80-10-10 splits based on `TensorflowDataset` according to their code-base). Would anyone have... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12092/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/12092/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12091/comments | https://api.github.com/repos/huggingface/transformers/issues/12091/events | https://github.com/huggingface/transformers/issues/12091 | 916,713,256 | MDU6SXNzdWU5MTY3MTMyNTY= | 12,091 | Provide more useful error message in Detr from_pretrained when timm not installed | {
"login": "nateraw",
"id": 32437151,
"node_id": "MDQ6VXNlcjMyNDM3MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nateraw",
"html_url": "https://github.com/nateraw",
"followers_url": "https://api.github.com/users/natera... | [] | closed | false | null | [] | [
"Thanks for raising an issue! Fixing this in #12097 ",
"Thanks for already testing out the model! Highly appreciate your feedback. If anything related to the model/docs can be improved, feel free to reach out. \r\n\r\n"
] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: master
- Platform: Google Colab
- Python version: 3.7
- PyTorch version (GPU?):1.8.1+cu101
- Tensorflow ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12091/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/12091/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12090/comments | https://api.github.com/repos/huggingface/transformers/issues/12090/events | https://github.com/huggingface/transformers/issues/12090 | 916,592,024 | MDU6SXNzdWU5MTY1OTIwMjQ= | 12,090 | Checkpoint detected info log in run_clm.py | {
"login": "kishorninawe",
"id": 57661019,
"node_id": "MDQ6VXNlcjU3NjYxMDE5",
"avatar_url": "https://avatars.githubusercontent.com/u/57661019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kishorninawe",
"html_url": "https://github.com/kishorninawe",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for flagging this! It should be fixed by the PR mentioned above."
] | 1,623 | 1,623 | 1,623 | NONE | null | I think # Setup logging should above the # Detecting last checkpoint. so it can show warning Checkpoint detected, resuming training at... in examples of pytorch's language-modeling run_clm.py
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12089/comments | https://api.github.com/repos/huggingface/transformers/issues/12089/events | https://github.com/huggingface/transformers/pull/12089 | 916,589,393 | MDExOlB1bGxSZXF1ZXN0NjY2MjQxOTcx | 12,089 | [Wav2Vec2ForPretraining] Correct checkpoints wav2vec2 & fix 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 | [] | [] | 1,623 | 1,623 | 1,623 | 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/12089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12089/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12089",
"html_url": "https://github.com/huggingface/transformers/pull/12089",
"diff_url": "https://github.com/huggingface/transformers/pull/12089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12089.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12088/comments | https://api.github.com/repos/huggingface/transformers/issues/12088/events | https://github.com/huggingface/transformers/pull/12088 | 916,443,451 | MDExOlB1bGxSZXF1ZXN0NjY2MTA4NjIz | 12,088 | [versions] rm require_version_examples | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | As explained in https://github.com/huggingface/transformers/issues/12086 `require_version_examples` wrapper is no longer useful since examples' requirements are now scattered across multiple files, so removing it as it can't be used because of that.
Fixes: https://github.com/huggingface/transformers/issues/12086
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12088/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12088",
"html_url": "https://github.com/huggingface/transformers/pull/12088",
"diff_url": "https://github.com/huggingface/transformers/pull/12088.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12088.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12087/comments | https://api.github.com/repos/huggingface/transformers/issues/12087/events | https://github.com/huggingface/transformers/pull/12087 | 916,435,522 | MDExOlB1bGxSZXF1ZXN0NjY2MTAxNzQ3 | 12,087 | [examples/flax] pass decay_mask fn to optimizer | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | MEMBER | null | Fixes Typo | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12087/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12087",
"html_url": "https://github.com/huggingface/transformers/pull/12087",
"diff_url": "https://github.com/huggingface/transformers/pull/12087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12087.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12086/comments | https://api.github.com/repos/huggingface/transformers/issues/12086/events | https://github.com/huggingface/transformers/issues/12086 | 916,421,610 | MDU6SXNzdWU5MTY0MjE2MTA= | 12,086 | examples requirements isn't in sync with `require_version_examples` | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Yes, that works."
] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | We have `require_version_examples`
https://github.com/huggingface/transformers/blob/b1a8aa94f0a2ccea7c68b79066141aa822b96e42/src/transformers/utils/versions.py#L123-L126
but it looks like it wasn't updated in the last reshuffle and requirements got split and it suggests incorrect solution.
I tried to offer to us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12086/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12085/comments | https://api.github.com/repos/huggingface/transformers/issues/12085/events | https://github.com/huggingface/transformers/pull/12085 | 916,224,640 | MDExOlB1bGxSZXF1ZXN0NjY1OTI2NTM2 | 12,085 | PyTorch MLM - Dummy Script | {
"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,623 | 1,623 | 1,623 | 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/12085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12085/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12085",
"html_url": "https://github.com/huggingface/transformers/pull/12085",
"diff_url": "https://github.com/huggingface/transformers/pull/12085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12085.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12084/comments | https://api.github.com/repos/huggingface/transformers/issues/12084/events | https://github.com/huggingface/transformers/issues/12084 | 916,210,493 | MDU6SXNzdWU5MTYyMTA0OTM= | 12,084 | Memory Efficient FP 16 Training | {
"login": "rajgar114",
"id": 29262332,
"node_id": "MDQ6VXNlcjI5MjYyMzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/29262332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajgar114",
"html_url": "https://github.com/rajgar114",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Is \"memory efficient\" fp16 different to the fp16 available in the training scripts?",
"Yes, both are different.\r\nhttps://github.com/pytorch/fairseq/issues/2907",
"Thanks for the link! cc @sgugger @stas00 ",
"I think you must be referring to this comment https://github.com/pytorch/fairseq/issues/2907#issu... | 1,623 | 1,630 | 1,626 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
Fairseq uses memory efficient FP 16 training as explained in https://arxiv.org/pdf/1904.01038.pdf.
## Motivation
Generally the model requires high end GPU'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12083/comments | https://api.github.com/repos/huggingface/transformers/issues/12083/events | https://github.com/huggingface/transformers/pull/12083 | 916,166,382 | MDExOlB1bGxSZXF1ZXN0NjY1ODc3NzA4 | 12,083 | Add text_column_name and label_column_name to run_ner and run_ner_no_trainer args | {
"login": "kumapo",
"id": 70637,
"node_id": "MDQ6VXNlcjcwNjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/70637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kumapo",
"html_url": "https://github.com/kumapo",
"followers_url": "https://api.github.com/users/kumapo/followers",
... | [] | closed | false | null | [] | [
"@sgugger thank you for your suggestions! \r\nI've pushed a commit based on it.",
"I'm appreciated for your fix too!"
] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
it's nice to enable to specify which columns are for `text` and `label` for run_ner with its arguments.
especially it's useful when we train it on not csv (i.e. json) dataset because `text` and `label` columns are determined by column order if default columns are missing.
## Before submit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12083/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12083",
"html_url": "https://github.com/huggingface/transformers/pull/12083",
"diff_url": "https://github.com/huggingface/transformers/pull/12083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12083.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12082/comments | https://api.github.com/repos/huggingface/transformers/issues/12082/events | https://github.com/huggingface/transformers/pull/12082 | 916,058,131 | MDExOlB1bGxSZXF1ZXN0NjY1Nzg2MDQ5 | 12,082 | Add support for XLM-R XL and XXL models | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@Soonhwan-Kwon conversion script is currently not working yet for the newer models, but it is working for XLM-R Base for example. Layer norm changes need to be done first in RoBERTa modeling code, so that conversion script is writing a correct model :)",
"Hi @stefan-it thanks for contributing the new models and... | 1,623 | 1,630 | 1,627 | COLLABORATOR | null | Hi,
this PR adds support for the recently released XL and XXL models for XLM-R. These models are described in the ["Larger-Scale Transformers for Multilingual Masked Language Modeling"](https://arxiv.org/abs/2105.00572) paper.
It turns out, that these new models are trained with a more recent version of `fairseq`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12082/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12082/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12082",
"html_url": "https://github.com/huggingface/transformers/pull/12082",
"diff_url": "https://github.com/huggingface/transformers/pull/12082.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12082.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12081/comments | https://api.github.com/repos/huggingface/transformers/issues/12081/events | https://github.com/huggingface/transformers/issues/12081 | 916,009,237 | MDU6SXNzdWU5MTYwMDkyMzc= | 12,081 | GPT2 Flax "TypeError: JAX only supports number and bool dtypes, got dtype object in array" | {
"login": "s4sarath",
"id": 10637096,
"node_id": "MDQ6VXNlcjEwNjM3MDk2",
"avatar_url": "https://avatars.githubusercontent.com/u/10637096?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/s4sarath",
"html_url": "https://github.com/s4sarath",
"followers_url": "https://api.github.com/users/s4s... | [] | 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... | [
"I see where this is coming from. For now, could you try initializing model and tokenizer like this\r\n```\r\ntokenizer = GPT2TokenizerFast.from_pretrained(model_id, padding_side=\"left\", pad_token=\"<|endoftext|>\")\r\nmodel = FlaxGPT2LMHeadModel.from_pretrained(model_id, pad_token_id=50256,)\r\n```\r\n\r\nWe'll ... | 1,623 | 1,623 | 1,623 | NONE | null | On GPU
```
>>> from transformers import AutoTokenizer, FlaxAutoModelForCausalLM
>>> tokenizer = AutoTokenizer.from_pretrained("gpt2-medium")
>>> model = FlaxAutoModelForCausalLM.from_pretrained("gpt2-medium")
>>> input_context = "The dog"
>>> # encode input context
>>> input_ids = tokenizer(input_context, re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12080/comments | https://api.github.com/repos/huggingface/transformers/issues/12080/events | https://github.com/huggingface/transformers/pull/12080 | 915,991,540 | MDExOlB1bGxSZXF1ZXN0NjY1NzMwMTg4 | 12,080 | Fix missing id2label and label2id in run_ner.py | {
"login": "lohjine",
"id": 66872975,
"node_id": "MDQ6VXNlcjY2ODcyOTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/66872975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lohjine",
"html_url": "https://github.com/lohjine",
"followers_url": "https://api.github.com/users/lohjin... | [] | closed | false | null | [] | [
"This has just been done in #12001 :-)\r\nThanks for the PR!"
] | 1,623 | 1,623 | 1,623 | NONE | null | This is to retain the NER labels when training, so it can be used to map the labels during later prediction.
This functionality is present in the old version [https://github.com/huggingface/transformers/blob/master/examples/legacy/token-classification/run_ner.py#L170](https://github.com/huggingface/transformers/blob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12080/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12080",
"html_url": "https://github.com/huggingface/transformers/pull/12080",
"diff_url": "https://github.com/huggingface/transformers/pull/12080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12080.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12079/comments | https://api.github.com/repos/huggingface/transformers/issues/12079/events | https://github.com/huggingface/transformers/issues/12079 | 915,986,212 | MDU6SXNzdWU5MTU5ODYyMTI= | 12,079 | Use Distilbert to run language model, encounter error "Unrecognized configuration class " | {
"login": "OleNet",
"id": 3206718,
"node_id": "MDQ6VXNlcjMyMDY3MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3206718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OleNet",
"html_url": "https://github.com/OleNet",
"followers_url": "https://api.github.com/users/OleNet/foll... | [] | closed | false | null | [] | [
"As printed by the error, DistilBERT is not supported by `AutoModelForCausalLM`, since it's an encoder-only model. Please use one of the supported models to perform autoregressive (i.e. left-to-right) language modeling.",
"Why the [README](https://github.com/huggingface/transformers/tree/master/examples/pytorch/... | 1,623 | 1,623 | 1,623 | NONE | null |
- `transformers` version: 4.6.1
- Platform: centos 7.5
- Python version: 3.7
- PyTorch version (GPU?): 1.10
- Using GPU in script?: v100
- Using distributed or parallel set-up in script?: no
## To reproduce
```
python3 run_clm.py \
--model_name_or_path distilbert-base-uncased \
--dataset_name wiki... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12079/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12078/comments | https://api.github.com/repos/huggingface/transformers/issues/12078/events | https://github.com/huggingface/transformers/issues/12078 | 915,721,071 | MDU6SXNzdWU5MTU3MjEwNzE= | 12,078 | OSError: Unable to open file (file signature not found) | {
"login": "Holy-Shine",
"id": 14997709,
"node_id": "MDQ6VXNlcjE0OTk3NzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/14997709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Holy-Shine",
"html_url": "https://github.com/Holy-Shine",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @Holy-Shine \r\nTry:\r\n```python\r\nfrom transformers import TFAutoModel\r\nmodel = TFAutoModel.from_pretrained(\"hfl/chinese-bert-wwm-ext\")\r\n```",
"\r\n@vishal-burman \r\nthanks! It works for me. \r\nAnd I found that my tf_model.h5 file in my local dir definitely too \"thin\" that model loader cannot fig... | 1,623 | 1,623 | 1,623 | NONE | null | python version: 3.7.6
transformers: 4.6.1
tensorflow-cpu: 2.3.1
my code:
```python
from transformers import TFAutoModel
model = TFAutoModel.from_pretrained("./chinese-bert-wwm-ext")
```
and `chinese-bert-wwm-ext` is a model dir that is downloaded from [https://huggingface.co/models](url)。
After I run this co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12078/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12077/comments | https://api.github.com/repos/huggingface/transformers/issues/12077/events | https://github.com/huggingface/transformers/pull/12077 | 915,686,956 | MDExOlB1bGxSZXF1ZXN0NjY1NDc0NDI1 | 12,077 | [Deepspeed] new docs | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,623 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR expands/improves Deepspeed docs:
- documents `sub_group_size` tuneup (thanks @samyam)
- updates install info
- adds issue filing instructions
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12077/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12077",
"html_url": "https://github.com/huggingface/transformers/pull/12077",
"diff_url": "https://github.com/huggingface/transformers/pull/12077.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12077.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12076/comments | https://api.github.com/repos/huggingface/transformers/issues/12076/events | https://github.com/huggingface/transformers/pull/12076 | 915,672,679 | MDExOlB1bGxSZXF1ZXN0NjY1NDYyNzQw | 12,076 | [wav2vec2 / Deepspeed] sync LayerDrop for Wav2Vec2Encoder + 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 | [] | [] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | This PR continues https://github.com/huggingface/transformers/pull/11638 and:
- adds the same gpu syncing for `Wav2Vec2Encoder` LayerDrop as there is for ` Wav2Vec2EncoderStableLayerNorm`
- double the tests to test `"patrickvonplaten/wav2vec2_tiny_random"` to exercise `Wav2Vec2Encoder` too
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12076",
"html_url": "https://github.com/huggingface/transformers/pull/12076",
"diff_url": "https://github.com/huggingface/transformers/pull/12076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12076.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12075/comments | https://api.github.com/repos/huggingface/transformers/issues/12075/events | https://github.com/huggingface/transformers/issues/12075 | 915,516,235 | MDU6SXNzdWU5MTU1MTYyMzU= | 12,075 | Using whitespace tokenizer for training models | {
"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 | [] | [
"Hello! Thanks a lot for the well-crafted issue and reproducer, this is very helpful. Regarding your problem 2, I have a question: why are you saving the tokenizer's model, rather than the tokenizer itself? \r\n\r\nI would argue that saving the entire tokenizer in a `tokenizer.json` would be better:\r\n```py\r\n# A... | 1,623 | 1,624 | 1,623 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-5.4.109+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1+cu101 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- Using GPU in script?: Yes/depends
- Using distributed or parallel set-up in script?:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12074/comments | https://api.github.com/repos/huggingface/transformers/issues/12074/events | https://github.com/huggingface/transformers/pull/12074 | 915,393,245 | MDExOlB1bGxSZXF1ZXN0NjY1MjEyMDc3 | 12,074 | [test] support more than 2 gpus | {
"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,623 | 1,623 | 1,623 | CONTRIBUTOR | null | This is just a small tweak to have the `tests/test_trainer.py::TrainerIntegrationTest::test_fp16_full_eval` not fail under 3+ gpus rigs.
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12074/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12074",
"html_url": "https://github.com/huggingface/transformers/pull/12074",
"diff_url": "https://github.com/huggingface/transformers/pull/12074.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12074.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12073/comments | https://api.github.com/repos/huggingface/transformers/issues/12073/events | https://github.com/huggingface/transformers/issues/12073 | 915,360,083 | MDU6SXNzdWU5MTUzNjAwODM= | 12,073 | src_lang/tgt_lang missing in mbart example | {
"login": "zijwang",
"id": 25057983,
"node_id": "MDQ6VXNlcjI1MDU3OTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/25057983?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zijwang",
"html_url": "https://github.com/zijwang",
"followers_url": "https://api.github.com/users/zijwan... | [
{
"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 | [] | [
"Tagging @patrickvonplaten @patil-suraj @LysandreJik again in case you know what was going on here. ",
"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 foll... | 1,623 | 1,630 | 1,630 | NONE | null | ## Environment info
- `transformers` version: 4.6
- Platform: linux
- Python version: 3.8
- PyTorch version (GPU?): 1.8
### Who can help
Models:
- blenderbot, bart, marian, pegasus, encoderdecoder, t5: @patrickvonplaten, @patil-suraj
Library:
- tokenizers: @LysandreJik
## Information
Model I a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12073/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12072/comments | https://api.github.com/repos/huggingface/transformers/issues/12072/events | https://github.com/huggingface/transformers/issues/12072 | 915,261,622 | MDU6SXNzdWU5MTUyNjE2MjI= | 12,072 | Inconsistent behavior on CPU vs. GPU | {
"login": "mar-muel",
"id": 19345805,
"node_id": "MDQ6VXNlcjE5MzQ1ODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/19345805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mar-muel",
"html_url": "https://github.com/mar-muel",
"followers_url": "https://api.github.com/users/mar... | [] | closed | false | null | [] | [
"Hello! This is weird, you indeed get a significantly different output. Running your exact code sample above, only changing the device to `cuda` yields the same results for me:\r\n```\r\ntensor([[0.0769]])\r\ntensor([[0.0769]])\r\n```\r\n\r\nTried it a few times, and I always get the same results - I've added an ad... | 1,623 | 1,626 | 1,626 | 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.5.1
- Platform: Linux-4.19.0-16-cloud-amd64-x86_64-with-debian-10.9
- Python version: 3.7.10
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12072/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12071/comments | https://api.github.com/repos/huggingface/transformers/issues/12071/events | https://github.com/huggingface/transformers/issues/12071 | 915,139,509 | MDU6SXNzdWU5MTUxMzk1MDk= | 12,071 | XLM-R XL/XXL | {
"login": "sbmaruf",
"id": 32699797,
"node_id": "MDQ6VXNlcjMyNjk5Nzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/32699797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbmaruf",
"html_url": "https://github.com/sbmaruf",
"followers_url": "https://api.github.com/users/sbmaru... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I believe @stefan-it is on it :sunglasses: ",
"I successfully converted xlmr.xl to huggingface model.\r\n```\r\ntorch.Size([1, 11, 250880]) torch.Size([1, 11, 250880])\r\nmax_absolute_diff = 4.482269287109375e-05\r\nDo both models output the same tensors? 🔥\r\nSaving model to converted_xlmr.xl2\r\nConfiguration... | 1,623 | 1,695 | 1,695 | NONE | null | # 🌟 New model addition
## Model description
The larger version of XLMR.
[Source](https://github.com/pytorch/fairseq/tree/master/examples/xlmr)
Model | Description | #params | vocab size | Download
---|---|---|---|---
`xlmr.xl` | XLM-R (`layers=36, model_dim=2560`) | 3.5B | 250k | [xlm.xl.tar.gz](https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12071/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/12071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12070/comments | https://api.github.com/repos/huggingface/transformers/issues/12070/events | https://github.com/huggingface/transformers/pull/12070 | 915,040,737 | MDExOlB1bGxSZXF1ZXN0NjY0OTA3NDcy | 12,070 | Properly indent block_size | {
"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,623 | 1,623 | 1,623 | COLLABORATOR | null | # What does this PR do?
Fixes a typo in the run_clm example. Fixes #12048 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12070/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12070",
"html_url": "https://github.com/huggingface/transformers/pull/12070",
"diff_url": "https://github.com/huggingface/transformers/pull/12070.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12070.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12069/comments | https://api.github.com/repos/huggingface/transformers/issues/12069/events | https://github.com/huggingface/transformers/pull/12069 | 915,039,001 | MDExOlB1bGxSZXF1ZXN0NjY0OTA1OTc2 | 12,069 | [WIP] Add helper function to align labels between datasets and model config | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"Closing this in favour of implementing generic functionality on the `datasets` side here: https://github.com/huggingface/datasets/pull/2457"
] | 1,623 | 1,623 | 1,623 | MEMBER | null | # What does this PR do?
This PR adds a helper function to align the `label2id` and `id2label` mappings between a `datasets.Dataset` and `PretrainedConfig`, with the alignment performed on the dataset itself.
This will help us with the Hub evaluation, where we won't know in advance whether a model that is fine-tun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12069/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12069",
"html_url": "https://github.com/huggingface/transformers/pull/12069",
"diff_url": "https://github.com/huggingface/transformers/pull/12069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12069.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12068/comments | https://api.github.com/repos/huggingface/transformers/issues/12068/events | https://github.com/huggingface/transformers/issues/12068 | 914,932,225 | MDU6SXNzdWU5MTQ5MzIyMjU= | 12,068 | grads is None when using GPT2 transformers in tensorflow | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | 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,623 | 1,626 | 1,626 | NONE | null | transformers ver: `4.7.0.dev0`
```
from transformers import GPT2Tokenizer, TFGPT2LMHeadModel, TFGPT2Model, TFAutoModelForCausalLM
tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
tokenizer.padding_side = "left"
tokenizer.pad_token = tokenizer.eos_token # to avoid an error
gpt2 = TFGPT2LMHeadModel.from_pretr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12068/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12067/comments | https://api.github.com/repos/huggingface/transformers/issues/12067/events | https://github.com/huggingface/transformers/issues/12067 | 914,736,726 | MDU6SXNzdWU5MTQ3MzY3MjY= | 12,067 | Selecting specific GPU CUDA devices | {
"login": "kenghweeng",
"id": 16697123,
"node_id": "MDQ6VXNlcjE2Njk3MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/16697123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kenghweeng",
"html_url": "https://github.com/kenghweeng",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"When you do `CUDA_VISIBLE_DEVICES=1,8`, CUDA will still call the two available GPUs 0 and 1, 0 will correspond to 1 and 1 to 8. I f you look at the output of `nvidia-smi`, you will see the training will only run on GPUs 1 and 8.",
"Thank you, silly me. I'll close the issue, thanks!"
] | 1,623 | 1,623 | 1,623 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.0
- Platform: Linux-4.15.0-65-generic-x86_64-with-glibc2.29
- Python version: 3.8.5
- PyTorch version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12067/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12066/comments | https://api.github.com/repos/huggingface/transformers/issues/12066/events | https://github.com/huggingface/transformers/pull/12066 | 914,631,915 | MDExOlB1bGxSZXF1ZXN0NjY0NTMwNTY1 | 12,066 | Fix LUKE integration tests | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Fixes the (slow) integration tests of LUKE. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12066/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12066",
"html_url": "https://github.com/huggingface/transformers/pull/12066",
"diff_url": "https://github.com/huggingface/transformers/pull/12066.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12066.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12065/comments | https://api.github.com/repos/huggingface/transformers/issues/12065/events | https://github.com/huggingface/transformers/issues/12065 | 914,585,740 | MDU6SXNzdWU5MTQ1ODU3NDA= | 12,065 | How can we predict story future based on past events? | {
"login": "krigeta",
"id": 75309361,
"node_id": "MDQ6VXNlcjc1MzA5MzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/75309361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krigeta",
"html_url": "https://github.com/krigeta",
"followers_url": "https://api.github.com/users/kriget... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nPlease ask this question on the [forum](https://discuss.huggingface.co/), rather than here. Github issues are mostly for bugs/feature requests.\r\n\r\nThanks.",
"Okay I will hop there",
"Hello @NielsRogge, I posted there but I think the forum is not so resposive. so it would be great if you help me ... | 1,623 | 1,626 | 1,626 | NONE | null | Hello, is it possible to predict story future events on the basis of past events using transformer? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12065/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12064/comments | https://api.github.com/repos/huggingface/transformers/issues/12064/events | https://github.com/huggingface/transformers/issues/12064 | 914,473,179 | MDU6SXNzdWU5MTQ0NzMxNzk= | 12,064 | ImportError: cannot ipmort name 'TFAutoModel' | {
"login": "Holy-Shine",
"id": 14997709,
"node_id": "MDQ6VXNlcjE0OTk3NzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/14997709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Holy-Shine",
"html_url": "https://github.com/Holy-Shine",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | NONE | null | transformers: 4.6.1
tensorflow-gpu: 2.0.0
when I wrote code below in my jupyter-notebook:
`from transformers import TFAutoModel`
I got an ImportError:
> **ImportError: cannot ipmort name 'TFAutoModel'**
I wonder what's wrong with my code or dev environment. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12064/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12063/comments | https://api.github.com/repos/huggingface/transformers/issues/12063/events | https://github.com/huggingface/transformers/pull/12063 | 914,457,997 | MDExOlB1bGxSZXF1ZXN0NjY0MzcxMjcx | 12,063 | Fix tapas issue | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Fixes #12060
However, the (slow) integration tests of TAPAS that use relative position embeddings are failing for me locally, most likely due to the new version of the [torch-scatter](https://github.com/rusty1s/pytorch_scatter) dependency. I'll look into that.
Update: just tested the mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12063",
"html_url": "https://github.com/huggingface/transformers/pull/12063",
"diff_url": "https://github.com/huggingface/transformers/pull/12063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12062/comments | https://api.github.com/repos/huggingface/transformers/issues/12062/events | https://github.com/huggingface/transformers/issues/12062 | 914,430,037 | MDU6SXNzdWU5MTQ0MzAwMzc= | 12,062 | fp16 models getting auto converted to fp32 in .from_pretrained() | {
"login": "asit2898",
"id": 51470339,
"node_id": "MDQ6VXNlcjUxNDcwMzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/51470339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asit2898",
"html_url": "https://github.com/asit2898",
"followers_url": "https://api.github.com/users/asi... | [] | 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... | [
"cc @stas00 ",
"Oh, do you mean that your model was already in fp16 to start with? This combination I haven't tried yet. \r\n\r\nFirst when reporting Deepspeed problems please always share the deepspeed config file and the TrainingArguments.\r\n\r\nand then we can look at sorting it out. \r\n",
"Yes, the saved ... | 1,623 | 1,687 | 1,624 | NONE | null | **stas00 edited**: this Issue has nothing to do with Deepspeed, but pure `transformers`
---------------------
## 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` ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12062/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12061/comments | https://api.github.com/repos/huggingface/transformers/issues/12061/events | https://github.com/huggingface/transformers/issues/12061 | 914,252,830 | MDU6SXNzdWU5MTQyNTI4MzA= | 12,061 | [testing] making network tests more reliable | {
"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": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "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... | [
"Yes, I think that can help, we have similar issues in the [`huggingface_hub`](https://github.com/huggingface/huggingface_hub) repository. \r\n\r\nI'm wondering if these issues don't come from the fact that these tests are very quick to run, therefore bursting the server which has issues handling all requests. It a... | 1,623 | 1,642 | null | CONTRIBUTOR | null | We have a group of tests that require a reliable network, which is never 100% so they fail for many months.
I propose that those tests will be rewritten with unstable network in mind and include:
1. `time.sleep(3)`
2. retry 3-5 times
e.g. one of the candidates is:
`tests/test_hf_api.py::HfApiEndpointsTest:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12061/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12060/comments | https://api.github.com/repos/huggingface/transformers/issues/12060/events | https://github.com/huggingface/transformers/issues/12060 | 914,244,111 | MDU6SXNzdWU5MTQyNDQxMTE= | 12,060 | [skipped test] to fix | {
"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,623 | 1,623 | 1,623 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/12059 skipped failing: `tests/test_modeling_tapas.py::TapasUtilitiesTest::test_reduce_sum_vectorized`
This issue is to track its resolution so that it won't be forgotten.
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12060/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12059/comments | https://api.github.com/repos/huggingface/transformers/issues/12059/events | https://github.com/huggingface/transformers/pull/12059 | 914,242,711 | MDExOlB1bGxSZXF1ZXN0NjY0MTc0NTcy | 12,059 | [CI] skip failing test | {
"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,623 | 1,623 | 1,623 | CONTRIBUTOR | null | skipping a consistently failing test that breaks CI
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12059/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12059",
"html_url": "https://github.com/huggingface/transformers/pull/12059",
"diff_url": "https://github.com/huggingface/transformers/pull/12059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12059.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12058/comments | https://api.github.com/repos/huggingface/transformers/issues/12058/events | https://github.com/huggingface/transformers/pull/12058 | 914,096,634 | MDExOlB1bGxSZXF1ZXN0NjY0MDQwMzIx | 12,058 | [Deepspeed] various 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... | [
{
"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 | [] | [
"That's a good call, Sylvain. I think the deprecation warning has been showing up long enough that I didn't bother checking. But I did check now and all is good it was done before deepspeed==0.3.16 was released ([commit](https://github.com/microsoft/DeepSpeed/commit/0d4a54a04d658db40a120bc10c6f1f1a4478f6f1)) and I ... | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | This PR includes a few small fixes in config files, tests and docs:
- replace deprecated config `cpu_offload` with `offload_optimizer`
- `sub_group_size` setting was too big - needing too much GPU RAM
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12058/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12058",
"html_url": "https://github.com/huggingface/transformers/pull/12058",
"diff_url": "https://github.com/huggingface/transformers/pull/12058.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12058.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12057/comments | https://api.github.com/repos/huggingface/transformers/issues/12057/events | https://github.com/huggingface/transformers/pull/12057 | 914,048,967 | MDExOlB1bGxSZXF1ZXN0NjYzOTk2NjU1 | 12,057 | adds metric prefix. | {
"login": "riklopfer",
"id": 413300,
"node_id": "MDQ6VXNlcjQxMzMwMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/413300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/riklopfer",
"html_url": "https://github.com/riklopfer",
"followers_url": "https://api.github.com/users/rikl... | [] | closed | false | null | [] | [
"You just need to tweak the test of this script in examples/pytorch/test_examples.py, since it's looking for f1 instead of eval_f1. Same for exact.",
"@sgugger, the example tests are fixed now, this other failure is a mystery to me. I suspect that failure is caused by another change. Let me know if you think the ... | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Adds metric prefix to metrics dict. This is needed for `metric_for_best_model` to function properly. See https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py#L1516
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the oth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12057/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/12057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12057",
"html_url": "https://github.com/huggingface/transformers/pull/12057",
"diff_url": "https://github.com/huggingface/transformers/pull/12057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12056/comments | https://api.github.com/repos/huggingface/transformers/issues/12056/events | https://github.com/huggingface/transformers/issues/12056 | 913,861,123 | MDU6SXNzdWU5MTM4NjExMjM= | 12,056 | [testing] set tests to not rebuild datasets | {
"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... | [
"`datasets` has just made this feature disabled by default: https://github.com/huggingface/datasets/pull/2460\r\n\r\nSo nothing needs to be done."
] | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | recently `datasets` created in memory datasets enabled by default - which is great for those who wants it but is a terrible idea for tests and those who need to develop things constantly restarting the scripts as datasets aren't being cached and rebuilt on every run.
So we should turn this feature off in `*/conftest... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12056/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/12056/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12055/comments | https://api.github.com/repos/huggingface/transformers/issues/12055/events | https://github.com/huggingface/transformers/issues/12055 | 913,543,128 | MDU6SXNzdWU5MTM1NDMxMjg= | 12,055 | Settings for perfect Story writing based on the input text? | {
"login": "krigeta",
"id": 75309361,
"node_id": "MDQ6VXNlcjc1MzA5MzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/75309361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krigeta",
"html_url": "https://github.com/krigeta",
"followers_url": "https://api.github.com/users/kriget... | [] | closed | false | null | [] | [
"Hello, sorry for the long answer time! Unfortunately, we favor using the [forum](https://discuss.huggingface.co) for questions like this where you're much more likely to get an answer than on Github Issues. If that's not already the case, do you mind opening a thread there?\r\n\r\nThanks!",
"This issue has been ... | 1,623 | 1,634 | 1,634 | NONE | null | Hello, thank you so much for this awesome project.
What settings do you suggest so by using those settings it seems like a story is continuing based on the previous story input as a text file? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12054/comments | https://api.github.com/repos/huggingface/transformers/issues/12054/events | https://github.com/huggingface/transformers/issues/12054 | 913,438,571 | MDU6SXNzdWU5MTM0Mzg1NzE= | 12,054 | How to update the GPT2 with loss which are provided from another separate module? | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I guess you can do it like so:\r\n```\r\nfrom transformers import GPT2Tokenizer, GPT2LMHeadModel\r\ntokenizer = GPT2Tokenizer.from_pretrained('gpt2')\r\nmodel = GPT2LMHeadModel.from_pretrained('gpt2')\r\n\r\nmodel.train()\r\n# when generating, we will use the logits of right-most token to predict the next token\r\... | 1,623 | 1,623 | 1,623 | NONE | null | Suppose I have N prompts(sentences) for generation. They are fed into GPT2 and get the corresponding synthesis sentences.
And I have a separate black box which can return loss given these synthesis samples. The black box is just another component.
It is natural for every batch that GPT2 generate samples and get the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12053/comments | https://api.github.com/repos/huggingface/transformers/issues/12053/events | https://github.com/huggingface/transformers/pull/12053 | 913,415,686 | MDExOlB1bGxSZXF1ZXN0NjYzNDUxMTEy | 12,053 | [JAX] Bump jax lib | {
"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,623 | 1,623 | 1,623 | 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/12053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12053/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12053",
"html_url": "https://github.com/huggingface/transformers/pull/12053",
"diff_url": "https://github.com/huggingface/transformers/pull/12053.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12053.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12052/comments | https://api.github.com/repos/huggingface/transformers/issues/12052/events | https://github.com/huggingface/transformers/issues/12052 | 913,387,977 | MDU6SXNzdWU5MTMzODc5Nzc= | 12,052 | No max_length set on huawei-noah/TinyBERT_General_4L_312D/config.json | {
"login": "alexcombessie",
"id": 4739848,
"node_id": "MDQ6VXNlcjQ3Mzk4NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4739848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcombessie",
"html_url": "https://github.com/alexcombessie",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Hi @patrickvonplaten @JetRunner,\r\n\r\nApologies for following up, I know it's a busy time.\r\n\r\nWould you have some time to look into this issue?\r\n\r\nThanks,\r\n\r\nAlex ",
"Hi Alex, I think the right thing to do is to look up `max_len` from the TinyBERT paper. Do you know what is that setting? ",
"> Hi... | 1,623 | 1,627 | 1,627 | 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: 3.0.2
- Platform: Darwin-20.3.0-x86_64-i386-64bit
- Python version: 3.6.10
- PyTorch version (GPU?): 1.7.1 (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12051/comments | https://api.github.com/repos/huggingface/transformers/issues/12051/events | https://github.com/huggingface/transformers/pull/12051 | 913,336,532 | MDExOlB1bGxSZXF1ZXN0NjYzMzgzNDEx | 12,051 | Add early stopping args to TrainingArguments | {
"login": "albertvillanova",
"id": 8515462,
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertvillanova",
"html_url": "https://github.com/albertvillanova",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"I reused the script:\r\n- https://github.com/huggingface/transformers/blob/master/examples/pytorch/token-classification/run_ner.py\r\n\r\nbut allowing early stopping: [`EarlyStoppingCallback`](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_callback.py#L505)\r\n\r\nTherefore, I had... | 1,623 | 1,626 | 1,626 | MEMBER | null | # What does this PR do?
While working in the collaborative training project, I added early stopping args to `TrainingArguments`.
Feel free to close this PR if you consider it is not pertinent.
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12051",
"html_url": "https://github.com/huggingface/transformers/pull/12051",
"diff_url": "https://github.com/huggingface/transformers/pull/12051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12051.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12050/comments | https://api.github.com/repos/huggingface/transformers/issues/12050/events | https://github.com/huggingface/transformers/issues/12050 | 913,283,797 | MDU6SXNzdWU5MTMyODM3OTc= | 12,050 | [end2end RAG] AttributeError: module 'pickle' has no attribute 'PickleBuffer' | {
"login": "shunyuzh",
"id": 41095167,
"node_id": "MDQ6VXNlcjQxMDk1MTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/41095167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shunyuzh",
"html_url": "https://github.com/shunyuzh",
"followers_url": "https://api.github.com/users/shu... | [] | closed | false | null | [] | [
"Hi,\n\nThanks a lot. I think this error is due to Python version. Check with 3.8 or above. It will work.",
"> Hi,\r\n> \r\n> Thanks a lot. I think this error is due to Python version. Check with 3.8 or above. It will work.\r\n\r\nThank you, it really worked when I run test_finetune.sh. \r\n\r\nEmm, it's silly t... | 1,623 | 1,626 | 1,626 | NONE | null | Hi folks,
@shamanez , thanks for your awesome project of end2end RAG. But when I reproduce the results of https://github.com/huggingface/transformers/tree/master/examples/research_projects/rag-end2end-retriever, I face some problems.
```
Traceback (most recent call last):
File "finetune_rag.py", line 789, i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12049/comments | https://api.github.com/repos/huggingface/transformers/issues/12049/events | https://github.com/huggingface/transformers/pull/12049 | 913,144,513 | MDExOlB1bGxSZXF1ZXN0NjYzMjE1Mzc0 | 12,049 | fix past_key_values docs | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,623 | 1,623 | 1,623 | 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/12049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12049/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12049",
"html_url": "https://github.com/huggingface/transformers/pull/12049",
"diff_url": "https://github.com/huggingface/transformers/pull/12049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12049.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12048/comments | https://api.github.com/repos/huggingface/transformers/issues/12048/events | https://github.com/huggingface/transformers/issues/12048 | 913,143,457 | MDU6SXNzdWU5MTMxNDM0NTc= | 12,048 | OpenAI GPT language modeling shape mismatch: 512 position embeddings, 1024 input emebddings | {
"login": "avi-jit",
"id": 11348738,
"node_id": "MDQ6VXNlcjExMzQ4NzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/11348738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avi-jit",
"html_url": "https://github.com/avi-jit",
"followers_url": "https://api.github.com/users/avi-ji... | [] | closed | false | null | [] | [
"Note that `openai-gpt` has a max_length of 512. See under `n_positions` in the config here: https://huggingface.co/openai-gpt/blob/main/config.json. \r\n\r\nThe `run_clm.py` script however sets `max_length` to 1024 by default. To fix your bug you should run:\r\n\r\n```bash\r\npython transformers/examples/pytorch/l... | 1,623 | 1,623 | 1,623 | NONE | null | ## Environment info
- `transformers` version: 4.7.0.dev0
- Platform: Linux-4.19.0-16-cloud-amd64-x86_64-with-glibc2.10
- Python version: 3.8.10
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: below log is for cpu; also fails with gpu but cpu giv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12048/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12047/comments | https://api.github.com/repos/huggingface/transformers/issues/12047/events | https://github.com/huggingface/transformers/issues/12047 | 913,048,657 | MDU6SXNzdWU5MTMwNDg2NTc= | 12,047 | Question: Masked Loss for LukeForEntitySpanClassification | {
"login": "zhenbangt",
"id": 60147744,
"node_id": "MDQ6VXNlcjYwMTQ3NzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/60147744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhenbangt",
"html_url": "https://github.com/zhenbangt",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Normally, in PyTorch, you have to set labels for padding tokens equal to -100, as -100 is the default ignore index that loss functions use.",
"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\n... | 1,623 | 1,626 | 1,626 | NONE | null | In transformers.LukeForEntitySpanClassification, the loss is calculated from labels of shape `(batch_size, entity_length)` and in range `[0, ..., config.num_labels - 1]`. I did not see in the source code you masked out the loss for padded tokens, nor did you make a special label for padded tokens. So how do you deal wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12046/comments | https://api.github.com/repos/huggingface/transformers/issues/12046/events | https://github.com/huggingface/transformers/issues/12046 | 913,026,284 | MDU6SXNzdWU5MTMwMjYyODQ= | 12,046 | ImportError: cannot import name 'AutoTokenizer' from 'transformers' | {
"login": "Fushier",
"id": 48719664,
"node_id": "MDQ6VXNlcjQ4NzE5NjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/48719664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fushier",
"html_url": "https://github.com/Fushier",
"followers_url": "https://api.github.com/users/Fushie... | [] | 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,623 | 1,626 | 1,626 | NONE | null | transformers: 4.6.1
tokenizers: 0.10.3
I installed transformers with
`conda install -c huggingface transformers`
but when I `from transformers import AutoTokenizer`
Traceback (most recent call last):
File "D:/IIE/WorkSpace/Pycharm WorkSpace/HuggingfaceNER/tokenizers.py", line 1, in <module>
from tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12046/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12045/comments | https://api.github.com/repos/huggingface/transformers/issues/12045/events | https://github.com/huggingface/transformers/pull/12045 | 912,977,819 | MDExOlB1bGxSZXF1ZXN0NjYzMDczNzk1 | 12,045 | [wip] [deps] data_collator fails with older numpy, update numpy>=1.20.0 | {
"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 | [] | [
"OK, so as I was concerned some dependency fixes numpy at 1.19.5 so things fail:\r\n```\r\nERROR: Could not find a version that satisfies the requirement numpy>=1.20.0 (from transformers[all,quality]) (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1... | 1,623 | 1,623 | 1,623 | CONTRIBUTOR | null | Please ignore for now as this looks a pytorch 1.9.0-rc problem, filed an issue
https://github.com/pytorch/pytorch/issues/59533
--------------------
with pytorch-1.9.0/nighty 1.9.0a0+git2a178d3
data collator via Trainer fails with numpy==1.19.5 with:
```
RuntimeError: Could not infer dtype of numpy.float32
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12045",
"html_url": "https://github.com/huggingface/transformers/pull/12045",
"diff_url": "https://github.com/huggingface/transformers/pull/12045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12045.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.