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/6120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6120/comments | https://api.github.com/repos/huggingface/transformers/issues/6120/events | https://github.com/huggingface/transformers/issues/6120 | 667,667,599 | MDU6SXNzdWU2Njc2Njc1OTk= | 6,120 | Don't see how to use correct padding with QA pipeline | {
"login": "nathan-chappell",
"id": 36384302,
"node_id": "MDQ6VXNlcjM2Mzg0MzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/36384302?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nathan-chappell",
"html_url": "https://github.com/nathan-chappell",
"followers_url": "https://api... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,596 | 1,601 | 1,601 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6120/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/6120/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6119/comments | https://api.github.com/repos/huggingface/transformers/issues/6119/events | https://github.com/huggingface/transformers/issues/6119 | 667,646,929 | MDU6SXNzdWU2Njc2NDY5Mjk= | 6,119 | 🐛 Empty TypeError on BartTokenizerFast.decode(tensor) | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I noticed this is due to `x` being a tensor. It works fine with a list :\r\n\r\n```python\r\nimport torch\r\nfrom transformers import BartTokenizerFast\r\n\r\nt = BartTokenizerFast.from_pretrained('facebook/bart-large')\r\n\r\nx = [0, 34, 45, 23, 54, 65, 765, 2]\r\nt.decode(x)\r\n```\r\n\r\n> `<s> has not at who o... | 1,596 | 1,601 | 1,601 | CONTRIBUTOR | null | ## Environment info
`transformers` `3.0.2`
### Who can help
Summarization: @sshleifer
## To reproduce
```python
import torch
from transformers import BartTokenizerFast
t = BartTokenizerFast.from_pretrained('facebook/bart-large')
x = torch.tensor([0, 34, 45, 23, 54, 65, 765, 2])
t.decode(x)
```
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6119/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6118/comments | https://api.github.com/repos/huggingface/transformers/issues/6118/events | https://github.com/huggingface/transformers/issues/6118 | 667,582,560 | MDU6SXNzdWU2Njc1ODI1NjA= | 6,118 | Is `guid` allowed to be None in `InputExample`? | {
"login": "dnaaun",
"id": 52462475,
"node_id": "MDQ6VXNlcjUyNDYyNDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/52462475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dnaaun",
"html_url": "https://github.com/dnaaun",
"followers_url": "https://api.github.com/users/dnaaun/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The guid is indeed optional, we can add this to the type annotation. We can't add the default `= None` however because it's before `text_a` in the dataclass, which is not optional.",
"Thanks! I'll probably shape up a bunch of type annotations into a PR sometime soon, so I'll make `guid` Optional(but without a de... | 1,596 | 1,602 | 1,602 | NONE | null | ## Environment
-`transformers` version: 3.0.2
Omitted the rest because they most likely don't affect this issue.
## To reproduce
```py
from transformers.data.processors.utils import SingleSentenceClassificationProcessor
processor = SingleSentenceClassificationProcessor(labels=["lbl1", "lbl2"])
processor.ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6117/comments | https://api.github.com/repos/huggingface/transformers/issues/6117/events | https://github.com/huggingface/transformers/issues/6117 | 667,524,556 | MDU6SXNzdWU2Njc1MjQ1NTY= | 6,117 | Using control codes for finetuning | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@julien-c ",
"It'd be best to re-read the paper and original implem, but I think you just prepend a control code to each of your samples.\r\n\r\nCc'ing @keskarnitish for information.\r\n\r\nPS/ for general questions, please use https://discuss.huggingface.co!",
"This issue has been automatically marked as stal... | 1,595 | 1,601 | 1,601 | NONE | null | Hi
I have a use case of style conditioned generation, where I ask the LM to generate a sentence based on the control code I provide. CTRL is pretty suitable for that task.
Can you tell me how to use control codes for fine-tuning as well as inference? It should be the same as any CLM like GPT2 but I want to specifica... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6117/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6116/comments | https://api.github.com/repos/huggingface/transformers/issues/6116/events | https://github.com/huggingface/transformers/issues/6116 | 667,521,606 | MDU6SXNzdWU2Njc1MjE2MDY= | 6,116 | No button for creating new post at the forum. | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"\r\n",
"I approved your post there @guotong1988 "
] | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | 
discuss.huggingface.co | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6116/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6115/comments | https://api.github.com/repos/huggingface/transformers/issues/6115/events | https://github.com/huggingface/transformers/issues/6115 | 667,512,729 | MDU6SXNzdWU2Njc1MTI3Mjk= | 6,115 | Usage of Pytorch Native AMP in place of apex (Pytorch 1.6) in Trainer | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I had a query, Pytorch examples show loss being calculated as :\r\n```\r\nwith autocast():\r\n output = model(input)\r\n loss = loss_fn(output, target)\r\nscaler.scale(loss).backward()\r\n```\r\nBut in all `SequenceClassification` and other models, loss is calculated in the `forward pass`. We can use `@autoc... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | # 🚀 Feature request
It would be nice to remove the Apex dependency for `fp16` training and use the native [Pytorch's AMP methods](https://github.com/pytorch/pytorch/releases) in the `Trainer` method. Pytorch recommends Apex users to switch to it's native implementation, even [Apex does it so](https://github.com/NVIDI... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6115/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6115/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6114/comments | https://api.github.com/repos/huggingface/transformers/issues/6114/events | https://github.com/huggingface/transformers/issues/6114 | 667,508,467 | MDU6SXNzdWU2Njc1MDg0Njc= | 6,114 | namespace object has no attribute to "enc_only" | {
"login": "zy329jy",
"id": 68934937,
"node_id": "MDQ6VXNlcjY4OTM0OTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/68934937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zy329jy",
"html_url": "https://github.com/zy329jy",
"followers_url": "https://api.github.com/users/zy329j... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"If you do not want to use encoder only, I think it is fine to just comment that elif clause out",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,602 | 1,602 | NONE | null | # ❓ Questions & Help
when I running the distillation.py then
File "E:/transformers-master/examples/seq2seq/distillation.py", line 370, in create_module
elif args.enc_only:
AttributeError: 'Namespace' object has no attribute 'enc_only'
how can I deal with this problem?? thx a lot.
<!-- You should first ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6114/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6113/comments | https://api.github.com/repos/huggingface/transformers/issues/6113/events | https://github.com/huggingface/transformers/issues/6113 | 667,486,468 | MDU6SXNzdWU2Njc0ODY0Njg= | 6,113 | 🌟 BigBird | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"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 | [] | [
"When will be getting this model?",
"Until the weights and code are not published I think we won't focus too much on adding the model",
"I am planning to start a small tight group of individuals who will work on implementing research papers for proper business use cases. \r\nPlease let me know if anyone is inte... | 1,595 | 1,620 | 1,617 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
Paper : https://arxiv.org/pdf/2007.14062.pdf
Abstract :
> Transformers-based models, such as BERT, have been one of the most successful deep learning
models for NLP. Unfortunately, one of their core limitations is the quadratic dependency
(mainly in terms of mem... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6113/reactions",
"total_count": 183,
"+1": 77,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 34,
"rocket": 13,
"eyes": 59
} | https://api.github.com/repos/huggingface/transformers/issues/6113/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6112/comments | https://api.github.com/repos/huggingface/transformers/issues/6112/events | https://github.com/huggingface/transformers/issues/6112 | 667,469,044 | MDU6SXNzdWU2Njc0NjkwNDQ= | 6,112 | Is there any way that I can use the HuggingFace Transformers as Pyro models? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [] | 1,595 | 1,596 | 1,596 | NONE | null | Hello,
`Pyro` is a Python module that allows users to convert a given (frequentist) neural network into a Bayesian neural network.
I can convert a HuggingFace Transformer into a Pyro model like below:
```python
import torch
from torch import distributions
from transformers import RobertaTokenizer, RobertaForM... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6111/comments | https://api.github.com/repos/huggingface/transformers/issues/6111/events | https://github.com/huggingface/transformers/pull/6111 | 667,403,742 | MDExOlB1bGxSZXF1ZXN0NDU4MDc3MDc2 | 6,111 | Use FutureWarning to deprecate | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6111?src=pr&el=h1) Report\n> Merging [#6111](https://codecov.io/gh/huggingface/transformers/pull/6111?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b1c8b76907ad605c7b25bb12580cb46d70207b7a&el=desc) will **increase... | 1,595 | 1,596 | 1,596 | COLLABORATOR | null | As discussed, `DeprecationWarning` -> `FutureWarning` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6111/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6111",
"html_url": "https://github.com/huggingface/transformers/pull/6111",
"diff_url": "https://github.com/huggingface/transformers/pull/6111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6111.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6110/comments | https://api.github.com/repos/huggingface/transformers/issues/6110/events | https://github.com/huggingface/transformers/pull/6110 | 667,388,277 | MDExOlB1bGxSZXF1ZXN0NDU4MDY0MjY0 | 6,110 | Doc tokenizer | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6110?src=pr&el=h1) Report\n> Merging [#6110](https://codecov.io/gh/huggingface/transformers/pull/6110?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/11792d7826854979bb532b6da09bc3796b09ea6a&el=desc) will **decrease... | 1,595 | 1,596 | 1,596 | COLLABORATOR | null | Improve the documentation of tokenizers, following what was done for the models last week, mainly:
- make sure all docstrings of public functions are properly formatted for sphinx
- make sure all args are properly documented
- add or fix type hints wherever necessary
The methods/classes that are not in the main `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6110",
"html_url": "https://github.com/huggingface/transformers/pull/6110",
"diff_url": "https://github.com/huggingface/transformers/pull/6110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6110.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6109/comments | https://api.github.com/repos/huggingface/transformers/issues/6109/events | https://github.com/huggingface/transformers/issues/6109 | 667,353,926 | MDU6SXNzdWU2NjczNTM5MjY= | 6,109 | StopIteration error in RobertaForMultipleChoice | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | NONE | null | Hello,
I am trying to execute the line below for my `RobertaForMultipleChoice` model:
```python
# retrieve the resulting mc_loss
mc_loss = model(input_ids = input_ids, attention_mask = attention_mask, labels = mc_labels)[0]
```
but this generates the following error:
```python
Traceback (most recent call las... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6108/comments | https://api.github.com/repos/huggingface/transformers/issues/6108/events | https://github.com/huggingface/transformers/issues/6108 | 667,338,760 | MDU6SXNzdWU2NjczMzg3NjA= | 6,108 | allenai/longformer-large-4096 unavailable | {
"login": "CMobley7",
"id": 10121829,
"node_id": "MDQ6VXNlcjEwMTIxODI5",
"avatar_url": "https://avatars.githubusercontent.com/u/10121829?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CMobley7",
"html_url": "https://github.com/CMobley7",
"followers_url": "https://api.github.com/users/CMo... | [] | closed | false | null | [] | [
"The issue seems to have resolved itself. So, I'm closing the issue."
] | 1,595 | 1,595 | 1,595 | NONE | null | For some reason, I'm unable to download allenai/longformer-large-4096. Everything was working an hour ago, but all of a sudden I get the error included below. It's still listed on https://huggingface.co/models?search=allenai%2Flongformer-large-4096. I'm not sure what's up. Any ideas?
```
Traceback (most recent call l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6108/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6107/comments | https://api.github.com/repos/huggingface/transformers/issues/6107/events | https://github.com/huggingface/transformers/issues/6107 | 667,326,244 | MDU6SXNzdWU2NjczMjYyNDQ= | 6,107 | Where do the Masked Language Model perform mask on the input data | {
"login": "SusanSun8",
"id": 61705975,
"node_id": "MDQ6VXNlcjYxNzA1OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/61705975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SusanSun8",
"html_url": "https://github.com/SusanSun8",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @SusanSun8, we are trying to move \"non-bugs\" questions to the forum: https://discuss.huggingface.co/ . Could you maybe post your question there again? \r\n\r\nHere is the code that is responsible for Masked Language Modeling: https://github.com/huggingface/transformers/blob/f6cb0f806efecb64df40c946dacaad0ada... | 1,595 | 1,597 | 1,597 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6107/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6106/comments | https://api.github.com/repos/huggingface/transformers/issues/6106/events | https://github.com/huggingface/transformers/issues/6106 | 667,318,411 | MDU6SXNzdWU2NjczMTg0MTE= | 6,106 | Weird Behavior on XLNetTokenizer after new tokens added | {
"login": "riven314",
"id": 21143399,
"node_id": "MDQ6VXNlcjIxMTQzMzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/21143399?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/riven314",
"html_url": "https://github.com/riven314",
"followers_url": "https://api.github.com/users/riv... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | 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: 3.0.2
- Platform: ubuntu
- Python version: 3.7.7
- PyTorch version (GPU?): 1.5.1 (GPU)
- Using GPU in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6106/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6105/comments | https://api.github.com/repos/huggingface/transformers/issues/6105/events | https://github.com/huggingface/transformers/issues/6105 | 667,314,961 | MDU6SXNzdWU2NjczMTQ5NjE= | 6,105 | Recursive error calling generate in forward | {
"login": "aclifton314",
"id": 53267795,
"node_id": "MDQ6VXNlcjUzMjY3Nzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aclifton314",
"html_url": "https://github.com/aclifton314",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cool workaround! I think you might have a cleaner solution, potentially, if you compose instead of inheriting from `GPT2WithLMHead`. This is not worthy of a bug report, (what's the bug), but it could be an interesting proposal/project for examples/ if it works well on a task with a public dataset.\r\n\r\nCould I h... | 1,595 | 1,604 | 1,604 | NONE | null | ## System Info
Pop!_OS 20.04
Pytorch: 1.5.1
Transformers: 3.0.2
Python: 3.7.6
## Question
Here is the training loop:
```python
def sd_data_collator(dataset_samples_list):
tokenizer = GPT2Tokenizer.from_pretrained('gpt2', padding_side='right')
tokenizer.pad_token = tokenizer.eos_token
encoded... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6105/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6104/comments | https://api.github.com/repos/huggingface/transformers/issues/6104/events | https://github.com/huggingface/transformers/pull/6104 | 667,286,495 | MDExOlB1bGxSZXF1ZXN0NDU3OTgyNTM4 | 6,104 | Fix zero-shot pipeline single seq output shape | {
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.github.com/users/joeddav/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6104?src=pr&el=h1) Report\n> Merging [#6104](https://codecov.io/gh/huggingface/transformers/pull/6104?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/06834bc33255f5fb8fabb72c9ff114764b3c7ce5&el=desc) will **decrease... | 1,595 | 1,598 | 1,595 | CONTRIBUTOR | null | Fixes zero shot pipelines bug that returns sequence as a list rather than a str when a single sequence is passed as a list. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6104/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6104",
"html_url": "https://github.com/huggingface/transformers/pull/6104",
"diff_url": "https://github.com/huggingface/transformers/pull/6104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6104.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6103/comments | https://api.github.com/repos/huggingface/transformers/issues/6103/events | https://github.com/huggingface/transformers/pull/6103 | 667,278,324 | MDExOlB1bGxSZXF1ZXN0NDU3OTc1ODA0 | 6,103 | rename prepare_translation_batch -> prepare_seq2seq_batch | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6103?src=pr&el=h1) Report\n> Merging [#6103](https://codecov.io/gh/huggingface/transformers/pull/6103?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/66fa8ceaeaa6fe12f1bd4a5e6b0a924f59f715d9&el=desc) will **decrease... | 1,595 | 1,597 | 1,597 | CONTRIBUTOR | null | cc @patil-suraj
Starts work on #6080 , which suggests that all seq2seq tokenizers expose a `prepare_seq2seq_batch` method.
TODO:
- add common test enforcing API consistency. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6103/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/6103/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6103",
"html_url": "https://github.com/huggingface/transformers/pull/6103",
"diff_url": "https://github.com/huggingface/transformers/pull/6103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6103.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6102/comments | https://api.github.com/repos/huggingface/transformers/issues/6102/events | https://github.com/huggingface/transformers/pull/6102 | 667,263,082 | MDExOlB1bGxSZXF1ZXN0NDU3OTYzNjYy | 6,102 | Fix deebert tests | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6102?src=pr&el=h1) Report\n> Merging [#6102](https://codecov.io/gh/huggingface/transformers/pull/6102?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/06834bc33255f5fb8fabb72c9ff114764b3c7ce5&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6102",
"html_url": "https://github.com/huggingface/transformers/pull/6102",
"diff_url": "https://github.com/huggingface/transformers/pull/6102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6102.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6101/comments | https://api.github.com/repos/huggingface/transformers/issues/6101/events | https://github.com/huggingface/transformers/issues/6101 | 667,254,004 | MDU6SXNzdWU2NjcyNTQwMDQ= | 6,101 | Use HFArgParser instead of Fire | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2139563322,
"node_id": "MDU6TGFiZWwyMTM5NTYzMzIy",
"url": "https://api.github.com/repos/huggingface/transformers/labels/cleanup",
"name": "cleanup",
"color": "e7fc49",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"added to my list",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"keepalive",
"I'm pretty happy with `fire`, closing."
] | 1,595 | 1,602 | 1,602 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6101/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/6100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6100/comments | https://api.github.com/repos/huggingface/transformers/issues/6100/events | https://github.com/huggingface/transformers/pull/6100 | 667,253,437 | MDExOlB1bGxSZXF1ZXN0NDU3OTU1OTMy | 6,100 | [Fix] position_ids tests again | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"Failure is test_tokenization_auto.py, and spurious ."
] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Yesterday, in my haste, I added authorized_missing_keys to `BertModel`, rather than `BertPretrainedModel`. Since position_ids are allowed to be missing for all Bert variants, we want the latter, not the former.
I also improved the traceback for the failing test. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6100/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6100",
"html_url": "https://github.com/huggingface/transformers/pull/6100",
"diff_url": "https://github.com/huggingface/transformers/pull/6100.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6100.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6099/comments | https://api.github.com/repos/huggingface/transformers/issues/6099/events | https://github.com/huggingface/transformers/pull/6099 | 667,250,949 | MDExOlB1bGxSZXF1ZXN0NDU3OTUzOTE1 | 6,099 | [fix] add bart to LM_MAPPING | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6099?src=pr&el=h1) Report\n> Merging [#6099](https://codecov.io/gh/huggingface/transformers/pull/6099?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/06834bc33255f5fb8fabb72c9ff114764b3c7ce5&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | This fixes 2/5 failing slow tests in #6094 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6099/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6099",
"html_url": "https://github.com/huggingface/transformers/pull/6099",
"diff_url": "https://github.com/huggingface/transformers/pull/6099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6099.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6098/comments | https://api.github.com/repos/huggingface/transformers/issues/6098/events | https://github.com/huggingface/transformers/pull/6098 | 667,213,685 | MDExOlB1bGxSZXF1ZXN0NDU3OTI0MDI2 | 6,098 | Fix #6096: MBartTokenizer's mask token | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6098?src=pr&el=h1) Report\n> Merging [#6098](https://codecov.io/gh/huggingface/transformers/pull/6098?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/dafa296c952c08fca3686f1cf8f3a8f8eb116744&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | add 3 regression tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6098",
"html_url": "https://github.com/huggingface/transformers/pull/6098",
"diff_url": "https://github.com/huggingface/transformers/pull/6098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6098.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6097/comments | https://api.github.com/repos/huggingface/transformers/issues/6097/events | https://github.com/huggingface/transformers/pull/6097 | 667,207,402 | MDExOlB1bGxSZXF1ZXN0NDU3OTE4OTEx | 6,097 | Logs should not be hidden behind a logger.info | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6097?src=pr&el=h1) Report\n> Merging [#6097](https://codecov.io/gh/huggingface/transformers/pull/6097?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/dafa296c952c08fca3686f1cf8f3a8f8eb116744&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | MEMBER | null | Currently the logs that are printed when the global step is a multiple of the `logging_steps` are printed using a `logger.info`. In the case where a user did not set its logging level to INFO, these logs are not shown, even if the user has set a `logging_steps > 0`. This PR fixes that by putting back a print statement.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6097/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6097",
"html_url": "https://github.com/huggingface/transformers/pull/6097",
"diff_url": "https://github.com/huggingface/transformers/pull/6097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6097.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6096/comments | https://api.github.com/repos/huggingface/transformers/issues/6096/events | https://github.com/huggingface/transformers/issues/6096 | 667,117,856 | MDU6SXNzdWU2NjcxMTc4NTY= | 6,096 | mBART: incorrect <mask> token id | {
"login": "OlegPlatonov",
"id": 32016523,
"node_id": "MDQ6VXNlcjMyMDE2NTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/32016523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OlegPlatonov",
"html_url": "https://github.com/OlegPlatonov",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"great catch and incredibly detailed description, I'll fix this one! Thanks!"
] | 1,595 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using: mBART
## To reproduce
```
from transformers import MBartTokenizer
tokenizer = MBartTokenizer.from_pretrained('facebook/mbart-large-cc25')
print(tokenizer.convert_tokens_to_ids(['<mask>', 'ar_AR']))
```
The output for the above code is `[250001, 250001]` - two ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6096/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/6096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6095/comments | https://api.github.com/repos/huggingface/transformers/issues/6095/events | https://github.com/huggingface/transformers/pull/6095 | 667,104,170 | MDExOlB1bGxSZXF1ZXN0NDU3ODM0NjQz | 6,095 | Add BERTweet and PhoBERT | {
"login": "datquocnguyen",
"id": 2412555,
"node_id": "MDQ6VXNlcjI0MTI1NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2412555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datquocnguyen",
"html_url": "https://github.com/datquocnguyen",
"followers_url": "https://api.github.... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | I'd like to add BERTweet and PhoBERT to the huggingface's transformers library.
Users can now use these models directly from transformers. E.g:
tokenizer = BertweetTokenizer.from_pretrained("vinai/bertweet-base")
bertweet = BertweetModel.from_pretrained("vinai/bertweet-base") | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6095/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6095",
"html_url": "https://github.com/huggingface/transformers/pull/6095",
"diff_url": "https://github.com/huggingface/transformers/pull/6095.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6095.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6094/comments | https://api.github.com/repos/huggingface/transformers/issues/6094/events | https://github.com/huggingface/transformers/issues/6094 | 667,102,788 | MDU6SXNzdWU2NjcxMDI3ODg= | 6,094 | 5 Slow test failures | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"ALL FIXED YEEHAW"
] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | traceback: [here](https://github.com/huggingface/transformers/runs/916838508?check_suite_focus=true)
```bash
=========================== short test summary info ============================
FAILED tests/test_modeling_auto.py::AutoModelTest::test_model_for_pretraining_from_pretrained
FAILED tests/test_modeling_aut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6094/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6093/comments | https://api.github.com/repos/huggingface/transformers/issues/6093/events | https://github.com/huggingface/transformers/pull/6093 | 667,076,894 | MDExOlB1bGxSZXF1ZXN0NDU3ODEyMTI3 | 6,093 | Fix #6092 | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6093?src=pr&el=h1) Report\n> Merging [#6093](https://codecov.io/gh/huggingface/transformers/pull/6093?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/54f49af4aef2b19aaf00ffa400ff6c1e4292e9dd&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | COLLABORATOR | null | `BatchEncoding` are not instances of dictionaries so we need the separate test. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6093/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6093",
"html_url": "https://github.com/huggingface/transformers/pull/6093",
"diff_url": "https://github.com/huggingface/transformers/pull/6093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6093.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6092/comments | https://api.github.com/repos/huggingface/transformers/issues/6092/events | https://github.com/huggingface/transformers/issues/6092 | 667,061,417 | MDU6SXNzdWU2NjcwNjE0MTc= | 6,092 | i dont know what Tranier`s Dataset is. | {
"login": "Ted8000",
"id": 32102558,
"node_id": "MDQ6VXNlcjMyMTAyNTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/32102558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ted8000",
"html_url": "https://github.com/Ted8000",
"followers_url": "https://api.github.com/users/Ted800... | [] | closed | false | null | [] | [
"Can reproduce, it should be fixed by #6093. Thanks for flagging!"
] | 1,595 | 1,595 | 1,595 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6092/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6091/comments | https://api.github.com/repos/huggingface/transformers/issues/6091/events | https://github.com/huggingface/transformers/pull/6091 | 666,974,706 | MDExOlB1bGxSZXF1ZXN0NDU3NzI4MzEy | 6,091 | Fix local_files_only for TF | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Thanks, @LysandreJik . I manually applied this fix to a local installation of `transformers==3.3.0` and can confirm that this fix reso... | 1,595 | 1,608 | 1,601 | MEMBER | null | The `local_files_only` was not working for TF. The flag is to be used as such:
```py
from transformers import TFBertModel
model = TFBertModel.from_pretrained('bert-base-cased', local_files_only=True)
```
Setting it to `True` for any TF model would result in the following error:
```
Traceback (most recent call ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6091/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6091",
"html_url": "https://github.com/huggingface/transformers/pull/6091",
"diff_url": "https://github.com/huggingface/transformers/pull/6091.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6091.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6090/comments | https://api.github.com/repos/huggingface/transformers/issues/6090/events | https://github.com/huggingface/transformers/issues/6090 | 666,959,429 | MDU6SXNzdWU2NjY5NTk0Mjk= | 6,090 | customize special tokens | {
"login": "XiaoLiuAI",
"id": 1553482,
"node_id": "MDQ6VXNlcjE1NTM0ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1553482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XiaoLiuAI",
"html_url": "https://github.com/XiaoLiuAI",
"followers_url": "https://api.github.com/users/Xi... | [] | closed | false | null | [] | [
"For special tokens that don't correspond to one of the attributes of tokenizers, you should pass them to `add_special_tokens` with the `additional_special_tokens` keyword arguments:\r\n```\r\ntokenizer.add_special_tokens(additional_special_tokens = ['TK1', 'TK2' ...])\r\n```\r\nYou can then change `tokenizer.addit... | 1,595 | 1,596 | 1,596 | NONE | null | # ❓ Questions & Help
## Details
I am trying to add more special tokens in order to train new language models without modifying the model architecture but simply modifying the input data. For example, adding more separators to involving more complex structure information.
Is there a simple, clear, consistent w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6089/comments | https://api.github.com/repos/huggingface/transformers/issues/6089/events | https://github.com/huggingface/transformers/pull/6089 | 666,914,024 | MDExOlB1bGxSZXF1ZXN0NDU3Njc3MjQ4 | 6,089 | Added capability to quantize a model while exporting through ONNX. | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"cc: @tianleiwu @yufenglee from Microsoft",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6089?src=pr&el=h1) Report\n> Merging [#6089](https://codecov.io/gh/huggingface/transformers/pull/6089?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/640550fc7a1e311915e... | 1,595 | 1,596 | 1,596 | MEMBER | null | Add quantization support as part of our collaboration with ONNX team.
Quantization is available through the new method `quantize` which takes the path to the initial ONNX model and operate the conversion.
From a CLI point of view, adding `--quantize` allows to seamlessly export the quantized model.
Signed-off-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6089/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6089",
"html_url": "https://github.com/huggingface/transformers/pull/6089",
"diff_url": "https://github.com/huggingface/transformers/pull/6089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6089.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6088/comments | https://api.github.com/repos/huggingface/transformers/issues/6088/events | https://github.com/huggingface/transformers/issues/6088 | 666,907,886 | MDU6SXNzdWU2NjY5MDc4ODY= | 6,088 | Finetuning German BERT for QA on biomedical domain | {
"login": "sbhttchryy",
"id": 57942901,
"node_id": "MDQ6VXNlcjU3OTQyOTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/57942901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbhttchryy",
"html_url": "https://github.com/sbhttchryy",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,595 | 1,614 | 1,614 | NONE | null | Hello there and thank you very much for this wonderful work. I am relatively new to this field, so please bear with my amateur question. I want to perform question-answering on a German Biomedical text. From what I understand up to now, I need to fine-tune German BERT on biomedical QA datasets. Is there any script/pipe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6087/comments | https://api.github.com/repos/huggingface/transformers/issues/6087/events | https://github.com/huggingface/transformers/pull/6087 | 666,874,780 | MDExOlB1bGxSZXF1ZXN0NDU3NjQ0MTE1 | 6,087 | fixed typos, added example question. | {
"login": "psorianom",
"id": 1085210,
"node_id": "MDQ6VXNlcjEwODUyMTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1085210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psorianom",
"html_url": "https://github.com/psorianom",
"followers_url": "https://api.github.com/users/ps... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Added a new example question for the widget. Fixed some typos in the description. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6087/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6087",
"html_url": "https://github.com/huggingface/transformers/pull/6087",
"diff_url": "https://github.com/huggingface/transformers/pull/6087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6087.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6086/comments | https://api.github.com/repos/huggingface/transformers/issues/6086/events | https://github.com/huggingface/transformers/pull/6086 | 666,831,108 | MDExOlB1bGxSZXF1ZXN0NDU3NjA3NDA5 | 6,086 | Replace mecab-python3 with fugashi for Japanese tokenization | {
"login": "polm",
"id": 286278,
"node_id": "MDQ6VXNlcjI4NjI3OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/286278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/polm",
"html_url": "https://github.com/polm",
"followers_url": "https://api.github.com/users/polm/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6086?src=pr&el=h1) Report\n> Merging [#6086](https://codecov.io/gh/huggingface/transformers/pull/6086?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/91cb95461e438dc57555c4f57f8ce95a56328036&el=desc) will **increase... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | This replaces mecab-python3 with fugashi for Japanese tokenization. I am
the maintainer of both projects.
Both projects are MeCab wrappers, so the underlying C++ code is the
same. fugashi is the newer wrapper and doesn't use SWIG, so for basic
use of the MeCab API it's easier to use.
This code insures the use ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6086/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6086/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6086",
"html_url": "https://github.com/huggingface/transformers/pull/6086",
"diff_url": "https://github.com/huggingface/transformers/pull/6086.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6086.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6085/comments | https://api.github.com/repos/huggingface/transformers/issues/6085/events | https://github.com/huggingface/transformers/issues/6085 | 666,804,814 | MDU6SXNzdWU2NjY4MDQ4MTQ= | 6,085 | tf.saved_model.save is not worked on TFElectra* series. | {
"login": "seopbo",
"id": 19755607,
"node_id": "MDQ6VXNlcjE5NzU1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/19755607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seopbo",
"html_url": "https://github.com/seopbo",
"followers_url": "https://api.github.com/users/seopbo/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using TFElectraModel:
Language I am using the model on English:
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GLUE/SQUaD task... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6085/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6084/comments | https://api.github.com/repos/huggingface/transformers/issues/6084/events | https://github.com/huggingface/transformers/issues/6084 | 666,800,563 | MDU6SXNzdWU2NjY4MDA1NjM= | 6,084 | ValueError raises when load Flaubert from pre-train with Transformers >=3.0.0 | {
"login": "wzmJimmy",
"id": 35741367,
"node_id": "MDQ6VXNlcjM1NzQxMzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/35741367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wzmJimmy",
"html_url": "https://github.com/wzmJimmy",
"followers_url": "https://api.github.com/users/wzm... | [] | closed | false | null | [] | [
"Hi @wzmJimmy,\r\nDid you get any solution for this problem? I am also facing the same problem. Please let me know if you are able to make it run. Thanks.",
"Well, my solution is inside the expected behavior part. Downgrade transformers to version lower than 3.0.0 and it just works. I post the bug report just to ... | 1,595 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): **Flaubert**
Language I am using the model on (English, Chinese ...): **French**
The problem arises when using: my own modified scripts
## To reproduce
**Just load Flaubert model with from_pretrained:**
```
MODEL = "flaubert/flaubert_large_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6083/comments | https://api.github.com/repos/huggingface/transformers/issues/6083/events | https://github.com/huggingface/transformers/issues/6083 | 666,718,466 | MDU6SXNzdWU2NjY3MTg0NjY= | 6,083 | Error when using np.where() during squad tokenization | {
"login": "Adawindcatcher",
"id": 15449292,
"node_id": "MDQ6VXNlcjE1NDQ5Mjky",
"avatar_url": "https://avatars.githubusercontent.com/u/15449292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Adawindcatcher",
"html_url": "https://github.com/Adawindcatcher",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):Bert
Language I am using the model on (English, Chinese ...):English
The problem arises when using:
* [x] the official example scripts: squad1.1
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
* [x] an officia... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6083/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6082/comments | https://api.github.com/repos/huggingface/transformers/issues/6082/events | https://github.com/huggingface/transformers/issues/6082 | 666,701,623 | MDU6SXNzdWU2NjY3MDE2MjM= | 6,082 | 🐛 Inconsistencies between BartTokenizer and BartTokenizerFast | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"Seems like this issue is for all fast tokenizers, this [line](https://github.com/huggingface/transformers/blob/master/src/transformers/tokenization_utils_fast.py#L312) directly raises that error when kwargs are passed",
"Can I close? Seems like your workaround is solid @Colanim ",
"If it's the expected behavio... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | # 🐛 Bug
## Description
It's possible to use the argument `add_prefix_space` with `BartTokenizer` :
```
from transformers import BartTokenizer
t = BartTokenizer.from_pretrained("facebook/bart-large")
x = t("This is an example.", add_prefix_space=True)
```
But when doing the same with `BartTokenizerFas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6082/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6081/comments | https://api.github.com/repos/huggingface/transformers/issues/6081/events | https://github.com/huggingface/transformers/pull/6081 | 666,672,237 | MDExOlB1bGxSZXF1ZXN0NDU3NDc1MjIw | 6,081 | [s2s] Delete useless method, log tokens_per_batch | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6081?src=pr&el=h1) Report\n> Merging [#6081](https://codecov.io/gh/huggingface/transformers/pull/6081?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/dc4755c6d59238ffea4843d06610a29c522257fb&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | - trimming is already performed in `collate_fn`, there is no need to call it again.
- val_summ_len can be called gen_len so that it makes sense for a translation model.
- new metric: tpb = how many non pad tokens per batch. Useful for debugging/verifying speedups.
cc @patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6081/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6081",
"html_url": "https://github.com/huggingface/transformers/pull/6081",
"diff_url": "https://github.com/huggingface/transformers/pull/6081.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6081.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6080/comments | https://api.github.com/repos/huggingface/transformers/issues/6080/events | https://github.com/huggingface/transformers/issues/6080 | 666,660,613 | MDU6SXNzdWU2NjY2NjA2MTM= | 6,080 | Proposal: seq2seq tokenizers expose a prepare_seq2seq_batch method | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Motivation:\r\nless important: only call tokenizer once\r\nmore important: the best time to think about special tokens is when you are writing the tokenizer, not when you are designing your training loop. We've had a lot of bugs recently involving special tokens in seq2seq training loops that likely could have bee... | 1,595 | 1,646 | 1,598 | CONTRIBUTOR | null | This has been useful in `MarianTokenizer.prepare_translation_batch` and `MBartTokenizer.prepare_translation_batch`.
and would also be a useful addition for `T5Tokenizer`, and `BartTokenizer`.
@LysandreJik mentioned this in a PR so I wanted to see what others thought before starting work.
@patrickvonplaten @sgugge... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6080/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6079/comments | https://api.github.com/repos/huggingface/transformers/issues/6079/events | https://github.com/huggingface/transformers/pull/6079 | 666,659,666 | MDExOlB1bGxSZXF1ZXN0NDU3NDY0OTAz | 6,079 | [s2s] Don't mention packed data in README | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6079/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6079",
"html_url": "https://github.com/huggingface/transformers/pull/6079",
"diff_url": "https://github.com/huggingface/transformers/pull/6079.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6079.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6078/comments | https://api.github.com/repos/huggingface/transformers/issues/6078/events | https://github.com/huggingface/transformers/issues/6078 | 666,646,176 | MDU6SXNzdWU2NjY2NDYxNzY= | 6,078 | model.roberta.from_pretrained() fails to change the parameters | {
"login": "wyin-Salesforce",
"id": 53835505,
"node_id": "MDQ6VXNlcjUzODM1NTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/53835505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wyin-Salesforce",
"html_url": "https://github.com/wyin-Salesforce",
"followers_url": "https://api... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6078/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6077/comments | https://api.github.com/repos/huggingface/transformers/issues/6077/events | https://github.com/huggingface/transformers/pull/6077 | 666,622,544 | MDExOlB1bGxSZXF1ZXN0NDU3NDMzODQy | 6,077 | [s2s] dont document packing because it hurts performance | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6077/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6077",
"html_url": "https://github.com/huggingface/transformers/pull/6077",
"diff_url": "https://github.com/huggingface/transformers/pull/6077.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6077.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6076/comments | https://api.github.com/repos/huggingface/transformers/issues/6076/events | https://github.com/huggingface/transformers/pull/6076 | 666,614,082 | MDExOlB1bGxSZXF1ZXN0NDU3NDI2Nzgy | 6,076 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6076?src=pr&el=h1) Report\n> Merging [#6076](https://codecov.io/gh/huggingface/transformers/pull/6076?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9d0d3a6645384e236c55d311f3f8b7dd67d58562&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6076",
"html_url": "https://github.com/huggingface/transformers/pull/6076",
"diff_url": "https://github.com/huggingface/transformers/pull/6076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6076.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6075/comments | https://api.github.com/repos/huggingface/transformers/issues/6075/events | https://github.com/huggingface/transformers/pull/6075 | 666,612,864 | MDExOlB1bGxSZXF1ZXN0NDU3NDI1NzY3 | 6,075 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6075?src=pr&el=h1) Report\n> Merging [#6075](https://codecov.io/gh/huggingface/transformers/pull/6075?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9d0d3a6645384e236c55d311f3f8b7dd67d58562&el=desc) will **not chan... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6075/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6075",
"html_url": "https://github.com/huggingface/transformers/pull/6075",
"diff_url": "https://github.com/huggingface/transformers/pull/6075.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6075.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6074/comments | https://api.github.com/repos/huggingface/transformers/issues/6074/events | https://github.com/huggingface/transformers/issues/6074 | 666,612,332 | MDU6SXNzdWU2NjY2MTIzMzI= | 6,074 | Cannot use the RobertaForMultipleChoice model for processing multiple choice questions with 4 options | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Good question. `xxxForMultipleChoice` models are actually a bit tricky. The way you should provide the data to the tokenizer is as foll... | 1,595 | 1,602 | 1,601 | NONE | null | Hello,
When I try to use the `RobertaForMultipleChoice` pretrained model with the code below, it generates an error:
```python
from transformers import RobertaTokenizer, RobertaForMultipleChoice
import torch
tokenizer = RobertaTokenizer.from_pretrained('roberta-base')
model = RobertaForMultipleChoice.from_pre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6074/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/6074/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6073/comments | https://api.github.com/repos/huggingface/transformers/issues/6073/events | https://github.com/huggingface/transformers/pull/6073 | 666,611,648 | MDExOlB1bGxSZXF1ZXN0NDU3NDI0Nzc2 | 6,073 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"I forgot to add the ```widget``` keyword"
] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6073",
"html_url": "https://github.com/huggingface/transformers/pull/6073",
"diff_url": "https://github.com/huggingface/transformers/pull/6073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6073.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/6072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6072/comments | https://api.github.com/repos/huggingface/transformers/issues/6072/events | https://github.com/huggingface/transformers/issues/6072 | 666,597,837 | MDU6SXNzdWU2NjY1OTc4Mzc= | 6,072 | Error in the RobertaTokenizer? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | NONE | null | Hello,
I think I spotted an error in the `RobertaTokenizer` (`AutoTokenizer`).
I tested the `tokenizer` function by using the code below:
```python
import torch
from torch.nn import CrossEntropyLoss
from matplotlib import pyplot as plt
from transformers import RobertaTokenizer, RobertaForMultipleChoice, A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6072/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6071/comments | https://api.github.com/repos/huggingface/transformers/issues/6071/events | https://github.com/huggingface/transformers/issues/6071 | 666,590,555 | MDU6SXNzdWU2NjY1OTA1NTU= | 6,071 | Loading and running on CPU, the RoBERTa model traced/saved on GPU. | {
"login": "HamidShojanazeri",
"id": 9162336,
"node_id": "MDQ6VXNlcjkxNjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HamidShojanazeri",
"html_url": "https://github.com/HamidShojanazeri",
"followers_url": "https://ap... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"@mfuntowicz I was wondering if there is any update/ work around or a PR in progress to solve this issue. Thanks."
] | 1,595 | 1,602 | 1,601 | CONTRIBUTOR | null | # ❓ Questions & Help
## Details
I have installed the transformers from source and I am trying to trace/save roberta_base model for sequence classification on GPU and load it on CPU, similar to the issue [#5664](https://github.com/huggingface/transformers/issues/5664) that was addressed [PR #5773](https://github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6070/comments | https://api.github.com/repos/huggingface/transformers/issues/6070/events | https://github.com/huggingface/transformers/issues/6070 | 666,575,860 | MDU6SXNzdWU2NjY1NzU4NjA= | 6,070 | lightning_base: new clarg: lr_scheduler=polynomial_decay | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"@stas00 as discussed on slack",
"got it",
"PR for stage 1 to support the existing schedulers: https://github.com/huggingface/transformers/pull/6232\r\nonce this is happy and merged, I will work on importing new ones.",
"poly: https://github.com/huggingface/transformers/pull/6361",
"@sshleifer, so now that ... | 1,595 | 1,597 | 1,597 | CONTRIBUTOR | null | lr_scheduler should be a string with many options, including polynomial_decay, like this [command](https://github.com/pytorch/fairseq/blob/master/examples/mbart/README.md#finetune-on-en-ro) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6069/comments | https://api.github.com/repos/huggingface/transformers/issues/6069/events | https://github.com/huggingface/transformers/issues/6069 | 666,574,858 | MDU6SXNzdWU2NjY1NzQ4NTg= | 6,069 | lightning_base: new clarg: adam_betas | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | CONTRIBUTOR | null | should be able to pass `adam_betas` through command line like this [command](https://github.com/pytorch/fairseq/blob/master/examples/mbart/README.md#finetune-on-en-ro)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6069/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6068/comments | https://api.github.com/repos/huggingface/transformers/issues/6068/events | https://github.com/huggingface/transformers/pull/6068 | 666,570,323 | MDExOlB1bGxSZXF1ZXN0NDU3MzkwMjc1 | 6,068 | link to README.md | {
"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,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6068",
"html_url": "https://github.com/huggingface/transformers/pull/6068",
"diff_url": "https://github.com/huggingface/transformers/pull/6068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6068.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6067/comments | https://api.github.com/repos/huggingface/transformers/issues/6067/events | https://github.com/huggingface/transformers/pull/6067 | 666,567,551 | MDExOlB1bGxSZXF1ZXN0NDU3Mzg3OTM3 | 6,067 | fix typo | {
"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 | [] | [
"Thanks for catching the typo! Alas, I think this one has already been fixed by recent commits."
] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | wrong filename passed to `tar` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6067",
"html_url": "https://github.com/huggingface/transformers/pull/6067",
"diff_url": "https://github.com/huggingface/transformers/pull/6067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6067.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6066/comments | https://api.github.com/repos/huggingface/transformers/issues/6066/events | https://github.com/huggingface/transformers/pull/6066 | 666,488,191 | MDExOlB1bGxSZXF1ZXN0NDU3MzIyMzgz | 6,066 | Add fire to setup.cfg to make isort happy | {
"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,595 | 1,595 | 1,595 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6066/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6066",
"html_url": "https://github.com/huggingface/transformers/pull/6066",
"diff_url": "https://github.com/huggingface/transformers/pull/6066.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6066.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6065/comments | https://api.github.com/repos/huggingface/transformers/issues/6065/events | https://github.com/huggingface/transformers/pull/6065 | 666,451,739 | MDExOlB1bGxSZXF1ZXN0NDU3MjkzMzU0 | 6,065 | Make all data collators accept dict | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6065?src=pr&el=h1) Report\n> Merging [#6065](https://codecov.io/gh/huggingface/transformers/pull/6065?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/11792d7826854979bb532b6da09bc3796b09ea6a&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | COLLABORATOR | null | + one file changed by make style for some reason.
I'm only keeping the inputs, for more evolved data collation, I think it's best to let the user write their own subclass. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6065",
"html_url": "https://github.com/huggingface/transformers/pull/6065",
"diff_url": "https://github.com/huggingface/transformers/pull/6065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6065.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6064/comments | https://api.github.com/repos/huggingface/transformers/issues/6064/events | https://github.com/huggingface/transformers/pull/6064 | 666,417,381 | MDExOlB1bGxSZXF1ZXN0NDU3MjY1Mjk3 | 6,064 | [Performance improvement] "Bad tokens ids" optimization | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6064?src=pr&el=h1) Report\n> Merging [#6064](https://codecov.io/gh/huggingface/transformers/pull/6064?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8a8ae27617e3c4dafb34bcbbaadf4ceee28583bd&el=desc) will **decrease... | 1,595 | 1,597 | 1,597 | CONTRIBUTOR | null | Running some benchmarks I noticed that the generation pipeline was varying quite a bit in terms of execution time. Especially the banned token masking seems to be fairly expensive (I ran some experiments where up to 30% of the time for an entire generation process was spent in this step - which seems too high consideri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6064/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/6064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6064",
"html_url": "https://github.com/huggingface/transformers/pull/6064",
"diff_url": "https://github.com/huggingface/transformers/pull/6064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6064.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6063/comments | https://api.github.com/repos/huggingface/transformers/issues/6063/events | https://github.com/huggingface/transformers/pull/6063 | 666,414,016 | MDExOlB1bGxSZXF1ZXN0NDU3MjYyNTE2 | 6,063 | [fix] no warning for position_ids buffer | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6063?src=pr&el=h1) Report\n> Merging [#6063](https://codecov.io/gh/huggingface/transformers/pull/6063?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c8bdf7f4ecd73680cb0751d9efc8fa3a992c2c2d&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Fixes [#6044](https://github.com/huggingface/transformers/issues/6044)
The failing tests check that there are no missing keys for bart, but morgan's recent change started registering a position_ids buffer in `__init__` for four models, with more expected.
Since we do not expect weights to be saved for position_id... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6063",
"html_url": "https://github.com/huggingface/transformers/pull/6063",
"diff_url": "https://github.com/huggingface/transformers/pull/6063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6063.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6062/comments | https://api.github.com/repos/huggingface/transformers/issues/6062/events | https://github.com/huggingface/transformers/pull/6062 | 666,393,830 | MDExOlB1bGxSZXF1ZXN0NDU3MjQ1ODgw | 6,062 | Add new AutoModel classes in pipeline | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6062?src=pr&el=h1) Report\n> Merging [#6062](https://codecov.io/gh/huggingface/transformers/pull/6062?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f7f03b22dc15543317635770f312adf4513303d0&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | MEMBER | null | This PR removes the about to be deprecated `AutModelWithLMHead` class and uses the new `AutoModelForSeq2SeqLM`, `AutoModelForCausalLM` and `AutoModelForMaskedLM` for `translation`, `text-generation` and `fill-mask` pipelines respectively.
Regrading issue #6060
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6062",
"html_url": "https://github.com/huggingface/transformers/pull/6062",
"diff_url": "https://github.com/huggingface/transformers/pull/6062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6062.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6061/comments | https://api.github.com/repos/huggingface/transformers/issues/6061/events | https://github.com/huggingface/transformers/pull/6061 | 666,391,335 | MDExOlB1bGxSZXF1ZXN0NDU3MjQzODM1 | 6,061 | Pipelines should use tuples instead of namedtuples | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | MEMBER | null | Fix https://github.com/huggingface/transformers/issues/5713
The ONNX conversion cannot handle other objects than tuples, lists and variables. Since calling the conversion script via the command line uses a pipeline, and pipelines cannot be configured with specific model kwargs, the change is so that pipelines manage... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6061/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6061",
"html_url": "https://github.com/huggingface/transformers/pull/6061",
"diff_url": "https://github.com/huggingface/transformers/pull/6061.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6061.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6060/comments | https://api.github.com/repos/huggingface/transformers/issues/6060/events | https://github.com/huggingface/transformers/issues/6060 | 666,349,698 | MDU6SXNzdWU2NjYzNDk2OTg= | 6,060 | new AutoModel classes in pipeline | {
"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,595 | 1,595 | 1,595 | MEMBER | null | The `translation`, `text-generation` and `fill-mask` pipelines still use the `AutoModelWithLMHead` class but from the warning it seems that it's going to be deprecated. Is there any specific reason for this or can we use the new `AutoModelForSeq2SeqLM` for translation, `AutoModelCausalLM` for text-generation and `AutoM... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6060/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6059/comments | https://api.github.com/repos/huggingface/transformers/issues/6059/events | https://github.com/huggingface/transformers/issues/6059 | 666,342,225 | MDU6SXNzdWU2NjYzNDIyMjU= | 6,059 | Errors while using TFAutoModelForMultipleChoice and TFTrainer on winogrande dataset | {
"login": "QixinLi",
"id": 25460447,
"node_id": "MDQ6VXNlcjI1NDYwNDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25460447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QixinLi",
"html_url": "https://github.com/QixinLi",
"followers_url": "https://api.github.com/users/QixinL... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | NONE | null | # ❓ Questions & Help
I'm using TFAutoModelForMultipleChoice and TFTrainer to train on winogrande dataset.
The dataset is from [here](https://leaderboard.allenai.org/winogrande/submissions/get-started)
And I got an error while I starting training.
```python
Traceback (most recent call last):
File "run_wsc.py",... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6059/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6058/comments | https://api.github.com/repos/huggingface/transformers/issues/6058/events | https://github.com/huggingface/transformers/pull/6058 | 666,305,702 | MDExOlB1bGxSZXF1ZXN0NDU3MTczMDUz | 6,058 | Create README.md | {
"login": "Drisya-Ponmari",
"id": 42796375,
"node_id": "MDQ6VXNlcjQyNzk2Mzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/42796375?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Drisya-Ponmari",
"html_url": "https://github.com/Drisya-Ponmari",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6058/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6058",
"html_url": "https://github.com/huggingface/transformers/pull/6058",
"diff_url": "https://github.com/huggingface/transformers/pull/6058.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6058.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/6057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6057/comments | https://api.github.com/repos/huggingface/transformers/issues/6057/events | https://github.com/huggingface/transformers/issues/6057 | 666,191,254 | MDU6SXNzdWU2NjYxOTEyNTQ= | 6,057 | Transformer layers + Functional API is failed but subclass is successful | {
"login": "Douboo",
"id": 32014271,
"node_id": "MDQ6VXNlcjMyMDE0Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/32014271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Douboo",
"html_url": "https://github.com/Douboo",
"followers_url": "https://api.github.com/users/Douboo/fo... | [] | closed | false | null | [] | [
"Don't use transformers in tensorflow when use functional API and use pre-training vector. Help!!!",
"Might be of interest to @jplu ",
"> Might be of interest to @jplu\r\n\r\nThanks! Finally someone replied to me. I am a beginner.",
"Hello!\r\n\r\nYou are not creating you input properly, `inputs` cannot be `N... | 1,595 | 1,600 | 1,600 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert):
The tasks I am working on is:
* [ ] an official GLUE/SQUaD task: (give the name)
* [x] my own task or dataset: (give details below)
## To reproduce
**successful**
```python
# define model via subclassing
class MyModel(tf.keras.Model):
def __init__(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6057/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6056/comments | https://api.github.com/repos/huggingface/transformers/issues/6056/events | https://github.com/huggingface/transformers/pull/6056 | 666,151,027 | MDExOlB1bGxSZXF1ZXN0NDU3MDQ0NDE0 | 6,056 | Empty assert hunt | {
"login": "TevenLeScao",
"id": 26709476,
"node_id": "MDQ6VXNlcjI2NzA5NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TevenLeScao",
"html_url": "https://github.com/TevenLeScao",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6056?src=pr&el=h1) Report\n> Merging [#6056](https://codecov.io/gh/huggingface/transformers/pull/6056?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/12f14710cea72a2104ff698762a8fc68a5dc0a0b&el=desc) will **decrease... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | Empty asserts are bad for debugging. I tried to remove them all and to add helpful Pytorch-style messages with the shapes of the corresponding objects when they were mismatched-lengths checks + the file paths when they were file-not-found checks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6056/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6056",
"html_url": "https://github.com/huggingface/transformers/pull/6056",
"diff_url": "https://github.com/huggingface/transformers/pull/6056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6056.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6055/comments | https://api.github.com/repos/huggingface/transformers/issues/6055/events | https://github.com/huggingface/transformers/pull/6055 | 666,139,248 | MDExOlB1bGxSZXF1ZXN0NDU3MDM0NjEw | 6,055 | add another e.g. to avoid confusion | {
"login": "orena1",
"id": 8983713,
"node_id": "MDQ6VXNlcjg5ODM3MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8983713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orena1",
"html_url": "https://github.com/orena1",
"followers_url": "https://api.github.com/users/orena1/foll... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6055?src=pr&el=h1) Report\n> Merging [#6055](https://codecov.io/gh/huggingface/transformers/pull/6055?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b9b11795cfdce7bb8dd8a01ec5efa602589a78b2&el=desc) will **increase... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6055/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6055",
"html_url": "https://github.com/huggingface/transformers/pull/6055",
"diff_url": "https://github.com/huggingface/transformers/pull/6055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6055.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6054/comments | https://api.github.com/repos/huggingface/transformers/issues/6054/events | https://github.com/huggingface/transformers/issues/6054 | 666,112,127 | MDU6SXNzdWU2NjYxMTIxMjc= | 6,054 | Errors while creating a subclass of BertForTokenClassification in run_ner.py file | {
"login": "vikas95",
"id": 25675079,
"node_id": "MDQ6VXNlcjI1Njc1MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25675079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikas95",
"html_url": "https://github.com/vikas95",
"followers_url": "https://api.github.com/users/vikas9... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,601 | 1,601 | NONE | null |
Question 1) I want to skip calling AutoModelForTokenClassification ( https://github.com/huggingface/transformers/blob/f7f03b22dc15543317635770f312adf4513303d0/examples/token-classification/run_ner.py#L158 ) and directly use BertForTokenClassification. When I am directly using BertForTokenClassification in run_ner.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6053/comments | https://api.github.com/repos/huggingface/transformers/issues/6053/events | https://github.com/huggingface/transformers/issues/6053 | 666,110,069 | MDU6SXNzdWU2NjYxMTAwNjk= | 6,053 | Errors when creating a subclass of "BertForTokenClassification" | {
"login": "vikas95",
"id": 25675079,
"node_id": "MDQ6VXNlcjI1Njc1MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25675079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikas95",
"html_url": "https://github.com/vikas95",
"followers_url": "https://api.github.com/users/vikas9... | [] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6053/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/6052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6052/comments | https://api.github.com/repos/huggingface/transformers/issues/6052/events | https://github.com/huggingface/transformers/issues/6052 | 665,980,923 | MDU6SXNzdWU2NjU5ODA5MjM= | 6,052 | add gpt2 padding for tflite | {
"login": "gyin94",
"id": 67664443,
"node_id": "MDQ6VXNlcjY3NjY0NDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/67664443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gyin94",
"html_url": "https://github.com/gyin94",
"followers_url": "https://api.github.com/users/gyin94/fo... | [] | closed | false | null | [] | [
"the latest TF2.3 and tflite can support dynamic input now. Close this."
] | 1,595 | 1,596 | 1,596 | NONE | null | # ❓ Questions & Help
Since tflite requires a fixed input length, how can we correctly add padding for gpt2 input with a fix length so that it won't affect the final result?
```
import tensorflow as tf
from transformers import *
gpt2_model = TFGPT2LMHeadModel.from_pretrained('distilgpt2')
class WrapModel(tf.k... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6051/comments | https://api.github.com/repos/huggingface/transformers/issues/6051/events | https://github.com/huggingface/transformers/issues/6051 | 665,947,785 | MDU6SXNzdWU2NjU5NDc3ODU= | 6,051 | examples/seq2seq: add a dataloader that supports dynamic batch size | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [] | 1,595 | 1,650 | 1,600 | CONTRIBUTOR | null | Should follow the logic of `load_langpair_dataset` in fairseq, roughly.
Batches should be created such that they include N(default 1024) tokens of source documents, however many examples that requires. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6051/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6050/comments | https://api.github.com/repos/huggingface/transformers/issues/6050/events | https://github.com/huggingface/transformers/issues/6050 | 665,946,711 | MDU6SXNzdWU2NjU5NDY3MTE= | 6,050 | CI: run tests against torch=1.6 | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1834... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"we just did!"
] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Through github or circleci.
If github actions:
copy `.github/self-scheduled.yml` to `.github/torch_future.yml` and modify the install steps. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6049/comments | https://api.github.com/repos/huggingface/transformers/issues/6049/events | https://github.com/huggingface/transformers/issues/6049 | 665,946,280 | MDU6SXNzdWU2NjU5NDYyODA= | 6,049 | examples/seq2seq/test_bash_script.py :: actually learn something | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1834... | 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... | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"This is still an issue :)",
"This command runs in 3 mins (without including downloads)\r\n\r\n```bash\r\n# export WANDB_PROJECT=dmar\... | 1,595 | 1,604 | 1,604 | CONTRIBUTOR | null | At the moment validation bleu barely gets above zero in the tests, so they don't really prove much about our code.
we could use a larger model like sshleifer/student_marian_6_3, and more data, and train for 10 minutes . This would allows us to test whether changing default parameters/batch techniques obviously degra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6048/comments | https://api.github.com/repos/huggingface/transformers/issues/6048/events | https://github.com/huggingface/transformers/issues/6048 | 665,945,615 | MDU6SXNzdWU2NjU5NDU2MTU= | 6,048 | examples/seq2seq/test_bash_script.py covers summarization | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1314... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Hey @sshleifer, I would like to take this issue, if there no objection",
"Absolutely!\r\n",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,602 | 1,602 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6048/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/6047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6047/comments | https://api.github.com/repos/huggingface/transformers/issues/6047/events | https://github.com/huggingface/transformers/issues/6047 | 665,941,613 | MDU6SXNzdWU2NjU5NDE2MTM= | 6,047 | Feed to forward new parameters as computed manually by update rule | {
"login": "meryemmhamdi1",
"id": 11432288,
"node_id": "MDQ6VXNlcjExNDMyMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/11432288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meryemmhamdi1",
"html_url": "https://github.com/meryemmhamdi1",
"followers_url": "https://api.githu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,595 | 1,602 | 1,602 | NONE | null | Hi,
I would like to update the parameters of BertModel manually while training without using automatic optimizer to do it. I am trying meta-learning on BertModel and if I use automatic optimization on both inner and outer loops I get in-place operation errors. I also tried deepcopying but I cannot use deepcopy with ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6046/comments | https://api.github.com/repos/huggingface/transformers/issues/6046/events | https://github.com/huggingface/transformers/issues/6046 | 665,880,077 | MDU6SXNzdWU2NjU4ODAwNzc= | 6,046 | is_pretokenized seems to work incorrectly | {
"login": "Zhylkaaa",
"id": 18054828,
"node_id": "MDQ6VXNlcjE4MDU0ODI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18054828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhylkaaa",
"html_url": "https://github.com/Zhylkaaa",
"followers_url": "https://api.github.com/users/Zhy... | [] | closed | false | null | [] | [
"We face a similar issue with the distilbert tokenizer.\r\n\r\n```\r\nfrom transformers import AutoTokenizer\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"distilbert-base-german-cased\")\r\ntokens = ['1980', 'kam', 'der', 'Crow', '##n', 'von', 'Toy', '##ota']\r\nresult = tokenizer.encode_plus(text=tokens,\r\n ... | 1,595 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): roberta
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
I use `RobertaTokenizerFast` on p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6046/reactions",
"total_count": 4,
"+1": 3,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6046/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6045/comments | https://api.github.com/repos/huggingface/transformers/issues/6045/events | https://github.com/huggingface/transformers/issues/6045 | 665,862,946 | MDU6SXNzdWU2NjU4NjI5NDY= | 6,045 | Test BART's memory consumption | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1834... | 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 , this might be up your alley!",
"Excellent, will work on that. \r\n\r\nThank you, @sshleifer!",
"I will post my work in progress here, so others could chime in with ideas.\r\n\r\nThis notebook measures memory consumption and speed of `__init__`, a single fwd and fwd+bwd pass\r\nhttps://colab.research.... | 1,595 | 1,614 | null | CONTRIBUTOR | null | - this can run on GPU only and be marked `@slow`
- check how much memory bart is using at `__init__`
- assert that it doesn't use more than 110% of that.
- check how much memory bart uses on a single forward pass. (optionally test this in fp16).
- assert that it doesn't use more than 110% of that.
- check how much... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6045/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6044/comments | https://api.github.com/repos/huggingface/transformers/issues/6044/events | https://github.com/huggingface/transformers/issues/6044 | 665,858,769 | MDU6SXNzdWU2NjU4NTg3Njk= | 6,044 | slow from_pretrained failures | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I didn't add any ignore missing key flag to BERT, so that's weird.",
"Cool. I'll take this one.",
"It's `position_ids`, from Morgan's change. Will fix.\r\n```\r\nWARNING transformers.modeling_utils:modeling_utils.py:885 Some weights of BertModel were not initialized from the model checkpoint at bert-base-unca... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | github actions has [full traceback](https://github.com/huggingface/transformers/runs/910644181?check_suite_focus=true)
Failures are all like
```python
for model_name in BERT_PRETRAINED_MODEL_ARCHIVE_LIST[:1]:
config = BertConfig.from_pretrained(model_name)
self.assertIsNotNone(con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6043/comments | https://api.github.com/repos/huggingface/transformers/issues/6043/events | https://github.com/huggingface/transformers/pull/6043 | 665,823,881 | MDExOlB1bGxSZXF1ZXN0NDU2Nzc5NDQw | 6,043 | docs(pretrained_models): fix num parameters | {
"login": "amineabdaoui",
"id": 17952908,
"node_id": "MDQ6VXNlcjE3OTUyOTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/17952908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amineabdaoui",
"html_url": "https://github.com/amineabdaoui",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6043?src=pr&el=h1) Report\n> Merging [#6043](https://codecov.io/gh/huggingface/transformers/pull/6043?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7f65daa2e155ecdd8594e19862dac8b322ed3b73&el=desc) will **increase... | 1,595 | 1,601 | 1,601 | NONE | null | @julien-c This PR corrects the number of parameters of BERT based models.
Sometimes the difference between a given model and its pairs is important. For instance:
`bert-base-uncased` has **110M parameters** but `bert-base-multilingual-cased` has more than **178M parameters**, even if both models share the same arc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6043",
"html_url": "https://github.com/huggingface/transformers/pull/6043",
"diff_url": "https://github.com/huggingface/transformers/pull/6043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6043.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6042/comments | https://api.github.com/repos/huggingface/transformers/issues/6042/events | https://github.com/huggingface/transformers/pull/6042 | 665,817,109 | MDExOlB1bGxSZXF1ZXN0NDU2Nzc0OTk3 | 6,042 | Update README.md of my model | {
"login": "rdenadai",
"id": 917516,
"node_id": "MDQ6VXNlcjkxNzUxNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/917516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rdenadai",
"html_url": "https://github.com/rdenadai",
"followers_url": "https://api.github.com/users/rdenada... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6042",
"html_url": "https://github.com/huggingface/transformers/pull/6042",
"diff_url": "https://github.com/huggingface/transformers/pull/6042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6042.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6041/comments | https://api.github.com/repos/huggingface/transformers/issues/6041/events | https://github.com/huggingface/transformers/pull/6041 | 665,812,025 | MDExOlB1bGxSZXF1ZXN0NDU2NzcxODI4 | 6,041 | docs(pretrained_models): fix num parameters | {
"login": "amineabdaoui",
"id": 17952908,
"node_id": "MDQ6VXNlcjE3OTUyOTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/17952908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amineabdaoui",
"html_url": "https://github.com/amineabdaoui",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I created a new PR with the correct formatting: https://github.com/huggingface/transformers/pull/6043"
] | 1,595 | 1,595 | 1,595 | NONE | null | Correct the number of parameters of BERT based models.
Sometimes the difference is important. For instance:
`bert-base-uncased` has **110M parameters** but `bert-base-multilingual-cased` has more than **178M parameters**, even if both models share the same architecture (12-layer, 768-hidden, 12-heads).
The diffe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6041/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6041",
"html_url": "https://github.com/huggingface/transformers/pull/6041",
"diff_url": "https://github.com/huggingface/transformers/pull/6041.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6041.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6040/comments | https://api.github.com/repos/huggingface/transformers/issues/6040/events | https://github.com/huggingface/transformers/pull/6040 | 665,789,719 | MDExOlB1bGxSZXF1ZXN0NDU2NzU2NDI5 | 6,040 | Draft Etalab QA model | {
"login": "psorianom",
"id": 1085210,
"node_id": "MDQ6VXNlcjEwODUyMTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1085210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psorianom",
"html_url": "https://github.com/psorianom",
"followers_url": "https://api.github.com/users/ps... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Is this ready to merge? I'll merge now and feel free to update later (we'll make it way easier to iterate on model cards in the medium-term future)",
"(You can input model-specific examples to the inference QA widget if you need to, see https://huggingface.co/docs#how-can-i-control-my-models-widgets-example-inpu... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Card for the model https://huggingface.co/etalab-ia/camembert-base-squadFR-fquad-piaf | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6040/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6040",
"html_url": "https://github.com/huggingface/transformers/pull/6040",
"diff_url": "https://github.com/huggingface/transformers/pull/6040.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6040.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6039/comments | https://api.github.com/repos/huggingface/transformers/issues/6039/events | https://github.com/huggingface/transformers/issues/6039 | 665,756,459 | MDU6SXNzdWU2NjU3NTY0NTk= | 6,039 | MarianMT - How to find out the actual names of the languages? - Only language-codes are available | {
"login": "sunnyville01",
"id": 33743210,
"node_id": "MDQ6VXNlcjMzNzQzMjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/33743210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sunnyville01",
"html_url": "https://github.com/sunnyville01",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"https://huggingface.co/languages",
"@patil-suraj Thank you."
] | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | # Question
## Information
I want to use the [MarianMT](https://huggingface.co/transformers/model_doc/marian.html) library for creating a translation application. There are lots of languages available with their language-codes mentioned such as "en" and "es", but no where can I find the actual names of the languag... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6038/comments | https://api.github.com/repos/huggingface/transformers/issues/6038/events | https://github.com/huggingface/transformers/pull/6038 | 665,742,707 | MDExOlB1bGxSZXF1ZXN0NDU2NzI0NjI4 | 6,038 | Rework TF trainer | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6038?src=pr&el=h1) Report\n> Merging [#6038](https://codecov.io/gh/huggingface/transformers/pull/6038?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/dafa296c952c08fca3686f1cf8f3a8f8eb116744&el=desc) will **decrease... | 1,595 | 1,600 | 1,596 | CONTRIBUTOR | null | This PR brings several improvements to the TensorFlow Trainer:
- make it more intuitive with less multiple small functions.
- should also make the trainer compliant with TPU.
- Fix the TensorFlow version to at least 2.2 for the trainer
- increase speed of the dataset preprocessing
@Colanim Can you please test... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6038/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6038",
"html_url": "https://github.com/huggingface/transformers/pull/6038",
"diff_url": "https://github.com/huggingface/transformers/pull/6038.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6038.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6037/comments | https://api.github.com/repos/huggingface/transformers/issues/6037/events | https://github.com/huggingface/transformers/pull/6037 | 665,737,864 | MDExOlB1bGxSZXF1ZXN0NDU2NzIxNjAw | 6,037 | Model card for Vamsi/T5_Paraphrase_Paws | {
"login": "Vamsi995",
"id": 52487689,
"node_id": "MDQ6VXNlcjUyNDg3Njg5",
"avatar_url": "https://avatars.githubusercontent.com/u/52487689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vamsi995",
"html_url": "https://github.com/Vamsi995",
"followers_url": "https://api.github.com/users/Vam... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6037?src=pr&el=h1) Report\n> Merging [#6037](https://codecov.io/gh/huggingface/transformers/pull/6037?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c69ea5efc4eac65b183e8d07b1bf91d20bbe0c8c&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Creating a model card for my uploaded model on the transformers hub. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6037/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6037",
"html_url": "https://github.com/huggingface/transformers/pull/6037",
"diff_url": "https://github.com/huggingface/transformers/pull/6037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6037.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6036/comments | https://api.github.com/repos/huggingface/transformers/issues/6036/events | https://github.com/huggingface/transformers/pull/6036 | 665,685,151 | MDExOlB1bGxSZXF1ZXN0NDU2Njg1NDg3 | 6,036 | don't complain about missing W&B when WANDB_DISABLED=true | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6036?src=pr&el=h1) Report\n> Merging [#6036](https://codecov.io/gh/huggingface/transformers/pull/6036?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c69ea5efc4eac65b183e8d07b1bf91d20bbe0c8c&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | I get a lot of crashes with W&B in transformers examples: https://github.com/huggingface/transformers/pull/5835 so I have to use `WANDB_DISABLED=true` - this PR removes a complaint that shouldn't be there when this env var is used. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6036/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6036",
"html_url": "https://github.com/huggingface/transformers/pull/6036",
"diff_url": "https://github.com/huggingface/transformers/pull/6036.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6036.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6035/comments | https://api.github.com/repos/huggingface/transformers/issues/6035/events | https://github.com/huggingface/transformers/pull/6035 | 665,670,273 | MDExOlB1bGxSZXF1ZXN0NDU2Njc1MzQy | 6,035 | add a summary report flag for run_examples on CI | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6035?src=pr&el=h1) Report\n> Merging [#6035](https://codecov.io/gh/huggingface/transformers/pull/6035?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c69ea5efc4eac65b183e8d07b1bf91d20bbe0c8c&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Currently, it's hard to derive which example tests were run on CI, and which weren't. Adding `-rA` flag to `pytest`, will now include a summary like:
```
==================================================================== short test summary info =====================================================================... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6035",
"html_url": "https://github.com/huggingface/transformers/pull/6035",
"diff_url": "https://github.com/huggingface/transformers/pull/6035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6035.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6034/comments | https://api.github.com/repos/huggingface/transformers/issues/6034/events | https://github.com/huggingface/transformers/pull/6034 | 665,657,240 | MDExOlB1bGxSZXF1ZXN0NDU2NjY2NTQ5 | 6,034 | add pl_glue example 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 | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Looks like this PR needs one of these merged first: https://github.com/huggingface/transformers/pull/6028 or https://github.com/huggingface/transformers/pull/6027, as `-n_gpus` is now required in `lightning_base.py`",
"No matter what I try CI can't get to acc/f1>=0.75, even though I get 1.0 on my machine. Sugges... | 1,595 | 1,597 | 1,597 | CONTRIBUTOR | null | Currently PL glue example isn't being tested by CI. This PR fixes that.
https://github.com/huggingface/transformers/pull/6027
the added test currently fails (goodness) and fixes are being PR'ed in
1. https://github.com/huggingface/transformers/pull/6027
2. https://github.com/huggingface/transformers/pull/6028
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6034",
"html_url": "https://github.com/huggingface/transformers/pull/6034",
"diff_url": "https://github.com/huggingface/transformers/pull/6034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6034.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6033/comments | https://api.github.com/repos/huggingface/transformers/issues/6033/events | https://github.com/huggingface/transformers/issues/6033 | 665,632,577 | MDU6SXNzdWU2NjU2MzI1Nzc= | 6,033 | Is there an easy way to access the multiple choice head of the RobertaForMultipleChoice? | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [
"There is no direct way to do this from the model, you will have to edit the code directly. You can just copy the code from the file `modeling_roberta.py` and then change the forward method of `RobertaForMultipleChoice`. You can then directly feed the hidden layer of your choice to the final layer.",
"Hello,\r\nW... | 1,595 | 1,596 | 1,596 | NONE | null | Hello,
This question is specifically for the ```RobertaForMultipleChoice``` model.
I know how to extract the hidden state vectors from each layer of the ```RobertaForMultipleChoice``` model, but is there any way that I can directly feed the hidden state vectors of layer `j` as an input to the multiple-choice head o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6033/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6032/comments | https://api.github.com/repos/huggingface/transformers/issues/6032/events | https://github.com/huggingface/transformers/pull/6032 | 665,628,177 | MDExOlB1bGxSZXF1ZXN0NDU2NjQ1NDg1 | 6,032 | Create README.md | {
"login": "ramsrigouthamg",
"id": 1754080,
"node_id": "MDQ6VXNlcjE3NTQwODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1754080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ramsrigouthamg",
"html_url": "https://github.com/ramsrigouthamg",
"followers_url": "https://api.gith... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6032?src=pr&el=h1) Report\n> Merging [#6032](https://codecov.io/gh/huggingface/transformers/pull/6032?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c69ea5efc4eac65b183e8d07b1bf91d20bbe0c8c&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | Adding model card - readme | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6032",
"html_url": "https://github.com/huggingface/transformers/pull/6032",
"diff_url": "https://github.com/huggingface/transformers/pull/6032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6032.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6031/comments | https://api.github.com/repos/huggingface/transformers/issues/6031/events | https://github.com/huggingface/transformers/issues/6031 | 665,556,984 | MDU6SXNzdWU2NjU1NTY5ODQ= | 6,031 | Error with batch_encode_plus | {
"login": "Nithin-Holla",
"id": 19574344,
"node_id": "MDQ6VXNlcjE5NTc0MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/19574344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nithin-Holla",
"html_url": "https://github.com/Nithin-Holla",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi, if want to encode as sentence pair then you should do it like this\r\n```python3\r\n[ [\"sent1\", \"sent2\"] ]\r\n```\r\nelse just pass the examples in a single list\r\n```python3\r\n[\"example1\", \"example2\"]\r\n```\r\n\r\nAlso, consider switching to the new tokenizer API. You can find the docs [here](https... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | # 🐛 Bug
## Information
When using the tokenizer method `batch_encode_plus` on the new `transformers` version, I run into an error
Model I am using (Bert, XLNet ...): BertTokenizer
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6031/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6030/comments | https://api.github.com/repos/huggingface/transformers/issues/6030/events | https://github.com/huggingface/transformers/pull/6030 | 665,554,075 | MDExOlB1bGxSZXF1ZXN0NDU2NTkzNDg2 | 6,030 | create model-card for lordtt13/emo-mobilebert | {
"login": "lordtt13",
"id": 35500534,
"node_id": "MDQ6VXNlcjM1NTAwNTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/35500534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lordtt13",
"html_url": "https://github.com/lordtt13",
"followers_url": "https://api.github.com/users/lor... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6030?src=pr&el=h1) Report\n> Merging [#6030](https://codecov.io/gh/huggingface/transformers/pull/6030?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c69ea5efc4eac65b183e8d07b1bf91d20bbe0c8c&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6030",
"html_url": "https://github.com/huggingface/transformers/pull/6030",
"diff_url": "https://github.com/huggingface/transformers/pull/6030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6030.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6029/comments | https://api.github.com/repos/huggingface/transformers/issues/6029/events | https://github.com/huggingface/transformers/issues/6029 | 665,553,912 | MDU6SXNzdWU2NjU1NTM5MTI= | 6,029 | tensorflow bert model can‘t return all hidden_states | {
"login": "SunYanCN",
"id": 42198591,
"node_id": "MDQ6VXNlcjQyMTk4NTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/42198591?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunYanCN",
"html_url": "https://github.com/SunYanCN",
"followers_url": "https://api.github.com/users/Sun... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I'm encountering the exact same error - and it also happens when trying to output the attention keys. \r\nI would really like to know where the problem comes from as well! ",
"@sshleifer ",
"@julien-c ",
"transformers==2.7.0 solved the issue in my case",
"> transformers==2.7.0 solved the issue in my case\r... | 1,595 | 1,603 | 1,603 | NONE | null | ```
import tensorflow as tf
import tensorflow_datasets
from transformers import *
from tensorflow.keras import layers
configuration = BertConfig.from_pretrained('bert-base-cased', output_hidden_states=True)
# Load dataset, tokenizer, model from pretrained model/vocabulary
tokenizer = BertTokenizer.from_pretrai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6029/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6028/comments | https://api.github.com/repos/huggingface/transformers/issues/6028/events | https://github.com/huggingface/transformers/pull/6028 | 665,504,416 | MDExOlB1bGxSZXF1ZXN0NDU2NTU4MTAz | 6,028 | examples/text-classification/run_pl.sh multiple problems | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6028?src=pr&el=h1) Report\n> Merging [#6028](https://codecov.io/gh/huggingface/transformers/pull/6028?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c69ea5efc4eac65b183e8d07b1bf91d20bbe0c8c&el=desc) will **increase... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | Fixing this sequence of errors - each fix required for the next error
running:
```
cd examples/text-classification
./run_pl.sh
```
error 1:
```
Traceback (most recent call last):
File "run_pl_glue.py", line 183, in <module>
trainer = generic_train(model, args)
File "/mnt/nvme1/code/huggingface/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6028",
"html_url": "https://github.com/huggingface/transformers/pull/6028",
"diff_url": "https://github.com/huggingface/transformers/pull/6028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6028.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6027/comments | https://api.github.com/repos/huggingface/transformers/issues/6027/events | https://github.com/huggingface/transformers/pull/6027 | 665,494,213 | MDExOlB1bGxSZXF1ZXN0NDU2NTUwNTQ0 | 6,027 | [Fix] text-classification PL example | {
"login": "bhashithe",
"id": 13556459,
"node_id": "MDQ6VXNlcjEzNTU2NDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/13556459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhashithe",
"html_url": "https://github.com/bhashithe",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6027?src=pr&el=h1) Report\n> Merging [#6027](https://codecov.io/gh/huggingface/transformers/pull/6027?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e168488a74a41db0eddfa4699239c6f7b301c933&el=desc) will **increase... | 1,595 | 1,596 | 1,596 | CONTRIBUTOR | null | The text-classification example needed to have several edits to get it to working. The main one was that the hparams are loaded as a dict instead of a Namespace object from the checkpoint so this needed to be fixed with recasting the hparams to a Namespace object.
Though this is not the ideal solution, it works for ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6027",
"html_url": "https://github.com/huggingface/transformers/pull/6027",
"diff_url": "https://github.com/huggingface/transformers/pull/6027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6027.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6026/comments | https://api.github.com/repos/huggingface/transformers/issues/6026/events | https://github.com/huggingface/transformers/pull/6026 | 665,477,337 | MDExOlB1bGxSZXF1ZXN0NDU2NTM3NDY0 | 6,026 | Fix tokenizer saving and loading error | {
"login": "yobekiko",
"id": 25716647,
"node_id": "MDQ6VXNlcjI1NzE2NjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25716647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yobekiko",
"html_url": "https://github.com/yobekiko",
"followers_url": "https://api.github.com/users/yob... | [] | closed | false | null | [] | [
"> This is great! Do you mind adding a test under `tests/test_tokenization_common.py` so that we may ensure this doesn't fail in the future?\r\n\r\nHi I added into an existing test. Please check if it's appropriate.",
"Hello! I added a more robust test and fixed the style issue. Thanks a lot for your contribution... | 1,595 | 1,597 | 1,597 | CONTRIBUTOR | null | This PR is to address #6025 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6026",
"html_url": "https://github.com/huggingface/transformers/pull/6026",
"diff_url": "https://github.com/huggingface/transformers/pull/6026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6026.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6025/comments | https://api.github.com/repos/huggingface/transformers/issues/6025/events | https://github.com/huggingface/transformers/issues/6025 | 665,477,025 | MDU6SXNzdWU2NjU0NzcwMjU= | 6,025 | Failed to save tokenizer with AddedToken in additional_special_tokens | {
"login": "yobekiko",
"id": 25716647,
"node_id": "MDQ6VXNlcjI1NzE2NjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25716647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yobekiko",
"html_url": "https://github.com/yobekiko",
"followers_url": "https://api.github.com/users/yob... | [] | closed | false | null | [] | [
"Fixed by #6026"
] | 1,595 | 1,597 | 1,597 | CONTRIBUTOR | null | # 🐛 Bug
I tried to add new special tokens to some tokenizer. I wanted them to be `AddedToken` in order to handle specific whitespace striping. But I got the following error when saving the tokenizer.
## To reproduce
Steps to reproduce the behavior:
```python
>>> from transformers import BertTokenizer
>>>... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6025/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/6025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6024/comments | https://api.github.com/repos/huggingface/transformers/issues/6024/events | https://github.com/huggingface/transformers/pull/6024 | 665,386,498 | MDExOlB1bGxSZXF1ZXN0NDU2NDY1NjE5 | 6,024 | Feed forward chunking | {
"login": "Pradhy729",
"id": 49659913,
"node_id": "MDQ6VXNlcjQ5NjU5OTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/49659913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pradhy729",
"html_url": "https://github.com/Pradhy729",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@patrickvonplaten - here's an initial implementation I have. My first step is to get the model to work with chunked feed forward - and it works! I still need to run the benchmark test to find out the benefits in terms of memory.\r\n\r\nHowever, I see a problem. The new architecture causes some of the nn.Module wei... | 1,595 | 1,599 | 1,597 | CONTRIBUTOR | null | Official PR for #5928 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6024",
"html_url": "https://github.com/huggingface/transformers/pull/6024",
"diff_url": "https://github.com/huggingface/transformers/pull/6024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6024.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6023/comments | https://api.github.com/repos/huggingface/transformers/issues/6023/events | https://github.com/huggingface/transformers/pull/6023 | 665,366,697 | MDExOlB1bGxSZXF1ZXN0NDU2NDQ5MTMw | 6,023 | Remove unused file | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6023?src=pr&el=h1) Report\n> Merging [#6023](https://codecov.io/gh/huggingface/transformers/pull/6023?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a884b7fa38de9082a6f3f7889b9f7348a8dadbf5&el=desc) will **decrease... | 1,595 | 1,595 | 1,595 | COLLABORATOR | null | This seems to be the old script to deploy the docs, new one is `.circleci/deploy.sh`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6023",
"html_url": "https://github.com/huggingface/transformers/pull/6023",
"diff_url": "https://github.com/huggingface/transformers/pull/6023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6023.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6022/comments | https://api.github.com/repos/huggingface/transformers/issues/6022/events | https://github.com/huggingface/transformers/pull/6022 | 665,330,741 | MDExOlB1bGxSZXF1ZXN0NDU2NDE5NTI2 | 6,022 | Fix the return documentation rendering for all model outputs | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6022?src=pr&el=h1) Report\n> Merging [#6022](https://codecov.io/gh/huggingface/transformers/pull/6022?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3996041d0ae23ce23dfb8a343e6344f2f8d54c16&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | COLLABORATOR | null | All PyTorch model outputs are documented from their output types. A problem is that just using the docstrings of the output class doesn't render properly on sphinx (this was also the case before the new model outputs were introduced).
This PR adds a function that converts the args part of the docstrings of the outpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6022",
"html_url": "https://github.com/huggingface/transformers/pull/6022",
"diff_url": "https://github.com/huggingface/transformers/pull/6022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6022.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6021/comments | https://api.github.com/repos/huggingface/transformers/issues/6021/events | https://github.com/huggingface/transformers/pull/6021 | 665,299,071 | MDExOlB1bGxSZXF1ZXN0NDU2MzkzOTM1 | 6,021 | [CI] Don't test apex | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6021?src=pr&el=h1) Report\n> Merging [#6021](https://codecov.io/gh/huggingface/transformers/pull/6021?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3996041d0ae23ce23dfb8a343e6344f2f8d54c16&el=desc) will **increase... | 1,595 | 1,595 | 1,595 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6021",
"html_url": "https://github.com/huggingface/transformers/pull/6021",
"diff_url": "https://github.com/huggingface/transformers/pull/6021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6021.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.