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/4413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4413/comments | https://api.github.com/repos/huggingface/transformers/issues/4413/events | https://github.com/huggingface/transformers/pull/4413 | 619,729,256 | MDExOlB1bGxSZXF1ZXN0NDE5MTI3ODI4 | 4,413 | Modify example of usage | {
"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 | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | I followed the google example of usage for its electra small model but i have seen it is not meaningful, so i created a better example | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4413/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4413",
"html_url": "https://github.com/huggingface/transformers/pull/4413",
"diff_url": "https://github.com/huggingface/transformers/pull/4413.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4413.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4412/comments | https://api.github.com/repos/huggingface/transformers/issues/4412/events | https://github.com/huggingface/transformers/issues/4412 | 619,717,325 | MDU6SXNzdWU2MTk3MTczMjU= | 4,412 | Tensorflow NER Training script Not working | {
"login": "albertnanda",
"id": 20819507,
"node_id": "MDQ6VXNlcjIwODE5NTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/20819507?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertnanda",
"html_url": "https://github.com/albertnanda",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"- `transformers` version: 2.9.1\r\n- Platform: Linux-3.10.0-1062.9.1.el7.x86_64-x86_64-with-centos-7.7.1908-Core\r\n- Python version: 3.6.10\r\n- PyTorch version (GPU?): not installed (NA)\r\n- Tensorflow version (GPU?): 2.2.0 (True)\r\n- Using GPU in script?: Yes both single gpu and multi-gpu training\r\n- Using ... | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
Tensorflow NER Training script Not working
## Information
I am following the exact guide at https://github.com/huggingface/transformers/tree/master/examples/token-classification
Model I am using (Bert, XLNet ...): BERT
Language I am using the model on (English, Chinese ...): English
The problem arise... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4412/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4411/comments | https://api.github.com/repos/huggingface/transformers/issues/4411/events | https://github.com/huggingface/transformers/issues/4411 | 619,686,678 | MDU6SXNzdWU2MTk2ODY2Nzg= | 4,411 | Pipeline for Conditional Generation (T5 type models) | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"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... | [
"Yes having a \"Conditional Generation\" pipeline makes sense given that variety of tasks can be solved using it. We can use T5, BART for these tasks as well as the new Encoder-Decoder. I would like to call it `TextToTextPipeline` though, since we can solve non-generative tasks also as demonstrated in the T5 paper.... | 1,589 | 1,599 | 1,599 | CONTRIBUTOR | null | As text-to-text models (like T5) increase the accessibility of multi-task learning, it also makes sense to have a flexible "Conditional Generation" pipeline.
For example, I should be able to use this pipeline for a multitude of tasks depending on how I format the text input (examples in Appendix D of the [T5 paper](... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4411/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4410/comments | https://api.github.com/repos/huggingface/transformers/issues/4410/events | https://github.com/huggingface/transformers/pull/4410 | 619,685,747 | MDExOlB1bGxSZXF1ZXN0NDE5MTAzNTI3 | 4,410 | Remove pytorch codes in Class TFXLNetMainLayer | {
"login": "ZhuBaohe",
"id": 35796307,
"node_id": "MDQ6VXNlcjM1Nzk2MzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/35796307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhuBaohe",
"html_url": "https://github.com/ZhuBaohe",
"followers_url": "https://api.github.com/users/Zhu... | [] | 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... | [
"Sorry I don't really understand how this PR removes pytorch code in `TFXLNetMainLayer` - can you explain a bit more in-detail?",
"@patrickvonplaten \r\n\r\nThe codes in file modeling_tf_xlnet.py is the XLNet Model of tensorflow implementation. So the parameter **head_mask** should have a type of tf.Tensor or ... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | This PR removes pytorch codes in Class TFXLNetMainLayer. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4410/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4410",
"html_url": "https://github.com/huggingface/transformers/pull/4410",
"diff_url": "https://github.com/huggingface/transformers/pull/4410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4410.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4409/comments | https://api.github.com/repos/huggingface/transformers/issues/4409/events | https://github.com/huggingface/transformers/pull/4409 | 619,630,368 | MDExOlB1bGxSZXF1ZXN0NDE5MDcyNTE4 | 4,409 | add model card for t5-base-squad | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"id": 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 | [] | [
"Nice! cc @patrickvonplaten "
] | 1,589 | 1,590 | 1,589 | MEMBER | null | Model card for https://huggingface.co/valhalla/t5-base-squad | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4409/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/4409/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4409",
"html_url": "https://github.com/huggingface/transformers/pull/4409",
"diff_url": "https://github.com/huggingface/transformers/pull/4409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4409.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4408/comments | https://api.github.com/repos/huggingface/transformers/issues/4408/events | https://github.com/huggingface/transformers/issues/4408 | 619,623,571 | MDU6SXNzdWU2MTk2MjM1NzE= | 4,408 | Request to add MobileBert | {
"login": "msahamed",
"id": 8838524,
"node_id": "MDQ6VXNlcjg4Mzg1MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8838524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msahamed",
"html_url": "https://github.com/msahamed",
"followers_url": "https://api.github.com/users/msaha... | [
{
"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 | [] | [
"Duplicate of #4185"
] | 1,589 | 1,589 | 1,589 | NONE | null | # 🌟 New model addition
MobileBERT
## Model description
MobileBERT is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks.
## Open source status
* [ ] the model implementation is available: (give details)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4408/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4407/comments | https://api.github.com/repos/huggingface/transformers/issues/4407/events | https://github.com/huggingface/transformers/pull/4407 | 619,610,625 | MDExOlB1bGxSZXF1ZXN0NDE5MDYxMDY1 | 4,407 | fix(run_language_modeling): use arg overwrite_cache | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | In `run_language_modeling.py`, arg `overwrite_cache` was unused. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4407/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4407",
"html_url": "https://github.com/huggingface/transformers/pull/4407",
"diff_url": "https://github.com/huggingface/transformers/pull/4407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4407.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4406/comments | https://api.github.com/repos/huggingface/transformers/issues/4406/events | https://github.com/huggingface/transformers/issues/4406 | 619,590,720 | MDU6SXNzdWU2MTk1OTA3MjA= | 4,406 | Summarization Fine Tuning | {
"login": "kevinlu1248",
"id": 26889185,
"node_id": "MDQ6VXNlcjI2ODg5MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/26889185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinlu1248",
"html_url": "https://github.com/kevinlu1248",
"followers_url": "https://api.github.com/... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | null | [] | [
"First thing you can try is fine-tune T5/BART for summarization on your corpus and see how it performs.",
"@patil-suraj where can I find a guide to this? I'm a bit confused by the documentation. ",
"[Here's](https://github.com/huggingface/transformers/tree/master/examples/summarization/bart) the official exampl... | 1,589 | 1,608 | 1,608 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4406/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4405/comments | https://api.github.com/repos/huggingface/transformers/issues/4405/events | https://github.com/huggingface/transformers/pull/4405 | 619,567,654 | MDExOlB1bGxSZXF1ZXN0NDE5MDMxNDEw | 4,405 | add BERT trained from review corpus. | {
"login": "howardhsu",
"id": 10661375,
"node_id": "MDQ6VXNlcjEwNjYxMzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/10661375?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/howardhsu",
"html_url": "https://github.com/howardhsu",
"followers_url": "https://api.github.com/users/... | [
{
"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 | [] | [
"Hi @howardhsu, the file path is not correct, it should be something like `model_cards/activebus/BERT_Review/README.md` ",
"I updated paths as suggested, thanks.",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4405?src=pr&el=h1) Report\n> Merging [#4405](https://codecov.io/gh/huggingface/tran... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | add BERT trained from review corpus. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4405",
"html_url": "https://github.com/huggingface/transformers/pull/4405",
"diff_url": "https://github.com/huggingface/transformers/pull/4405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4405.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4404/comments | https://api.github.com/repos/huggingface/transformers/issues/4404/events | https://github.com/huggingface/transformers/pull/4404 | 619,556,749 | MDExOlB1bGxSZXF1ZXN0NDE5MDIzNzg2 | 4,404 | feat(wandb): display logger | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"It don't think it should really be a warning if you don't use wandb.\r\n\r\nThe root issue here is probably discoverability of wandb for users who don't know it? Then it would probably be better solved in documentation.\r\n\r\nWe will start some documentation on `Trainer`/`TFTrainer` in the coming weeks (cc @Lysan... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Logger info when `wandb` not installed was set to `info` which does not display by default.
It has been changed to `warning`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4404/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4404",
"html_url": "https://github.com/huggingface/transformers/pull/4404",
"diff_url": "https://github.com/huggingface/transformers/pull/4404.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4404.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4403/comments | https://api.github.com/repos/huggingface/transformers/issues/4403/events | https://github.com/huggingface/transformers/pull/4403 | 619,533,934 | MDExOlB1bGxSZXF1ZXN0NDE5MDA3Nzk5 | 4,403 | Map optimizer to correct device after loading from checkpoint. | {
"login": "shaoyent",
"id": 8154586,
"node_id": "MDQ6VXNlcjgxNTQ1ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8154586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaoyent",
"html_url": "https://github.com/shaoyent",
"followers_url": "https://api.github.com/users/shaoy... | [] | closed | false | null | [] | [
"Thank you!"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Loading from `optimizer.pt` causes `optimizer` to be mapped to the same device as the saved `optimizer.pt`. In most cases it's `cuda:0`(saved by local master), which puts all optimizers on
gpu0, causing OOM more easily in multi-gpu training.
Might fix issues like [#3730](https://github.com/huggingface/transformers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4403/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4403",
"html_url": "https://github.com/huggingface/transformers/pull/4403",
"diff_url": "https://github.com/huggingface/transformers/pull/4403.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4403.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4402/comments | https://api.github.com/repos/huggingface/transformers/issues/4402/events | https://github.com/huggingface/transformers/issues/4402 | 619,457,013 | MDU6SXNzdWU2MTk0NTcwMTM= | 4,402 | Run Language Modeling on 8 TPU cores doesn't seem to terminate | {
"login": "jcblaisecruz02",
"id": 24757547,
"node_id": "MDQ6VXNlcjI0NzU3NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/24757547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcblaisecruz02",
"html_url": "https://github.com/jcblaisecruz02",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@jcblaisecruz02 \r\nYes, there's a bug in version 2.91 which hangs the trainer. It's been fixed in master branch. Install from master branch for TPU training.\r\n\r\nSee this pull request #4339",
"Is it possible to run `run_language_modeling.py` on more than 8 cores when using pytorch and `xls_spawn`?\r\nAnd wha... | 1,589 | 1,592 | 1,589 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): DistilGPT2 & GPT2
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am worki... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4402/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4401/comments | https://api.github.com/repos/huggingface/transformers/issues/4401/events | https://github.com/huggingface/transformers/pull/4401 | 619,442,786 | MDExOlB1bGxSZXF1ZXN0NDE4OTUwODgz | 4,401 | [TF T5] More coherent naming for inputs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4401?src=pr&el=h1) Report\n> Merging [#4401](https://codecov.io/gh/huggingface/transformers/pull/4401?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2d184cb553ee20943b03b253f44300e466357871&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | In TF we have to name the first argument of the `call` function "inputs", due to some inner keras logic (I think), see: https://github.com/huggingface/transformers/pull/3547 . Having both names `inputs` and `input_ids` can thus lead to confusion, see #3626 .
This PR adopts the consistent naming `inputs` in the whole... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4401",
"html_url": "https://github.com/huggingface/transformers/pull/4401",
"diff_url": "https://github.com/huggingface/transformers/pull/4401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4401.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4400/comments | https://api.github.com/repos/huggingface/transformers/issues/4400/events | https://github.com/huggingface/transformers/issues/4400 | 619,384,301 | MDU6SXNzdWU2MTkzODQzMDE= | 4,400 | BertWordPieceTokenizer cannot be pickled | {
"login": "Sriharsha-hatwar",
"id": 14826535,
"node_id": "MDQ6VXNlcjE0ODI2NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/14826535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sriharsha-hatwar",
"html_url": "https://github.com/Sriharsha-hatwar",
"followers_url": "https://... | [
{
"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 needed I can even provide the dataset (Did not want to clutter): \r\nthe error stacktrace : \r\n```\r\nTraceback (most recent call last):\r\n File \"error.py\", line 129, in <module>\r\n a = enumerate(train_data_loader)\r\n File \"C:\\Users\\admin\\miniconda3\\envs\\machine_learning\\lib\\site-packages\\to... | 1,589 | 1,595 | 1,595 | 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] my own modified scripts:
The tasks I am working on is:
* [X] my own task or dataset:
## To reproduce
``` python
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4400/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/4400/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4399/comments | https://api.github.com/repos/huggingface/transformers/issues/4399/events | https://github.com/huggingface/transformers/issues/4399 | 619,379,507 | MDU6SXNzdWU2MTkzNzk1MDc= | 4,399 | Pipeline for question generation | {
"login": "danielduckworth",
"id": 18698360,
"node_id": "MDQ6VXNlcjE4Njk4MzYw",
"avatar_url": "https://avatars.githubusercontent.com/u/18698360?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danielduckworth",
"html_url": "https://github.com/danielduckworth",
"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 | [] | [
"That would be an interesting project.",
"I have worked on question generation using T5. I've trained answer aware question generator on SQuAD 2.2 which achieves 41.4641 BLUE1 score and 41.0823 ROUGE_L on the dev set given gold answers.\r\n\r\nI've also trained T5 for extracting answers from the text, and writte... | 1,589 | 1,607 | 1,607 | NONE | null | # 🚀 Feature request
I can see there are pipelines for question answering, text summarisation and text generation. In my field I'm researching how question generation can be used in education research. I would love to see this pipeline added. I imagine it's a variation of question answering and text summarisation.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4399/reactions",
"total_count": 11,
"+1": 11,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4399/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4398/comments | https://api.github.com/repos/huggingface/transformers/issues/4398/events | https://github.com/huggingface/transformers/issues/4398 | 619,346,742 | MDU6SXNzdWU2MTkzNDY3NDI= | 4,398 | Trainer is missing sampler.set_epoch for distributed mode | {
"login": "shaoyent",
"id": 8154586,
"node_id": "MDQ6VXNlcjgxNTQ1ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8154586?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shaoyent",
"html_url": "https://github.com/shaoyent",
"followers_url": "https://api.github.com/users/shaoy... | [] | closed | false | null | [] | [
"Good spot! I think @julien-c's latest PR (https://github.com/huggingface/transformers/pull/4243) for distributed eval will also take care of this! "
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | # 🐛 Bug
## Information
`train_dataloader.sampler.set_epoch(epoch)` is missing before the start of each epoch in [trainer.py](https://github.com/huggingface/transformers/blob/3e0f06210646a440509efa718b30d18322d6a830/src/transformers/trainer.py#L406).
According to [here](https://pytorch.org/docs/stable/data.htm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4398/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4397/comments | https://api.github.com/repos/huggingface/transformers/issues/4397/events | https://github.com/huggingface/transformers/issues/4397 | 619,344,069 | MDU6SXNzdWU2MTkzNDQwNjk= | 4,397 | Training TFBertForQuestionAnswering on custom SquadV1 data | {
"login": "yonatanbitton",
"id": 26148975,
"node_id": "MDQ6VXNlcjI2MTQ4OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/26148975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonatanbitton",
"html_url": "https://github.com/yonatanbitton",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I succeeded to do it somehow, but i'm sure it's not the way it should work, and it won't scale well for large datasets. I would be happy to know if there is a better way. \r\n\r\nWhat worked: \r\n1. squad_convert_examples_to_features ( return_dataset = False) - getting the features\r\n2. Creating a dictionary of f... | 1,589 | 1,589 | 1,589 | NONE | null | Hello.
TLDR: If there is any minimal code that trains a TFBertForQuestionAnswering on custom squad-v1 (not from `nlp.load_dataset`)
I've tried in several ways and encountered some problems.
This is the minimal code i'm trying to activate:
```python
args = argparse.Namespace(**bert_config)
tokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4397/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4396/comments | https://api.github.com/repos/huggingface/transformers/issues/4396/events | https://github.com/huggingface/transformers/issues/4396 | 619,343,364 | MDU6SXNzdWU2MTkzNDMzNjQ= | 4,396 | Wrong model or tokenizer for MarianMT | {
"login": "NonaryR",
"id": 8309465,
"node_id": "MDQ6VXNlcjgzMDk0NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8309465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NonaryR",
"html_url": "https://github.com/NonaryR",
"followers_url": "https://api.github.com/users/NonaryR/... | [] | closed | false | null | [] | [
"Never mind, my mistake",
"What was your mistake?\r\n\r\nIs your system Windows?\r\nI am trying to reproduce the colab tutorial from https://blogs.helsinki.fi/language-technology/2020/05/14/helsinkinlp-in-huggingface/ on Windows but I get errors.\r\n",
"@R4ZZ3 Hello! I just appended `>>tag<<` for text in cycle,... | 1,589 | 1,592 | 1,589 | NONE | null | While we [can't save](https://github.com/huggingface/transformers/issues/4371) `MarianTokenizer` to local directory, I found model weights and configs on [this page](https://huggingface.co/Helsinki-NLP/opus-mt-en-ROMANCE), in `List all files in model ` link.
I downloaded these files, but I think this is wrong configs... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4395/comments | https://api.github.com/repos/huggingface/transformers/issues/4395/events | https://github.com/huggingface/transformers/issues/4395 | 619,321,561 | MDU6SXNzdWU2MTkzMjE1NjE= | 4,395 | MarianMT = How to return 5 best candidates for a translation. | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [
{
"id": 1834052129,
"node_id": "MDU6TGFiZWwxODM0MDUyMTI5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/High-Level%20feature",
"name": "High-Level feature",
"color": "f7c9a3",
"default": false,
"description": ""
},
{
"id": 2039044877,
"node_id": "MDU6T... | 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... | [
"That is available on this page - https://marian-nmt.github.io/faq:\r\n\r\nCan I generate n-best lists?\r\n Yes. Just use --n-best and the set --beam-size 6 for an n-best list size of 6.\r\n\r\nI do not know how to apply it here.",
"That feature is not supported in our implementation, unfortunately.",
"This iss... | 1,589 | 1,608 | 1,595 | NONE | null | This is a code for normal translation. This is the most probable translation. How can I return lets says 5 best candidates for translation for every single word (beam size would be 1)?
This model only return just the best word, which gives us a better translation. But I want to use it as a language model.
Is this... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4394/comments | https://api.github.com/repos/huggingface/transformers/issues/4394/events | https://github.com/huggingface/transformers/issues/4394 | 619,281,020 | MDU6SXNzdWU2MTkyODEwMjA= | 4,394 | the special token of XLNet | {
"login": "lytum",
"id": 38668257,
"node_id": "MDQ6VXNlcjM4NjY4MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/38668257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lytum",
"html_url": "https://github.com/lytum",
"followers_url": "https://api.github.com/users/lytum/follow... | [
{
"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,589 | 1,595 | 1,595 | NONE | null | hello,
may i ask you the special tokens of XLNet are same as BERT, in which they are '[CLS]' and '[SEP]'? Because i found the special tokens of XLNet are '<cls>' and '<sep>' in the original code, however, many public introduction about Xlnet still use the same tokens '[CLS]' and '[SEP]' as BERT. is it ok? are they s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4394/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4393/comments | https://api.github.com/repos/huggingface/transformers/issues/4393/events | https://github.com/huggingface/transformers/issues/4393 | 619,258,852 | MDU6SXNzdWU2MTkyNTg4NTI= | 4,393 | BertTokenizerFast does not load custom vocab created from Tokenizer library | {
"login": "questpavan",
"id": 63842917,
"node_id": "MDQ6VXNlcjYzODQyOTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/63842917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/questpavan",
"html_url": "https://github.com/questpavan",
"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 | [] | [
"Hi,\r\nCan anyone from Huggingface team look into this?",
"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",
"Similar to #6025 ",
"This issue has been automatically marked as stale b... | 1,589 | 1,602 | 1,602 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Bert ["iuliaturc/bert_uncased_L-2_H-128_A-2"]
https://huggingface.co/iuliaturc/bert_uncased_L-2_H-128_A-2
Language I am using the model on (English, Chinese ...):
English
The problem arises when using:
my own modified scripts: (give details bel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4393/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4393/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4392/comments | https://api.github.com/repos/huggingface/transformers/issues/4392/events | https://github.com/huggingface/transformers/issues/4392 | 619,167,903 | MDU6SXNzdWU2MTkxNjc5MDM= | 4,392 | MarianMTModel translate {tgt}-{src} | {
"login": "NonaryR",
"id": 8309465,
"node_id": "MDQ6VXNlcjgzMDk0NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8309465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NonaryR",
"html_url": "https://github.com/NonaryR",
"followers_url": "https://api.github.com/users/NonaryR/... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"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... | [
"Nope. Often the reverse model exists, however, e.g. `en-fr` and `fr-en`.",
"> Nope. Often the reverse model exists, however, e.g. `en-fr` and `fr-en`.\r\n\r\nWhat if reverse model does not exist for my langauge? ",
"What's your language? \r\nMaybe it's part of a multilingual group (below) or has been [trained]... | 1,589 | 1,589 | 1,589 | NONE | null | Hello!
It is possible to use `MarianMTModels` for translation from the target language to source, i.e. backward? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4392/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4391/comments | https://api.github.com/repos/huggingface/transformers/issues/4391/events | https://github.com/huggingface/transformers/issues/4391 | 619,159,631 | MDU6SXNzdWU2MTkxNTk2MzE= | 4,391 | [PretrainedTokenizer] is <unk> a special 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... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"@mfuntowicz @LysandreJik might understand the best!",
"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,589 | 1,595 | 1,595 | CONTRIBUTOR | null | This confused me a lot as I was trying to add common tests for Marian.
I believe special_tokens_mask [must](
https://github.com/huggingface/transformers/blob/master/tests/test_tokenization_common.py#L445) return 0 for positions with unk_token_id, but `<unk>` is in `SpecialTokensMixin.all_special_ids`.
Relatedl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4391/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4390/comments | https://api.github.com/repos/huggingface/transformers/issues/4390/events | https://github.com/huggingface/transformers/pull/4390 | 619,149,437 | MDExOlB1bGxSZXF1ZXN0NDE4NzMwMDM4 | 4,390 | [cleanup] test_tokenization_common.py | {
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null |
- TesterMixin implements some oft repeated functions
- split long tests into multiple tests cases for better tracebacks
- misc typos
- type hints | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4390/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4390",
"html_url": "https://github.com/huggingface/transformers/pull/4390",
"diff_url": "https://github.com/huggingface/transformers/pull/4390.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4390.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4389/comments | https://api.github.com/repos/huggingface/transformers/issues/4389/events | https://github.com/huggingface/transformers/pull/4389 | 619,142,846 | MDExOlB1bGxSZXF1ZXN0NDE4NzI0NjM0 | 4,389 | [MarianTokenizer] implement save_vocabulary and other common methods | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4389?src=pr&el=h1) Report\n> Merging [#4389](https://codecov.io/gh/huggingface/transformers/pull/4389?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/48c3a70b4eaedab1dd9ad49990cfaa4d6cb8f6a0&el=desc) will **decrease... | 1,589 | 1,592 | 1,589 | CONTRIBUTOR | null | - adds `test_tokenization_marian.py` which runs the common tokenizer tests.
- adds `save_vocabulary` and other methods to `MarianTokenizer` to make the common tests pass.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4389/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4389",
"html_url": "https://github.com/huggingface/transformers/pull/4389",
"diff_url": "https://github.com/huggingface/transformers/pull/4389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4389.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4388/comments | https://api.github.com/repos/huggingface/transformers/issues/4388/events | https://github.com/huggingface/transformers/issues/4388 | 619,065,422 | MDU6SXNzdWU2MTkwNjU0MjI= | 4,388 | [docs] AutoModelWithLMHead(model_name, **kwargs) | {
"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": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"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... | [
"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",
"unstale?",
"This was fixed with https://github.com/huggingface/transformers/pull/5665!"
] | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | `AutoModelWithLMHead.from_pretrained` cannot accept `output_attentions=True`
This [docstring](https://huggingface.co/transformers/model_doc/auto.html?highlight=transformers%20automodelwithlmhead#transformers.AutoModelWithLMHead) suggests that it can.
Thanks @jrvc for discovering!
```python
import transformers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4388/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4387/comments | https://api.github.com/repos/huggingface/transformers/issues/4387/events | https://github.com/huggingface/transformers/issues/4387 | 619,052,256 | MDU6SXNzdWU2MTkwNTIyNTY= | 4,387 | [Bart/Marian] ignore output_attentions when invoked through AutoModel | {
"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": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"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... | [
"this works for me:\r\n```python\r\nmodelname='Helsinki-NLP/opus-mt-en-de'\r\nmodel = MarianMTModel.from_pretrained(modelname,output_attentions=True, output_hidden_states=True)\r\noutput_tuple = model(**model.dummy_inputs)\r\nassert len(output_tuple) == 6\r\n```",
"#4388 is the real issue."
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | [ ] should mimic behavior of other models
[ ] backwards compat? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4387/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4386/comments | https://api.github.com/repos/huggingface/transformers/issues/4386/events | https://github.com/huggingface/transformers/issues/4386 | 618,994,051 | MDU6SXNzdWU2MTg5OTQwNTE= | 4,386 | Finetuning BERT classifier on a non-GLUE dataset in GLUE format | {
"login": "shauli-ravfogel",
"id": 14981791,
"node_id": "MDQ6VXNlcjE0OTgxNzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/14981791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shauli-ravfogel",
"html_url": "https://github.com/shauli-ravfogel",
"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 | [] | [
"The (new) run_glue.py is just a short template of code that you can copy/paste/customize (e.g. to plug your own Dataset), thanks to the [Trainer](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py).",
"Thanks! which class would replace `GlueDataset` in that case? and what argumen... | 1,589 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4386/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4385/comments | https://api.github.com/repos/huggingface/transformers/issues/4385/events | https://github.com/huggingface/transformers/pull/4385 | 618,979,665 | MDExOlB1bGxSZXF1ZXN0NDE4NjAyNjYx | 4,385 | Should return overflowing information for the log | {
"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,589 | 1,589 | 1,589 | MEMBER | null | closes #4380 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4385/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4385",
"html_url": "https://github.com/huggingface/transformers/pull/4385",
"diff_url": "https://github.com/huggingface/transformers/pull/4385.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4385.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4384/comments | https://api.github.com/repos/huggingface/transformers/issues/4384/events | https://github.com/huggingface/transformers/pull/4384 | 618,975,178 | MDExOlB1bGxSZXF1ZXN0NDE4NTk5MDA2 | 4,384 | Attempt to unpin torch version for Github Action. | {
"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 | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4384/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4384",
"html_url": "https://github.com/huggingface/transformers/pull/4384",
"diff_url": "https://github.com/huggingface/transformers/pull/4384.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4384.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4383/comments | https://api.github.com/repos/huggingface/transformers/issues/4383/events | https://github.com/huggingface/transformers/issues/4383 | 618,931,472 | MDU6SXNzdWU2MTg5MzE0NzI= | 4,383 | Issue with lr during training from scratch | {
"login": "bokertof",
"id": 43165697,
"node_id": "MDQ6VXNlcjQzMTY1Njk3",
"avatar_url": "https://avatars.githubusercontent.com/u/43165697?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bokertof",
"html_url": "https://github.com/bokertof",
"followers_url": "https://api.github.com/users/bok... | [] | closed | false | null | [] | [
"Are you restarting from your checkpoint with the exact same set of script parameters?",
"@julien-c Actually, no. And I guess I undestood what the reason of that behavior is. Originally I used to train with number of epochs = 5. After that I selected 10 epochs and hoped that it'll continue pretraining from 5'th ... | 1,589 | 1,589 | 1,589 | NONE | null | I'm trying to resume my pretraining of RoBERTa model and I noticed that everything is OK except learning rate. I thought that it should continue to decrease from last checkpoint (lr = 7e-7) but lr is much bigger (lr = 5e-5) than it has to be.
this is my parameters to run script:
- --model_name_or_path ./ROBERTA-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4383/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4382/comments | https://api.github.com/repos/huggingface/transformers/issues/4382/events | https://github.com/huggingface/transformers/issues/4382 | 618,921,897 | MDU6SXNzdWU2MTg5MjE4OTc= | 4,382 | Need clarity on training Albert from scratch | {
"login": "008karan",
"id": 18630864,
"node_id": "MDQ6VXNlcjE4NjMwODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/18630864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/008karan",
"html_url": "https://github.com/008karan",
"followers_url": "https://api.github.com/users/008... | [] | closed | false | null | [] | [
"The Albert original model has a SentencePiece tokenizer, so the `AlbertTokenizer` can only handle SentencePiece vocabularies right now. The `tokenizers` library doesn't handle these vocabularies as of now.\r\n\r\nWe're still thinking of how we should proceed when training a model from scratch with a tokenizer diff... | 1,589 | 1,637 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4382/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/4382/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4381/comments | https://api.github.com/repos/huggingface/transformers/issues/4381/events | https://github.com/huggingface/transformers/issues/4381 | 618,836,983 | MDU6SXNzdWU2MTg4MzY5ODM= | 4,381 | Unknown task fill-mask | {
"login": "DesiKeki",
"id": 48218899,
"node_id": "MDQ6VXNlcjQ4MjE4ODk5",
"avatar_url": "https://avatars.githubusercontent.com/u/48218899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DesiKeki",
"html_url": "https://github.com/DesiKeki",
"followers_url": "https://api.github.com/users/Des... | [] | closed | false | null | [] | [
"Can you upgrade your version of transformers?",
"Same issue I am not able to run the command `transformer-cli env` even after installing from source @julien-c .\r\n\r\n`transformers-cli is not recognized as an internal or external command operable program or batch file` \r\n\r\nJust wondering if this is due to t... | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
I am trying to create a "Pipeline" for fill-mask task
Language I am using the model on is English
The problem arises when using:
My own modified scripts: (give details below)
```
import transformers
transformers.__version__
```
>>'2.3.0'
```
from transformers import pipeline
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4381/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4380/comments | https://api.github.com/repos/huggingface/transformers/issues/4380/events | https://github.com/huggingface/transformers/issues/4380 | 618,824,821 | MDU6SXNzdWU2MTg4MjQ4MjE= | 4,380 | max_qa_length is needed for funetune on multiple-choice problems | {
"login": "MagicFrogSJTU",
"id": 8948386,
"node_id": "MDQ6VXNlcjg5NDgzODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8948386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MagicFrogSJTU",
"html_url": "https://github.com/MagicFrogSJTU",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Indeed, you're totally correct. Thank you for reporting the issue, I'm fixing it in #4385."
] | 1,589 | 1,589 | 1,589 | NONE | null | # 🚀 Feature request
In examples/multiple-choice/run_multiple_choice.py, the max_qa_length is not implemented as that in google/Albert, which would cause trouble when funetuning RACE.
This should be easy becauce there are similar codes in codes for run_squad.py.
### Your contribution
I have done the script and get ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4380/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/4380/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4379/comments | https://api.github.com/repos/huggingface/transformers/issues/4379/events | https://github.com/huggingface/transformers/issues/4379 | 618,747,514 | MDU6SXNzdWU2MTg3NDc1MTQ= | 4,379 | MNLI finetuning results affected by values of max_steps | {
"login": "leo-liuzy",
"id": 11146950,
"node_id": "MDQ6VXNlcjExMTQ2OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/11146950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-liuzy",
"html_url": "https://github.com/leo-liuzy",
"followers_url": "https://api.github.com/users/... | [
{
"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,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
If you follow my bash script and change MAX from 40000 to 50000, the performance is dramatically affected. However, 50000 may not be the smallest number that have this behavior and I am not sure if this is a bug or something expected; the performance is severely affected, so I decided to report.
## Informati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4379/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4378/comments | https://api.github.com/repos/huggingface/transformers/issues/4378/events | https://github.com/huggingface/transformers/pull/4378 | 618,690,315 | MDExOlB1bGxSZXF1ZXN0NDE4MzcwMTQ1 | 4,378 | Implement SuperGLUE tasks and baselines | {
"login": "W4ngatang",
"id": 5520155,
"node_id": "MDQ6VXNlcjU1MjAxNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5520155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/W4ngatang",
"html_url": "https://github.com/W4ngatang",
"followers_url": "https://api.github.com/users/W4... | [] | closed | false | null | [] | [
"Hi @W4ngatang did you see that we have a new `Trainer` class in the library? It's basically a refactor of the previous version of `run_glue.py` so should be pretty easy to adopt.\r\n\r\nLet us know if we can help, and very excited to have an easy path to SuperGLUE tasks in the repo :)",
"Hi Julien,\r\n\r\nSaw it... | 1,589 | 1,619 | 1,619 | NONE | null | WIP implementation of the SuperGLUE tasks, following the style of the GLUE data processors. This PR includes:
- classification with marked spans: most tasks are classification and straightforward, but WiC and WSC have special spans. This PR implements `*SpanClassification` models (currently for just BERT and RoBERTa) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4378/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 4
} | https://api.github.com/repos/huggingface/transformers/issues/4378/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4378",
"html_url": "https://github.com/huggingface/transformers/pull/4378",
"diff_url": "https://github.com/huggingface/transformers/pull/4378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4378.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4377/comments | https://api.github.com/repos/huggingface/transformers/issues/4377/events | https://github.com/huggingface/transformers/pull/4377 | 618,686,752 | MDExOlB1bGxSZXF1ZXN0NDE4MzY3MjI3 | 4,377 | Added README huseinzol05/t5-base-bahasa-cased | {
"login": "huseinzol05",
"id": 19810909,
"node_id": "MDQ6VXNlcjE5ODEwOTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/19810909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huseinzol05",
"html_url": "https://github.com/huseinzol05",
"followers_url": "https://api.github.com/... | [
{
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4377",
"html_url": "https://github.com/huggingface/transformers/pull/4377",
"diff_url": "https://github.com/huggingface/transformers/pull/4377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4377.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4376/comments | https://api.github.com/repos/huggingface/transformers/issues/4376/events | https://github.com/huggingface/transformers/issues/4376 | 618,653,563 | MDU6SXNzdWU2MTg2NTM1NjM= | 4,376 | Error on instantiating pipeline.summarizer | {
"login": "amgsharma",
"id": 8289118,
"node_id": "MDQ6VXNlcjgyODkxMTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8289118?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amgsharma",
"html_url": "https://github.com/amgsharma",
"followers_url": "https://api.github.com/users/am... | [
{
"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 am also facing the same problem",
"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,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
The problem arises when using:
I'm just testing out the different modules in the package. and following the examples on the [usage page](https://huggingface.co/transformers/usage.html)
## To reproduce
Run the following snippet with the environment set up as. described in the relev... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4376/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4376/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4375/comments | https://api.github.com/repos/huggingface/transformers/issues/4375/events | https://github.com/huggingface/transformers/pull/4375 | 618,619,827 | MDExOlB1bGxSZXF1ZXN0NDE4MzE1Njcx | 4,375 | [docs] Restore examples.md symlink | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"Doesn't work right now as links are relative links. We should update them to global links before, I can take care of it."
] | 1,589 | 1,590 | 1,590 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4375/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4375",
"html_url": "https://github.com/huggingface/transformers/pull/4375",
"diff_url": "https://github.com/huggingface/transformers/pull/4375.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4375.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4374/comments | https://api.github.com/repos/huggingface/transformers/issues/4374/events | https://github.com/huggingface/transformers/issues/4374 | 618,565,845 | MDU6SXNzdWU2MTg1NjU4NDU= | 4,374 | Speed on various cards | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [
{
"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,589 | 1,595 | 1,595 | NONE | null | This is not a bug, but I wonder if someone know what is the speed difference between different cards.
I now run bert base on 1080.
How much speedup will I get using 1080 ti and 2080. Which one is faster for Transformers?
I know 2080 ti would be the best but probably the best one I can get would be 1080 ti or ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4374/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4373/comments | https://api.github.com/repos/huggingface/transformers/issues/4373/events | https://github.com/huggingface/transformers/pull/4373 | 618,560,942 | MDExOlB1bGxSZXF1ZXN0NDE4MjY3NDg5 | 4,373 | Specify tensorboard logging in BART finetuning | {
"login": "isabelcachola",
"id": 15042219,
"node_id": "MDQ6VXNlcjE1MDQyMjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/15042219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isabelcachola",
"html_url": "https://github.com/isabelcachola",
"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 | {
"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... | [
"You may also need to rebase to fix `check_code_quality`.\r\nAlso `run_examples_torch` will only pass if it doesn't add new dependencies.",
"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.\... | 1,589 | 1,599 | 1,599 | NONE | null | Allows you to specify the directory in which to store tensorboard logs when running the BART finetuning script.
Issue: #4349
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4373/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4373",
"html_url": "https://github.com/huggingface/transformers/pull/4373",
"diff_url": "https://github.com/huggingface/transformers/pull/4373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4373.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4372/comments | https://api.github.com/repos/huggingface/transformers/issues/4372/events | https://github.com/huggingface/transformers/pull/4372 | 618,559,446 | MDExOlB1bGxSZXF1ZXN0NDE4MjY2MjU2 | 4,372 | Allow for None gradients in GradientAccumulator. | {
"login": "jarednielsen",
"id": 4564897,
"node_id": "MDQ6VXNlcjQ1NjQ4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jarednielsen",
"html_url": "https://github.com/jarednielsen",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | The [TFTrainer commit](https://github.com/huggingface/transformers/commit/aad50151f35b934039c455242c433a24f011cc93#diff-2a765415189cf1edda4414e1758b0e79) seems to have reverted the ability for gradients to be None in GradientAccumulator. This behavior is necessary when pretraining a model, such as AlbertForPreTraining,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4372/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4372",
"html_url": "https://github.com/huggingface/transformers/pull/4372",
"diff_url": "https://github.com/huggingface/transformers/pull/4372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4372.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4371/comments | https://api.github.com/repos/huggingface/transformers/issues/4371/events | https://github.com/huggingface/transformers/issues/4371 | 618,480,561 | MDU6SXNzdWU2MTg0ODA1NjE= | 4,371 | Save pretrained MarianTokenizer | {
"login": "NonaryR",
"id": 8309465,
"node_id": "MDQ6VXNlcjgzMDk0NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8309465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NonaryR",
"html_url": "https://github.com/NonaryR",
"followers_url": "https://api.github.com/users/NonaryR/... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Also, how can I transfer to cuda `BatchEncoding` object which return after call `prepare_translation_batch` method on `MarianTokenizer`",
"This could be fixed by specifiying a `save_vocabulary` function, like it is used in:\r\n\r\nhttps://github.com/huggingface/transformers/blob/7defc6670fa76e857109e1b99f3e919da... | 1,589 | 1,592 | 1,589 | NONE | null | Hello!
I can't save pretrained MarianTokenizer, it's raising NotImplementedError as a subclass of PretrainedTokenizer.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4371/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4370/comments | https://api.github.com/repos/huggingface/transformers/issues/4370/events | https://github.com/huggingface/transformers/issues/4370 | 618,470,967 | MDU6SXNzdWU2MTg0NzA5Njc= | 4,370 | run_squad with early stopping on a validation set | {
"login": "yonatanbitton",
"id": 26148975,
"node_id": "MDQ6VXNlcjI2MTQ4OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/26148975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonatanbitton",
"html_url": "https://github.com/yonatanbitton",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi, this would be something you would need to build yourself.\r\n\r\nAlternatively you could use our Layers as Keras Layers?"
] | 1,589 | 1,589 | 1,589 | NONE | null | Hello.
Is there a way to use run_squad with early stopping as a validation set?
I have 3 files: train-v1.1.json, dev-v1.1.json, and test-v1.1.json.
I want to train on the train file, stop the training when the loss on the dev file starts to increase, and then do the final prediction and answers output on the tes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4370/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4369/comments | https://api.github.com/repos/huggingface/transformers/issues/4369/events | https://github.com/huggingface/transformers/issues/4369 | 618,444,753 | MDU6SXNzdWU2MTg0NDQ3NTM= | 4,369 | demo website: i info icon should link to resource about parameters | {
"login": "rugk",
"id": 11966684,
"node_id": "MDQ6VXNlcjExOTY2Njg0",
"avatar_url": "https://avatars.githubusercontent.com/u/11966684?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rugk",
"html_url": "https://github.com/rugk",
"followers_url": "https://api.github.com/users/rugk/followers"... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1565794707,
"node_id": "MDU6TGFiZWwxNTY1Nzk0NzA3",
... | 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",
"Hi @rugk, open to any suggestion for a better documentation link – e.g. should we link to https://huggingface.co/blog/how-to-generate ?... | 1,589 | 1,606 | 1,606 | NONE | null | The website/demo at https://transformer.huggingface.co does have a "Model & decoder settings" box at the bottom left.
Next to it, at the right, there is an "(i)" sign.
STR: Click on it.
**What happens:** It links to this repo.
**What should happen:** It should link to somewhere, where the parameters are actually ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4369/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4368/comments | https://api.github.com/repos/huggingface/transformers/issues/4368/events | https://github.com/huggingface/transformers/issues/4368 | 618,444,157 | MDU6SXNzdWU2MTg0NDQxNTc= | 4,368 | past functionality broken in release 2.9.0 and 2.9.1 | {
"login": "Damiox",
"id": 599804,
"node_id": "MDQ6VXNlcjU5OTgwNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/599804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Damiox",
"html_url": "https://github.com/Damiox",
"followers_url": "https://api.github.com/users/Damiox/follow... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @Damiox,\r\n\r\nI think I see the problem. That's quite an edge case here. Since `2.8.0` (here the PR: https://github.com/huggingface/transformers/pull/3734), the `input_ids` will always be cut to just the last token when using `past` to have a consistent API with other models and allow to keep putting in the w... | 1,589 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
## Information
Model: gpt2
## To reproduce
Steps to reproduce the behavior:
```
from transformers.tokenization_gpt2 import GPT2Tokenizer
from transformers.modeling_gpt2 import GPT2LMHeadModel
import torch
# Remember to run transformers with latest master (not release 2.5.1)
tokenizer = GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4368/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4368/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4367/comments | https://api.github.com/repos/huggingface/transformers/issues/4367/events | https://github.com/huggingface/transformers/pull/4367 | 618,372,141 | MDExOlB1bGxSZXF1ZXN0NDE4MTEyMDMx | 4,367 | Fix: unpin flake8 and fix cs errors | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4367/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4367",
"html_url": "https://github.com/huggingface/transformers/pull/4367",
"diff_url": "https://github.com/huggingface/transformers/pull/4367.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4367.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4366/comments | https://api.github.com/repos/huggingface/transformers/issues/4366/events | https://github.com/huggingface/transformers/issues/4366 | 618,368,082 | MDU6SXNzdWU2MTgzNjgwODI= | 4,366 | [pipelines] Failing @slow test for TF 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... | [] | 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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Command:
```bash
RUN_SLOW=1 pytest tests/test_pipelines.py --durations 0 -s -k tf_defaults
```
Issue caused by trying to use Bart in TF.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4366/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4365/comments | https://api.github.com/repos/huggingface/transformers/issues/4365/events | https://github.com/huggingface/transformers/issues/4365 | 618,354,312 | MDU6SXNzdWU2MTgzNTQzMTI= | 4,365 | Has anyone successfully used TF2.0 to load pre-trained transformer-XL (wt103) weights and reproduce their sota results | {
"login": "menghuanlater",
"id": 19285180,
"node_id": "MDQ6VXNlcjE5Mjg1MTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/19285180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/menghuanlater",
"html_url": "https://github.com/menghuanlater",
"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,589 | 1,594 | 1,594 | 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 Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4365/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4364/comments | https://api.github.com/repos/huggingface/transformers/issues/4364/events | https://github.com/huggingface/transformers/issues/4364 | 618,327,197 | MDU6SXNzdWU2MTgzMjcxOTc= | 4,364 | Can not reproduce article numbers | {
"login": "vladgets",
"id": 8079846,
"node_id": "MDQ6VXNlcjgwNzk4NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8079846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vladgets",
"html_url": "https://github.com/vladgets",
"followers_url": "https://api.github.com/users/vladg... | [
{
"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 | [] | [
"These are numbers that I am getting when running the examples (in the article or here: https://github.com/nlpyang/PreSumm) they mention much higher numbers: \r\n\r\n****** ROUGE SCORES ******\r\n\r\n** ROUGE 1\r\nF1 >> 0.195\r\nPrecision >> 0.209\r\nRecall >> 0.186\r\n\r\n** ROUGE 2\r\nF1 >> 0.094... | 1,589 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
https://github.com/huggingface/transformers/tree/master/examples/summarization/bertabs
## Information
Bertabs Rouge1/2 F1 evaluation numbers that I am getting are much less than in their article. About twice less!
Model I am using (Bert, XLNet ...):
Bertabs
Language I am using the model on (Engl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4364/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4363/comments | https://api.github.com/repos/huggingface/transformers/issues/4363/events | https://github.com/huggingface/transformers/pull/4363 | 618,286,263 | MDExOlB1bGxSZXF1ZXN0NDE4MDQxNTM0 | 4,363 | Fix trainer evaluation | {
"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 | [] | [
"Thanks for catching this, @patil-suraj!"
] | 1,589 | 1,589 | 1,589 | MEMBER | null | Fix eval loss calculation in Trainer for models with `lm_labels` parameter, related to issue #4361
Fix trainer crash at eval time on TPU, related to issue #4362
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4363/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4363/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4363",
"html_url": "https://github.com/huggingface/transformers/pull/4363",
"diff_url": "https://github.com/huggingface/transformers/pull/4363.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4363.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4362/comments | https://api.github.com/repos/huggingface/transformers/issues/4362/events | https://github.com/huggingface/transformers/issues/4362 | 618,279,677 | MDU6SXNzdWU2MTgyNzk2Nzc= | 4,362 | Trainer crashes on TPU at eval time when prediction_loss_only is True | {
"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 | [] | [
"By the way we're hoping to soon have TPU-specific CI in place, cc @LysandreJik "
] | 1,589 | 1,589 | 1,589 | MEMBER | null | # 🐛 Bug
The trainer crashes on TPU at eval time when `prediction_loss_only` is `True`. Here's the stack trace
```
ValueError: zero-dimensional arrays cannot be concatenated
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer.py", line 630, in evaluate
output = self._prediction_loop(eval_datalo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4362/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4362/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4361/comments | https://api.github.com/repos/huggingface/transformers/issues/4361/events | https://github.com/huggingface/transformers/issues/4361 | 618,279,603 | MDU6SXNzdWU2MTgyNzk2MDM= | 4,361 | Trainer doesn't calculate eval loss for models with lm_labels parameter | {
"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,589 | 1,589 | 1,589 | MEMBER | null | # 🐛 Bug
The trainer doesn't calculate evaluation loss for models with `lm_labels` parameters in the `forward` method. This line https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py#L682 is the source of the bug
`has_labels = any(inputs.get(k) is not None for k in ["labels", "masked_lm_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4361/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4360/comments | https://api.github.com/repos/huggingface/transformers/issues/4360/events | https://github.com/huggingface/transformers/issues/4360 | 618,229,840 | MDU6SXNzdWU2MTgyMjk4NDA= | 4,360 | LayerNorm not excluded from weight decay in TF | {
"login": "oliverastrand",
"id": 24825393,
"node_id": "MDQ6VXNlcjI0ODI1Mzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/24825393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oliverastrand",
"html_url": "https://github.com/oliverastrand",
"followers_url": "https://api.githu... | [] | 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... | [
"Thanks for the issue dude! Feel free to open a PR if you have a branch that fixed that lying around haha ;-) "
] | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
bert-base-cased
Language I am using the model on (English, Chinese ...):
English
The problem arises when using:
* [X] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am worki... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4360/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4359/comments | https://api.github.com/repos/huggingface/transformers/issues/4359/events | https://github.com/huggingface/transformers/pull/4359 | 618,200,827 | MDExOlB1bGxSZXF1ZXN0NDE3OTcyMjY1 | 4,359 | Create README.md | {
"login": "savasy",
"id": 6584825,
"node_id": "MDQ6VXNlcjY1ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6584825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/savasy",
"html_url": "https://github.com/savasy",
"followers_url": "https://api.github.com/users/savasy/foll... | [
{
"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 | [] | [
"Added language metadata for the model to appear on https://huggingface.co/models?filter=turkish"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4359/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4359",
"html_url": "https://github.com/huggingface/transformers/pull/4359",
"diff_url": "https://github.com/huggingface/transformers/pull/4359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4359.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4358/comments | https://api.github.com/repos/huggingface/transformers/issues/4358/events | https://github.com/huggingface/transformers/issues/4358 | 618,191,961 | MDU6SXNzdWU2MTgxOTE5NjE= | 4,358 | Trainer and Colab TPU: Training loss isn't declining | {
"login": "gustavscholin",
"id": 35476152,
"node_id": "MDQ6VXNlcjM1NDc2MTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/35476152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gustavscholin",
"html_url": "https://github.com/gustavscholin",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I meeting the same issue with a custom training script (built using GLUE script as model), using ELECTRA for classification task.",
"Hi! This should have been solved by https://github.com/huggingface/transformers/pull/4450.\r\nCould you install from source and let me know if it fixes your issue?",
"The code is... | 1,589 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
When using the Trainer with a Colab TPU it seems like the training loss remains more or less constant around 1.11 during the whole training process. With Colab GPU/CPU however it you get the expected loss decline.
## Information
Model I am using (Bert, XLNet ...):Bert Base Cased
Language I am using the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4358/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/4358/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4357/comments | https://api.github.com/repos/huggingface/transformers/issues/4357/events | https://github.com/huggingface/transformers/pull/4357 | 618,126,497 | MDExOlB1bGxSZXF1ZXN0NDE3OTEyMDE3 | 4,357 | Create README.md | {
"login": "sy-wada",
"id": 62933006,
"node_id": "MDQ6VXNlcjYyOTMzMDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/62933006?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sy-wada",
"html_url": "https://github.com/sy-wada",
"followers_url": "https://api.github.com/users/sy-wad... | [
{
"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 | [] | [
"Great! I suspect Exbert won't work out of the box but we are looking into enabling it automatically"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4357/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4357",
"html_url": "https://github.com/huggingface/transformers/pull/4357",
"diff_url": "https://github.com/huggingface/transformers/pull/4357.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4357.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4356/comments | https://api.github.com/repos/huggingface/transformers/issues/4356/events | https://github.com/huggingface/transformers/issues/4356 | 618,111,434 | MDU6SXNzdWU2MTgxMTE0MzQ= | 4,356 | GPT2 checkpoint breaks on new transformers version (2.9.1) | {
"login": "Laksh1997",
"id": 59830552,
"node_id": "MDQ6VXNlcjU5ODMwNTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/59830552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Laksh1997",
"html_url": "https://github.com/Laksh1997",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Do you mind giving us a reproducible code example so that we may check on our end?",
"I have the same issue, my trained models work on 2.8.0 but I get the same error when loading saved model on 2.9.1",
"Hi, sorry for not getting back to this @LysandreJik .\r\n\r\nIt seems that in Transformers 2.8.0 and below, ... | 1,589 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT2
Language I am using the model on (English, Chinese ...): SMILES
## Description
When trying to load a gpt2 checkpoint from before 2.9.1, it loads fine.
Checked on 2.8.0 and it works fine.
Then on 2.9.1 I can't load the model and I get... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4356/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4355/comments | https://api.github.com/repos/huggingface/transformers/issues/4355/events | https://github.com/huggingface/transformers/issues/4355 | 618,071,073 | MDU6SXNzdWU2MTgwNzEwNzM= | 4,355 | DistilGPT2 Finetuning with GPU | {
"login": "orientino",
"id": 36336751,
"node_id": "MDQ6VXNlcjM2MzM2NzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/36336751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orientino",
"html_url": "https://github.com/orientino",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It should be automatic.\r\n\r\nWhat does torch.cuda.is_available say?",
"torch.cuda.is_available return False.\r\nThis is what my setup is by running nvidia-smi\r\n```\r\nThu May 14 15:04:38 2020\r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 431.87 Drive... | 1,589 | 1,589 | 1,589 | NONE | null | Hi, i'm a beginner in this field and would like to finetune the model DistilGPT2 using my laptop. I have an Nvidia 1660Ti and followed the guide example
```
export TRAIN_FILE=/path/to/dataset/wiki.train.raw
export TEST_FILE=/path/to/dataset/wiki.test.raw
python run_language_modeling.py \
--output_dir=outp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4355/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4354/comments | https://api.github.com/repos/huggingface/transformers/issues/4354/events | https://github.com/huggingface/transformers/issues/4354 | 618,055,609 | MDU6SXNzdWU2MTgwNTU2MDk= | 4,354 | Not getting expected results for freshly-pretrained BERT | {
"login": "danyaljj",
"id": 2441454,
"node_id": "MDQ6VXNlcjI0NDE0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danyaljj",
"html_url": "https://github.com/danyaljj",
"followers_url": "https://api.github.com/users/danya... | [
{
"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,589 | 1,595 | 1,595 | CONTRIBUTOR | null | # ❓ Questions & Help
I have a freshly trained BERT (using the original BERT) which doesn't seem to function as expected after moving it to PyTorch/Transformers. I don't have any syntax errors anywhere. So I am not sure how to go about understanding the bug. Wondering if anyone has suggestions for me.
Below I am pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4354/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4354/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4353/comments | https://api.github.com/repos/huggingface/transformers/issues/4353/events | https://github.com/huggingface/transformers/pull/4353 | 617,867,298 | MDExOlB1bGxSZXF1ZXN0NDE3NzA1MTQy | 4,353 | Fixing tokenization of extra_id symbols in T5Tokenizer | {
"login": "mansimov",
"id": 1727860,
"node_id": "MDQ6VXNlcjE3Mjc4NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1727860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mansimov",
"html_url": "https://github.com/mansimov",
"followers_url": "https://api.github.com/users/mansi... | [] | 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... | [
"Awesome this looks good to me! \r\n\r\n@LysandreJik - I tried this fix and it does fix the issue https://github.com/huggingface/transformers/issues/4021 . To me it seems like this line was just forgotten when implementing T5 tokenizer.",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4353?src=p... | 1,589 | 1,599 | 1,590 | CONTRIBUTOR | null | Fixing tokenization of extra_id symbols in T5Tokenizer. Related to issue #4021 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4353/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4353",
"html_url": "https://github.com/huggingface/transformers/pull/4353",
"diff_url": "https://github.com/huggingface/transformers/pull/4353.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4353.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4352/comments | https://api.github.com/repos/huggingface/transformers/issues/4352/events | https://github.com/huggingface/transformers/pull/4352 | 617,844,409 | MDExOlB1bGxSZXF1ZXN0NDE3Njg2OTQ3 | 4,352 | Longformer | {
"login": "ibeltagy",
"id": 2287797,
"node_id": "MDQ6VXNlcjIyODc3OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2287797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ibeltagy",
"html_url": "https://github.com/ibeltagy",
"followers_url": "https://api.github.com/users/ibelt... | [] | closed | false | null | [] | [
"This is awesome @ibeltagy . I´m very excited about longformer.\r\n\r\nIn the original implementation a good speedup was thanks to the personalized kernel in tvm. In this pull, this speedup is lost, or it was adapted somehow?",
"Thanx @ibeltagy! \r\n\r\nIs it possible for you or someone else who is familiar with ... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | ## Adding the Longformer model
Paper: https://arxiv.org/abs/2004.05150
The code is mostly copied from https://github.com/allenai/longformer
Addressing issue: https://github.com/huggingface/transformers/issues/3783
**TODOs**
- [x] Add unit tests
- [x] Address PR reviews
- [x] Upload model to HF instead of Allen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4352/reactions",
"total_count": 20,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 13,
"confused": 0,
"heart": 7,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4352/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4352",
"html_url": "https://github.com/huggingface/transformers/pull/4352",
"diff_url": "https://github.com/huggingface/transformers/pull/4352.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4352.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4351/comments | https://api.github.com/repos/huggingface/transformers/issues/4351/events | https://github.com/huggingface/transformers/pull/4351 | 617,839,529 | MDExOlB1bGxSZXF1ZXN0NDE3NjgzMDQy | 4,351 | tf add resize_token_embeddings method | {
"login": "dzorlu",
"id": 3424293,
"node_id": "MDQ6VXNlcjM0MjQyOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3424293?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dzorlu",
"html_url": "https://github.com/dzorlu",
"followers_url": "https://api.github.com/users/dzorlu/foll... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4351?src=pr&el=h1) Report\n> Merging [#4351](https://codecov.io/gh/huggingface/transformers/pull/4351?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e8db8b845a971b0cf63a0896b9deb5b316028a8b&el=desc) will **increase... | 1,589 | 1,592 | 1,592 | NONE | null | Introduces the `resize_token_embeddings` method for TF models (with the exception of `Transformer-XL`).
My first commit! Thank you for the awesome library.
I often have found myself in need to extend the embeddings vectors to accommodate auxiliary data, it seems that TF models don't have the functionality. Size o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4351/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4351/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4351",
"html_url": "https://github.com/huggingface/transformers/pull/4351",
"diff_url": "https://github.com/huggingface/transformers/pull/4351.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4351.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4350/comments | https://api.github.com/repos/huggingface/transformers/issues/4350/events | https://github.com/huggingface/transformers/issues/4350 | 617,829,144 | MDU6SXNzdWU2MTc4MjkxNDQ= | 4,350 | RobertaForSequenceClassification for BERT | {
"login": "pashok3d",
"id": 35535358,
"node_id": "MDQ6VXNlcjM1NTM1MzU4",
"avatar_url": "https://avatars.githubusercontent.com/u/35535358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pashok3d",
"html_url": "https://github.com/pashok3d",
"followers_url": "https://api.github.com/users/pas... | [
{
"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,589 | 1,595 | 1,595 | CONTRIBUTOR | null | # ❓ Questions & Help
Could you please explain, what are the consequences of using RobertaForSequenceClassification head with BERT pre-trained model? Will it be the same effect as using BertForSequenceClassification? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4350/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4350/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4349/comments | https://api.github.com/repos/huggingface/transformers/issues/4349/events | https://github.com/huggingface/transformers/issues/4349 | 617,828,746 | MDU6SXNzdWU2MTc4Mjg3NDY= | 4,349 | Ability to specify directory of tensorboard logs in BART finetuning example | {
"login": "isabelcachola",
"id": 15042219,
"node_id": "MDQ6VXNlcjE1MDQyMjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/15042219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isabelcachola",
"html_url": "https://github.com/isabelcachola",
"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,589 | 1,595 | 1,595 | NONE | null | # 🚀 Feature request
Using [this script](https://github.com/huggingface/transformers/blob/839bfaedb21e42edee093b9e21e2c2f1ea7514f0/examples/summarization/bart/finetune.py) to finetune BART, it'd be useful if we could specify the directory to store the tensorboard logs. Right now, it looks like the logs are saved to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4349/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/4349/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4348/comments | https://api.github.com/repos/huggingface/transformers/issues/4348/events | https://github.com/huggingface/transformers/pull/4348 | 617,807,120 | MDExOlB1bGxSZXF1ZXN0NDE3NjU2MjAz | 4,348 | Add link to W&B to see whole training logs | {
"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 | [] | [
"love it, thanks Manuel! 👍 ",
"You are welcome. From now on I will add it to all my models."
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4348/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4348",
"html_url": "https://github.com/huggingface/transformers/pull/4348",
"diff_url": "https://github.com/huggingface/transformers/pull/4348.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4348.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4347/comments | https://api.github.com/repos/huggingface/transformers/issues/4347/events | https://github.com/huggingface/transformers/issues/4347 | 617,773,659 | MDU6SXNzdWU2MTc3NzM2NTk= | 4,347 | TracerWarning on modeling_gpt2.py:147 when using Torchscript | {
"login": "Damiox",
"id": 599804,
"node_id": "MDQ6VXNlcjU5OTgwNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/599804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Damiox",
"html_url": "https://github.com/Damiox",
"followers_url": "https://api.github.com/users/Damiox/follow... | [
{
"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,589 | 1,595 | 1,595 | NONE | null | The following script:
```
model = GPT2LMHeadModel.from_pretrained('gpt2-medium')
model.eval()
example = torch.randn(100, 50).abs().mul(1000).type(torch.int64)
traced_model = torch.jit.trace(model, example)
```
I
It's returning the following Warning:
```
python3.7/site-packages/transformers/m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4347/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4347/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4346/comments | https://api.github.com/repos/huggingface/transformers/issues/4346/events | https://github.com/huggingface/transformers/issues/4346 | 617,695,286 | MDU6SXNzdWU2MTc2OTUyODY= | 4,346 | Discrepancy in the generation of T5 here vs the original code | {
"login": "danyaljj",
"id": 2441454,
"node_id": "MDQ6VXNlcjI0NDE0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danyaljj",
"html_url": "https://github.com/danyaljj",
"followers_url": "https://api.github.com/users/danya... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"I think you should add a prefix, such as `\"question: Which is the best conductor\"` for hugging face code. Can you try that and see whether the results improve? "
] | 1,589 | 1,591 | 1,591 | CONTRIBUTOR | null | # ❓ Questions & Help
We have [several models](https://github.com/allenai/unifiedqa) train with the original T5 code. Now trying the models in your code, we see some discrepancies. For example, on this input: "Which is best conductor? \n (A) iron (B) feather (C) wood (D) plastic" while [the original code](https://un... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4346/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4345/comments | https://api.github.com/repos/huggingface/transformers/issues/4345/events | https://github.com/huggingface/transformers/pull/4345 | 617,645,786 | MDExOlB1bGxSZXF1ZXN0NDE3NTIyODcx | 4,345 | Add image and metadata | {
"login": "ViktorAlm",
"id": 1090762,
"node_id": "MDQ6VXNlcjEwOTA3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1090762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViktorAlm",
"html_url": "https://github.com/ViktorAlm",
"followers_url": "https://api.github.com/users/Vi... | [
{
"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 | [] | [
"[model page](https://huggingface.co/ViktorAlm/electra-base-norwegian-uncased-discriminator)"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Unfortunately i accidentally orphaned my other PR | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4345/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4345",
"html_url": "https://github.com/huggingface/transformers/pull/4345",
"diff_url": "https://github.com/huggingface/transformers/pull/4345.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4345.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4344/comments | https://api.github.com/repos/huggingface/transformers/issues/4344/events | https://github.com/huggingface/transformers/pull/4344 | 617,598,992 | MDExOlB1bGxSZXF1ZXN0NDE3NDg0OTAw | 4,344 | Added the feature to provide a generation prompt for encoder-decoder models. | {
"login": "lukovnikov",
"id": 1732910,
"node_id": "MDQ6VXNlcjE3MzI5MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1732910?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukovnikov",
"html_url": "https://github.com/lukovnikov",
"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... | [
"The code quality check complains about lines being too long in modeling_utils.py.\r\nThere are several unchanged places where this is already the case. Should I ignore this?",
"Also adding @yjernite since we talked about something similar",
"This issue has been automatically marked as stale because it has not ... | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | Added the `decoder_input_ids` argument to `.generate(...)`, which should be used (only) with encoder-decoder models to start generation from some sequence. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4344/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4344",
"html_url": "https://github.com/huggingface/transformers/pull/4344",
"diff_url": "https://github.com/huggingface/transformers/pull/4344.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4344.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4343/comments | https://api.github.com/repos/huggingface/transformers/issues/4343/events | https://github.com/huggingface/transformers/issues/4343 | 617,598,899 | MDU6SXNzdWU2MTc1OTg4OTk= | 4,343 | [docs] XLNetLMHeadModel example in documentation does not produce the right probabilities | {
"login": "Futrell",
"id": 1498405,
"node_id": "MDQ6VXNlcjE0OTg0MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1498405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Futrell",
"html_url": "https://github.com/Futrell",
"followers_url": "https://api.github.com/users/Futrell/... | [] | 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... | [
"`XLNet` usually requires some padding to work well, see https://huggingface.co/transformers/usage.html#text-generation. \r\n\r\nYou could try to use padding as shown here: https://huggingface.co/transformers/usage.html#text-generation and see whether the problem persists?",
"This resolves the problem."
] | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): XLNet
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ X ] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4343/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4342/comments | https://api.github.com/repos/huggingface/transformers/issues/4342/events | https://github.com/huggingface/transformers/pull/4342 | 617,580,075 | MDExOlB1bGxSZXF1ZXN0NDE3NDY5NTQ3 | 4,342 | Added the option to seed generation in encoder-decoder models | {
"login": "lukovnikov",
"id": 1732910,
"node_id": "MDQ6VXNlcjE3MzI5MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1732910?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukovnikov",
"html_url": "https://github.com/lukovnikov",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Added the `decoder_input_ids` argument to `.generate()`, which acts as `input_ids` for the decoder instead of fixed BOS tokens used now. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4342/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4342/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4342",
"html_url": "https://github.com/huggingface/transformers/pull/4342",
"diff_url": "https://github.com/huggingface/transformers/pull/4342.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4342.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4341/comments | https://api.github.com/repos/huggingface/transformers/issues/4341/events | https://github.com/huggingface/transformers/pull/4341 | 617,570,147 | MDExOlB1bGxSZXF1ZXN0NDE3NDYxMTE3 | 4,341 | rerun notebook 02-transformers | {
"login": "nikitajz",
"id": 12535180,
"node_id": "MDQ6VXNlcjEyNTM1MTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/12535180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikitajz",
"html_url": "https://github.com/nikitajz",
"followers_url": "https://api.github.com/users/nik... | [] | closed | false | null | [] | [
"Thanks @nikitajz, \r\n\r\nLGTM ! 👍 "
] | 1,589 | 1,705 | 1,589 | CONTRIBUTOR | null | Just a notebook rerun (some cells were not executed in the original one).
Few minor changes:
- removed installation cell output for readability (it can't be collapsed in GitHub notebook viewer)
- added prints with tensors details in the last cell (DE BERT model)
I'm unable to attach nbdiff as html (due to github... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4341/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4341",
"html_url": "https://github.com/huggingface/transformers/pull/4341",
"diff_url": "https://github.com/huggingface/transformers/pull/4341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4341.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4340/comments | https://api.github.com/repos/huggingface/transformers/issues/4340/events | https://github.com/huggingface/transformers/issues/4340 | 617,564,249 | MDU6SXNzdWU2MTc1NjQyNDk= | 4,340 | Support multitask learning | {
"login": "ghomasHudson",
"id": 13795113,
"node_id": "MDQ6VXNlcjEzNzk1MTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/13795113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghomasHudson",
"html_url": "https://github.com/ghomasHudson",
"followers_url": "https://api.github.c... | [] | 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... | [
"Having thought about this more, it would probably make most sense as an example of a PyTorch `Sampler`which implements temperature-scaled mixing on `ConcatDataset([dataset1, dataset2,...])`.\r\n\r\nI'll attempt it using the t5 model firstly, and contribute it back if successful.",
"Hi, @ghomasHudson,\r\nThis see... | 1,589 | 1,591 | 1,591 | NONE | null | # 🚀 Feature request
There should be an easy way to support multitask learning.
## Motivation
It seems like many of the best performing models on the GLUE benchmark make some use of multitask learning (simultaneous training on multiple tasks).
The [T5 paper](https://arxiv.org/pdf/1910.10683.pdf) highlights ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4340/reactions",
"total_count": 13,
"+1": 13,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4340/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4339/comments | https://api.github.com/repos/huggingface/transformers/issues/4339/events | https://github.com/huggingface/transformers/pull/4339 | 617,532,649 | MDExOlB1bGxSZXF1ZXN0NDE3NDMwNTEy | 4,339 | TPU needs a rendezvous | {
"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,589 | 1,589 | 1,589 | MEMBER | null | When running on TPU, each ordinal needs to call `save_pretrained`. See [original implementation by @jysohn23](https://github.com/huggingface/transformers/pull/3702/files#diff-28e1baa470caa8e6f23b78a356b6bbdfR162).
If we don't do it this way, the trainer hangs when saving the model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4339/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4339/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4339",
"html_url": "https://github.com/huggingface/transformers/pull/4339",
"diff_url": "https://github.com/huggingface/transformers/pull/4339.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4339.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4338/comments | https://api.github.com/repos/huggingface/transformers/issues/4338/events | https://github.com/huggingface/transformers/issues/4338 | 617,410,440 | MDU6SXNzdWU2MTc0MTA0NDA= | 4,338 | can't load checkpoint file from examples/run_language_modeling.py | {
"login": "rfernand2",
"id": 4296158,
"node_id": "MDQ6VXNlcjQyOTYxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4296158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rfernand2",
"html_url": "https://github.com/rfernand2",
"followers_url": "https://api.github.com/users/rf... | [] | closed | false | null | [] | [
"`--model_name_or_path` should be a folder, so you should use just `./output` instead.",
"Thanks. Verified - that fixed it. Please add a note n the README.md to explain this. Thanks.",
"Hi, may I ask how did you get these checkpoint files? I tried to specify the path to the checkpoint that is generated by th... | 1,589 | 1,658 | 1,589 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
**GPT2**
Language I am using the model on (English, Chinese ...):
**English**
The problem arises when using:
* [x ] the official example scripts: (give details below)
There seems to be no supported way of continuing training or evaluating a previou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4338/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4337/comments | https://api.github.com/repos/huggingface/transformers/issues/4337/events | https://github.com/huggingface/transformers/issues/4337 | 617,371,489 | MDU6SXNzdWU2MTczNzE0ODk= | 4,337 | Wrong dimensions of input to loss function, multilabel classification | {
"login": "simhallq",
"id": 35776028,
"node_id": "MDQ6VXNlcjM1Nzc2MDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/35776028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simhallq",
"html_url": "https://github.com/simhallq",
"followers_url": "https://api.github.com/users/sim... | [
{
"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 are doing anything custom, then you should write your own model class, right? Plus your own loss function suiting your needs if default ones raises errors?\r\n\r\n[This](https://discuss.pytorch.org/t/what-kind-of-loss-is-better-to-use-in-multilabel-classification/32203/) might help;",
"This issue has been... | 1,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
**Model I am using (Bert, XLNet ...):**
bert-base-uncased
**Language I am using the model on (English, Chinese ...):**
English
**The problem arises when using:**
* [x] the official example scripts: (give details below)
[](url)
Problem originally arose when running my own scripts... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4337/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4336/comments | https://api.github.com/repos/huggingface/transformers/issues/4336/events | https://github.com/huggingface/transformers/issues/4336 | 617,325,595 | MDU6SXNzdWU2MTczMjU1OTU= | 4,336 | Unable to load weights from pytorch checkpoint file | {
"login": "manueltonneau",
"id": 29440170,
"node_id": "MDQ6VXNlcjI5NDQwMTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/29440170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueltonneau",
"html_url": "https://github.com/manueltonneau",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I had this problem today,too. I create a new container as my new gpu environment, but cannot load any pretrained due to this error, but the same load pretrained codes are normal run on my old enviroment to download the pretrained",
"Hi @mananeau, when I look on the website and click on \"show all files\" for yo... | 1,589 | 1,692 | 1,589 | NONE | null | # 🐛 Bug
## Information
I uploaded two models this morning using the `transformers-cli`. The models can be found on my [huggingface page](https://huggingface.co/mananeau). The folder I uploaded for both models contained a PyTorch model in bin format, a zip file containing the three TF model files, the `config.jso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4336/reactions",
"total_count": 11,
"+1": 11,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4336/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4335/comments | https://api.github.com/repos/huggingface/transformers/issues/4335/events | https://github.com/huggingface/transformers/pull/4335 | 617,266,289 | MDExOlB1bGxSZXF1ZXN0NDE3MjE1MDQ0 | 4,335 | [MbartTokenizer] save to sentencepiece.bpe.model | {
"login": "Mehrad0711",
"id": 28717374,
"node_id": "MDQ6VXNlcjI4NzE3Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mehrad0711",
"html_url": "https://github.com/Mehrad0711",
"followers_url": "https://api.github.com/use... | [] | 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... | [
"Thanks! \r\nCan you verify that\r\n```bash\r\nRUN_SLOW=1 pytest --tb=short -p no:warnings tests/test_modeling_bart.py -sv\r\n```\r\nworks with this change?",
"Hi Sam!\r\nYes, the test passes on my machine.",
"I think you need to run `make style` for `check_code_quality` to pass.",
"Thanks, I just did but now... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | There is a mismatch between VOCAB_FILES_NAMES for XLMRobertaTokenizer and MBartTokenizer.
When saving tokenizer files with save_pretrained(), XLMRobertaTokenizer's vocab_file_name is used, while during loading using load_pretrained(), MBartTokenizer's vocab_file_name is used.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4335/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4335/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4335",
"html_url": "https://github.com/huggingface/transformers/pull/4335",
"diff_url": "https://github.com/huggingface/transformers/pull/4335.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4335.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4334/comments | https://api.github.com/repos/huggingface/transformers/issues/4334/events | https://github.com/huggingface/transformers/issues/4334 | 617,245,982 | MDU6SXNzdWU2MTcyNDU5ODI= | 4,334 | [bug in run_glue.py] GlueDataset with no local_rank when init | {
"login": "jia-zhuang",
"id": 32734827,
"node_id": "MDQ6VXNlcjMyNzM0ODI3",
"avatar_url": "https://avatars.githubusercontent.com/u/32734827?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jia-zhuang",
"html_url": "https://github.com/jia-zhuang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Not on master.\r\n\r\nYou should install from source when running the examples, as specified in the [README](https://github.com/huggingface/transformers#run-the-examples)."
] | 1,589 | 1,589 | 1,589 | NONE | null | https://github.com/huggingface/transformers/blob/241759101e7104192d01a07fc70432fa02ae8cb7/examples/text-classification/run_glue.py#L137
GlueData need to add local_rank parameter when init
```python
train_dataset = GlueDataset(data_args, tokenizer=tokenizer, local_rank=training_args.local_rank) if training_args.d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4334/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4334/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4333/comments | https://api.github.com/repos/huggingface/transformers/issues/4333/events | https://github.com/huggingface/transformers/pull/4333 | 617,217,541 | MDExOlB1bGxSZXF1ZXN0NDE3MTc2MTE0 | 4,333 | Clarification of model upload instructions | {
"login": "manueltonneau",
"id": 29440170,
"node_id": "MDQ6VXNlcjI5NDQwMTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/29440170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueltonneau",
"html_url": "https://github.com/manueltonneau",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4333?src=pr&el=h1) Report\n> Merging [#4333](https://codecov.io/gh/huggingface/transformers/pull/4333?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/241759101e7104192d01a07fc70432fa02ae8cb7&el=desc) will **decrease... | 1,589 | 1,591 | 1,591 | NONE | null | ## What changed
In the `README.md`, I specified two details in the model upload part:
- added `folder` to the `./path/to/pretrained_model/` just to make sure it is straightforward
- added a comment line specifying that the configuration file should be entitled `config.json` for the model to appear on the website. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4333/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4333",
"html_url": "https://github.com/huggingface/transformers/pull/4333",
"diff_url": "https://github.com/huggingface/transformers/pull/4333.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4333.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4332/comments | https://api.github.com/repos/huggingface/transformers/issues/4332/events | https://github.com/huggingface/transformers/issues/4332 | 617,192,460 | MDU6SXNzdWU2MTcxOTI0NjA= | 4,332 | Extractive Text Summarization | {
"login": "timsuchanek",
"id": 1094804,
"node_id": "MDQ6VXNlcjEwOTQ4MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1094804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timsuchanek",
"html_url": "https://github.com/timsuchanek",
"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 | [] | [
"Are you sampling tokens? If so, turn it off and maybe also turn up the beam size. That will give more extractive outputs",
"Thanks @Laksh1997 for the idea, unfortunately, the results don't get better.\r\nThis is the article I'm summarizing: https://www.gatesnotes.com/Health/Pandemic-Innovation\r\n\r\n### Result ... | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | # 🚀 Feature request
While the abstractive text summarization with T5 and Bart already achieve impressive results, it would be great to add support for state-of-the-art **extractive** text summarization, such as the recent [MatchSum](https://github.com/maszhongming/MatchSum) which outperforms [PreSum](https://github.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4332/reactions",
"total_count": 14,
"+1": 14,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4332/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4331/comments | https://api.github.com/repos/huggingface/transformers/issues/4331/events | https://github.com/huggingface/transformers/pull/4331 | 617,157,796 | MDExOlB1bGxSZXF1ZXN0NDE3MTI5NjAx | 4,331 | Add image and link to model paper | {
"login": "ViktorAlm",
"id": 1090762,
"node_id": "MDQ6VXNlcjEwOTA3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1090762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViktorAlm",
"html_url": "https://github.com/ViktorAlm",
"followers_url": "https://api.github.com/users/Vi... | [
{
"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/4331?src=pr&el=h1) Report\n> Merging [#4331](https://codecov.io/gh/huggingface/transformers/pull/4331?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/241759101e7104192d01a07fc70432fa02ae8cb7&el=desc) will **not chan... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Now i've had my fun. I thought i could do better but it will do :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4331/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4331",
"html_url": "https://github.com/huggingface/transformers/pull/4331",
"diff_url": "https://github.com/huggingface/transformers/pull/4331.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4331.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4330/comments | https://api.github.com/repos/huggingface/transformers/issues/4330/events | https://github.com/huggingface/transformers/issues/4330 | 617,146,855 | MDU6SXNzdWU2MTcxNDY4NTU= | 4,330 | Can't set attribute 'device' | {
"login": "cuongnm71",
"id": 26346343,
"node_id": "MDQ6VXNlcjI2MzQ2MzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/26346343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuongnm71",
"html_url": "https://github.com/cuongnm71",
"followers_url": "https://api.github.com/users/... | [
{
"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",
"I met the same issue, have you fixed? Thanks."
] | 1,589 | 1,658 | 1,595 | NONE | null | I'm BERT finetunning, came across this problem
Here is my config, i'm running on 3rd GPU:
```json
BertConfig {
"attention_probs_dropout_prob": 0.1,
"device": "cuda:3",
"directionality": "bidi",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4330/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 1,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4330/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4329/comments | https://api.github.com/repos/huggingface/transformers/issues/4329/events | https://github.com/huggingface/transformers/issues/4329 | 617,134,790 | MDU6SXNzdWU2MTcxMzQ3OTA= | 4,329 | Cache directory | {
"login": "abhigenie92",
"id": 12474640,
"node_id": "MDQ6VXNlcjEyNDc0NjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/12474640?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhigenie92",
"html_url": "https://github.com/abhigenie92",
"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 | [] | [
"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,589 | 1,595 | 1,595 | NONE | null | Where is the cache directory?
```
BertTokenizer.from_pretrained('bert-base-uncased')
```
I want to download manually and place it there.
```
OSError: Couldn't reach server at '{}' to download vocabulary files.``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4329/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4328/comments | https://api.github.com/repos/huggingface/transformers/issues/4328/events | https://github.com/huggingface/transformers/pull/4328 | 617,115,039 | MDExOlB1bGxSZXF1ZXN0NDE3MDk0NDUw | 4,328 | wrong variable name used | {
"login": "elyesmanai",
"id": 21007166,
"node_id": "MDQ6VXNlcjIxMDA3MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/21007166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elyesmanai",
"html_url": "https://github.com/elyesmanai",
"followers_url": "https://api.github.com/use... | [
{
"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/4328?src=pr&el=h1) Report\n> Merging [#4328](https://codecov.io/gh/huggingface/transformers/pull/4328?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/241759101e7104192d01a07fc70432fa02ae8cb7&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Turned
`nlp.tokenizer.mask_token` to `fill_mask.tokenizer.mask_token` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4328/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4328",
"html_url": "https://github.com/huggingface/transformers/pull/4328",
"diff_url": "https://github.com/huggingface/transformers/pull/4328.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4328.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4327/comments | https://api.github.com/repos/huggingface/transformers/issues/4327/events | https://github.com/huggingface/transformers/issues/4327 | 617,100,460 | MDU6SXNzdWU2MTcxMDA0NjA= | 4,327 | 🐛 Trainer on TPU : KeyError '__getstate__' | {
"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 | [] | [
"As a temporary work-around, I made the `BatchEncoding` object pickable :\r\n\r\n```python\r\nfrom transformers.tokenization_utils import BatchEncoding\r\n\r\ndef red(self):\r\n return BatchEncoding, (self.data, )\r\n\r\nBatchEncoding.__reduce__ = red\r\n```\r\n\r\nNot closing yet, as this seems to be just a wor... | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using : **ELECTRA base**
Language I am using the model on : **English**
The problem arises when using:
* [ ] the official example scripts
* [x] **my own modified scripts**
The tasks I am working on is:
* [ ] an official GLUE/SQUaD task
* [x] **my own task or dataset... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4327/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4326/comments | https://api.github.com/repos/huggingface/transformers/issues/4326/events | https://github.com/huggingface/transformers/issues/4326 | 617,057,896 | MDU6SXNzdWU2MTcwNTc4OTY= | 4,326 | Train model from scratch with Tensorflow | {
"login": "tqdo",
"id": 53948469,
"node_id": "MDQ6VXNlcjUzOTQ4NDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/53948469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tqdo",
"html_url": "https://github.com/tqdo",
"followers_url": "https://api.github.com/users/tqdo/followers"... | [
{
"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 | [] | [
"> 1/ It seems like that tutorial is for training using PyTorch. Is there any tutorial for Tensorflow?\r\n\r\n[Here](https://github.com/stefan-it/turkish-bert/blob/master/CHEATSHEET.md) is a cheatsheet for pretraining using TF code. It is written for BERT but the training for ALBERT is similar. \r\n\r\nRegarding pr... | 1,589 | 1,652 | 1,595 | NONE | null | First of all thank you for a great library. I am quite new to the library so sorry if my questions sound dumb. I see a tutorial to train a model from scratch (https://huggingface.co/blog/how-to-train) which is very useful. My questions are:
1/ It seems like that tutorial is for training using PyTorch. Is there any t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4326/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4326/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4324/comments | https://api.github.com/repos/huggingface/transformers/issues/4324/events | https://github.com/huggingface/transformers/pull/4324 | 617,018,931 | MDExOlB1bGxSZXF1ZXN0NDE3MDE4NTEw | 4,324 | (v2) Improvements to the wandb integration | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | See #4220 and #4221 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4324/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4324",
"html_url": "https://github.com/huggingface/transformers/pull/4324",
"diff_url": "https://github.com/huggingface/transformers/pull/4324.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4324.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4323/comments | https://api.github.com/repos/huggingface/transformers/issues/4323/events | https://github.com/huggingface/transformers/pull/4323 | 616,949,966 | MDExOlB1bGxSZXF1ZXN0NDE2OTYxMTIy | 4,323 | Fix FFN dropout in TFAlbertLayer, and split dropout in TFAlbertAttent… | {
"login": "jarednielsen",
"id": 4564897,
"node_id": "MDQ6VXNlcjQ1NjQ4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jarednielsen",
"html_url": "https://github.com/jarednielsen",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"@LysandreJik Any thoughts?",
"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",
"Not stale",
"Will take care of the conflict and merge after https://github.com/huggingface/transforme... | 1,589 | 1,597 | 1,597 | CONTRIBUTOR | null | …ion into two separate dropout layers.
1) The dropout in TFAlbertLayer's FFN submodule was never used, since it was applied to hidden_states, which was immediately overwritten. Fixed to apply to ffn_output.
2) Likewise, the dropout in TFAlbertAttention defaulted to the dropout defined in TFBertAttention. The ALBE... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4323/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4323/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4323",
"html_url": "https://github.com/huggingface/transformers/pull/4323",
"diff_url": "https://github.com/huggingface/transformers/pull/4323.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4323.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4322/comments | https://api.github.com/repos/huggingface/transformers/issues/4322/events | https://github.com/huggingface/transformers/issues/4322 | 616,923,162 | MDU6SXNzdWU2MTY5MjMxNjI= | 4,322 | Uploaded models not appearing on website | {
"login": "manueltonneau",
"id": 29440170,
"node_id": "MDQ6VXNlcjI5NDQwMTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/29440170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueltonneau",
"html_url": "https://github.com/manueltonneau",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @mananeau we should improve validation and error messages soon, but the config.json file should be exactly named `config.json`\r\n\r\nIf you rename those files your models will pop up. \r\n\r\nAre they TF2 models?",
"Got it, will try now. \r\n\r\n> Are they TF2 models?\r\n\r\nThey are TF1.11 and TF1.15 models... | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
I uploaded two models (named `clinicalcovid-bert-base-cased` and `biocovid-bert-large-cased`) following the instructions on the website. The folder I uploaded for each model contains the configuration json file, the vocabulary in txt format, the three tensorflow models files and the pytorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4322/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4322/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4321/comments | https://api.github.com/repos/huggingface/transformers/issues/4321/events | https://github.com/huggingface/transformers/pull/4321 | 616,859,693 | MDExOlB1bGxSZXF1ZXN0NDE2ODg5NzU5 | 4,321 | Add modelcard with acknowledgements | {
"login": "ViktorAlm",
"id": 1090762,
"node_id": "MDQ6VXNlcjEwOTA3NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1090762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViktorAlm",
"html_url": "https://github.com/ViktorAlm",
"followers_url": "https://api.github.com/users/Vi... | [
{
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Add Acknowledgements | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4321/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4321",
"html_url": "https://github.com/huggingface/transformers/pull/4321",
"diff_url": "https://github.com/huggingface/transformers/pull/4321.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4321.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4320/comments | https://api.github.com/repos/huggingface/transformers/issues/4320/events | https://github.com/huggingface/transformers/pull/4320 | 616,832,852 | MDExOlB1bGxSZXF1ZXN0NDE2ODY4MDgy | 4,320 | Question Answering for 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/4320?src=pr&el=h1) Report\n> Merging [#4320](https://codecov.io/gh/huggingface/transformers/pull/4320?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4bf5042240d33286460b83f3dbf9be77500faab3&el=desc) will **decrease... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | This PR add the Question Answering task in the Tensorflow trainer. For the moment the evaluation is not possible due to the complexity of the SQuAD metrics but the training is working. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4320/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4320/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4320",
"html_url": "https://github.com/huggingface/transformers/pull/4320",
"diff_url": "https://github.com/huggingface/transformers/pull/4320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4320.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4319/comments | https://api.github.com/repos/huggingface/transformers/issues/4319/events | https://github.com/huggingface/transformers/issues/4319 | 616,774,674 | MDU6SXNzdWU2MTY3NzQ2NzQ= | 4,319 | AutoModel.from_pretrained with torchscript flag raises a TypeError: __init__() got an unexpected keyword argument 'torchscript' | {
"login": "jonsnowseven",
"id": 25992803,
"node_id": "MDQ6VXNlcjI1OTkyODAz",
"avatar_url": "https://avatars.githubusercontent.com/u/25992803?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonsnowseven",
"html_url": "https://github.com/jonsnowseven",
"followers_url": "https://api.github.c... | [] | 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",
"This issue still exists and is relevant to me. Can we get an official response?",
"Yes, I would also like an official answer, please.... | 1,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using: BertModel and AutoModel
Language I am using the model on: English
## To reproduce
Steps to reproduce the behavior:
```python
from transformers.modeling_auto import AutoModel
from transformers.modeling_bert import BertModel
bert_model = BertModel.from_pret... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4319/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/4319/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4318/comments | https://api.github.com/repos/huggingface/transformers/issues/4318/events | https://github.com/huggingface/transformers/pull/4318 | 616,749,712 | MDExOlB1bGxSZXF1ZXN0NDE2ODAxMzY5 | 4,318 | [model_cards]: 🇹🇷 Add new ELECTRA small and base models for Turkish | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"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/4318?src=pr&el=h1) Report\n> Merging [#4318](https://codecov.io/gh/huggingface/transformers/pull/4318?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4bf5042240d33286460b83f3dbf9be77500faab3&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | COLLABORATOR | null | Hi,
this PR introduces model cards for new ELECTRA small and base models for Turkish 🇹🇷.
More information (checkpoint evaluation, downstream evaluation on Pos Tagging and NER, loss curves, TensorBoards) see [this repository](https://github.com/stefan-it/turkish-bert/tree/electra/electra). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4318/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4318",
"html_url": "https://github.com/huggingface/transformers/pull/4318",
"diff_url": "https://github.com/huggingface/transformers/pull/4318.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4318.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4317/comments | https://api.github.com/repos/huggingface/transformers/issues/4317/events | https://github.com/huggingface/transformers/issues/4317 | 616,706,486 | MDU6SXNzdWU2MTY3MDY0ODY= | 4,317 | How to use DistilBertTokenizer in C++ | {
"login": "alxmamaev",
"id": 17113191,
"node_id": "MDQ6VXNlcjE3MTEzMTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/17113191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alxmamaev",
"html_url": "https://github.com/alxmamaev",
"followers_url": "https://api.github.com/users/... | [
{
"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,589 | 1,595 | 1,595 | NONE | null | I saw that fast tokenizers was realized as Rust library, but I not fund bindings for C++, and also I cannot use a pretrained distilled tokenizer in fast mode. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4317/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4316/comments | https://api.github.com/repos/huggingface/transformers/issues/4316/events | https://github.com/huggingface/transformers/pull/4316 | 616,698,169 | MDExOlB1bGxSZXF1ZXN0NDE2NzU5NzE5 | 4,316 | Allow BatchEncoding to be initialized empty. | {
"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 | [] | [
"Good job finding this!"
] | 1,589 | 1,589 | 1,589 | MEMBER | null | This is required by recent changes introduced in TF 2.2. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4316/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4316",
"html_url": "https://github.com/huggingface/transformers/pull/4316",
"diff_url": "https://github.com/huggingface/transformers/pull/4316.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4316.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4315/comments | https://api.github.com/repos/huggingface/transformers/issues/4315/events | https://github.com/huggingface/transformers/pull/4315 | 616,654,488 | MDExOlB1bGxSZXF1ZXN0NDE2NzIzNzc2 | 4,315 | Update README.md | {
"login": "savasy",
"id": 6584825,
"node_id": "MDQ6VXNlcjY1ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6584825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/savasy",
"html_url": "https://github.com/savasy",
"followers_url": "https://api.github.com/users/savasy/foll... | [
{
"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/4315?src=pr&el=h1) Report\n> Merging [#4315](https://codecov.io/gh/huggingface/transformers/pull/4315?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4bf5042240d33286460b83f3dbf9be77500faab3&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4315/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4315",
"html_url": "https://github.com/huggingface/transformers/pull/4315",
"diff_url": "https://github.com/huggingface/transformers/pull/4315.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4315.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4314/comments | https://api.github.com/repos/huggingface/transformers/issues/4314/events | https://github.com/huggingface/transformers/issues/4314 | 616,630,248 | MDU6SXNzdWU2MTY2MzAyNDg= | 4,314 | run_generation.py GPT2 model only using 1st GPU, OOM error | {
"login": "randywreed",
"id": 5059871,
"node_id": "MDQ6VXNlcjUwNTk4NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5059871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randywreed",
"html_url": "https://github.com/randywreed",
"followers_url": "https://api.github.com/users... | [
{
"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 don't think we currently support multi-gpu in this script.",
"16 GB VRAM might not be enough to allow batching of generated texts.",
"Actually, if you install apex and are able to cast the model as FP16 using `model.half()`, you can get a batch size of up to 30 for the 1.5B. (nvidia-smi is reporting 14GB VRA... | 1,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
GPT2-xl (pre-trained)
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x ] my own modified scripts: (give details below)
Run in jupyter notebok script below, GCP T4x2
## To reproduce
Steps to reproduce the behavior:
```
prompt_text="I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4314/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4313/comments | https://api.github.com/repos/huggingface/transformers/issues/4313/events | https://github.com/huggingface/transformers/pull/4313 | 616,629,970 | MDExOlB1bGxSZXF1ZXN0NDE2NzA0MDQ1 | 4,313 | Update README.md | {
"login": "savasy",
"id": 6584825,
"node_id": "MDQ6VXNlcjY1ODQ4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6584825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/savasy",
"html_url": "https://github.com/savasy",
"followers_url": "https://api.github.com/users/savasy/foll... | [
{
"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,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4313/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4313",
"html_url": "https://github.com/huggingface/transformers/pull/4313",
"diff_url": "https://github.com/huggingface/transformers/pull/4313.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4313.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.