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/4112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4112/comments | https://api.github.com/repos/huggingface/transformers/issues/4112/events | https://github.com/huggingface/transformers/pull/4112 | 611,101,246 | MDExOlB1bGxSZXF1ZXN0NDEyMzk1Mjcz | 4,112 | Albert large QA model pretrained from baidu webqa and baidu dureader datasets. | {
"login": "wptoux",
"id": 6761483,
"node_id": "MDQ6VXNlcjY3NjE0ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6761483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wptoux",
"html_url": "https://github.com/wptoux",
"followers_url": "https://api.github.com/users/wptoux/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/4112?src=pr&el=h1) Report\n> Merging [#4112](https://codecov.io/gh/huggingface/transformers/pull/4112?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d713cfc5ebfb1ed83de1fce55dd7279f9db30672&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4112/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/4112/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4112",
"html_url": "https://github.com/huggingface/transformers/pull/4112",
"diff_url": "https://github.com/huggingface/transformers/pull/4112.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4112.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4111/comments | https://api.github.com/repos/huggingface/transformers/issues/4111/events | https://github.com/huggingface/transformers/issues/4111 | 611,075,427 | MDU6SXNzdWU2MTEwNzU0Mjc= | 4,111 | BERT as encoder and a transformer as a decoder. | {
"login": "ayanamongol",
"id": 6296279,
"node_id": "MDQ6VXNlcjYyOTYyNzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6296279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayanamongol",
"html_url": "https://github.com/ayanamongol",
"followers_url": "https://api.github.com/us... | [
{
"id": 1834081910,
"node_id": "MDU6TGFiZWwxODM0MDgxOTEw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Usage",
"name": "Usage",
"color": "e28436",
"default": false,
"description": "General questions about the library"
}
] | 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 encoder-decoder or bart may be what you want.",
"I think you should take a look into the ``encoder-decoder`` framework: https://huggingface.co/transformers/model_doc/encoderdecoder.html",
"Note that currently only Bert2Bert is possible."
] | 1,588 | 1,591 | 1,591 | NONE | null | Hi, there
Is there probability to build a model of the BERT as the encoder and the transformer as the decoder?
Thanks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4111/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4110/comments | https://api.github.com/repos/huggingface/transformers/issues/4110/events | https://github.com/huggingface/transformers/pull/4110 | 611,019,876 | MDExOlB1bGxSZXF1ZXN0NDEyMzMxMDg2 | 4,110 | NER: parse args from .args file or JSON | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | COLLABORATOR | null | Hi,
thanks to @julien-c , args parsing from `.args` or json-based configuration files were introduced in #3934 into the internal argparser class.
This PR adds support for it in the `run_ner.py` script.
It also extends the NER documentation and shows how to use a json-based configuration with `run_ner.py`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4110/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4110",
"html_url": "https://github.com/huggingface/transformers/pull/4110",
"diff_url": "https://github.com/huggingface/transformers/pull/4110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4110.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4109/comments | https://api.github.com/repos/huggingface/transformers/issues/4109/events | https://github.com/huggingface/transformers/pull/4109 | 610,984,723 | MDExOlB1bGxSZXF1ZXN0NDEyMzEzODUy | 4,109 | Fix #2941 | {
"login": "xxbidiao",
"id": 1439638,
"node_id": "MDQ6VXNlcjE0Mzk2Mzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1439638?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xxbidiao",
"html_url": "https://github.com/xxbidiao",
"followers_url": "https://api.github.com/users/xxbid... | [] | closed | false | null | [] | [
"Uh, I guess it should be `reshape(-1, 1)` instead of `reshape(-1,1)` regarding code quality issues, but I'm not sure whether it's the correct fix.",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4109?src=pr&el=h1) Report\n> Merging [#4109](https://codecov.io/gh/huggingface/transformers/pull/41... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Reshaped score array to avoid `numpy` ValueError. This should allow the sentiment analyzer pipeline to run. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4109/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4109",
"html_url": "https://github.com/huggingface/transformers/pull/4109",
"diff_url": "https://github.com/huggingface/transformers/pull/4109.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4109.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4108/comments | https://api.github.com/repos/huggingface/transformers/issues/4108/events | https://github.com/huggingface/transformers/pull/4108 | 610,956,973 | MDExOlB1bGxSZXF1ZXN0NDEyMjkxODI3 | 4,108 | Feature/torchserve interface [WIP] | {
"login": "MFreidank",
"id": 6368040,
"node_id": "MDQ6VXNlcjYzNjgwNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6368040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MFreidank",
"html_url": "https://github.com/MFreidank",
"followers_url": "https://api.github.com/users/MF... | [
{
"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,588 | 1,594 | 1,594 | NONE | null | Work in progress PR to add a CLI interface for easy packaging of transformers models
for serving in [pytorch/serve](https://github.com/pytorch/serve).
Intended usage example:
`transformers-cli torchserve --checkpoint="distilbert-base-uncased-finetuned-sst-2-english" --tokenizer="distilbert-base-uncased" --model-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4108/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/4108/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4108",
"html_url": "https://github.com/huggingface/transformers/pull/4108",
"diff_url": "https://github.com/huggingface/transformers/pull/4108.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4108.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4107/comments | https://api.github.com/repos/huggingface/transformers/issues/4107/events | https://github.com/huggingface/transformers/pull/4107 | 610,947,472 | MDExOlB1bGxSZXF1ZXN0NDEyMjg0Mjgz | 4,107 | Fix `RobertaClassificationHead` style consistency. | {
"login": "ranamihir",
"id": 8270471,
"node_id": "MDQ6VXNlcjgyNzA0NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8270471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranamihir",
"html_url": "https://github.com/ranamihir",
"followers_url": "https://api.github.com/users/ra... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4107?src=pr&el=h1) Report\n> Merging [#4107](https://codecov.io/gh/huggingface/transformers/pull/4107?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/58cca47c16149e43d1b516623d59e3c5d97f695e&el=desc) will **decrease... | 1,588 | 1,593 | 1,593 | NONE | null | There's a slight inconsistency in `RobertaClassificationHead` in that it takes in the whole sequence output from the `RobertaModel`, and extracts the pooled output inside its own forward method, seen [here](https://github.com/huggingface/transformers/blob/d713cfc5ebfb1ed83de1fce55dd7279f9db30672/src/transformers/modeli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4107/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4107",
"html_url": "https://github.com/huggingface/transformers/pull/4107",
"diff_url": "https://github.com/huggingface/transformers/pull/4107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4107.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4106/comments | https://api.github.com/repos/huggingface/transformers/issues/4106/events | https://github.com/huggingface/transformers/pull/4106 | 610,935,997 | MDExOlB1bGxSZXF1ZXN0NDEyMjc1MDky | 4,106 | FIXME(Actually test multi input pipelines) | {
"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 | [] | [
"Closing in favor of #4154 "
] | 1,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4106",
"html_url": "https://github.com/huggingface/transformers/pull/4106",
"diff_url": "https://github.com/huggingface/transformers/pull/4106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4106.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4105/comments | https://api.github.com/repos/huggingface/transformers/issues/4105/events | https://github.com/huggingface/transformers/issues/4105 | 610,935,631 | MDU6SXNzdWU2MTA5MzU2MzE= | 4,105 | model from path 16-bits training:True but float16 false | {
"login": "mahdirezaey",
"id": 34715488,
"node_id": "MDQ6VXNlcjM0NzE1NDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/34715488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mahdirezaey",
"html_url": "https://github.com/mahdirezaey",
"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 | [] | [
"Hi all\r\n\r\nI am gonna run \"run_language_modeling.py\" on 1 GPU 1080 Ti \r\nand loading distill bert from directory \r\n\r\nand using fp16 , apex\r\n\r\nit is run OK \r\nand i am getting trace back of \r\n\r\n\r\n05/01/2020 22:24:38 - WARNING - __main__ - Process rank: -1, device: cuda, n_gpu: 1, distributed... | 1,588 | 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/4105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4105/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4104/comments | https://api.github.com/repos/huggingface/transformers/issues/4104/events | https://github.com/huggingface/transformers/pull/4104 | 610,888,536 | MDExOlB1bGxSZXF1ZXN0NDEyMjM3MTky | 4,104 | Fix pytorch lighting examples | {
"login": "simonepri",
"id": 3505087,
"node_id": "MDQ6VXNlcjM1MDUwODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3505087?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonepri",
"html_url": "https://github.com/simonepri",
"followers_url": "https://api.github.com/users/si... | [
{
"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 | [] | [
"@simonepri can you point to the examples that need fixing?",
"https://github.com/huggingface/transformers/blob/master/examples/glue/run_pl_glue.py\r\nhttps://github.com/huggingface/transformers/blob/master/examples/ner/run_pl_ner.py\r\n",
"This issue has been automatically marked as stale because it has not ha... | 1,588 | 1,594 | 1,594 | NONE | null | It throws the exception 'Trainer' object has no attribute 'avg_loss' because since version 0.7.2 they removed the avg_loss field from the Trainer class.
Also `get_tqdm_dict` is deprecated since 0.7.3.
See https://github.com/huggingface/transformers/pull/2890#issuecomment-613066707 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4104/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4104",
"html_url": "https://github.com/huggingface/transformers/pull/4104",
"diff_url": "https://github.com/huggingface/transformers/pull/4104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4104.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4103/comments | https://api.github.com/repos/huggingface/transformers/issues/4103/events | https://github.com/huggingface/transformers/issues/4103 | 610,871,472 | MDU6SXNzdWU2MTA4NzE0NzI= | 4,103 | AttributeError: 'NoneType' object has no attribute 'abs' when run example/run_bertology.py | {
"login": "ThomasSYT",
"id": 41875489,
"node_id": "MDQ6VXNlcjQxODc1NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThomasSYT",
"html_url": "https://github.com/ThomasSYT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I also have this error, anyone has the solution?"
] | 1,588 | 1,618 | 1,588 | 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:
* [ ] the official example scripts: (give details below)
example/run_bertology.py
The tasks I am working on is:
* [ ] an official GLUE/SQUaD ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4103/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4103/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4102/comments | https://api.github.com/repos/huggingface/transformers/issues/4102/events | https://github.com/huggingface/transformers/pull/4102 | 610,833,785 | MDExOlB1bGxSZXF1ZXN0NDEyMTk0Mzc1 | 4,102 | Added huseinzol05/gpt2-345M-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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4102/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4102",
"html_url": "https://github.com/huggingface/transformers/pull/4102",
"diff_url": "https://github.com/huggingface/transformers/pull/4102.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4102.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4101/comments | https://api.github.com/repos/huggingface/transformers/issues/4101/events | https://github.com/huggingface/transformers/pull/4101 | 610,793,968 | MDExOlB1bGxSZXF1ZXN0NDEyMTYzNzA1 | 4,101 | Docs: add XLM-RoBERTa to multi-lingual section | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | COLLABORATOR | null | Hi,
this PR adds a short description of available XLM-R models to the multi-lingual documentation :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4101/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4101",
"html_url": "https://github.com/huggingface/transformers/pull/4101",
"diff_url": "https://github.com/huggingface/transformers/pull/4101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4101.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4100/comments | https://api.github.com/repos/huggingface/transformers/issues/4100/events | https://github.com/huggingface/transformers/issues/4100 | 610,781,655 | MDU6SXNzdWU2MTA3ODE2NTU= | 4,100 | Masking in Bert | {
"login": "shashankMadan-designEsthetics",
"id": 45225143,
"node_id": "MDQ6VXNlcjQ1MjI1MTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/45225143?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shashankMadan-designEsthetics",
"html_url": "https://github.com/shashankMadan-designE... | [] | closed | false | null | [] | [
"I don't fully understand the question, but love the color theme :)",
"> I don't fully understand the question, but love the color theme :)\r\n\r\nHey thanks😄its cobalt on vscode. Have edited the question with tldr pls let me know on it.",
"That being said, please don't use screenshots. They are hard to read (... | 1,588 | 1,588 | 1,588 | NONE | null | I am not able to grasp the concept of attention masking in bert or the other transformers.
<img width="790" alt="Screenshot 2020-05-01 at 7 56 06 PM" src="https://user-images.githubusercontent.com/45225143/80812561-d37a4a00-8be5-11ea-9da6-469b0d2d3f8f.png">
According to the documentation I tried to experiment it out.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4099/comments | https://api.github.com/repos/huggingface/transformers/issues/4099/events | https://github.com/huggingface/transformers/pull/4099 | 610,768,360 | MDExOlB1bGxSZXF1ZXN0NDEyMTQ0MDM2 | 4,099 | Added GePpeTto card | {
"login": "LoreDema",
"id": 7656158,
"node_id": "MDQ6VXNlcjc2NTYxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7656158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LoreDema",
"html_url": "https://github.com/LoreDema",
"followers_url": "https://api.github.com/users/LoreD... | [
{
"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 | [] | [
"Awesome :-) "
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4099/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4099",
"html_url": "https://github.com/huggingface/transformers/pull/4099",
"diff_url": "https://github.com/huggingface/transformers/pull/4099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4099.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4098/comments | https://api.github.com/repos/huggingface/transformers/issues/4098/events | https://github.com/huggingface/transformers/pull/4098 | 610,739,286 | MDExOlB1bGxSZXF1ZXN0NDEyMTIxNTY3 | 4,098 | [Fix #3963] GPT2 FP16 | {
"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 | [] | [
"Gunna merge this at 7pm EST barring objections @thomwolf @julien-c ",
"Pinging @thomwolf especially as he'd want to review this imo"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | fix #3963 GPT2 failing (through run_language_modeling.py) in fp16 mode. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4098/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/4098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4098",
"html_url": "https://github.com/huggingface/transformers/pull/4098",
"diff_url": "https://github.com/huggingface/transformers/pull/4098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4098.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4097/comments | https://api.github.com/repos/huggingface/transformers/issues/4097/events | https://github.com/huggingface/transformers/pull/4097 | 610,738,482 | MDExOlB1bGxSZXF1ZXN0NDEyMTIwOTgw | 4,097 | Fix gpt2 fp16 | {
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | fix #3963 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4097/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4097",
"html_url": "https://github.com/huggingface/transformers/pull/4097",
"diff_url": "https://github.com/huggingface/transformers/pull/4097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4097.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4096/comments | https://api.github.com/repos/huggingface/transformers/issues/4096/events | https://github.com/huggingface/transformers/issues/4096 | 610,677,489 | MDU6SXNzdWU2MTA2Nzc0ODk= | 4,096 | Defaults models for different pipelines | {
"login": "p-christ",
"id": 26346243,
"node_id": "MDQ6VXNlcjI2MzQ2MjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/26346243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/p-christ",
"html_url": "https://github.com/p-christ",
"followers_url": "https://api.github.com/users/p-c... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Defaults are at https://github.com/huggingface/transformers/blob/master/src/transformers/pipelines.py#L1459 . There is often a different default for tf and pt (pytorch).",
"Closing this as i think the question is resolved (also it's probably a better match for Stack Overflow)",
"What is the default model for t... | 1,588 | 1,643 | 1,588 | NONE | null | Hey,
Where can I find the default models that are used for the different pipelines? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4095/comments | https://api.github.com/repos/huggingface/transformers/issues/4095/events | https://github.com/huggingface/transformers/pull/4095 | 610,672,677 | MDExOlB1bGxSZXF1ZXN0NDEyMDY5NTkz | 4,095 | Fix object is not subscriptable error in BertEncoder (#1188) | {
"login": "mklimasz",
"id": 16540593,
"node_id": "MDQ6VXNlcjE2NTQwNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/16540593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mklimasz",
"html_url": "https://github.com/mklimasz",
"followers_url": "https://api.github.com/users/mkl... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4095?src=pr&el=h1) Report\n> Merging [#4095](https://codecov.io/gh/huggingface/transformers/pull/4095?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b8686174be75220d2c26a961597a39ef4921b616&el=desc) will **increase... | 1,588 | 1,594 | 1,594 | NONE | null | Fix object is not subscriptable error in BertEncoder when head mask is None.
Issue #1188 describes problem.
BertLayer accepts head_mask as None, however if BertEncoder gets head_mask as None - it tries to index None. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4095/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4095",
"html_url": "https://github.com/huggingface/transformers/pull/4095",
"diff_url": "https://github.com/huggingface/transformers/pull/4095.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4095.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4094/comments | https://api.github.com/repos/huggingface/transformers/issues/4094/events | https://github.com/huggingface/transformers/issues/4094 | 610,665,902 | MDU6SXNzdWU2MTA2NjU5MDI= | 4,094 | Negative dimension when initialising the XLNetModel | {
"login": "yxu132",
"id": 20841873,
"node_id": "MDQ6VXNlcjIwODQxODcz",
"avatar_url": "https://avatars.githubusercontent.com/u/20841873?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yxu132",
"html_url": "https://github.com/yxu132",
"followers_url": "https://api.github.com/users/yxu132/fo... | [] | closed | false | null | [] | [
"Hi, I can't reproduce this on `master`, could you upgrade your library to the latest version and let me know if you face the same issue?",
"I think torch-1.5.0 and pytorch-transformers-1.2.0 are the latest versions, no?\r\nI upgraded to python3.7 and tried the above again and still get the same issue. ",
"That... | 1,588 | 1,588 | 1,588 | NONE | null | # 🐛 Bug
## Information
XLNetModel:
## To reproduce
Steps to reproduce the behavior:
```
import torch
from pytorch_transformers import *
# PyTorch-Transformers has a unified API
# for 7 transformer architectures and 30 pretrained weights.
# Model | Tokenizer | Pretrained... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4094/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4093/comments | https://api.github.com/repos/huggingface/transformers/issues/4093/events | https://github.com/huggingface/transformers/pull/4093 | 610,643,223 | MDExOlB1bGxSZXF1ZXN0NDEyMDQ2NjEx | 4,093 | Fix overwrite_cache behaviour for pytorch lightning examples | {
"login": "simonepri",
"id": 3505087,
"node_id": "MDQ6VXNlcjM1MDUwODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3505087?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonepri",
"html_url": "https://github.com/simonepri",
"followers_url": "https://api.github.com/users/si... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4093?src=pr&el=h1) Report\n> Merging [#4093](https://codecov.io/gh/huggingface/transformers/pull/4093?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b8686174be75220d2c26a961597a39ef4921b616&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | NONE | null | cc: @nateraw
Ref: #3290 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4093/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4093",
"html_url": "https://github.com/huggingface/transformers/pull/4093",
"diff_url": "https://github.com/huggingface/transformers/pull/4093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4093.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4092/comments | https://api.github.com/repos/huggingface/transformers/issues/4092/events | https://github.com/huggingface/transformers/issues/4092 | 610,441,952 | MDU6SXNzdWU2MTA0NDE5NTI= | 4,092 | Finue-tuning T5 model | {
"login": "Palipoor",
"id": 16380397,
"node_id": "MDQ6VXNlcjE2MzgwMzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/16380397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Palipoor",
"html_url": "https://github.com/Palipoor",
"followers_url": "https://api.github.com/users/Pal... | [
{
"id": 1834052847,
"node_id": "MDU6TGFiZWwxODM0MDUyODQ3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20LM%20(Finetuning)",
"name": "Ex: LM (Finetuning)",
"color": "26FFF8",
"default": false,
"description": "Related to language modeling fine-tuning"
},
{... | 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... | [
"+1. I'm also confused on how to structure the lm_labels and the decoder_input_ids.",
"Given T5's universal text-to-text objective, I'm under the impression that the [T5 summarization](https://github.com/huggingface/transformers/tree/master/examples/summarization/t5) example should be applicable for all T5 tasks,... | 1,588 | 1,682 | 1,588 | NONE | null | Hi,
I want to fine-tune T5 for a seq2seq task and I'm using the T5ForConditionalGeneration as it seems to have an LM decoder on top.
As there's no code example for this, I have lots of questions:
1. Am I doing the right thing?
2. I'm using the Adam optimizer. Is it ok?
3. I'm a bit confused about the `forward`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4092/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4092/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4091/comments | https://api.github.com/repos/huggingface/transformers/issues/4091/events | https://github.com/huggingface/transformers/pull/4091 | 610,385,338 | MDExOlB1bGxSZXF1ZXN0NDExODM1MTI5 | 4,091 | Add ForMultipleChoice for Electra and Albert [WIP] | {
"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... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Accidentaly hit enter while reading the guide, sorry | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4091/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4091",
"html_url": "https://github.com/huggingface/transformers/pull/4091",
"diff_url": "https://github.com/huggingface/transformers/pull/4091.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4091.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4090/comments | https://api.github.com/repos/huggingface/transformers/issues/4090/events | https://github.com/huggingface/transformers/issues/4090 | 610,351,708 | MDU6SXNzdWU2MTAzNTE3MDg= | 4,090 | Character level models? | {
"login": "KosayJabre",
"id": 20927595,
"node_id": "MDQ6VXNlcjIwOTI3NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/20927595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KosayJabre",
"html_url": "https://github.com/KosayJabre",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"I don't think we have any character-level language models available on [huggingface.co/models](https://huggingface.co/models), but they should be pretty straightforward to train.\r\n\r\nBTW I'm sure you saw it already but [PyTorch's nn.Transformer tuto](https://pytorch.org/tutorials/beginner/transformer_tutorial.h... | 1,588 | 1,662 | 1,589 | NONE | null | Hi, are any character-level language models available? Transformer-XL mentions in their paper that they did both word level and character level stuff, yet here it seems only the word level one is available? Is that correct? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4090/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/4090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4089/comments | https://api.github.com/repos/huggingface/transformers/issues/4089/events | https://github.com/huggingface/transformers/issues/4089 | 610,219,099 | MDU6SXNzdWU2MTAyMTkwOTk= | 4,089 | GePpeTto! | {
"login": "LoreDema",
"id": 7656158,
"node_id": "MDQ6VXNlcjc2NTYxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7656158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LoreDema",
"html_url": "https://github.com/LoreDema",
"followers_url": "https://api.github.com/users/LoreD... | [
{
"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 | [] | [
"Awesome! These instructions might help: \r\n\r\nhttps://github.com/huggingface/transformers#Quick-tour-of-model-sharing",
"Hi @LoreDema, thanks for sharing GePpeTto, it's really cool!\r\n\r\nYes you can juste create a user account and an organization on huggingface.co and share the weights there. (and add a mode... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
GePpeTto is a GPT-2 model for italian. For further details checkout the paper: https://arxiv.org/abs/2004.14253
## Open source status
* [X ] the model implementation is available: we used huggingface's GPT-2 implementation.
* [X ] the model weights are available... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4089/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4088/comments | https://api.github.com/repos/huggingface/transformers/issues/4088/events | https://github.com/huggingface/transformers/issues/4088 | 610,085,173 | MDU6SXNzdWU2MTAwODUxNzM= | 4,088 | InvalidArgumentError: Incompatible shapes: [5,20] vs. [5,18] [Op:Less] | {
"login": "zirlman",
"id": 24474083,
"node_id": "MDQ6VXNlcjI0NDc0MDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/24474083?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zirlman",
"html_url": "https://github.com/zirlman",
"followers_url": "https://api.github.com/users/zirlma... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @zirlman,\r\n\r\nThanks a lot for catching the error and the detailed error description. The PR that will fix the error is linked to the issue :-) ",
"@patrickvonplaten that's great. Thank you 😁"
] | 1,588 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): T5 - TFT5ForConditionalGeneration
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4087/comments | https://api.github.com/repos/huggingface/transformers/issues/4087/events | https://github.com/huggingface/transformers/pull/4087 | 609,930,495 | MDExOlB1bGxSZXF1ZXN0NDExNDQyMzMw | 4,087 | Added huseinzol05/gpt2-117M-bahasa-cased README.md | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4087?src=pr&el=h1) Report\n> Merging [#4087](https://codecov.io/gh/huggingface/transformers/pull/4087?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e73595bd649a149879816a59b56f57c8b37c73d0&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4087/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4087",
"html_url": "https://github.com/huggingface/transformers/pull/4087",
"diff_url": "https://github.com/huggingface/transformers/pull/4087.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4087.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4086/comments | https://api.github.com/repos/huggingface/transformers/issues/4086/events | https://github.com/huggingface/transformers/issues/4086 | 609,799,601 | MDU6SXNzdWU2MDk3OTk2MDE= | 4,086 | Not able to reproduce same CoLA result as huggingface defualt | {
"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 | [] | [
"Do you have a link to a TensorBoard or any other experiment tracking for your training?\r\n\r\nYou can also add the `--evaluate_during_training` flag to see the evolution of the eval metric during training.",
"Have you tried with fewer epochs? (e.g ```--num_train_epochs 3.0``` as stated in the repo's example)\r\... | 1,588 | 1,594 | 1,594 | NONE | null | # 🐛 Bug
When I run your official `run_glue.py` script on CoLA, the performance is significantly lower than the ones in your website. Mine: ~10, Yours: ~50
## Information
Model I am using (Bert, XLNet ...):
bert-base-uncased
Language I am using the model on (English, Chinese ...):
English
The problem arises ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4086/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4085/comments | https://api.github.com/repos/huggingface/transformers/issues/4085/events | https://github.com/huggingface/transformers/issues/4085 | 609,761,124 | MDU6SXNzdWU2MDk3NjExMjQ= | 4,085 | Use roberta-med or scibert for fillmask | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@patrickvonplaten ",
"Can you install transformers from source?",
"Thanks worked for biomed-roberta\r\n\r\nHowever \r\n\r\n```\r\nnlp1 = pipeline(\"fill-mask\", model=\"allenai/scibert_scivocab_cased\", tokenizer=\"allenai/scibert_scivocab_cased\")\r\n\r\nnlp1(\"coinfection by multiple quasispecies is not unco... | 1,588 | 1,619 | 1,588 | NONE | null | Hi
I have been trying to use roberta-med for fillmask
`
nlp = pipeline("fill-mask", model="allenai/biomed_roberta_base", tokenizer="allenai/biomed_roberta_base")`
However , I get this
**Model name 'allenai/biomed_roberta_base' was not found in model name list** (bert-base-uncased, bert-large-uncased, bert-base-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4085/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4084/comments | https://api.github.com/repos/huggingface/transformers/issues/4084/events | https://github.com/huggingface/transformers/issues/4084 | 609,657,514 | MDU6SXNzdWU2MDk2NTc1MTQ= | 4,084 | feature-extraction pipeline is second last layer better representation than the last hidden layer | {
"login": "kaushaltrivedi",
"id": 3465437,
"node_id": "MDQ6VXNlcjM0NjU0Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3465437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaushaltrivedi",
"html_url": "https://github.com/kaushaltrivedi",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"This is quite a general question, and I fear there is no one right answer. You can see the \"best layer to use\" as another hyperparameter to tune in your task: the right value will depend on your task, dataset, and query. Oftentimes paper do some kind of evaluation of this. For instance, in the original [BERT pap... | 1,588 | 1,623 | 1,588 | NONE | null | # 🐛 Bug
I see that for feature-extraction pipeline, you output the last hidden layer of the transformer. Another approach I have seen is people using second to last layer as the output (Bert-as-a-service). The rationale being that the last layer is too close to the model task such as masked language model objecti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4083/comments | https://api.github.com/repos/huggingface/transformers/issues/4083/events | https://github.com/huggingface/transformers/issues/4083 | 609,495,993 | MDU6SXNzdWU2MDk0OTU5OTM= | 4,083 | Why is masking ID optional? | {
"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"... | [] | closed | false | null | [] | [
"In my past experience, I noticed that masked tokens would get very low attention scores(that's what self attention's supposed to do) and would not contribute to the model's accuracy. I wonder how would it be in a transformer architecture.",
"Not all models requires this feature, mainly Roberta so it includes XLM... | 1,588 | 1,588 | 1,588 | NONE | null | I see many models have masking ID as an optional input. To my understanding, the models need to know which tokens are padded to avoid doing attention with those tokens. How can the models figure this out if we do not provide masking ID? Do these models consider tokens with id 0 to be the masked tokens? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4083/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4082/comments | https://api.github.com/repos/huggingface/transformers/issues/4082/events | https://github.com/huggingface/transformers/issues/4082 | 609,444,778 | MDU6SXNzdWU2MDk0NDQ3Nzg= | 4,082 | Zero-shot PPLs vary wildly across gpt2 model sizes | {
"login": "g-karthik",
"id": 3851993,
"node_id": "MDQ6VXNlcjM4NTE5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3851993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-karthik",
"html_url": "https://github.com/g-karthik",
"followers_url": "https://api.github.com/users/g-... | [
{
"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,588 | 1,593 | 1,593 | NONE | null | # ❓ Questions & Help
## Details
We've been experimenting with multiple datasets for fine-tuning both OpenAI GPT and GPT-2.
What we've noticed is that the zero-shot PPL of GPT-2 small and medium are in the order of `3e+40`. However, the zero-shot PPL of GPT-2 large and XL on the same datasets are much more reas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4082/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4081/comments | https://api.github.com/repos/huggingface/transformers/issues/4081/events | https://github.com/huggingface/transformers/issues/4081 | 609,424,983 | MDU6SXNzdWU2MDk0MjQ5ODM= | 4,081 | Examples link to the master branch which seems to be ahead of the pip install version? | {
"login": "shenkev",
"id": 5405172,
"node_id": "MDQ6VXNlcjU0MDUxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5405172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shenkev",
"html_url": "https://github.com/shenkev",
"followers_url": "https://api.github.com/users/shenkev/... | [
{
"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 would use the version installed from source but training a tokenizer is substantially slower than the pip install version. When I run the code snippet below, the pip install version finishesin ~5 minutes but the install-from-source version takes 20+ (I didn't wait for it to finish). For some reason there's a new... | 1,588 | 1,593 | 1,593 | NONE | null | Documentation for training a language model points to https://github.com/huggingface/transformers/blob/master/examples/run_language_modeling.py
The import
`from transformers import (
CONFIG_MAPPING,
MODEL_WITH_LM_HEAD_MAPPING,
AutoConfig,
AutoModelWithLMHead,
AutoTokenizer,
DataCollat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4080/comments | https://api.github.com/repos/huggingface/transformers/issues/4080/events | https://github.com/huggingface/transformers/issues/4080 | 609,400,575 | MDU6SXNzdWU2MDk0MDA1NzU= | 4,080 | tokenizer.encode_plus stopped returning `attention_mask` | {
"login": "wasiahmad",
"id": 17520413,
"node_id": "MDQ6VXNlcjE3NTIwNDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/17520413?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wasiahmad",
"html_url": "https://github.com/wasiahmad",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"How did you resolve this? I am facing this issue as well.",
"@shikharsingla, what is your exact bug? Which tokenizer are you using, with which code?",
"Just saw your issue https://github.com/huggingface/transformers/issues/4868, looking into it."
] | 1,588 | 1,591 | 1,588 | NONE | null | I have a codebase which was working fine but today when I was trying to run, I observed that `tokenizer.encode_plus` stopped returning `attention_mask`. Is it removed in the latest release? Or, I need to do something?
The following piece of code was working for me.
```
encoded_dict = tokenizer.encode_plus(
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4080/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4079/comments | https://api.github.com/repos/huggingface/transformers/issues/4079/events | https://github.com/huggingface/transformers/issues/4079 | 609,384,312 | MDU6SXNzdWU2MDkzODQzMTI= | 4,079 | Load of pre-trained t5 model from Tf to HuggingFace | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | 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 @antoniomastro1996, \r\n\r\nCan you post your environment information here as written in the \"Issue\" template. Also are you sure that the path: `/Users/antonio/Downloads/tf_path/model.ckpt-306400.data-00000-of-00002` exist? \r\n\r\nAlso can you add the link the Raffel example script? ",
"Hi @patrickvonplate... | 1,588 | 1,591 | 1,591 | 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/4079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4079/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4078/comments | https://api.github.com/repos/huggingface/transformers/issues/4078/events | https://github.com/huggingface/transformers/issues/4078 | 609,322,877 | MDU6SXNzdWU2MDkzMjI4Nzc= | 4,078 | Using 'ner' task in pipeline with a non default model gives me entities as "LABEL-6" , "LABEL-8" instead of "I-ORG" and "I-LOC" | {
"login": "goutham794",
"id": 16307702,
"node_id": "MDQ6VXNlcjE2MzA3NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/16307702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/goutham794",
"html_url": "https://github.com/goutham794",
"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
},
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
... | closed | false | {
"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/... | [
{
"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://a... | [
"Oh no, there's something wrong with the label alignment (can also be seen in the `config.json`):\r\n\r\n```json\r\n\"id2label\": {\r\n \"0\": \"LABEL_0\",\r\n \"1\": \"LABEL_1\",\r\n \"2\": \"LABEL_2\",\r\n \"3\": \"LABEL_3\",\r\n \"4\": \"LABEL_4\",\r\n \"5\": \"LABEL_5\",\r\n \"6\": \"LABEL_... | 1,588 | 1,605 | 1,605 | NONE | null | model - dbmdz/bert-base-cased-finetuned-conll03-english
Language - english
The problem arises when using:
* [x] my own modified scripts
The tasks I am working on is:
* [x] an official GLUE/SQUaD task: ner
## To reproduce
```
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-cased-finetuned-conl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4078/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4077/comments | https://api.github.com/repos/huggingface/transformers/issues/4077/events | https://github.com/huggingface/transformers/issues/4077 | 609,320,732 | MDU6SXNzdWU2MDkzMjA3MzI= | 4,077 | [docs] bad RST in PretrainedModel.generate docstring | {
"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 | [] | [
"fixed in Marian PR"
] | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | 
https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_utils.py#L857 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4077/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4076/comments | https://api.github.com/repos/huggingface/transformers/issues/4076/events | https://github.com/huggingface/transformers/pull/4076 | 609,284,120 | MDExOlB1bGxSZXF1ZXN0NDEwODkzNDcz | 4,076 | Remove double bias in TF Albert | {
"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 | [] | [
"Also remove the now-unused bias variable on https://github.com/huggingface/transformers/blob/50c9c3e98235d447a7a2d0efebc9ff4e426fce2d/src/transformers/modeling_tf_albert.py#L467",
"You're absolutely right, thanks @jarednielsen !"
] | 1,588 | 1,591 | 1,591 | MEMBER | null | closes #3386 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4076/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4076",
"html_url": "https://github.com/huggingface/transformers/pull/4076",
"diff_url": "https://github.com/huggingface/transformers/pull/4076.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4076.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4075/comments | https://api.github.com/repos/huggingface/transformers/issues/4075/events | https://github.com/huggingface/transformers/issues/4075 | 609,240,898 | MDU6SXNzdWU2MDkyNDA4OTg= | 4,075 | How to using vocab other language in run_ner.py? | {
"login": "TorRient",
"id": 39651857,
"node_id": "MDQ6VXNlcjM5NjUxODU3",
"avatar_url": "https://avatars.githubusercontent.com/u/39651857?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TorRient",
"html_url": "https://github.com/TorRient",
"followers_url": "https://api.github.com/users/Tor... | [] | closed | false | null | [] | [
"Which language do you want to use?\r\nYou can load a model that pre-trained with a certain language or you can use mBERT / XLM instead.",
"> Which language do you want to use?\r\n> You can load a model that pre-trained with a certain language or you can use mBERT / XLM instead.\r\n\r\nThank for reply\r\ni want t... | 1,588 | 1,588 | 1,588 | NONE | null | Help me, thank you!!! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4074/comments | https://api.github.com/repos/huggingface/transformers/issues/4074/events | https://github.com/huggingface/transformers/issues/4074 | 609,147,554 | MDU6SXNzdWU2MDkxNDc1NTQ= | 4,074 | Issue with non-text files and bertabs example | {
"login": "db1981",
"id": 64541288,
"node_id": "MDQ6VXNlcjY0NTQxMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/64541288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/db1981",
"html_url": "https://github.com/db1981",
"followers_url": "https://api.github.com/users/db1981/fo... | [] | 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... | [
"So the issue is fixed for you then? "
] | 1,588 | 1,591 | 1,591 | NONE | null | Hello team,
I've been running the bertabs example on some plain txt files using the latest version available from the repository (pulled on 4/28/2020).
The folder where I placed the txt files for processing contains the configuration file automatically generated by the filesystem (".DS_store", as I'm running macos... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4074/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4073/comments | https://api.github.com/repos/huggingface/transformers/issues/4073/events | https://github.com/huggingface/transformers/issues/4073 | 609,064,800 | MDU6SXNzdWU2MDkwNjQ4MDA= | 4,073 | Save T5 model as H5 and convert it to model.json to be used in TensorflowJS | {
"login": "zirlman",
"id": 24474083,
"node_id": "MDQ6VXNlcjI0NDc0MDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/24474083?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zirlman",
"html_url": "https://github.com/zirlman",
"followers_url": "https://api.github.com/users/zirlma... | [
{
"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, our API has its own saving function: `model.save_pretrained(\"directory\")`, which saves the model alongside its configuration file. Can you let me know if this method fits your use case?",
"Hi, using that method I've managed to save the model. Unfortunately, when I convert the model into `model.json` load i... | 1,588 | 1,601 | 1,593 | NONE | null | # ❓ Questions & Help
How can I save a T5 model as HDF5 file?
In the end, I want to load it in the browser via `tensorflow-converter `and `tensorflowjs`
Code:
```
model_str = "t5-small"
tokenizer = T5Tokenizer.from_pretrained(model_str)
model = TFT5ForConditionalGeneration.from_pretrained(model_str)
toke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4073/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4072/comments | https://api.github.com/repos/huggingface/transformers/issues/4072/events | https://github.com/huggingface/transformers/issues/4072 | 609,055,914 | MDU6SXNzdWU2MDkwNTU5MTQ= | 4,072 | How can I continue finetuning from checkpoint using the NER script? | {
"login": "ChessMateK",
"id": 48825535,
"node_id": "MDQ6VXNlcjQ4ODI1NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/48825535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChessMateK",
"html_url": "https://github.com/ChessMateK",
"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 | [] | [
"Hello! You're pointing the script to a file or folder `bert-base-256/checkpoint-10000`. Is that a folder containing model file, or is that a file in itself?",
"> Hello! You're pointing the script to a file or folder `bert-base-256/checkpoint-10000`. Is that a folder containing model file, or is that a file in it... | 1,588 | 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/4072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4072/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4071/comments | https://api.github.com/repos/huggingface/transformers/issues/4071/events | https://github.com/huggingface/transformers/issues/4071 | 609,046,777 | MDU6SXNzdWU2MDkwNDY3Nzc= | 4,071 | Native integration with pytorch/serve | {
"login": "MFreidank",
"id": 6368040,
"node_id": "MDQ6VXNlcjYzNjgwNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6368040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MFreidank",
"html_url": "https://github.com/MFreidank",
"followers_url": "https://api.github.com/users/MF... | [
{
"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 awesome – and might be of interest to @mfuntowicz among others.\r\n\r\nWe'll help you if needed.",
"Awesome! Thanks for the upvotes and interest, very appreciated\r\n@julien-c, thanks for your support of the idea. \r\n\r\nI will create a PR and get started on a basic first version and cross-referen... | 1,588 | 1,599 | 1,599 | NONE | null | First off, many thanks to @julien-c for sharing my [blog post](https://medium.com/analytics-vidhya/deploy-huggingface-s-bert-to-production-with-pytorch-serve-27b068026d18) for an example custom handler integration of a BERT sequence classifier model with [pytorch/serve](https://github.com/pytorch/serve/).
# 🚀 Featu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4071/reactions",
"total_count": 6,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4070/comments | https://api.github.com/repos/huggingface/transformers/issues/4070/events | https://github.com/huggingface/transformers/issues/4070 | 608,905,411 | MDU6SXNzdWU2MDg5MDU0MTE= | 4,070 | No CORS Policy for Write With Transformer Endpoints | {
"login": "ivokun",
"id": 13001265,
"node_id": "MDQ6VXNlcjEzMDAxMjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/13001265?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ivokun",
"html_url": "https://github.com/ivokun",
"followers_url": "https://api.github.com/users/ivokun/fo... | [
{
"id": 1565794707,
"node_id": "MDU6TGFiZWwxNTY1Nzk0NzA3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Write%20With%20Transformer",
"name": "Write With Transformer",
"color": "a84bf4",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi @ivokun – this was actually on purpose as someone was using it as an API\r\n\r\nWe'll secure it down the line if it gets abused."
] | 1,588 | 1,588 | 1,588 | NONE | null | # 🐛 Bug
## Information
Write with Transformer is a very good place for trying available models. But, there is no CORS policy to secure it. This could potentially be used by an unauthorized third-parties or attackers to DDoS.
## To reproduce
Steps to reproduce the behavior:
POST request to `/autocomplete/dis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4069/comments | https://api.github.com/repos/huggingface/transformers/issues/4069/events | https://github.com/huggingface/transformers/pull/4069 | 608,831,142 | MDExOlB1bGxSZXF1ZXN0NDEwNTMyMzUw | 4,069 | Delete batch = tuple(t.to(args.device) for t in batch) for it perform… | {
"login": "DrJZhou",
"id": 17310840,
"node_id": "MDQ6VXNlcjE3MzEwODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/17310840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DrJZhou",
"html_url": "https://github.com/DrJZhou",
"followers_url": "https://api.github.com/users/DrJZho... | [
{
"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 seems reasonable, what do you think @suvrat96?",
"(never mind the failing CI test)",
"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,588 | 1,594 | 1,594 | NONE | null | …s two times | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4069",
"html_url": "https://github.com/huggingface/transformers/pull/4069",
"diff_url": "https://github.com/huggingface/transformers/pull/4069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4069.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4068/comments | https://api.github.com/repos/huggingface/transformers/issues/4068/events | https://github.com/huggingface/transformers/issues/4068 | 608,830,799 | MDU6SXNzdWU2MDg4MzA3OTk= | 4,068 | Is there pre-train bert or xlnet from scratch code ? | {
"login": "xealml",
"id": 12672103,
"node_id": "MDQ6VXNlcjEyNjcyMTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/12672103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xealml",
"html_url": "https://github.com/xealml",
"followers_url": "https://api.github.com/users/xealml/fo... | [
{
"id": 1834053007,
"node_id": "MDU6TGFiZWwxODM0MDUzMDA3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20LM%20(Pretraining)",
"name": "Ex: LM (Pretraining)",
"color": "76FFAF",
"default": false,
"description": "Related to language modeling pre-training"
}
] | closed | false | null | [] | [
"Yes, you can use the `run_language_modeling.py` script for pre-training e.g. BERT from scratch:\r\n\r\nhttps://huggingface.co/transformers/examples.html#language-model-training\r\n\r\n(Just leave the `model_name_or_path` parameter empty for pre-training from scratch)",
"@stefan-it thank u.",
"@xealml Curious w... | 1,588 | 1,650 | 1,588 | 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/4068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4068/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4067/comments | https://api.github.com/repos/huggingface/transformers/issues/4067/events | https://github.com/huggingface/transformers/issues/4067 | 608,762,503 | MDU6SXNzdWU2MDg3NjI1MDM= | 4,067 | Why GPT2LMHeadModel's loss mismatches accuracy? | {
"login": "lx-kika",
"id": 62126666,
"node_id": "MDQ6VXNlcjYyMTI2NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/62126666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lx-kika",
"html_url": "https://github.com/lx-kika",
"followers_url": "https://api.github.com/users/lx-kik... | [] | 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 @lx-kika, \r\n\r\nCan you post a code snippet that calculates the different loss types you mention? \r\nAlso, I think it should be fine to just use the first method to calculate the loss - I don't really see a reason as why to use the second method, no? "
] | 1,588 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
Hello,
I'm pretraining GPT2LMHeadModel on my own data from scratch, however I find that loss decreases sharply, and the evaluation doesn't match the loss anymore.
## Details
I used two different ways to evaluate the LM model:
1.input [1,2,3...] label [2,3,4...] this way will compare the outp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4067/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4066/comments | https://api.github.com/repos/huggingface/transformers/issues/4066/events | https://github.com/huggingface/transformers/pull/4066 | 608,756,918 | MDExOlB1bGxSZXF1ZXN0NDEwNDcyNTA1 | 4,066 | create model_card camembert-base-wikipedia-4gb | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"followers_url": "https://api.github.c... | [
{
"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/4066?src=pr&el=h1) Report\n> Merging [#4066](https://codecov.io/gh/huggingface/transformers/pull/4066?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6faca88ee0c472de8207e648b0999a1ee01ff127&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4066/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4066",
"html_url": "https://github.com/huggingface/transformers/pull/4066",
"diff_url": "https://github.com/huggingface/transformers/pull/4066.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4066.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4065/comments | https://api.github.com/repos/huggingface/transformers/issues/4065/events | https://github.com/huggingface/transformers/pull/4065 | 608,756,609 | MDExOlB1bGxSZXF1ZXN0NDEwNDcyMjY0 | 4,065 | Create model_card camembert-base-ccnet | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"followers_url": "https://api.github.c... | [
{
"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/4065?src=pr&el=h1) Report\n> Merging [#4065](https://codecov.io/gh/huggingface/transformers/pull/4065?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6faca88ee0c472de8207e648b0999a1ee01ff127&el=desc) will **not chan... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4065",
"html_url": "https://github.com/huggingface/transformers/pull/4065",
"diff_url": "https://github.com/huggingface/transformers/pull/4065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4065.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4064/comments | https://api.github.com/repos/huggingface/transformers/issues/4064/events | https://github.com/huggingface/transformers/pull/4064 | 608,756,171 | MDExOlB1bGxSZXF1ZXN0NDEwNDcxOTI3 | 4,064 | Create model_card camembert-base-ccnet-4gb | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"followers_url": "https://api.github.c... | [
{
"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/4064?src=pr&el=h1) Report\n> Merging [#4064](https://codecov.io/gh/huggingface/transformers/pull/4064?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6faca88ee0c472de8207e648b0999a1ee01ff127&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4064",
"html_url": "https://github.com/huggingface/transformers/pull/4064",
"diff_url": "https://github.com/huggingface/transformers/pull/4064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4064.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4063/comments | https://api.github.com/repos/huggingface/transformers/issues/4063/events | https://github.com/huggingface/transformers/pull/4063 | 608,755,576 | MDExOlB1bGxSZXF1ZXN0NDEwNDcxNDkw | 4,063 | Create README.md model_card camembert/camembert-base-oscar-4gb | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"followers_url": "https://api.github.c... | [
{
"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/4063?src=pr&el=h1) Report\n> Merging [#4063](https://codecov.io/gh/huggingface/transformers/pull/4063?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6faca88ee0c472de8207e648b0999a1ee01ff127&el=desc) will **not chan... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4063",
"html_url": "https://github.com/huggingface/transformers/pull/4063",
"diff_url": "https://github.com/huggingface/transformers/pull/4063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4063.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4062/comments | https://api.github.com/repos/huggingface/transformers/issues/4062/events | https://github.com/huggingface/transformers/pull/4062 | 608,753,047 | MDExOlB1bGxSZXF1ZXN0NDEwNDY5NDk1 | 4,062 | Create README.md | {
"login": "benjamin-mlr",
"id": 17753315,
"node_id": "MDQ6VXNlcjE3NzUzMzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/17753315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-mlr",
"html_url": "https://github.com/benjamin-mlr",
"followers_url": "https://api.github.c... | [
{
"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/4062?src=pr&el=h1) Report\n> Merging [#4062](https://codecov.io/gh/huggingface/transformers/pull/4062?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6faca88ee0c472de8207e648b0999a1ee01ff127&el=desc) will **not chan... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4062",
"html_url": "https://github.com/huggingface/transformers/pull/4062",
"diff_url": "https://github.com/huggingface/transformers/pull/4062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4062.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4061/comments | https://api.github.com/repos/huggingface/transformers/issues/4061/events | https://github.com/huggingface/transformers/issues/4061 | 608,746,404 | MDU6SXNzdWU2MDg3NDY0MDQ= | 4,061 | KeyError ' '- run_ner.py - Transformers 2.8.0 | {
"login": "calusbr",
"id": 25322394,
"node_id": "MDQ6VXNlcjI1MzIyMzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/25322394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calusbr",
"html_url": "https://github.com/calusbr",
"followers_url": "https://api.github.com/users/calusb... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834060867,
"node_id": "MDU6TGFiZWwxODM0MDYwODY3",
... | closed | false | {
"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/... | [
{
"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://a... | [
"Have you got two blank lines consecutive? Look at the end of the file, maybe you got an extra blank line or an empty line at the end of the file.",
"Additionally, the dataset format must be in a `Token Label` (delimiter is a space) format.\r\n\r\nThe error message shows, that an unexpected label ( `\"`) was foun... | 1,588 | 1,596 | 1,596 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BERT
Language I am using the model on (English, Chinese ...): PT
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/4061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4061/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4060/comments | https://api.github.com/repos/huggingface/transformers/issues/4060/events | https://github.com/huggingface/transformers/issues/4060 | 608,743,602 | MDU6SXNzdWU2MDg3NDM2MDI= | 4,060 | Cannot Load bert-base-japanese tokenizer | {
"login": "bayartsogt-ya",
"id": 43239645,
"node_id": "MDQ6VXNlcjQzMjM5NjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/43239645?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bayartsogt-ya",
"html_url": "https://github.com/bayartsogt-ya",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi, I had the same issue and I solved it by downloading the required files locally with the steps below.\r\n1. Download [vocab.txt](https://github.com/huggingface/transformers/blob/455c6390938a5c737fa63e78396cedae41e4e87e/src/transformers/tokenization_bert_japanese.py#L33), [config.json](https://github.com/hugging... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using BertJapaneseTokenizer:
Language I am using the model on Japanese:
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: Just to load
## To repr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4060/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4059/comments | https://api.github.com/repos/huggingface/transformers/issues/4059/events | https://github.com/huggingface/transformers/issues/4059 | 608,736,647 | MDU6SXNzdWU2MDg3MzY2NDc= | 4,059 | Dropout training | {
"login": "weiarqq",
"id": 33859151,
"node_id": "MDQ6VXNlcjMzODU5MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/33859151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weiarqq",
"html_url": "https://github.com/weiarqq",
"followers_url": "https://api.github.com/users/weiarq... | [] | 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 @weiarqq, \r\n\r\nWhere does the code come from? What is the application? What do you mean by \"training of dropout\"? the `training=kwargs.get(\"training\", False)` is a flag for pytorch's dropout to switch it on and off depending on whether you are in training module \"training=True\" or not."
] | 1,588 | 1,588 | 1,588 | NONE | null | # ❓ Questions & Help
outputs = self.bert(inputs, **kwargs)
pooled_output = outputs[1]
pooled_output = self.dropout(pooled_output, training=kwargs.get("training", False))
logits = self.classifier(pooled_output)
outputs = (logits,) + outputs[2:] # add hidden states and attention if they are here
I don't se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4059/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4058/comments | https://api.github.com/repos/huggingface/transformers/issues/4058/events | https://github.com/huggingface/transformers/issues/4058 | 608,736,357 | MDU6SXNzdWU2MDg3MzYzNTc= | 4,058 | How to run squad for chinese dataset? | {
"login": "Lapis-Hong",
"id": 23524486,
"node_id": "MDQ6VXNlcjIzNTI0NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/23524486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lapis-Hong",
"html_url": "https://github.com/Lapis-Hong",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,588 | 1,593 | 1,593 | NONE | null | I already change the SquadExamples origin token process, but it still not work for chinese.
I get really low results | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4057/comments | https://api.github.com/repos/huggingface/transformers/issues/4057/events | https://github.com/huggingface/transformers/pull/4057 | 608,604,378 | MDExOlB1bGxSZXF1ZXN0NDEwMzUyMDM2 | 4,057 | Add AlbertForPreTraining and TFAlbertForPreTraining models. | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4057?src=pr&el=h1) Report\n> Merging [#4057](https://codecov.io/gh/huggingface/transformers/pull/4057?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c99fe0386be118bceaab1c85cdb8309eb8cb8208&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | I mirrored the structure of `BertForPreTraining` and `TFBertForPreTraining`.
A few differences between the PyTorch and TensorFlow implementations of Bert I noticed along the way:
- TFBertForSequenceClassification has dropout in the classifier head, but TFBertForPreTraining does not. I included dropout in the TFAlbe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4057",
"html_url": "https://github.com/huggingface/transformers/pull/4057",
"diff_url": "https://github.com/huggingface/transformers/pull/4057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4057.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4056/comments | https://api.github.com/repos/huggingface/transformers/issues/4056/events | https://github.com/huggingface/transformers/pull/4056 | 608,575,978 | MDExOlB1bGxSZXF1ZXN0NDEwMzI4NTc0 | 4,056 | Minor Readme Fixes | {
"login": "MichalMalyska",
"id": 12971408,
"node_id": "MDQ6VXNlcjEyOTcxNDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/12971408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MichalMalyska",
"html_url": "https://github.com/MichalMalyska",
"followers_url": "https://api.githu... | [
{
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Added contact info and fixed typos. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4056/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4056",
"html_url": "https://github.com/huggingface/transformers/pull/4056",
"diff_url": "https://github.com/huggingface/transformers/pull/4056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4056.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4055/comments | https://api.github.com/repos/huggingface/transformers/issues/4055/events | https://github.com/huggingface/transformers/pull/4055 | 608,553,503 | MDExOlB1bGxSZXF1ZXN0NDEwMzA5OTc4 | 4,055 | [Naming] lm_labels -> labels ; masked_lm_labels -> masked_labels | {
"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 | [] | [
"Yeah that's quite a big breaking change 🤣\r\nwe may want to be a little bit careful on backward compatibility",
"I think this would be a very welcome update. Maybe adding an alias to the method signature would be sufficient to maintain compatibility?\r\n\r\nWe could deprecate the old ones as well, with a warnin... | 1,588 | 1,591 | 1,591 | MEMBER | null | This PR is a simple find and replace of the regex "lm_labels" into "labels" over all files.
This way we can use the Trainer class for all models.
It does break backward compatibility a bit though, since some people will have to rename the `lm_labels` argument in their code.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4055/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4055",
"html_url": "https://github.com/huggingface/transformers/pull/4055",
"diff_url": "https://github.com/huggingface/transformers/pull/4055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4055.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4054/comments | https://api.github.com/repos/huggingface/transformers/issues/4054/events | https://github.com/huggingface/transformers/pull/4054 | 608,533,355 | MDExOlB1bGxSZXF1ZXN0NDEwMjkzNTQ5 | 4,054 | Changes to fix working for transformer-xl | {
"login": "bajajahsaas",
"id": 11806556,
"node_id": "MDQ6VXNlcjExODA2NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/11806556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bajajahsaas",
"html_url": "https://github.com/bajajahsaas",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Sorry, it's been a while, but this has since been fixed in #3716."
] | 1,588 | 1,592 | 1,592 | NONE | null | Update arguments (`lm_labels` to `labels`)
Use labels as data; labels are shifted inside the model (https://github.com/bajajahsaas/transformers/blob/master/src/transformers/modeling_transfo_xl.py#L855) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4054/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4054",
"html_url": "https://github.com/huggingface/transformers/pull/4054",
"diff_url": "https://github.com/huggingface/transformers/pull/4054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4054.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4053/comments | https://api.github.com/repos/huggingface/transformers/issues/4053/events | https://github.com/huggingface/transformers/pull/4053 | 608,495,737 | MDExOlB1bGxSZXF1ZXN0NDEwMjYzNjc2 | 4,053 | [isort] add known 3rd party to setup.cfg | {
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Resolve local/circleci isort discrepancy by adding sacrebleu, rouge_score to `known_third_party`.
Previously, if you had either package installed on your system, they would be `known_third_party`. Now they are `known_third_party` on everybody's system.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4053/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4053",
"html_url": "https://github.com/huggingface/transformers/pull/4053",
"diff_url": "https://github.com/huggingface/transformers/pull/4053.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4053.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4052/comments | https://api.github.com/repos/huggingface/transformers/issues/4052/events | https://github.com/huggingface/transformers/pull/4052 | 608,479,160 | MDExOlB1bGxSZXF1ZXN0NDEwMjUwMjUz | 4,052 | Checking new isort | {
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4052/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4052",
"html_url": "https://github.com/huggingface/transformers/pull/4052",
"diff_url": "https://github.com/huggingface/transformers/pull/4052.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4052.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4051/comments | https://api.github.com/repos/huggingface/transformers/issues/4051/events | https://github.com/huggingface/transformers/pull/4051 | 608,467,064 | MDExOlB1bGxSZXF1ZXN0NDEwMjQwMzEz | 4,051 | Fix TF input docstrings to refer to tf.Tensor rather than torch.Float… | {
"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 | [] | [
"Hi @jarednielsen - thanks a lot for the clean-up :-) "
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | …Tensor. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4051",
"html_url": "https://github.com/huggingface/transformers/pull/4051",
"diff_url": "https://github.com/huggingface/transformers/pull/4051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4051.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4050/comments | https://api.github.com/repos/huggingface/transformers/issues/4050/events | https://github.com/huggingface/transformers/pull/4050 | 608,457,395 | MDExOlB1bGxSZXF1ZXN0NDEwMjMyNDA4 | 4,050 | Remove jitted method so that our models are pickable. | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4050?src=pr&el=h1) Report\n> Merging [#4050](https://codecov.io/gh/huggingface/transformers/pull/4050?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9a0a8c1c6f4f2f0c80ff07d36713a3ada785eec5&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | MEMBER | null | closes https://github.com/huggingface/transformers/issues/4038 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4050/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4050",
"html_url": "https://github.com/huggingface/transformers/pull/4050",
"diff_url": "https://github.com/huggingface/transformers/pull/4050.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4050.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4049/comments | https://api.github.com/repos/huggingface/transformers/issues/4049/events | https://github.com/huggingface/transformers/pull/4049 | 608,443,844 | MDExOlB1bGxSZXF1ZXN0NDEwMjIxNDYw | 4,049 | p_mask in SQuAD pre-processing | {
"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,588 | 1,589 | 1,589 | MEMBER | null | In question answering, the `p_mask` is a mask with 1 for tokens than cannot be in the answer (0 for token which can be in an answer).
Currently the p_mask construction fails for RoBERTa, and is overall not very robust as it depends directly on the `token_type_ids`, while some models do not make use of them and there... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4049/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4049/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4049",
"html_url": "https://github.com/huggingface/transformers/pull/4049",
"diff_url": "https://github.com/huggingface/transformers/pull/4049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4049.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4048/comments | https://api.github.com/repos/huggingface/transformers/issues/4048/events | https://github.com/huggingface/transformers/issues/4048 | 608,425,951 | MDU6SXNzdWU2MDg0MjU5NTE= | 4,048 | Why is the pooler output used for sequence classification (if it does not represent the input semantic well)? | {
"login": "mkaze",
"id": 8656825,
"node_id": "MDQ6VXNlcjg2NTY4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8656825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mkaze",
"html_url": "https://github.com/mkaze",
"followers_url": "https://api.github.com/users/mkaze/follower... | [
{
"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 | [] | [
"@mkaze hello, what's your tensorflow version and transformers version?",
"@etveritas When I was working on this, I was using the latest versions at the time, i.e. TF 2.1 and Transformers 2.8. ",
"@mkaze oh, thank you~",
"This issue has been automatically marked as stale because it has not had recent activity... | 1,588 | 1,662 | 1,598 | NONE | null | # ❓ Questions & Help
## Details
In the [documentation](https://huggingface.co/transformers/model_doc/bert.html#tfbertmodel) of `TFBertModel`, it is stated that the `pooler_output` is not a good semantic representation of input (emphasis mine):
> `pooler_output (tf.Tensor of shape (batch_size, hidden_size))`:
> ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4048/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/4048/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4047/comments | https://api.github.com/repos/huggingface/transformers/issues/4047/events | https://github.com/huggingface/transformers/issues/4047 | 608,366,343 | MDU6SXNzdWU2MDgzNjYzNDM= | 4,047 | GPT2LMHeadModel Documentation Mismatch for labels | {
"login": "cdpierse",
"id": 8831892,
"node_id": "MDQ6VXNlcjg4MzE4OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8831892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cdpierse",
"html_url": "https://github.com/cdpierse",
"followers_url": "https://api.github.com/users/cdpie... | [] | 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 guess you are right. The same is true for transformer-xl as well. \r\nCode: https://github.com/bajajahsaas/transformers/blob/master/src/transformers/modeling_transfo_xl.py#L855",
"Yes, I think you guys are right! Thanks for pointing this out. I think we should do a general name cleaning here. \r\n\r\nSee linke... | 1,588 | 1,591 | 1,591 | CONTRIBUTOR | null | # 🐛 Bug
## Information
This is a very small discrepancy between the docs and code for the `GPT2LMHeadModel`.
Docs mention setting `lm_labels = input_ids` https://github.com/huggingface/transformers/blob/520e7f211926e07b2059bc8e21b668db4372e4db/src/transformers/modeling_gpt2.py#L547-L552
Should this rea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4046/comments | https://api.github.com/repos/huggingface/transformers/issues/4046/events | https://github.com/huggingface/transformers/pull/4046 | 608,361,568 | MDExOlB1bGxSZXF1ZXN0NDEwMTU0MTEz | 4,046 | [EncoderDecoder Tests] Improve tests | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4046?src=pr&el=h1) Report\n> Merging [#4046](https://codecov.io/gh/huggingface/transformers/pull/4046?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6af3306a1da0322f58861b1fbb62ce5223d97b8a&el=desc) will **increase... | 1,588 | 1,589 | 1,588 | MEMBER | null | Currently when executing:
``pytest tests/test_modeling_encoder_decoder.py`` all BERT tests are run as well due to problems with the import of BertModelTester (see PR #3383).
This PR takes the PR: #4027 and does some minimal changes in the encoder decoder test file.
I think @sshleifer found a great solution to c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4046",
"html_url": "https://github.com/huggingface/transformers/pull/4046",
"diff_url": "https://github.com/huggingface/transformers/pull/4046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4046.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4045/comments | https://api.github.com/repos/huggingface/transformers/issues/4045/events | https://github.com/huggingface/transformers/pull/4045 | 608,358,264 | MDExOlB1bGxSZXF1ZXN0NDEwMTUxMzYz | 4,045 | [EncoderDecoder] Add working examples to docstring | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4045",
"html_url": "https://github.com/huggingface/transformers/pull/4045",
"diff_url": "https://github.com/huggingface/transformers/pull/4045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4045.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4044/comments | https://api.github.com/repos/huggingface/transformers/issues/4044/events | https://github.com/huggingface/transformers/issues/4044 | 608,356,898 | MDU6SXNzdWU2MDgzNTY4OTg= | 4,044 | Email Alerts: Run failed: Torch hub integration | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,588 | 1,593 | 1,593 | CONTRIBUTOR | null | Possible to disable @julien-c? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4043/comments | https://api.github.com/repos/huggingface/transformers/issues/4043/events | https://github.com/huggingface/transformers/pull/4043 | 608,297,756 | MDExOlB1bGxSZXF1ZXN0NDEwMTAxNTkz | 4,043 | daigo/bert-base-japanese-sentiment | {
"login": "ydaigo",
"id": 44220424,
"node_id": "MDQ6VXNlcjQ0MjIwNDI0",
"avatar_url": "https://avatars.githubusercontent.com/u/44220424?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydaigo",
"html_url": "https://github.com/ydaigo",
"followers_url": "https://api.github.com/users/ydaigo/fo... | [
{
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | I create japanese binary classification. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4043",
"html_url": "https://github.com/huggingface/transformers/pull/4043",
"diff_url": "https://github.com/huggingface/transformers/pull/4043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4043.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4042/comments | https://api.github.com/repos/huggingface/transformers/issues/4042/events | https://github.com/huggingface/transformers/pull/4042 | 608,282,142 | MDExOlB1bGxSZXF1ZXN0NDEwMDg5MjUz | 4,042 | info about loading file None is not informative | {
"login": "max-yue",
"id": 13486398,
"node_id": "MDQ6VXNlcjEzNDg2Mzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/13486398?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/max-yue",
"html_url": "https://github.com/max-yue",
"followers_url": "https://api.github.com/users/max-yu... | [
{
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4042?src=pr&el=h1) Report\n> Merging [#4042](https://codecov.io/gh/huggingface/transformers/pull/4042?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/180585741cf3cdd6890cb99610923a8ae9691220&el=desc) will **increase... | 1,588 | 1,594 | 1,594 | CONTRIBUTOR | null | When file_path is None do not say loading file None | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4042",
"html_url": "https://github.com/huggingface/transformers/pull/4042",
"diff_url": "https://github.com/huggingface/transformers/pull/4042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4042.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4041/comments | https://api.github.com/repos/huggingface/transformers/issues/4041/events | https://github.com/huggingface/transformers/pull/4041 | 608,273,212 | MDExOlB1bGxSZXF1ZXN0NDEwMDgxOTk4 | 4,041 | [wip] more fp16 test coverage | {
"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,588 | 1,591 | 1,591 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4041/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4041",
"html_url": "https://github.com/huggingface/transformers/pull/4041",
"diff_url": "https://github.com/huggingface/transformers/pull/4041.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4041.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4040/comments | https://api.github.com/repos/huggingface/transformers/issues/4040/events | https://github.com/huggingface/transformers/pull/4040 | 608,267,978 | MDExOlB1bGxSZXF1ZXN0NDEwMDc3NjMz | 4,040 | Small cosmetic changes to CamemBERT model card | {
"login": "louismartin",
"id": 12654189,
"node_id": "MDQ6VXNlcjEyNjU0MTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/12654189?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/louismartin",
"html_url": "https://github.com/louismartin",
"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 | [] | [
"Thanks @louismartin :)"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Very minor cosmetic changes to the CamemBERT model card.
@benjamin-mlr will soon merge model cards for the other models :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4040/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4040",
"html_url": "https://github.com/huggingface/transformers/pull/4040",
"diff_url": "https://github.com/huggingface/transformers/pull/4040.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4040.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4039/comments | https://api.github.com/repos/huggingface/transformers/issues/4039/events | https://github.com/huggingface/transformers/issues/4039 | 608,222,931 | MDU6SXNzdWU2MDgyMjI5MzE= | 4,039 | Add BPE dropout to tokenizers | {
"login": "c00k1ez",
"id": 16941854,
"node_id": "MDQ6VXNlcjE2OTQxODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/16941854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c00k1ez",
"html_url": "https://github.com/c00k1ez",
"followers_url": "https://api.github.com/users/c00k1e... | [
{
"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,588 | 1,594 | 1,594 | CONTRIBUTOR | null | # 🚀 Feature request
Hi!
Thank you for the great library!
Several days ago I was trying to fine-tune the GPT2 model with a small dataset. It was a bit hard because the model overfitted every time.
So, after it, I found a great paper with simple sub-word regularization, that outperformed classic BPE on text gene... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4039/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4038/comments | https://api.github.com/repos/huggingface/transformers/issues/4038/events | https://github.com/huggingface/transformers/issues/4038 | 608,169,112 | MDU6SXNzdWU2MDgxNjkxMTI= | 4,038 | GPT-2 models are unpickable | {
"login": "Lawiss",
"id": 30115537,
"node_id": "MDQ6VXNlcjMwMTE1NTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/30115537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lawiss",
"html_url": "https://github.com/Lawiss",
"followers_url": "https://api.github.com/users/Lawiss/fo... | [] | closed | false | null | [] | [
"Hi! I think this may come from the [activation functions](https://github.com/huggingface/transformers/blob/master/src/transformers/activations.py), some of which are jitted. This allows better performance.\r\n\r\nIn what situation would you use `pickle` rather than our API `save_pretrained` ?\r\n\r\n```py\r\nfrom ... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): GPT-2
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts:
Hi,
I'm trying to train a GPT-2 Double Heads Mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4037/comments | https://api.github.com/repos/huggingface/transformers/issues/4037/events | https://github.com/huggingface/transformers/issues/4037 | 608,122,227 | MDU6SXNzdWU2MDgxMjIyMjc= | 4,037 | torch num_samples=0 error on XLMnet @ run_language_modeling.py | {
"login": "ysig",
"id": 28439529,
"node_id": "MDQ6VXNlcjI4NDM5NTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/28439529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ysig",
"html_url": "https://github.com/ysig",
"followers_url": "https://api.github.com/users/ysig/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 | {
"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... | [
"Hi! Are you using a multi-GPU setup ?",
"No I am running it on a single GPU.",
"Several other threads discuss this issue: \r\n - Either your datasets are too small: https://github.com/kaushaltrivedi/fast-bert/issues/181#issuecomment-596462172 \r\n - Or you haven't set `--block_size`: https://github.com/huggi... | 1,588 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
While finetuning a language model on an XLNET:
```
python transformers/examples/run_language_modeling.py \
--output_dir=lms/xlnet_custom \
--model_type=xlnet \
--model_name_or_path=xlnet-base-cased \
--do_train \
--train_data_file=$TRAIN_FILE \
--per_gpu_train_batch_size 1 \
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4036/comments | https://api.github.com/repos/huggingface/transformers/issues/4036/events | https://github.com/huggingface/transformers/issues/4036 | 608,104,069 | MDU6SXNzdWU2MDgxMDQwNjk= | 4,036 | BertForSequenceClassification producing same output during evaluation | {
"login": "drjosephliu",
"id": 22230085,
"node_id": "MDQ6VXNlcjIyMjMwMDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/22230085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drjosephliu",
"html_url": "https://github.com/drjosephliu",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi, have you solved this problem?\r\n\r\nI have a similar problem. I'm doing a multi-classification task over 8 classes. My task is to classify the entity type of short texts(usually < 32, much shorter than yours). These classes are something like school name, company name, job title, etc. Besides, I'm using the t... | 1,588 | 1,590 | 1,590 | CONTRIBUTOR | 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/4036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4035/comments | https://api.github.com/repos/huggingface/transformers/issues/4035/events | https://github.com/huggingface/transformers/pull/4035 | 608,102,922 | MDExOlB1bGxSZXF1ZXN0NDA5OTQ1MzU1 | 4,035 | Model card for roberta-base-squad2-covid | {
"login": "bogdankostic",
"id": 48713846,
"node_id": "MDQ6VXNlcjQ4NzEzODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/48713846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bogdankostic",
"html_url": "https://github.com/bogdankostic",
"followers_url": "https://api.github.c... | [
{
"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 [dataset](https://github.com/deepset-ai/COVID-QA), thanks for sharing a model card\r\n\r\n[model card](https://huggingface.co/deepset/roberta-base-squad2-covid)"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4035",
"html_url": "https://github.com/huggingface/transformers/pull/4035",
"diff_url": "https://github.com/huggingface/transformers/pull/4035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4035.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4034/comments | https://api.github.com/repos/huggingface/transformers/issues/4034/events | https://github.com/huggingface/transformers/issues/4034 | 608,088,418 | MDU6SXNzdWU2MDgwODg0MTg= | 4,034 | 🐛 Saving TF model : Expected Operation, Variable, or Tensor, got None | {
"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 | [] | [
"Hi! We prefer using our own API for this, using `from_pretrained` which also takes care of the configuration:\r\n\r\n```py\r\nfrom transformers import TFElectraModel\r\n\r\nmodel = TFElectraModel.from_pretrained(\"google/electra-base-discriminator\")\r\n!mkdir swag\r\nmodel.save_pretrained(\"swag\")\r\n```\r\n\r\n... | 1,588 | 1,679 | 1,588 | CONTRIBUTOR | null | # 🐛 Bug
I'm training TFElectraModel. Training goes well, but when I try to save the model, I met the following error :
`TypeError: Expected Operation, Variable, or Tensor, got None`
## Minimal reproducible example
```
!pip install transformers
from transformers import TFElectraModel
model = TFElectr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4034/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4033/comments | https://api.github.com/repos/huggingface/transformers/issues/4033/events | https://github.com/huggingface/transformers/pull/4033 | 608,077,939 | MDExOlB1bGxSZXF1ZXN0NDA5OTI1MjI3 | 4,033 | Model Card: gaochangkuan README.md | {
"login": "ScottishFold007",
"id": 36957508,
"node_id": "MDQ6VXNlcjM2OTU3NTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36957508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ScottishFold007",
"html_url": "https://github.com/ScottishFold007",
"followers_url": "https://api... | [
{
"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 | [] | [
"As discussed over email, can you move this file to https://huggingface.co/gaochangkuan/model_dir ?\r\n\r\nThanks!",
"> As discussed over email, can you move this file to https://huggingface.co/gaochangkuan/model_dir ?\r\n> \r\n> Thanks!\r\n\r\nOk, I will do it later~",
"I meant the file path of the README.md f... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4033/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4033",
"html_url": "https://github.com/huggingface/transformers/pull/4033",
"diff_url": "https://github.com/huggingface/transformers/pull/4033.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4033.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4032/comments | https://api.github.com/repos/huggingface/transformers/issues/4032/events | https://github.com/huggingface/transformers/pull/4032 | 607,972,768 | MDExOlB1bGxSZXF1ZXN0NDA5ODQyNTIy | 4,032 | [experimental] rename torch_device -> default_device | {
"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,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4032",
"html_url": "https://github.com/huggingface/transformers/pull/4032",
"diff_url": "https://github.com/huggingface/transformers/pull/4032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4032.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4031/comments | https://api.github.com/repos/huggingface/transformers/issues/4031/events | https://github.com/huggingface/transformers/pull/4031 | 607,963,374 | MDExOlB1bGxSZXF1ZXN0NDA5ODM1NDAz | 4,031 | [gitignore] fixtures created by unit tests | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4031?src=pr&el=h1) Report\n> Merging [#4031](https://codecov.io/gh/huggingface/transformers/pull/4031?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4e817ff41885063e08bb3bcd63e5adfd835b9911&el=desc) will **not chan... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4031",
"html_url": "https://github.com/huggingface/transformers/pull/4031",
"diff_url": "https://github.com/huggingface/transformers/pull/4031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4031.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4030/comments | https://api.github.com/repos/huggingface/transformers/issues/4030/events | https://github.com/huggingface/transformers/pull/4030 | 607,945,586 | MDExOlB1bGxSZXF1ZXN0NDA5ODIxNTY0 | 4,030 | CDN urls | {
"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 | [] | [
"This also gives us a nice speedup on CI which is always nice"
] | 1,588 | 1,588 | 1,588 | MEMBER | null | Use CDN urls for weights (not for tokenizer or config files) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4030",
"html_url": "https://github.com/huggingface/transformers/pull/4030",
"diff_url": "https://github.com/huggingface/transformers/pull/4030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4030.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4029/comments | https://api.github.com/repos/huggingface/transformers/issues/4029/events | https://github.com/huggingface/transformers/issues/4029 | 607,912,514 | MDU6SXNzdWU2MDc5MTI1MTQ= | 4,029 | TF2 - how to access intermediate layers of pre-trained bert model? | {
"login": "yagelardan",
"id": 30495788,
"node_id": "MDQ6VXNlcjMwNDk1Nzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/30495788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yagelardan",
"html_url": "https://github.com/yagelardan",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,588 | 1,593 | 1,593 | NONE | null | (I'm following [this](https://mccormickml.com/2019/05/14/BERT-word-embeddings-tutorial/) pytorch tutorial about BERT word embeddings, and in the tutorial the author is access the intermediate layers of the BERT model.)
What I want is to acess the last, lets say, 4 last layers of a single token input to the BERT mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4029/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4028/comments | https://api.github.com/repos/huggingface/transformers/issues/4028/events | https://github.com/huggingface/transformers/issues/4028 | 607,912,405 | MDU6SXNzdWU2MDc5MTI0MDU= | 4,028 | CamembertForSequenceClassification not initialized from pretrained model | {
"login": "Hadjerkhd",
"id": 17832283,
"node_id": "MDQ6VXNlcjE3ODMyMjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/17832283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hadjerkhd",
"html_url": "https://github.com/Hadjerkhd",
"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 | [] | [
"Hi, do you mind showing how you're loading the model?",
"Hello, \r\nHere is how I'm loading the model : \r\n`model = CamembertForSequenceClassification.from_pretrained(\"https://s3.amazonaws.com/models.huggingface.co/bert/camembert-base-pytorch_model.bin\", config=bertconfig)`\r\n\r\nI'm giving the link to the m... | 1,588 | 1,594 | 1,594 | NONE | null | Model I am using **CamembertForSequenceClassification** for a relation classification task.
I'm trying to adapt the model following the implementation proposed by [wang](https://github.com/wang-h/bert-relation-classification) for this [paper](https://arxiv.org/pdf/1905.08284.pdf)
When I try to load the pre trained ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4028/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4027/comments | https://api.github.com/repos/huggingface/transformers/issues/4027/events | https://github.com/huggingface/transformers/pull/4027 | 607,905,442 | MDExOlB1bGxSZXF1ZXN0NDA5Nzg4OTI4 | 4,027 | Hoist bert model tester for patrick | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4027?src=pr&el=h1) Report\n> Merging [#4027](https://codecov.io/gh/huggingface/transformers/pull/4027?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4e817ff41885063e08bb3bcd63e5adfd835b9911&el=desc) will **decrease... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4027",
"html_url": "https://github.com/huggingface/transformers/pull/4027",
"diff_url": "https://github.com/huggingface/transformers/pull/4027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4027.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4026/comments | https://api.github.com/repos/huggingface/transformers/issues/4026/events | https://github.com/huggingface/transformers/issues/4026 | 607,903,160 | MDU6SXNzdWU2MDc5MDMxNjA= | 4,026 | Training a new language model with custom loss and input representation | {
"login": "shenkev",
"id": 5405172,
"node_id": "MDQ6VXNlcjU0MDUxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5405172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shenkev",
"html_url": "https://github.com/shenkev",
"followers_url": "https://api.github.com/users/shenkev/... | [
{
"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 | [] | [
"We recently implemented a new `Trainer` which should allow to easily change the training loop. We don't have example scripts showing how to override this yet. Here's the [trainer](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py) file.\r\n\r\nIf I wanted to modify the way the los... | 1,588 | 1,594 | 1,594 | NONE | null | # ❓ Questions & Help
I'm following https://huggingface.co/blog/how-to-train which describe an overview of training a new language model. However, the file the guide points to run_language_modeling.py abstracts away a lot of things. It's not clear if it's possible to train with a custom loss/input representation.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4026/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/4026/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4025/comments | https://api.github.com/repos/huggingface/transformers/issues/4025/events | https://github.com/huggingface/transformers/pull/4025 | 607,903,107 | MDExOlB1bGxSZXF1ZXN0NDA5Nzg3MDY3 | 4,025 | Minor fix in Transformers Notebook | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4025?src=pr&el=h1) Report\n> Merging [#4025](https://codecov.io/gh/huggingface/transformers/pull/4025?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2fade302ac55a289f00c61b0947a8e00dadf41fe&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | COLLABORATOR | null | Minor fix for the German example sentence in notebook :) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4025/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4025",
"html_url": "https://github.com/huggingface/transformers/pull/4025",
"diff_url": "https://github.com/huggingface/transformers/pull/4025.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4025.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4024/comments | https://api.github.com/repos/huggingface/transformers/issues/4024/events | https://github.com/huggingface/transformers/pull/4024 | 607,899,604 | MDExOlB1bGxSZXF1ZXN0NDA5Nzg0MjMw | 4,024 | Fix for #3846 | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4024?src=pr&el=h1) Report\n> Merging [#4024](https://codecov.io/gh/huggingface/transformers/pull/4024?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ab90353f1abfd15f8d21f99395658d060679a08c&el=desc) will **decrease... | 1,588 | 1,589 | 1,589 | CONTRIBUTOR | null | Fix for #3846 . PretrainedTokenizer mapped " do not" to " don't" when .decode(...) is called. Removed the " do not" --> " don't" mapping from clean_up_tokenization(...). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4024",
"html_url": "https://github.com/huggingface/transformers/pull/4024",
"diff_url": "https://github.com/huggingface/transformers/pull/4024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4024.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4023/comments | https://api.github.com/repos/huggingface/transformers/issues/4023/events | https://github.com/huggingface/transformers/issues/4023 | 607,861,323 | MDU6SXNzdWU2MDc4NjEzMjM= | 4,023 | TFBert: Out of memory error when acting on a strided slice of input. | {
"login": "codeninja",
"id": 14914,
"node_id": "MDQ6VXNlcjE0OTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/14914?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codeninja",
"html_url": "https://github.com/codeninja",
"followers_url": "https://api.github.com/users/codeninja/... | [
{
"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,588 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): TF Bert & TFBertForSequenceEncoding
Language I am using the model on (English, Chinese ...): EN
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [X] my own modified scripts: (give details below)
The tas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4023/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4022/comments | https://api.github.com/repos/huggingface/transformers/issues/4022/events | https://github.com/huggingface/transformers/issues/4022 | 607,836,126 | MDU6SXNzdWU2MDc4MzYxMjY= | 4,022 | NER Pipeline with CamemBERT not showing entities | {
"login": "laubil",
"id": 64003665,
"node_id": "MDQ6VXNlcjY0MDAzNjY1",
"avatar_url": "https://avatars.githubusercontent.com/u/64003665?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laubil",
"html_url": "https://github.com/laubil",
"followers_url": "https://api.github.com/users/laubil/fo... | [] | closed | false | null | [] | [
"I think this is because Camembert has not been fine-tuned on a NER task yet. \r\n\r\nIn the documentation they specify : \"The models that this pipeline (ie. ner) can use are models that have been fine-tuned on a token classification task. See the up-to-date list of available models on huggingface.co/models.\"\r\n... | 1,588 | 1,643 | 1,588 | NONE | null | Hi,
Using NER pipeline with CamemBERT, I am only getting "LABEL_O" and "LABEL_I" as entities.
```
from transformers import pipeline
import torch
nlp = pipeline(task='ner', model="camembert-base", tokenizer="camembert-base", framework='pt', device=0)
sequence = "Lundi, David ira au magasin Printemps de Lil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4022/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4021/comments | https://api.github.com/repos/huggingface/transformers/issues/4021/events | https://github.com/huggingface/transformers/issues/4021 | 607,804,668 | MDU6SXNzdWU2MDc4MDQ2Njg= | 4,021 | T5 Tokenization of unique masked tokens (<extra_id_1>) is incorrect | {
"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 | null | [] | [
"I tried the following code:\r\n```python\r\ntokenizer = T5Tokenizer.from_pretrained(\"t5-base\")\r\n\r\ntext = \"The dog <extra_id_1> in the park\"\r\ntokenized_text = tokenizer.tokenize(text)\r\nprint (tokenized_text)\r\n```\r\n\r\nWith the same settings, it works fine with the following output:\r\n\r\n```python\... | 1,588 | 1,591 | 1,591 | CONTRIBUTOR | null | Hi!
Thanks for the awesome library!
I am trying to tokenize the following text using the T5Tokenizer `tokenizer = T5Tokenizer.from_pretrained("t5-base")`
`text = "The dog <extra_id_1> in the park"`
`tokenized_text = tokenizer.tokenize(text)`
`print (tokenized_text)`
And get the following output:
`['▁The... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4021/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4020/comments | https://api.github.com/repos/huggingface/transformers/issues/4020/events | https://github.com/huggingface/transformers/pull/4020 | 607,798,309 | MDExOlB1bGxSZXF1ZXN0NDA5NzAxOTI1 | 4,020 | Pass existing tensorboard SummaryWriter to Trainer PR (#4019) | {
"login": "jaymody",
"id": 26451316,
"node_id": "MDQ6VXNlcjI2NDUxMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/26451316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaymody",
"html_url": "https://github.com/jaymody",
"followers_url": "https://api.github.com/users/jaymod... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4020?src=pr&el=h1) Report\n> Merging [#4020](https://codecov.io/gh/huggingface/transformers/pull/4020?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4e817ff41885063e08bb3bcd63e5adfd835b9911&el=desc) will **increase... | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Implements feature request for issue #4019.
You should be able to pass in you're own `SummaryWriter`s to `Trainer` via the `tb_writer` parameter to the `__init__` function:
```
tb_writer = SummaryWriter(log_dir="my_log_dir")
tb_writer.add_hparams(my_hparams_dict, my_metrics_dict)
trainer = Trainer(
mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4020",
"html_url": "https://github.com/huggingface/transformers/pull/4020",
"diff_url": "https://github.com/huggingface/transformers/pull/4020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4020.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4019/comments | https://api.github.com/repos/huggingface/transformers/issues/4019/events | https://github.com/huggingface/transformers/issues/4019 | 607,795,719 | MDU6SXNzdWU2MDc3OTU3MTk= | 4,019 | Pass existing tensorboard SummaryWriter to Trainer. | {
"login": "jaymody",
"id": 26451316,
"node_id": "MDQ6VXNlcjI2NDUxMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/26451316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaymody",
"html_url": "https://github.com/jaymody",
"followers_url": "https://api.github.com/users/jaymod... | [] | closed | false | null | [] | [] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | # Feature request
The [`Trainer`](https://github.com/huggingface/transformers/blob/41750a6cff55e401364568868d619747de3db037/src/transformers/trainer.py#L102) class should let us pass our own `tb_writer` (Currently, a new `tb_writer` is created using the `args.logging_dir` argument if it exists).
## Motivation
This... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4019/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/4019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4018/comments | https://api.github.com/repos/huggingface/transformers/issues/4018/events | https://github.com/huggingface/transformers/issues/4018 | 607,703,328 | MDU6SXNzdWU2MDc3MDMzMjg= | 4,018 | String Format should be more pythonic | {
"login": "Liangtaiwan",
"id": 20909894,
"node_id": "MDQ6VXNlcjIwOTA5ODk0",
"avatar_url": "https://avatars.githubusercontent.com/u/20909894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Liangtaiwan",
"html_url": "https://github.com/Liangtaiwan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Until very recently, we were supporting Python >= 3.5, which is why we were not using f-strings. We're slowly but surely replacing them now!"
] | 1,588 | 1,588 | 1,588 | CONTRIBUTOR | null | Instead of using %s, %d, I think that we should use f-string or format. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4018/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4017/comments | https://api.github.com/repos/huggingface/transformers/issues/4017/events | https://github.com/huggingface/transformers/pull/4017 | 607,664,913 | MDExOlB1bGxSZXF1ZXN0NDA5NTkzODgw | 4,017 | TF version of the 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 | [] | [
"Thanks a lot for these reviews :) I'm currently running the trainer over all the GLUE tasks and few NER datasets. I still have few bugs solved that will be pushed soon, that will include your reviews.\r\n\r\nI do have some logs in Tensorboard yes, I can share them but I suggest you do some test on your side as we... | 1,588 | 1,589 | 1,588 | CONTRIBUTOR | null | Tensorflow version of the PyTorch Trainer found [here](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py). It follow as much as possible the same API, usage and internal method names.
An example can be found [here](https://github.com/jplu/transformers/blob/tf-trainer/examples/ner/ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4017/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4017",
"html_url": "https://github.com/huggingface/transformers/pull/4017",
"diff_url": "https://github.com/huggingface/transformers/pull/4017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4017.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4016/comments | https://api.github.com/repos/huggingface/transformers/issues/4016/events | https://github.com/huggingface/transformers/issues/4016 | 607,647,969 | MDU6SXNzdWU2MDc2NDc5Njk= | 4,016 | Text Generation generated <|endoftext|> | {
"login": "chuanhhoang",
"id": 19351207,
"node_id": "MDQ6VXNlcjE5MzUxMjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/19351207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chuanhhoang",
"html_url": "https://github.com/chuanhhoang",
"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 | [] | [
"Hi @chuanhhoang, \r\n\r\nRunning the same command you did actually gives me quite decent results, which are different each time I run the script (`do_sample=True` in the script which means that the models samples every time differently). \r\n\r\nAn output I got was: \r\n\r\n```\r\nF=== GENERATED SEQUENCE 1 ===\r\n... | 1,588 | 1,594 | 1,594 | NONE | null | The generated text include a lot of <|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|><|endoftext|>
Model I am using GPT2:
Language I am using the model on English:
The problem arises when using:
`python run_generation.py --model_type=gpt2 --model_name_or_pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4015/comments | https://api.github.com/repos/huggingface/transformers/issues/4015/events | https://github.com/huggingface/transformers/issues/4015 | 607,606,571 | MDU6SXNzdWU2MDc2MDY1NzE= | 4,015 | Fast Tokenizers: `batch_encode_plus` error | {
"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": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
},
{
... | closed | false | null | [] | [
"This issue should be submitted in another repo.\r\nhttps://github.com/huggingface/tokenizers."
] | 1,587 | 1,592 | 1,592 | COLLABORATOR | null | Hi,
I just want report the following error using fast tokenizers for better tracking.
The combination of:
* `batch_encode_plus` method
* `is_pretokenized=True` and
* `return_tensors=True`
returns the following error message:
```bash
~/.venvs/flair-2/lib/python3.8/site-packages/transformers/tokenizatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4015/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/4015/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4014/comments | https://api.github.com/repos/huggingface/transformers/issues/4014/events | https://github.com/huggingface/transformers/pull/4014 | 607,581,832 | MDExOlB1bGxSZXF1ZXN0NDA5NTI2NjI5 | 4,014 | [Fix common tests on GPU] send model, ids to torch_device | {
"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 | [] | [
"~@patrickvonplaten \r\n any idea why tf tests dont run? \r\nhttps://app.circleci.com/pipelines/github/huggingface/transformers/5734/workflows/7986a344-3a5f-4f4f-a5e7-f8fd82ef7a2d/jobs/33381/steps\r\nseems like test_modeling_common.py only used by torch.~\r\n\r\nresolved: had a `PretrainedConfig` type hint 😲 ",
... | 1,587 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4014",
"html_url": "https://github.com/huggingface/transformers/pull/4014",
"diff_url": "https://github.com/huggingface/transformers/pull/4014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4014.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4013/comments | https://api.github.com/repos/huggingface/transformers/issues/4013/events | https://github.com/huggingface/transformers/issues/4013 | 607,579,786 | MDU6SXNzdWU2MDc1Nzk3ODY= | 4,013 | test_lm_head_model_random_*_generate fail on GPU | {
"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,587 | 1,588 | 1,588 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4013/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.