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/4920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4920/comments | https://api.github.com/repos/huggingface/transformers/issues/4920/events | https://github.com/huggingface/transformers/pull/4920 | 636,521,373 | MDExOlB1bGxSZXF1ZXN0NDMyNjc4NDM0 | 4,920 | Support multiple choice in tf common model tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4920?src=pr&el=h1) Report\n> Merging [#4920](https://codecov.io/gh/huggingface/transformers/pull/4920?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5d63ca6c38cc0f583cdec4c3efcfce13c0a41fdc&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | This the same as #4886, but for tensorflow (first time ever of me coding in tf!) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4920/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/4920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4920",
"html_url": "https://github.com/huggingface/transformers/pull/4920",
"diff_url": "https://github.com/huggingface/transformers/pull/4920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4920.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4919/comments | https://api.github.com/repos/huggingface/transformers/issues/4919/events | https://github.com/huggingface/transformers/issues/4919 | 636,520,368 | MDU6SXNzdWU2MzY1MjAzNjg= | 4,919 | File is not found due to extension | {
"login": "halidziya",
"id": 9038065,
"node_id": "MDQ6VXNlcjkwMzgwNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9038065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/halidziya",
"html_url": "https://github.com/halidziya",
"followers_url": "https://api.github.com/users/ha... | [
{
"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,591 | 1,597 | 1,597 | NONE | null | Hi,
In the configuration where the internet is not available the system searches the cache directory. However url_to_filename(url, etag) returns filename with extension in Windows. Thus this line is not able to find the file locations. One remedy could be using filename.split('.')[0] instead of filename
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4919/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4918/comments | https://api.github.com/repos/huggingface/transformers/issues/4918/events | https://github.com/huggingface/transformers/issues/4918 | 636,516,876 | MDU6SXNzdWU2MzY1MTY4NzY= | 4,918 | Pegasus for summarization ! | {
"login": "jpcorb20",
"id": 17169406,
"node_id": "MDQ6VXNlcjE3MTY5NDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/17169406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jpcorb20",
"html_url": "https://github.com/jpcorb20",
"followers_url": "https://api.github.com/users/jpc... | [
{
"id": 1841528858,
"node_id": "MDU6TGFiZWwxODQxNTI4ODU4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Summarization",
"name": "Summarization",
"color": "b6f97f",
"default": false,
"description": ""
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzM... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Thanks! The model checkpoints are available actually. [Check here](https://github.com/google-research/pegasus#install-library-and-dependencies) :)",
"Hope to provide a pytorch version code ",
"I might try the Huggingface's weight transfer code from tensorflow to pytorch in July if nobody's working on this post... | 1,591 | 1,604 | 1,604 | NONE | null | # 🌟 New model addition
## Model description
https://ai.googleblog.com/2020/06/pegasus-state-of-art-model-for.html?m=1
https://arxiv.org/abs/1912.08777
Abstract
Recent work pre-training Transformers with self-supervised objectives on large text corpora has shown great success when fine-tuned on downstream... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4918/reactions",
"total_count": 17,
"+1": 17,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4918/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4917/comments | https://api.github.com/repos/huggingface/transformers/issues/4917/events | https://github.com/huggingface/transformers/pull/4917 | 636,506,387 | MDExOlB1bGxSZXF1ZXN0NDMyNjY2MTMy | 4,917 | enable invocation of run_ner.py and utils_ner.py in cython | {
"login": "mgoldey",
"id": 659477,
"node_id": "MDQ6VXNlcjY1OTQ3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/659477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mgoldey",
"html_url": "https://github.com/mgoldey",
"followers_url": "https://api.github.com/users/mgoldey/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4917?src=pr&el=h1) Report\n> Merging [#4917](https://codecov.io/gh/huggingface/transformers/pull/4917?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ef2dcdccaa9a115aca44d81f31c6dc4d32bebb3f&el=desc) will **increase... | 1,591 | 1,597 | 1,597 | CONTRIBUTOR | null | Due to extant issue https://github.com/cython/cython/issues/2903, `run_ner.py` and `utils_ner.py` (among others, I imagine) cannot be invoked inside Cython. By manually adding in annotations, these changes work around the missing features in Cython 3.7 re: PEP557.
https://github.com/cython/cython/pull/3400 ought to ev... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4917",
"html_url": "https://github.com/huggingface/transformers/pull/4917",
"diff_url": "https://github.com/huggingface/transformers/pull/4917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4917.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4916/comments | https://api.github.com/repos/huggingface/transformers/issues/4916/events | https://github.com/huggingface/transformers/pull/4916 | 636,500,859 | MDExOlB1bGxSZXF1ZXN0NDMyNjYxNTE1 | 4,916 | Don't init TPU device twice | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4916?src=pr&el=h1) Report\n> Merging [#4916](https://codecov.io/gh/huggingface/transformers/pull/4916?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ef2dcdccaa9a115aca44d81f31c6dc4d32bebb3f&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | MEMBER | null | closes #4893
The TPU device was initialized twice when using a the `xla_spawn.py` script. Removing this initialization solves the issue.
@patrickvonplaten, is this necessary for the benchmarking script? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4916/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4916",
"html_url": "https://github.com/huggingface/transformers/pull/4916",
"diff_url": "https://github.com/huggingface/transformers/pull/4916.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4916.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4915/comments | https://api.github.com/repos/huggingface/transformers/issues/4915/events | https://github.com/huggingface/transformers/issues/4915 | 636,488,193 | MDU6SXNzdWU2MzY0ODgxOTM= | 4,915 | [generate] Increasing length_penalty makes generations longer | {
"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": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | null | [] | [
"Yes, I remember being confused about the name earlier as well...I would be in favor of keeping the code and renaming the variable, but I can't think of a good variable name (not a huge fan of `len_adjustment`, but can't really think of a better name - maybe `length_reward`?) ",
"Sorry just catching up :) \r\n\r\... | 1,591 | 1,598 | 1,598 | CONTRIBUTOR | null | In `generate`, we document
```python
length_penalty: Exponential penalty to the length. Default to 1.
```
Given the name and the docstring, you might expect that if you increase the `length_penalty` your model will, on average, produce shorter generations.
You would be wrong! (at least for `bart-large-xsum`)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4915/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/4915/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4914/comments | https://api.github.com/repos/huggingface/transformers/issues/4914/events | https://github.com/huggingface/transformers/issues/4914 | 636,467,273 | MDU6SXNzdWU2MzY0NjcyNzM= | 4,914 | Simple way to convert a Python tokenizer to a fast tokenizer | {
"login": "pommedeterresautee",
"id": 1029874,
"node_id": "MDQ6VXNlcjEwMjk4NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1029874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pommedeterresautee",
"html_url": "https://github.com/pommedeterresautee",
"followers_url": "http... | [
{
"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 | [] | [
"requires unigram algo implemented on tokenizers\r\nhttps://github.com/huggingface/tokenizers/pull/292",
"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",
"PR merged, closing the issue... | 1,591 | 1,654 | 1,601 | CONTRIBUTOR | null | # 🚀 Feature request
Tokenizer are provided with each model, some have a fast version of their tokenizer (Rust based), others like CamemBERT have only the slow version.
## Motivation
Fast tokenizer improves inference times drastically (in real time inference for instance).
Plus there is no reason it should no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4914/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4913/comments | https://api.github.com/repos/huggingface/transformers/issues/4913/events | https://github.com/huggingface/transformers/pull/4913 | 636,441,695 | MDExOlB1bGxSZXF1ZXN0NDMyNjEzNDEy | 4,913 | ElectraForQuestionAnswering | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Great, thanks for your help! \r\nCould you also add the new model to [`all_model_classes`](https://github.com/huggingface/transformers/blob/master/tests/test_modeling_electra.py#L41) which would test the model a little bit more?",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4913?src=pr&el=h1... | 1,591 | 1,591 | 1,591 | MEMBER | null | This PR adds `ElectraForQuestionAnswering`. One of the missing models in this [project](https://github.com/huggingface/transformers/projects/17)
@LysandreJik , @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4913/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4913",
"html_url": "https://github.com/huggingface/transformers/pull/4913",
"diff_url": "https://github.com/huggingface/transformers/pull/4913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4913.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4912/comments | https://api.github.com/repos/huggingface/transformers/issues/4912/events | https://github.com/huggingface/transformers/pull/4912 | 636,412,543 | MDExOlB1bGxSZXF1ZXN0NDMyNTg5NzUy | 4,912 | Benchmarks | {
"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/4912?src=pr&el=h1) Report\n> Merging [#4912](https://codecov.io/gh/huggingface/transformers/pull/4912?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **decrease... | 1,591 | 1,592 | 1,592 | MEMBER | null | # Benchmarks
This PR adds the functionality to measure the following functionalities for TF and PT:
**Tensorflow:**
- Inference: CPU, GPU, GPU + XLA, GPU + eager mode, CPU + eager mode, TPU
**PyTorch:**
- Inference: CPU, CPU + torchscript, GPU, GPU + torchscript, GPU + mixed precision, Torch/XLA TPU
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4912",
"html_url": "https://github.com/huggingface/transformers/pull/4912",
"diff_url": "https://github.com/huggingface/transformers/pull/4912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4912.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4911/comments | https://api.github.com/repos/huggingface/transformers/issues/4911/events | https://github.com/huggingface/transformers/pull/4911 | 636,395,559 | MDExOlB1bGxSZXF1ZXN0NDMyNTc1Nzky | 4,911 | enable pickling for TF Bert models | {
"login": "btel",
"id": 41565,
"node_id": "MDQ6VXNlcjQxNTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/41565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/btel",
"html_url": "https://github.com/btel",
"followers_url": "https://api.github.com/users/btel/followers",
"follo... | [
{
"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! Why would you prefer using pickle rather than `save_pretrained`/`from_pretrained` or `torch.save`/`torch.save`?",
"HI @LysandreJik, pickle is mainly useful for parallel processing frameworks like `joblib` or `dask`. The use case is to parallelize some (embarassingly parallel) computation on multiple CPUs/GPU... | 1,591 | 1,598 | 1,598 | CONTRIBUTOR | null | this implements `__getstate__` for BERT models to enable pickling (without this PR the pickle attempt due to `weakref` errors). It also adds a unit test. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4911/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4911",
"html_url": "https://github.com/huggingface/transformers/pull/4911",
"diff_url": "https://github.com/huggingface/transformers/pull/4911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4911.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4910/comments | https://api.github.com/repos/huggingface/transformers/issues/4910/events | https://github.com/huggingface/transformers/pull/4910 | 636,386,793 | MDExOlB1bGxSZXF1ZXN0NDMyNTY4NjQy | 4,910 | Add more models to common tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4910?src=pr&el=h1) Report\n> Merging [#4910](https://codecov.io/gh/huggingface/transformers/pull/4910?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ac99217e92c43066af7ec96554054d75532565d7&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | Follow-up to #4886, adds all existing pt models to common tests (with the exception of the longformer task-specific ones, because of some problem with output attention).
Most of them required some fixes in the model files which are also added.
For longformer, a few of the needed fixes are present but there was stil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4910",
"html_url": "https://github.com/huggingface/transformers/pull/4910",
"diff_url": "https://github.com/huggingface/transformers/pull/4910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4910.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4909/comments | https://api.github.com/repos/huggingface/transformers/issues/4909/events | https://github.com/huggingface/transformers/pull/4909 | 636,333,555 | MDExOlB1bGxSZXF1ZXN0NDMyNTI1Mzg2 | 4,909 | [All models] fix docs after adding output attentions to all forward functions | {
"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/4909?src=pr&el=h1) Report\n> Merging [#4909](https://codecov.io/gh/huggingface/transformers/pull/4909?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ac99217e92c43066af7ec96554054d75532565d7&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | MEMBER | null | Added the same docs for to all models for `output_attentions` following PR: https://github.com/huggingface/transformers/pull/4538 .
This PR only touches the docs.
Pinging @LysandreJik @Bharat123rox for notification. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4909",
"html_url": "https://github.com/huggingface/transformers/pull/4909",
"diff_url": "https://github.com/huggingface/transformers/pull/4909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4909.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4908/comments | https://api.github.com/repos/huggingface/transformers/issues/4908/events | https://github.com/huggingface/transformers/pull/4908 | 636,324,098 | MDExOlB1bGxSZXF1ZXN0NDMyNTE3NjYy | 4,908 | BartForQuestionAnswering | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4908?src=pr&el=h1) Report\n> Merging [#4908](https://codecov.io/gh/huggingface/transformers/pull/4908?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ac99217e92c43066af7ec96554054d75532565d7&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | MEMBER | null | This PR adds `BartForQuestionAnswering`.
Decided to add this models as `BART` is intended for both NLU and NLG tasks and also achieves comparable performance to `ROBERTa` on SQuAD.
Also fine-tuned the model [here](https://colab.research.google.com/drive/1I5cK1M_0dLaf5xoewh6swcm5nAInfwHy?usp=sharing). The metrics ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4908/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/4908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4908",
"html_url": "https://github.com/huggingface/transformers/pull/4908",
"diff_url": "https://github.com/huggingface/transformers/pull/4908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4908.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4907/comments | https://api.github.com/repos/huggingface/transformers/issues/4907/events | https://github.com/huggingface/transformers/issues/4907 | 636,318,717 | MDU6SXNzdWU2MzYzMTg3MTc= | 4,907 | ModuleNotFoundError: No module named 'xml.sax'; 'xml' is not a package | {
"login": "telnasser",
"id": 795814,
"node_id": "MDQ6VXNlcjc5NTgxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/795814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/telnasser",
"html_url": "https://github.com/telnasser",
"followers_url": "https://api.github.com/users/teln... | [
{
"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! Is `sacremoses` installed in your environment? Do you mind pasting the result of `pip list` in your environment?",
"Here you go:\r\n\r\n`Package Version \r\n---------------------- -----------\r\nabsl-py 0.9.0 \r\nastunparse 1.6.3 \r\nbeautifulsoup4 ... | 1,591 | 1,597 | 1,597 | NONE | null | I'm running this example:
`from transformers import pipeline
nlp = pipeline("sentiment-analysis")
print(nlp("I hate you"))
print(nlp("I love you"))`
I get this error:
`
Traceback (most recent call last):
File "ttt.py", line 1, in <module>
from transformers import pipeline as ppp
File "/usr/loc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4907/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4906/comments | https://api.github.com/repos/huggingface/transformers/issues/4906/events | https://github.com/huggingface/transformers/issues/4906 | 636,296,487 | MDU6SXNzdWU2MzYyOTY0ODc= | 4,906 | TypeError: export() got an unexpected keyword argument 'use_external_data_format' | {
"login": "ZLKong",
"id": 28882362,
"node_id": "MDQ6VXNlcjI4ODgyMzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/28882362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZLKong",
"html_url": "https://github.com/ZLKong",
"followers_url": "https://api.github.com/users/ZLKong/fo... | [] | closed | false | null | [] | [
"I just did this too and it seems to work :S ",
"I looked into this and I believe the issue is that use_external_data_format is a recent [addition to PyTorch from the onnx team](https://github.com/pytorch/pytorch/commit/96989a2a114de9b77e7dd9495d62c4a8a549b40d). If you upgrade to torch>=1.5.0 it should work. Also... | 1,591 | 1,702 | 1,596 | NONE | null | Hi,
I tried to run `convert_graph_to_onnx.py` using
`convert(framework="pt", model="bert-base-uncased", output="onnx/bert-base-uncased.onnx", opset=11)`
But I get error in the
```
export(
nlp.model,
model_args,
f=output,
input_names=ordered_input_na... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4906/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 4
} | https://api.github.com/repos/huggingface/transformers/issues/4906/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4905/comments | https://api.github.com/repos/huggingface/transformers/issues/4905/events | https://github.com/huggingface/transformers/issues/4905 | 636,258,243 | MDU6SXNzdWU2MzYyNTgyNDM= | 4,905 | [How to] Carefully designing the head of a Transformer model? | {
"login": "innat",
"id": 17668390,
"node_id": "MDQ6VXNlcjE3NjY4Mzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/17668390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/innat",
"html_url": "https://github.com/innat",
"followers_url": "https://api.github.com/users/innat/follow... | [] | closed | false | null | [] | [] | 1,591 | 1,592 | 1,592 | NONE | null | # ❓ Questions & Help
While using the pre-trained any transformer model, what are the main things we normally should consider while designing the head? Simply like,
```python
distill = transformer.distilbert.... <----- slicing the first position
x = Dense(n, activation = ' ')(distill) <-------- simple classifer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4905/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4904/comments | https://api.github.com/repos/huggingface/transformers/issues/4904/events | https://github.com/huggingface/transformers/pull/4904 | 636,221,952 | MDExOlB1bGxSZXF1ZXN0NDMyNDM1MDQx | 4,904 | [ctrl] fix pruning of MultiHeadAttention | {
"login": "aretius",
"id": 18247856,
"node_id": "MDQ6VXNlcjE4MjQ3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/18247856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aretius",
"html_url": "https://github.com/aretius",
"followers_url": "https://api.github.com/users/aretiu... | [] | closed | false | null | [] | [
"Hi @aretius, some (if not all) the tests failing are unrelated to your PR, and should have been solved by the recently merged #4903. Do you mind rebasing on `master` and force pushing so that we may see if all the tests pass?",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4904?src=pr&el=h1) R... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | @sshleifer
Implemented the pruning logic. Fixes - #4798
After enabling `test_pruning` all the previously failing tests are passing. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4904/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4904",
"html_url": "https://github.com/huggingface/transformers/pull/4904",
"diff_url": "https://github.com/huggingface/transformers/pull/4904.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4904.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4903/comments | https://api.github.com/repos/huggingface/transformers/issues/4903/events | https://github.com/huggingface/transformers/pull/4903 | 636,212,566 | MDExOlB1bGxSZXF1ZXN0NDMyNDI3NDIx | 4,903 | Fix the CI | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4903?src=pr&el=h1) Report\n> Merging [#4903](https://codecov.io/gh/huggingface/transformers/pull/4903?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0a375f5abdefcde1424639f712cf40247135cd64&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | The CI was broken by the merge of #4886 since #4538 was merged between the moment #4886 was tested and the moment it was merged.
This PR fixes the tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4903",
"html_url": "https://github.com/huggingface/transformers/pull/4903",
"diff_url": "https://github.com/huggingface/transformers/pull/4903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4903.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4902/comments | https://api.github.com/repos/huggingface/transformers/issues/4902/events | https://github.com/huggingface/transformers/issues/4902 | 636,182,046 | MDU6SXNzdWU2MzYxODIwNDY= | 4,902 | [cleanup] Hoist ModelTester objects to toplevel | {
"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 | [] | [
"@sshleifer It would be beneficial to provide more context, apologies for the beginner question!\r\nWould be happy to pick it up :)",
"Yeah sure. The high level goal is to reduce the amount of boilerplate code in the unittests.\r\n\r\nFor example, if you look at [T5ModelTester](https://github.com/huggingface/tran... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/4046#issuecomment-628236744
many `ModelTester` objects are defined within classes. If we move them to the top level of the module, we can share code where possible and also have less complexity.
The task here is to move `ModelTester` objects to the top level.
Bo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4902/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4901/comments | https://api.github.com/repos/huggingface/transformers/issues/4901/events | https://github.com/huggingface/transformers/pull/4901 | 636,134,892 | MDExOlB1bGxSZXF1ZXN0NDMyMzYzMDQ1 | 4,901 | Add MobileBert | {
"login": "vshampor",
"id": 31695470,
"node_id": "MDQ6VXNlcjMxNjk1NDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/31695470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vshampor",
"html_url": "https://github.com/vshampor",
"followers_url": "https://api.github.com/users/vsh... | [] | 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 @vshampor, can you let me know when this is ready for review? Thanks!",
"@LysandreJik it is quite impossible to make the CI pass for the check_code_quality stage since locally the `black` and the `isort` commands seem to produce opposite changes when applied at once with `make style` and therefore cancel out;... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | Grabbed the code from https://github.com/lonePatient/MobileBert_PyTorch and added the question answering downstream task.
Should address #4185. Also got the backbone weights' representation in the Pytorch/transformers format (i.e. the `pytorch_model.bin`, `config.json` and `vocab.txt` files) via converting the origi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4901/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4901",
"html_url": "https://github.com/huggingface/transformers/pull/4901",
"diff_url": "https://github.com/huggingface/transformers/pull/4901.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4901.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4900/comments | https://api.github.com/repos/huggingface/transformers/issues/4900/events | https://github.com/huggingface/transformers/issues/4900 | 636,133,342 | MDU6SXNzdWU2MzYxMzMzNDI= | 4,900 | Latest version of transformers available via conda-forge? | {
"login": "brik3012",
"id": 30080120,
"node_id": "MDQ6VXNlcjMwMDgwMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/30080120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brik3012",
"html_url": "https://github.com/brik3012",
"followers_url": "https://api.github.com/users/bri... | [
{
"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,591 | 1,597 | 1,597 | NONE | null | On conda forge the last version is the 2.1.1,
Why is not updated to the latest? Is it in plan to update the version?
We work in a limited environment and we are forced to work with conda-forge channel.
Thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4900/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/4900/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4899/comments | https://api.github.com/repos/huggingface/transformers/issues/4899/events | https://github.com/huggingface/transformers/issues/4899 | 636,129,917 | MDU6SXNzdWU2MzYxMjk5MTc= | 4,899 | Error using inputs_embeds argument in TFXLNetModel | {
"login": "rojagtap",
"id": 42299342,
"node_id": "MDQ6VXNlcjQyMjk5MzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/42299342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rojagtap",
"html_url": "https://github.com/rojagtap",
"followers_url": "https://api.github.com/users/roj... | [
{
"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": "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, @patrickvonplaten I observed the same with TFBertModel. So pretty much evident that the issue must be with the parent (if at all that helps)",
"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 contr... | 1,591 | 1,664 | 1,604 | NONE | null | While using the TFXLNetModel:
`xlnet = TFXLNetModel.from_pretrained('xlnet-base-cased')`
according to the docs, `input_ids` and `inputs_embeds` can be optionally used. However, when I tried using:
`xlnet(inputs_embeds=embeddings, attention_mask=attn_masks)[0]`
it throws: `ValueError: The first argument to Layer.c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4898/comments | https://api.github.com/repos/huggingface/transformers/issues/4898/events | https://github.com/huggingface/transformers/pull/4898 | 636,129,902 | MDExOlB1bGxSZXF1ZXN0NDMyMzU4ODgz | 4,898 | update via web | {
"login": "alberduris",
"id": 7073086,
"node_id": "MDQ6VXNlcjcwNzMwODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7073086?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alberduris",
"html_url": "https://github.com/alberduris",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4898/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4898",
"html_url": "https://github.com/huggingface/transformers/pull/4898",
"diff_url": "https://github.com/huggingface/transformers/pull/4898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4898.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4897/comments | https://api.github.com/repos/huggingface/transformers/issues/4897/events | https://github.com/huggingface/transformers/issues/4897 | 636,120,883 | MDU6SXNzdWU2MzYxMjA4ODM= | 4,897 | KeyError when using non-default models in Huggingface transformers pipeline | {
"login": "hesamuel",
"id": 60181534,
"node_id": "MDQ6VXNlcjYwMTgxNTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/60181534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hesamuel",
"html_url": "https://github.com/hesamuel",
"followers_url": "https://api.github.com/users/hes... | [] | closed | false | null | [] | [
"The \"sentiment-analysis\" pipeline is only compatible with text classification models, i.e. those that can be loaded without error with `AutoModelForSequenceClassification`"
] | 1,591 | 1,591 | 1,591 | NONE | null |
I have no problems using the default model in the sentiment analysis pipeline.
```# Allocate a pipeline for sentiment-analysis
nlp = pipeline('sentiment-analysis')
nlp('I am a black man.')
>>>[{'label': 'NEGATIVE', 'score': 0.5723695158958435}]
```
But, when I try to customise the pipeline a little by ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4897/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4896/comments | https://api.github.com/repos/huggingface/transformers/issues/4896/events | https://github.com/huggingface/transformers/pull/4896 | 636,108,996 | MDExOlB1bGxSZXF1ZXN0NDMyMzQyMTc5 | 4,896 | [WIP] Add early stopping to the trainer | {
"login": "primaprashant",
"id": 18608293,
"node_id": "MDQ6VXNlcjE4NjA4Mjkz",
"avatar_url": "https://avatars.githubusercontent.com/u/18608293?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/primaprashant",
"html_url": "https://github.com/primaprashant",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Well that was quick. Awesome! Let me know if you need some help (for the pytorch part) or code review.",
"Looks like a duplicate of https://github.com/huggingface/transformers/pull/4186",
"> Looks like a duplicate of #4186\r\n\r\nYou are absolutely right. Closing this in favour of https://github.com/huggingfac... | 1,591 | 1,592 | 1,592 | NONE | null | closes #4894 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4896",
"html_url": "https://github.com/huggingface/transformers/pull/4896",
"diff_url": "https://github.com/huggingface/transformers/pull/4896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4896.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4895/comments | https://api.github.com/repos/huggingface/transformers/issues/4895/events | https://github.com/huggingface/transformers/issues/4895 | 636,099,377 | MDU6SXNzdWU2MzYwOTkzNzc= | 4,895 | How do I fine-tune hyperparameters for a model from Huggingface library | {
"login": "thak123",
"id": 3891859,
"node_id": "MDQ6VXNlcjM4OTE4NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3891859?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thak123",
"html_url": "https://github.com/thak123",
"followers_url": "https://api.github.com/users/thak123/... | [] | closed | false | null | [] | [
"You can take a look at this blog post https://mccormickml.com/2019/07/22/BERT-fine-tuning/",
"Thank You"
] | 1,591 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
## Details
Hi, I am new to Hugging-face library and want to fine tune hyper-parameters of the mBert model. I have a simple classification head on top the cls token. I am getting around 76% accuracy.
Is there any read-me or notebook available for doing the same.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4895/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4894/comments | https://api.github.com/repos/huggingface/transformers/issues/4894/events | https://github.com/huggingface/transformers/issues/4894 | 636,041,737 | MDU6SXNzdWU2MzYwNDE3Mzc= | 4,894 | 🚀 Add early stopping to the trainer | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 1834052129,
"node_id": "MDU6TGFiZWwxODM0MDUyMTI5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/High-Level%20feature",
"name": "High-Level feature",
"color": "f7c9a3",
"default": false,
"description": ""
},
{
"id": 1990918270,
"node_id": "MDU6T... | 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",
"Looking at the interest this topic has, I am bumping it to re-open it.",
"Hi,\r\n\r\nSo when #4186 is closed, this will close as well... | 1,591 | 1,646 | 1,646 | COLLABORATOR | null | # 🚀 Feature request
The trainer ([pt](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py), [tf](https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_tf.py)) is an easy access point for users who rather not spend too much time building their own trainer cl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4894/reactions",
"total_count": 34,
"+1": 34,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4894/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4893/comments | https://api.github.com/repos/huggingface/transformers/issues/4893/events | https://github.com/huggingface/transformers/issues/4893 | 636,015,473 | MDU6SXNzdWU2MzYwMTU0NzM= | 4,893 | 🐛 TPU Training broken due to recent changes | {
"login": "misrasaurabh1",
"id": 1271289,
"node_id": "MDQ6VXNlcjEyNzEyODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misrasaurabh1",
"html_url": "https://github.com/misrasaurabh1",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"See https://github.com/huggingface/transformers/issues/4814 as well. Over there the TPU evaluation is broken.\r\nTo make the TPU pipeline reliable, a end-to-end test could really help.",
"Hi! Thank you for raising this issue, I'll take a look.\r\n\r\nOf course, having an end-to-end test would really help. Unfort... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | # 🐛 Bug
Looks like due to changes in file_utils.py, the TPU Training has become broken. Reverting transformers to a version before https://github.com/huggingface/transformers/commit/2cfb947f59861d5d910f84eba3be57da200b5599 fixes the problem.
## Information
Seems like file_utils.py is trying to reinitialize the TP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4893/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4892/comments | https://api.github.com/repos/huggingface/transformers/issues/4892/events | https://github.com/huggingface/transformers/issues/4892 | 635,991,463 | MDU6SXNzdWU2MzU5OTE0NjM= | 4,892 | Training RoBerta using transformers on masked language task giving weird results | {
"login": "cabhijith",
"id": 45108441,
"node_id": "MDQ6VXNlcjQ1MTA4NDQx",
"avatar_url": "https://avatars.githubusercontent.com/u/45108441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cabhijith",
"html_url": "https://github.com/cabhijith",
"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 | [] | [
"Still facing this problem. Has anyone else encountered something similar? ",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"I also face this problem. How to solve it?"
] | 1,591 | 1,628 | 1,600 | NONE | null | # ❓ Questions & Help
## Details
I trained a RoBERTa model following this colab - https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb#scrollTo=XaFAsB_fnU3K
Here is how my data looked:
```
Merkel bemoans lack of rain as Germany fears for its forests .\n
Germany’... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4892/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4891/comments | https://api.github.com/repos/huggingface/transformers/issues/4891/events | https://github.com/huggingface/transformers/issues/4891 | 635,938,166 | MDU6SXNzdWU2MzU5MzgxNjY= | 4,891 | 🐛 [TFTrainer] `dataloader_drop_last` unused | {
"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 | [] | [
"Thanks for bringing this up, @Colanim! I worked on #4757, and didn't realize the same could automatically extend to TFTrainer as well.\r\n\r\nPlease take a look at #4925 to see if it'd solve this for you."
] | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | # 🐛 Bug
The argument `dataloader_drop_last` appear to not be used in `TFTrainer`. This is a problem when we need a static batch size.
https://github.com/huggingface/transformers/blob/e8db8b845a971b0cf63a0896b9deb5b316028a8b/src/transformers/trainer_tf.py#L68-L73
## Expected behavior
The argument `dataloade... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4890/comments | https://api.github.com/repos/huggingface/transformers/issues/4890/events | https://github.com/huggingface/transformers/issues/4890 | 635,851,233 | MDU6SXNzdWU2MzU4NTEyMzM= | 4,890 | encode_plus( ) function for the GPT-2 Tokenizer | {
"login": "h56cho",
"id": 52889259,
"node_id": "MDQ6VXNlcjUyODg5MjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/h56cho",
"html_url": "https://github.com/h56cho",
"followers_url": "https://api.github.com/users/h56cho/fo... | [] | closed | false | null | [] | [
"Sure, and you can use the `add_prefix_space` flag to do that."
] | 1,591 | 1,591 | 1,591 | NONE | null | Hello,
From the GPT-2 Tokenizer section of the Hugging Face Transformer documentation, the documentation says that:
```
GPT-2 BPE tokenizer.
Peculiarities:
Byte-level Byte-Pair-Encoding
Requires a space to start the input string => the encoding methods should be called with the add_prefix_space flag set ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4890/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4889/comments | https://api.github.com/repos/huggingface/transformers/issues/4889/events | https://github.com/huggingface/transformers/pull/4889 | 635,850,122 | MDExOlB1bGxSZXF1ZXN0NDMyMTM5NjAy | 4,889 | [RFC] Tokenizer.prepare_seq2seq_batch | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | {
"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... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4889?src=pr&el=h1) Report\n> Merging [#4889](https://codecov.io/gh/huggingface/transformers/pull/4889?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6e603cb7892b49a2cbbc10ba859759f92c3fb7a6&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | This introduces a method: `Tokenizer.prepare_seq2seq_batch` that calls batch encode plus twice and prepares inputs for seq2seq models.
The seq2seq finetuning example and some seq2seq unittests calls batch encode plus twice. This seems like it should be the work of the tokenizer, and MarianTokenizer, BartTokenizer, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4889/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4889",
"html_url": "https://github.com/huggingface/transformers/pull/4889",
"diff_url": "https://github.com/huggingface/transformers/pull/4889.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4889.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4888/comments | https://api.github.com/repos/huggingface/transformers/issues/4888/events | https://github.com/huggingface/transformers/issues/4888 | 635,839,787 | MDU6SXNzdWU2MzU4Mzk3ODc= | 4,888 | Previous commit introduces bug in `convert_pytorch_checkpoint_to_tf2.py` | {
"login": "VictorSanh",
"id": 16107619,
"node_id": "MDQ6VXNlcjE2MTA3NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VictorSanh",
"html_url": "https://github.com/VictorSanh",
"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 | [] | [
"I encountered the same problem.\r\nIf you were converting a local `pytorch_model.bin` model, you can try this\r\n\r\nsomewhere around line 258 in `convert_pytorch_checkpoint_to_tf2.py`\r\n\r\n```\r\naws_model_maps = {}\r\nconfig_class, model_class, pt_model_class, aws_config_map = MODEL_CLASSES[model_type]\r\n# co... | 1,591 | 1,599 | 1,599 | MEMBER | null | This issue concerns the conversion tool `convert_pytorch_checkpoint_to_tf2.py`.
Commit d4c2cb402d6674211726fd5f4803d1090664e438 removed the `*PRETRAINED_MODEL_ARCHIVE_MAP` from the imports so that for each key in `MODEL_CLASSES` is associated to a set of 4 values.
For instance: https://github.com/huggingface/transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4888/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/4888/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4887/comments | https://api.github.com/repos/huggingface/transformers/issues/4887/events | https://github.com/huggingface/transformers/pull/4887 | 635,812,913 | MDExOlB1bGxSZXF1ZXN0NDMyMTEwMDkz | 4,887 | warn with FutureWarning when using `output_attentions` in the configu… | {
"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/4887?src=pr&el=h1) Report\n> Merging [#4887](https://codecov.io/gh/huggingface/transformers/pull/4887?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/13aa174112f0c2ee794c44188ecf13b241694db0&el=desc) will **increase... | 1,591 | 1,651 | 1,591 | MEMBER | null | …ration | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4887/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4887",
"html_url": "https://github.com/huggingface/transformers/pull/4887",
"diff_url": "https://github.com/huggingface/transformers/pull/4887.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4887.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4886/comments | https://api.github.com/repos/huggingface/transformers/issues/4886/events | https://github.com/huggingface/transformers/pull/4886 | 635,778,420 | MDExOlB1bGxSZXF1ZXN0NDMyMDgxODc4 | 4,886 | Deal with multiple choice in common tests | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4886?src=pr&el=h1) Report\n> Merging [#4886](https://codecov.io/gh/huggingface/transformers/pull/4886?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/02e5f79662d72cccdca81a47e3001a5f6d36e5b1&el=desc) will **increase... | 1,591 | 1,595 | 1,591 | COLLABORATOR | null | It's a bit heavy but I didn't find another way to reshape the inputs when needed for the multiple choice model. With this, and skipping the input_embeds test when the model is a multiple choice one (current implementation requires `input_ids`), I manage to have the common tests passing for `BertForMultipleChoice`.
L... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4886/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/4886/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4886",
"html_url": "https://github.com/huggingface/transformers/pull/4886",
"diff_url": "https://github.com/huggingface/transformers/pull/4886.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4886.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4885/comments | https://api.github.com/repos/huggingface/transformers/issues/4885/events | https://github.com/huggingface/transformers/pull/4885 | 635,731,376 | MDExOlB1bGxSZXF1ZXN0NDMyMDQyOTE3 | 4,885 | Add AlbertForMultipleChoice | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4885?src=pr&el=h1) Report\n> Merging [#4885](https://codecov.io/gh/huggingface/transformers/pull/4885?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f0340b30310cb78555c6f78bed7262101f251940&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | Another [model missing](https://github.com/huggingface/transformers/projects/17).
While implementing it I noticed two things:
- the example in `BertForMultipleChoice` wasn't working, so fixed it.
- some model classes where missing in the `all_model_classes` in the test, fixed it for albert and bert, will look at t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4885/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4885",
"html_url": "https://github.com/huggingface/transformers/pull/4885",
"diff_url": "https://github.com/huggingface/transformers/pull/4885.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4885.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4884/comments | https://api.github.com/repos/huggingface/transformers/issues/4884/events | https://github.com/huggingface/transformers/pull/4884 | 635,716,709 | MDExOlB1bGxSZXF1ZXN0NDMyMDMwODg4 | 4,884 | Fix a bug in the initialization and serialization of TFRobertaClassificationHead | {
"login": "harkous",
"id": 5602332,
"node_id": "MDQ6VXNlcjU2MDIzMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5602332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harkous",
"html_url": "https://github.com/harkous",
"followers_url": "https://api.github.com/users/harkous/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4884?src=pr&el=h1) Report\n> Merging [#4884](https://codecov.io/gh/huggingface/transformers/pull/4884?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/02e5f79662d72cccdca81a47e3001a5f6d36e5b1&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | For `TFRobertaClassificationHead`, `config` was being passed as the first parameter to the `__init__` of the parent class `tf.keras.layers.Layer`. The latter [expects](https://www.tensorflow.org/api_docs/python/tf/keras/layers/Layer) trainable as the first parameter.
This fixes #4709 and #3664, making the TFRoberta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4884/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4884",
"html_url": "https://github.com/huggingface/transformers/pull/4884",
"diff_url": "https://github.com/huggingface/transformers/pull/4884.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4884.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4883/comments | https://api.github.com/repos/huggingface/transformers/issues/4883/events | https://github.com/huggingface/transformers/pull/4883 | 635,683,547 | MDExOlB1bGxSZXF1ZXN0NDMyMDAzNzQy | 4,883 | check type before logging in trainer to ensure values are scalars | {
"login": "mgoldey",
"id": 659477,
"node_id": "MDQ6VXNlcjY1OTQ3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/659477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mgoldey",
"html_url": "https://github.com/mgoldey",
"followers_url": "https://api.github.com/users/mgoldey/fo... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4883?src=pr&el=h1) Report\n> Merging [#4883](https://codecov.io/gh/huggingface/transformers/pull/4883?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9f5d5a531d769d07403f59661884e254f8420afe&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | This change was necessary to avoid https://github.com/lanpa/tensorboardX/issues/567 since a non-scalar value was being passed in. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4883/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4883",
"html_url": "https://github.com/huggingface/transformers/pull/4883",
"diff_url": "https://github.com/huggingface/transformers/pull/4883.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4883.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4882/comments | https://api.github.com/repos/huggingface/transformers/issues/4882/events | https://github.com/huggingface/transformers/pull/4882 | 635,664,337 | MDExOlB1bGxSZXF1ZXN0NDMxOTg3NTA2 | 4,882 | fix huggingface/tokenizers#297 in 0.8.0 | {
"login": "sarahwie",
"id": 8027676,
"node_id": "MDQ6VXNlcjgwMjc2NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8027676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarahwie",
"html_url": "https://github.com/sarahwie",
"followers_url": "https://api.github.com/users/sarah... | [
{
"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/4882?src=pr&el=h1) Report\n> Merging [#4882](https://codecov.io/gh/huggingface/transformers/pull/4882?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/02e5f79662d72cccdca81a47e3001a5f6d36e5b1&el=desc) will **increase... | 1,591 | 1,597 | 1,597 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4882/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4882",
"html_url": "https://github.com/huggingface/transformers/pull/4882",
"diff_url": "https://github.com/huggingface/transformers/pull/4882.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4882.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4881/comments | https://api.github.com/repos/huggingface/transformers/issues/4881/events | https://github.com/huggingface/transformers/pull/4881 | 635,658,084 | MDExOlB1bGxSZXF1ZXN0NDMxOTgyMjY4 | 4,881 | Fix TensorFlow dataset generator | {
"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 | [] | [
"Nice!! I didn't know that parameter ^^\r\n\r\nDoes it seems better now?",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4881?src=pr&el=h1) Report\n> Merging [#4881](https://codecov.io/gh/huggingface/transformers/pull/4881?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transfor... | 1,591 | 1,594 | 1,593 | CONTRIBUTOR | null | Should fix #4856
The method `glue_convert_examples_to_features` returns a badly formated TensorFlow dataset in case the used model doesn't use `token_type_ids` as feature such as DistilBert.
The fix is to detect when the feature `token_type_ids` should belong to the TensorFlow dataset or not. I'm not really happ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4881/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4881",
"html_url": "https://github.com/huggingface/transformers/pull/4881",
"diff_url": "https://github.com/huggingface/transformers/pull/4881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4881.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4880/comments | https://api.github.com/repos/huggingface/transformers/issues/4880/events | https://github.com/huggingface/transformers/issues/4880 | 635,654,985 | MDU6SXNzdWU2MzU2NTQ5ODU= | 4,880 | AutoModelForSequenceClassification not working with prunebert model | {
"login": "atowey01",
"id": 50136999,
"node_id": "MDQ6VXNlcjUwMTM2OTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/50136999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atowey01",
"html_url": "https://github.com/atowey01",
"followers_url": "https://api.github.com/users/ato... | [] | 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... | [
"This is because the `huggingface/prunebert-xxx` configurations have a model type `masked_bert`.\r\n\r\nSince these files should be loaded directly in `BertForXXX` classes, it would probably be best to update that field to `bert`, right @julien-c?",
"Yes. Can you confirm @VictorSanh?",
"Seems to be working fine... | 1,591 | 1,591 | 1,591 | NONE | null | I am having issues loading the new prunebert model for sequence classification using AutoModelForSequenceClassification.from_pretrained().
```
from transformers import AutoModelForSequenceClassification, BertForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("huggingface/pruneber... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4880/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4879/comments | https://api.github.com/repos/huggingface/transformers/issues/4879/events | https://github.com/huggingface/transformers/pull/4879 | 635,618,011 | MDExOlB1bGxSZXF1ZXN0NDMxOTQ4OTk5 | 4,879 | [Draft] Prevent KeyError in QA pipeline | {
"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,591 | 1,591 | 1,591 | MEMBER | null | closes #4873
With the question answering pipeline, sometimes the model selects an answer that is out of bounds. This ensures that it will select the maximum token it can select, and prevents KeyErrors from happening | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4879/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4879",
"html_url": "https://github.com/huggingface/transformers/pull/4879",
"diff_url": "https://github.com/huggingface/transformers/pull/4879.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4879.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4878/comments | https://api.github.com/repos/huggingface/transformers/issues/4878/events | https://github.com/huggingface/transformers/pull/4878 | 635,607,332 | MDExOlB1bGxSZXF1ZXN0NDMxOTM5OTA3 | 4,878 | BartTokenizerFast | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4878?src=pr&el=h1) Report\n> Merging [#4878](https://codecov.io/gh/huggingface/transformers/pull/4878?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/86578bb04c9b34f9d8e35cd4fad42a85910dd9e9&el=desc) will **decrease... | 1,591 | 1,592 | 1,592 | MEMBER | null | This PR adds `BartTokenizerFast` by subclassing `RobertaTokenizerFast`
@sshleifer @mfuntowicz | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4878/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4878",
"html_url": "https://github.com/huggingface/transformers/pull/4878",
"diff_url": "https://github.com/huggingface/transformers/pull/4878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4878.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4877/comments | https://api.github.com/repos/huggingface/transformers/issues/4877/events | https://github.com/huggingface/transformers/issues/4877 | 635,574,329 | MDU6SXNzdWU2MzU1NzQzMjk= | 4,877 | ProphetNet | {
"login": "aretius",
"id": 18247856,
"node_id": "MDQ6VXNlcjE4MjQ3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/18247856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aretius",
"html_url": "https://github.com/aretius",
"followers_url": "https://api.github.com/users/aretiu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"@aretius Thank you for mentioning ProphetNet. ProphetNet for huggingface is sheduled as you suggested. ",
"@qiweizhen this sounds great, I would love to give it a go. Any planned date for delivering this?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be ... | 1,591 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🌟 New model addition
ProphetNet
## Model description
ProphetNet introduces a novel self-supervised objective named future n-gram prediction and the proposed n stream self-attention mechanism. Instead of the optimization of one-step-ahead prediction in the traditional sequence-to-sequence model, the ProphetNet ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4877/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/4877/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4876/comments | https://api.github.com/repos/huggingface/transformers/issues/4876/events | https://github.com/huggingface/transformers/pull/4876 | 635,529,757 | MDExOlB1bGxSZXF1ZXN0NDMxODc5MzY4 | 4,876 | [examples] Cleanup summarization docs | {
"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/4876?src=pr&el=h1) Report\n> Merging [#4876](https://codecov.io/gh/huggingface/transformers/pull/4876?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/02e5f79662d72cccdca81a47e3001a5f6d36e5b1&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | Don't think we need a download_cnn_dailymail.py script
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4876/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4876",
"html_url": "https://github.com/huggingface/transformers/pull/4876",
"diff_url": "https://github.com/huggingface/transformers/pull/4876.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4876.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4875/comments | https://api.github.com/repos/huggingface/transformers/issues/4875/events | https://github.com/huggingface/transformers/issues/4875 | 635,471,552 | MDU6SXNzdWU2MzU0NzE1NTI= | 4,875 | Inconsistent number of vocab from pretrained T5Tokenizer and T5ForConditionalGeneration | {
"login": "cstorm125",
"id": 15519308,
"node_id": "MDQ6VXNlcjE1NTE5MzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/15519308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cstorm125",
"html_url": "https://github.com/cstorm125",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @cstorm125, \r\n\r\nI think, those `28` leftover embeddings are simply not used. The reason why the embedding matrix is of length 32128 as far as I know is simply because 32128 is a more GPU friendly number `32128 = 128 * 251` than `32100 = 4 * 8025`. That means that the GPU is probably more efficient if it c... | 1,591 | 1,680 | 1,592 | NONE | null | # ❓ Questions & Help
Pretrained `T5Tokenizer ` has vocab size of 32100 (32000 tokens plus 100 extra_ids) but the shared embedding layer of `T5ForConditionalGeneration` has size of (32128, 768). I checked the google-research implementation of T5 and also found that they have vocab size of 32100 also.
Where did the e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4875/reactions",
"total_count": 12,
"+1": 12,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4875/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4874/comments | https://api.github.com/repos/huggingface/transformers/issues/4874/events | https://github.com/huggingface/transformers/pull/4874 | 635,457,878 | MDExOlB1bGxSZXF1ZXN0NDMxODE4MDAw | 4,874 | Split LMBert model in two | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4874?src=pr&el=h1) Report\n> Merging [#4874](https://codecov.io/gh/huggingface/transformers/pull/4874?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3ae2e86baffc1fea8b8b93695fb5a10941fd63dc&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | As discussed in #4711, the `BertForMaskedLM` model should be split in two to avoid having two different labels argument, one model for causal LM, one for masked LM. This PR follows up on that and does the split.
It introduces a new `BertLMHeadModel` (also added to the `__init__` and the docs) with a test. As discuss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4874/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4874",
"html_url": "https://github.com/huggingface/transformers/pull/4874",
"diff_url": "https://github.com/huggingface/transformers/pull/4874.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4874.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4873/comments | https://api.github.com/repos/huggingface/transformers/issues/4873/events | https://github.com/huggingface/transformers/issues/4873 | 635,435,240 | MDU6SXNzdWU2MzU0MzUyNDA= | 4,873 | KeyError in Camembert in QuestionAnsweringPipeline | {
"login": "tuanardouin",
"id": 26484553,
"node_id": "MDQ6VXNlcjI2NDg0NTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/26484553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuanardouin",
"html_url": "https://github.com/tuanardouin",
"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 | {
"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... | [
"Thank you for your fast answer.\r\n\r\nYour patch seems to fix some KeyError but not all of them.\r\n\r\nHere is an example of a context and a question that raise it :\r\n\r\n[context2.txt](https://github.com/huggingface/transformers/files/4758844/context2.txt)\r\n\r\nQuestion : \r\nQuel est l'étage se situe les l... | 1,591 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
`Camembert ("illuin/camembert-large-fquad")`
Language I am using the model on (English, Chinese ...):
`French`
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4873/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4872/comments | https://api.github.com/repos/huggingface/transformers/issues/4872/events | https://github.com/huggingface/transformers/pull/4872 | 635,433,754 | MDExOlB1bGxSZXF1ZXN0NDMxNzk3NTky | 4,872 | Create README.md | {
"login": "ypapanik",
"id": 22024955,
"node_id": "MDQ6VXNlcjIyMDI0OTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/22024955?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ypapanik",
"html_url": "https://github.com/ypapanik",
"followers_url": "https://api.github.com/users/ypa... | [
{
"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/4872?src=pr&el=h1) Report\n> Merging [#4872](https://codecov.io/gh/huggingface/transformers/pull/4872?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9f5d5a531d769d07403f59661884e254f8420afe&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4872/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4872",
"html_url": "https://github.com/huggingface/transformers/pull/4872",
"diff_url": "https://github.com/huggingface/transformers/pull/4872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4872.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4871/comments | https://api.github.com/repos/huggingface/transformers/issues/4871/events | https://github.com/huggingface/transformers/pull/4871 | 635,428,579 | MDExOlB1bGxSZXF1ZXN0NDMxNzkyOTM4 | 4,871 | Create README.md for gpt-2-pubmed-medium | {
"login": "ypapanik",
"id": 22024955,
"node_id": "MDQ6VXNlcjIyMDI0OTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/22024955?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ypapanik",
"html_url": "https://github.com/ypapanik",
"followers_url": "https://api.github.com/users/ypa... | [
{
"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/4871?src=pr&el=h1) Report\n> Merging [#4871](https://codecov.io/gh/huggingface/transformers/pull/4871?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9f5d5a531d769d07403f59661884e254f8420afe&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4871/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4871",
"html_url": "https://github.com/huggingface/transformers/pull/4871",
"diff_url": "https://github.com/huggingface/transformers/pull/4871.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4871.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4870/comments | https://api.github.com/repos/huggingface/transformers/issues/4870/events | https://github.com/huggingface/transformers/pull/4870 | 635,390,754 | MDExOlB1bGxSZXF1ZXN0NDMxNzYwODQ4 | 4,870 | readme change | {
"login": "alberduris",
"id": 7073086,
"node_id": "MDQ6VXNlcjcwNzMwODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7073086?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alberduris",
"html_url": "https://github.com/alberduris",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4870/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4870",
"html_url": "https://github.com/huggingface/transformers/pull/4870",
"diff_url": "https://github.com/huggingface/transformers/pull/4870.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4870.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/4869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4869/comments | https://api.github.com/repos/huggingface/transformers/issues/4869/events | https://github.com/huggingface/transformers/pull/4869 | 635,377,474 | MDExOlB1bGxSZXF1ZXN0NDMxNzQ5Njk5 | 4,869 | parse arguments from dict | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4869?src=pr&el=h1) Report\n> Merging [#4869](https://codecov.io/gh/huggingface/transformers/pull/4869?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9f5d5a531d769d07403f59661884e254f8420afe&el=desc) will **increase... | 1,591 | 1,596 | 1,596 | MEMBER | null | This PR adds parse_dict method to HfArgumentParser to allow parsing arguments from dict
@julien-c
As suggested by you here #4791, I've added a simple unit test to check if the dataclass returned by `parse_dict` is same as manually initialised one. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4869/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4869",
"html_url": "https://github.com/huggingface/transformers/pull/4869",
"diff_url": "https://github.com/huggingface/transformers/pull/4869.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4869.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4868/comments | https://api.github.com/repos/huggingface/transformers/issues/4868/events | https://github.com/huggingface/transformers/issues/4868 | 635,368,183 | MDU6SXNzdWU2MzUzNjgxODM= | 4,868 | tokenizer.encode_plus stopped returning `attention_mask` and pad_to_max_length | {
"login": "shikharsingla",
"id": 23555486,
"node_id": "MDQ6VXNlcjIzNTU1NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/23555486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shikharsingla",
"html_url": "https://github.com/shikharsingla",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello! You're using `transformers` version 2.1.1, which didn't have all of these features, as you can see in the [documentation of version 2.1.1](https://huggingface.co/transformers/v2.1.1/main_classes/tokenizer.html#transformers.PreTrainedTokenizer.encode_plus).\r\n\r\nI would recommend upgrading your `transforme... | 1,591 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
tokenizer.encode_plus stopped returning `attention_mask` and pad_to_max_length
## Information
Model I am using (Bert, XLNet ...):
Bert
Language I am using the model on (English, Chinese ...):
English
The problem arises when using:
my own modified scripts: (give details below)
The tasks I am ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4867/comments | https://api.github.com/repos/huggingface/transformers/issues/4867/events | https://github.com/huggingface/transformers/pull/4867 | 635,367,659 | MDExOlB1bGxSZXF1ZXN0NDMxNzQxMjAx | 4,867 | run_pplm.py bug fix | {
"login": "songyouwei",
"id": 2573291,
"node_id": "MDQ6VXNlcjI1NzMyOTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2573291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/songyouwei",
"html_url": "https://github.com/songyouwei",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4867?src=pr&el=h1) Report\n> Merging [#4867](https://codecov.io/gh/huggingface/transformers/pull/4867?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9f5d5a531d769d07403f59661884e254f8420afe&el=desc) will **increase... | 1,591 | 1,592 | 1,591 | CONTRIBUTOR | null | `is_leaf` may become `False` after `.to(device=device)` function call. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4867/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4867",
"html_url": "https://github.com/huggingface/transformers/pull/4867",
"diff_url": "https://github.com/huggingface/transformers/pull/4867.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4867.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4866/comments | https://api.github.com/repos/huggingface/transformers/issues/4866/events | https://github.com/huggingface/transformers/issues/4866 | 635,367,503 | MDU6SXNzdWU2MzUzNjc1MDM= | 4,866 | Funnel Transformers | {
"login": "pchankh",
"id": 3161468,
"node_id": "MDQ6VXNlcjMxNjE0Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3161468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pchankh",
"html_url": "https://github.com/pchankh",
"followers_url": "https://api.github.com/users/pchankh/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Duplicate of #4844?",
"my bad. yes"
] | 1,591 | 1,591 | 1,591 | NONE | null | # 🌟 New model addition
Funnel-Transformer
## Model description
Funnel-Transformer is a new self-attention model that gradually compresses the sequence of hidden states to a shorter one and hence reduces the computation cost. More importantly, by re-investing the saved FLOPs from length reduction in constructing a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4866/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4865/comments | https://api.github.com/repos/huggingface/transformers/issues/4865/events | https://github.com/huggingface/transformers/pull/4865 | 635,351,497 | MDExOlB1bGxSZXF1ZXN0NDMxNzI3NzQx | 4,865 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4865?src=pr&el=h1) Report\n> Merging [#4865](https://codecov.io/gh/huggingface/transformers/pull/4865?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9f5d5a531d769d07403f59661884e254f8420afe&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4865/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/4865/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4865",
"html_url": "https://github.com/huggingface/transformers/pull/4865",
"diff_url": "https://github.com/huggingface/transformers/pull/4865.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4865.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4864/comments | https://api.github.com/repos/huggingface/transformers/issues/4864/events | https://github.com/huggingface/transformers/pull/4864 | 635,317,596 | MDExOlB1bGxSZXF1ZXN0NDMxNzAwMDQ2 | 4,864 | Adding 🤗nlp in the examples | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | null | [] | [
"Closing in favor of #5240"
] | 1,591 | 1,651 | 1,593 | MEMBER | null | This PR examines how to best make use of all the features of 🤗nlp in the examples.
First, example studied is GLUE. The main goal is to have a very explicit data processing (target: no data processing happening inside `transformers`) as well as add some efficiency features like dynamic batching. The second goal is t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4864/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4864/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4864",
"html_url": "https://github.com/huggingface/transformers/pull/4864",
"diff_url": "https://github.com/huggingface/transformers/pull/4864.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4864.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4863/comments | https://api.github.com/repos/huggingface/transformers/issues/4863/events | https://github.com/huggingface/transformers/issues/4863 | 635,293,463 | MDU6SXNzdWU2MzUyOTM0NjM= | 4,863 | how to train mask model e.g Bert using WordPieceToken | {
"login": "Yangxiaojun1230",
"id": 59246446,
"node_id": "MDQ6VXNlcjU5MjQ2NDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/59246446?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yangxiaojun1230",
"html_url": "https://github.com/Yangxiaojun1230",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi! Can you load your tokenizer using\r\n\r\n```py\r\nfrom transformers import BertTokenizer\r\n\r\ntokenizer = BertTokenizer.from_pretrained(directory_containing_vocab_txt)\r\n```\r\n?",
"> \r\n> \r\n> Hi! Can you load your tokenizer using\r\n> \r\n> ```python\r\n> from transformers import BertTokenizer\r\n> \r... | 1,591 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
When i trained a new token by WordPiece,that generized one vocab.txt file . It couldn't load in train-language-model.py ,since in source code it used bytepiece token. Is there a module out of box could save me a lot of time to do myself?
<!-- The GitHub issue tracker is primarly intended for bug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4863/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4862/comments | https://api.github.com/repos/huggingface/transformers/issues/4862/events | https://github.com/huggingface/transformers/issues/4862 | 635,263,454 | MDU6SXNzdWU2MzUyNjM0NTQ= | 4,862 | how to extract several layers of BERT or GPT as a new model? | {
"login": "willanxywc",
"id": 24306827,
"node_id": "MDQ6VXNlcjI0MzA2ODI3",
"avatar_url": "https://avatars.githubusercontent.com/u/24306827?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willanxywc",
"html_url": "https://github.com/willanxywc",
"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 | [] | [
"Interesting use-case!\r\n\r\nThe easiest way would be to simply load to models, one with the `bert-base-cased` checkpoint, the other randomly initialized, and to assign trained layers to the new model. Something like this:\r\n\r\n```py\r\nfrom transformers import BertModel, BertConfig\r\nimport torch\r\n\r\nbert_b... | 1,591 | 1,661 | 1,598 | NONE | null | How can I, for example, extract 8 layers from the 12 BertLayers of the _bert-base-uncased_ to form a new model? I want to use the _embedding_ and _pooler_ layer of orginal model, but use only a portion of the _encoder_ layers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4861/comments | https://api.github.com/repos/huggingface/transformers/issues/4861/events | https://github.com/huggingface/transformers/issues/4861 | 635,233,480 | MDU6SXNzdWU2MzUyMzM0ODA= | 4,861 | can anyone tell me how to do the pretraining of Reformer model on my text data? | {
"login": "doppler21",
"id": 46111727,
"node_id": "MDQ6VXNlcjQ2MTExNzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/46111727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/doppler21",
"html_url": "https://github.com/doppler21",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"```python\r\nfrom transformers import ReformerModelWithLMHead, ReformerConfig\r\nconfig = ReformerConfig() # define the config as you like\r\nmodel = ReformerModelWithLMHead(config)\r\nloss = model(input_ids, labels=input_ids) # input_ids are automatically shifted for labels\r\n=> train\r\n```\r\n\r\nAll this ca... | 1,591 | 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/4861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4860/comments | https://api.github.com/repos/huggingface/transformers/issues/4860/events | https://github.com/huggingface/transformers/issues/4860 | 635,176,864 | MDU6SXNzdWU2MzUxNzY4NjQ= | 4,860 | ROUGE_L score of summarization/t5 is very lower than that of paper. | {
"login": "takahiro971",
"id": 65151988,
"node_id": "MDQ6VXNlcjY1MTUxOTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/65151988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/takahiro971",
"html_url": "https://github.com/takahiro971",
"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 | [] | [
"So, I investigated the google's code, then I found:\r\n\r\nhttps://github.com/google-research/text-to-text-transfer-transformer/blob/master/t5/evaluation/metrics.py#L76\r\n\r\nI think that they uses not \"rougeL\" but \"rougeLsum\".\r\nAnd also, they says:\r\n \"# Add newlines between sentences so that rougeLsum i... | 1,591 | 1,597 | 1,597 | NONE | null | # 🐛 Bug
## Information
I try to use summarization/t5 in examples.
The ROUGE_1 and ROUGE_2 is equals to that of google's paper.
But, only ROUGE_L is very low!
```
ROUGE_1: paper=41.12 | my result=40.48 (almost equal)
ROUGE_2: paper=19.56 | my result=18.59 (almost equal)
ROUGE_L: paper=38.35 | my result=28... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4860/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4859/comments | https://api.github.com/repos/huggingface/transformers/issues/4859/events | https://github.com/huggingface/transformers/issues/4859 | 635,107,710 | MDU6SXNzdWU2MzUxMDc3MTA= | 4,859 | Memory issues in Transformers | {
"login": "AishwaryaVerma",
"id": 53822388,
"node_id": "MDQ6VXNlcjUzODIyMzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/53822388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AishwaryaVerma",
"html_url": "https://github.com/AishwaryaVerma",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,591 | 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/4859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4859/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4858/comments | https://api.github.com/repos/huggingface/transformers/issues/4858/events | https://github.com/huggingface/transformers/issues/4858 | 635,038,196 | MDU6SXNzdWU2MzUwMzgxOTY= | 4,858 | Add support for DeBERTa | {
"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": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"Hello, Our code has just been released at [DeBERTa]( https://github.com/microsoft/DeBERTa)\r\nPlease take a try and your feedback will be good for our improvements, we also welcome the community to work together with us to improve it.\r\nWe are also glad to integrate DeBERTa into transformers.\r\n",
"PR Add debe... | 1,591 | 1,606 | 1,606 | COLLABORATOR | null | # 🌟 New model addition
## Model description
DeBERTa (Decoding-enhanced BERT with disentangled attention) is a new model architecture:
> In this paper we propose a new model architecture DeBERTa (Decoding-enhanced BERT with disentangled attention) that improves the BERT and RoBERTa models using two novel tech... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4858/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/4858/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4857/comments | https://api.github.com/repos/huggingface/transformers/issues/4857/events | https://github.com/huggingface/transformers/issues/4857 | 635,016,815 | MDU6SXNzdWU2MzUwMTY4MTU= | 4,857 | sentencepiece==0.1.92 causing segmentation fault | {
"login": "boy2000-007man",
"id": 4197489,
"node_id": "MDQ6VXNlcjQxOTc0ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4197489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boy2000-007man",
"html_url": "https://github.com/boy2000-007man",
"followers_url": "https://api.gith... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"@boy2000-007man Hi, folk. Just curious about how do you find this bug? It costs me almost the whole day... Anyway, thank you so much!",
"OMG!!! Awesome Advice!!!! ",
"I spent a whole night to address the dependencies problems and almost lost my mind. This answer saved my life. Appreciate!",
"Thanks for this... | 1,591 | 1,605 | 1,596 | CONTRIBUTOR | null | # 🐛 Bug
## Information
`transformers==2.9.1`
`torch==1.4.0`
Starting from today,
I notice newly released `sentencepiece==0.1.92` causing segmentation fault while calling torch functions.
Downgrade to `sentencepiece==0.1.91` solve it.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4857/reactions",
"total_count": 97,
"+1": 52,
"-1": 0,
"laugh": 0,
"hooray": 15,
"confused": 0,
"heart": 17,
"rocket": 13,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4857/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4856/comments | https://api.github.com/repos/huggingface/transformers/issues/4856/events | https://github.com/huggingface/transformers/issues/4856 | 634,979,117 | MDU6SXNzdWU2MzQ5NzkxMTc= | 4,856 | Tensorflow Glue example script for finetuning not usable with DistilBert | {
"login": "maggy96",
"id": 3636686,
"node_id": "MDQ6VXNlcjM2MzY2ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/3636686?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maggy96",
"html_url": "https://github.com/maggy96",
"followers_url": "https://api.github.com/users/maggy96/... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 1862634478,
"node_id": "MDU6... | closed | false | {
"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",
... | [
{
"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... | [
"Hello!\r\n\r\nIndeed, it is a bug in the way the TensorFlow dataset is generated. A fix is on its way :)"
] | 1,591 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
## Information
Model I am using: DistilBert
```
python run_glue.py \
--model_name_or_path distilbert-base-cased \
--task_name MRPC\
--do_train \
--do_eval \
--max_seq_length 128 \
--per_device_train_batch_size 32 \
--learning_rate 2e-5 \
--num_train_epochs 3.0 \
--output_di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4856/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4855/comments | https://api.github.com/repos/huggingface/transformers/issues/4855/events | https://github.com/huggingface/transformers/pull/4855 | 634,963,823 | MDExOlB1bGxSZXF1ZXN0NDMxNDIwNTA2 | 4,855 | Add XLMRobertaForQuestionAnswering | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4855?src=pr&el=h1) Report\n> Merging [#4855](https://codecov.io/gh/huggingface/transformers/pull/4855?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a139d1a1602ee72ca98d5e0412efbd68f746d2c8&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | One of the missing [model task](https://github.com/huggingface/transformers/projects/17). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4855/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4855",
"html_url": "https://github.com/huggingface/transformers/pull/4855",
"diff_url": "https://github.com/huggingface/transformers/pull/4855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4855.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4854/comments | https://api.github.com/repos/huggingface/transformers/issues/4854/events | https://github.com/huggingface/transformers/pull/4854 | 634,944,824 | MDExOlB1bGxSZXF1ZXN0NDMxNDA1MjQ4 | 4,854 | Hans data | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4854?src=pr&el=h1) Report\n> Merging [#4854](https://codecov.io/gh/huggingface/transformers/pull/4854?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ca5e1cdf8e314288bd0242a531815a6c75d8178e&el=desc) will **not chan... | 1,591 | 1,592 | 1,592 | COLLABORATOR | null | This is the first step toward solving #4742: to be able to use the Trainer API, we first need to remove the TensorDataset and have datasets with dict items. This PR addresses that and updates the training and evaluation script accordingly.
It takes the multiple choice as a reference implementation, using the same fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4854/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4854/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4854",
"html_url": "https://github.com/huggingface/transformers/pull/4854",
"diff_url": "https://github.com/huggingface/transformers/pull/4854.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4854.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4853/comments | https://api.github.com/repos/huggingface/transformers/issues/4853/events | https://github.com/huggingface/transformers/pull/4853 | 634,857,353 | MDExOlB1bGxSZXF1ZXN0NDMxMzMzODI4 | 4,853 | Remove unused arguments in Multiple Choice example | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4853?src=pr&el=h1) Report\n> Merging [#4853](https://codecov.io/gh/huggingface/transformers/pull/4853?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/37be3786cf1de9d21233f543c231866e68954998&el=desc) will **increase... | 1,591 | 1,592 | 1,591 | COLLABORATOR | null | In the dataset preparation, the arguments `pad_token_segment_id`, `pad_on_left`, `pad_token` and `mask_padding_with_zero` are inferred from the tokenizer to be sent to `convert_examples_to_features` which then does not use them (since `tokenizer.encode_plus` does all of this using the tokenizer state).
This PR clean... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4853/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4853",
"html_url": "https://github.com/huggingface/transformers/pull/4853",
"diff_url": "https://github.com/huggingface/transformers/pull/4853.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4853.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4852/comments | https://api.github.com/repos/huggingface/transformers/issues/4852/events | https://github.com/huggingface/transformers/issues/4852 | 634,806,519 | MDU6SXNzdWU2MzQ4MDY1MTk= | 4,852 | issue in pretraining language model with checkpoint | {
"login": "008karan",
"id": 18630864,
"node_id": "MDQ6VXNlcjE4NjMwODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/18630864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/008karan",
"html_url": "https://github.com/008karan",
"followers_url": "https://api.github.com/users/008... | [
{
"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,591 | 1,597 | 1,597 | NONE | null | # 🐛 Bug
## Information
I am pre-training albert from scratch and it was going fine.(8 v100)
But when I am training using a checkpoint its using single gpu and that also 1gb/32gb GPU ram.
## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4852/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/4852/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4851/comments | https://api.github.com/repos/huggingface/transformers/issues/4851/events | https://github.com/huggingface/transformers/pull/4851 | 634,757,515 | MDExOlB1bGxSZXF1ZXN0NDMxMjUzOTk4 | 4,851 | Run a single wandb instance per TPU run | {
"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 | [] | [
"Why is it specific to tpu only?\r\nWould the same logic apply in all cases?",
"Yes I'm guessing we only want the global master to log to wandb in DDP, like we do for Tensorboard.\r\n\r\nNot sure why we hadn't done it like that before, @borisdayma – thoughts?",
"I did not consider DP/DDP at the time. Actually T... | 1,591 | 1,591 | 1,591 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4851",
"html_url": "https://github.com/huggingface/transformers/pull/4851",
"diff_url": "https://github.com/huggingface/transformers/pull/4851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4851.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4850/comments | https://api.github.com/repos/huggingface/transformers/issues/4850/events | https://github.com/huggingface/transformers/pull/4850 | 634,715,244 | MDExOlB1bGxSZXF1ZXN0NDMxMjIwMjYx | 4,850 | [Benchmark] add tpu and torchscipt for benchmark | {
"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/4850?src=pr&el=h1) Report\n> Merging [#4850](https://codecov.io/gh/huggingface/transformers/pull/4850?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/42860e92a4a99a8be338644462cfc3f62d1379a3&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | MEMBER | null | This PR adds:
- Torchscript memory and time benchmarking
- TPU memory and time benchmarking | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4850/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4850",
"html_url": "https://github.com/huggingface/transformers/pull/4850",
"diff_url": "https://github.com/huggingface/transformers/pull/4850.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4850.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4849/comments | https://api.github.com/repos/huggingface/transformers/issues/4849/events | https://github.com/huggingface/transformers/pull/4849 | 634,694,915 | MDExOlB1bGxSZXF1ZXN0NDMxMjAzODQw | 4,849 | Clean documentation | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4849?src=pr&el=h1) Report\n> Merging [#4849](https://codecov.io/gh/huggingface/transformers/pull/4849?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e817747941c75c8e14f0e93755ec648269f8a14d&el=desc) will **not chan... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | This PR addresses several problems in the documentation:
- not all existing models were present, I added them
- made sure to always follow the same order of sections/classes as bert for consistency, added an Overview section when not present, moved tips at the end of that overview section if they were elsewhere
- fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4849/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4849",
"html_url": "https://github.com/huggingface/transformers/pull/4849",
"diff_url": "https://github.com/huggingface/transformers/pull/4849.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4849.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4848/comments | https://api.github.com/repos/huggingface/transformers/issues/4848/events | https://github.com/huggingface/transformers/issues/4848 | 634,657,085 | MDU6SXNzdWU2MzQ2NTcwODU= | 4,848 | TFXLMRobertaForSequenceClassification: call() got an unexpected keyword argument 'labels' | {
"login": "QixinLi",
"id": 25460447,
"node_id": "MDQ6VXNlcjI1NDYwNDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25460447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QixinLi",
"html_url": "https://github.com/QixinLi",
"followers_url": "https://api.github.com/users/QixinL... | [] | closed | false | null | [] | [
"Hi! You're on `transformers` version `v2.5.1`, but the TensorFlow models can only accept labels since this PR https://github.com/huggingface/transformers/pull/4530 was merged, 4 days ago.\r\n\r\nThis currently isn't available in any release, so you will have to install from source to use that feature:\r\n\r\n```\r... | 1,591 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using : TFXLMRoberta
Language I am using the model on : cross-lingual
The problem arises when using:
* [ ] the official example scripts:
* [√] my own modified scripts:
```python
import tensorflow as tf
from transformers import TFXLMRobertaForSequenceClassification,X... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4848/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4847/comments | https://api.github.com/repos/huggingface/transformers/issues/4847/events | https://github.com/huggingface/transformers/issues/4847 | 634,586,574 | MDU6SXNzdWU2MzQ1ODY1NzQ= | 4,847 | Add optimal model size and stopping time feature | {
"login": "TevenLeScao",
"id": 26709476,
"node_id": "MDQ6VXNlcjI2NzA5NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TevenLeScao",
"html_url": "https://github.com/TevenLeScao",
"followers_url": "https://api.github.com/... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | {
"login": "TevenLeScao",
"id": 26709476,
"node_id": "MDQ6VXNlcjI2NzA5NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TevenLeScao",
"html_url": "https://github.com/TevenLeScao",
"followers_url": "https://api.github.com/... | [
{
"login": "TevenLeScao",
"id": 26709476,
"node_id": "MDQ6VXNlcjI2NzA5NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TevenLeScao",
"html_url": "https://github.com/TevenLeScao",
"followers_url": "htt... | [
"Great stuff, thank you! The energy estimates look 1000 worse than reality though, V100 running for 12 h should not consume 5432 kWh I think, else we'd be all dead. 5.4 kWh looks more reasonable.\r\n\r\n<img width=\"424\" alt=\"Screenshot 2020-06-09 at 00 26 45\" src=\"https://user-images.githubusercontent.com/4246... | 1,591 | 1,623 | 1,604 | CONTRIBUTOR | null | # 🚀 Feature request
The [calculator](https://huggingface.co/calculator/) blog post presented an automated way to find scaling laws with model size and compute budget on language modeling tasks. Adding it to the library would help save on training costs by picking an optimal model size and training time.
## Motiv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4847/reactions",
"total_count": 43,
"+1": 23,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 17,
"rocket": 2,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/4847/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4846/comments | https://api.github.com/repos/huggingface/transformers/issues/4846/events | https://github.com/huggingface/transformers/issues/4846 | 634,577,470 | MDU6SXNzdWU2MzQ1Nzc0NzA= | 4,846 | Memory issue in Transformers | {
"login": "AishwaryaVerma",
"id": 53822388,
"node_id": "MDQ6VXNlcjUzODIyMzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/53822388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AishwaryaVerma",
"html_url": "https://github.com/AishwaryaVerma",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Do you have a paper/link about those \"add\" and \"slots\" that you mention? I have never heard of it.",
"> Do you have a paper/link about those \"add\" and \"slots\" that you mention? I have never heard of it.\r\nSorry, it was __all__.\r\nPlease check the documentation link.\r\nhttps://docs.python.org/3/tutori... | 1,591 | 1,615 | 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/4846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4846/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4845/comments | https://api.github.com/repos/huggingface/transformers/issues/4845/events | https://github.com/huggingface/transformers/pull/4845 | 634,538,879 | MDExOlB1bGxSZXF1ZXN0NDMxMDc1MjE3 | 4,845 | [Generate] beam search should generate without replacement | {
"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/4845?src=pr&el=h1) Report\n> Merging [#4845](https://codecov.io/gh/huggingface/transformers/pull/4845?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f9414f7553d3f1872b372990ef03205c0d1141df&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | MEMBER | null | When doing beam search decoding and sampling instead of argmax (edge case, probably very rarely used), we need to sample **without** replacement. This is implemented by default in torch, but not in TF, see https://pytorch.org/docs/master/generated/torch.multinomial.html#torch.multinomial (torch). An easy solution is t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4845/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4845",
"html_url": "https://github.com/huggingface/transformers/pull/4845",
"diff_url": "https://github.com/huggingface/transformers/pull/4845.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4845.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4844/comments | https://api.github.com/repos/huggingface/transformers/issues/4844/events | https://github.com/huggingface/transformers/issues/4844 | 634,355,930 | MDU6SXNzdWU2MzQzNTU5MzA= | 4,844 | Add support for Funnel-Transformer | {
"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": 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 | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"Will start to look into this.",
"@sgugger Any updates on this? Thanks! ",
"The first models are uploaded and the base models are available in PyTorch (`FunnelModel` has encoder + decoder and `FunnelBaseModel` just the encoder, for sequence classification and multiple choice) in [this branch](https://github.com... | 1,591 | 1,599 | 1,599 | COLLABORATOR | null | # 🌟 New model addition
## Model description
The recently introduced Funnel-Transformer architecture and models would be a great feature for Transformers:
>Funnel-Transformer is a new self-attention model that gradually compresses the sequence of hidden states to a shorter one and hence reduces the computation... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4844/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4844/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4843/comments | https://api.github.com/repos/huggingface/transformers/issues/4843/events | https://github.com/huggingface/transformers/issues/4843 | 634,227,342 | MDU6SXNzdWU2MzQyMjczNDI= | 4,843 | remove words from vocabulary | {
"login": "vineeth567",
"id": 49122145,
"node_id": "MDQ6VXNlcjQ5MTIyMTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/49122145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vineeth567",
"html_url": "https://github.com/vineeth567",
"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 | [] | [
"Please refer to this issue: [https://github.com/huggingface/transformers/issues/4827](https://github.com/huggingface/transformers/issues/4827)",
"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 contribut... | 1,591 | 1,597 | 1,597 | NONE | null | Is there any way to remove the words from the vocabulary of pretrained model? and is there a way to see the vocabulary of the model?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4843/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4842/comments | https://api.github.com/repos/huggingface/transformers/issues/4842/events | https://github.com/huggingface/transformers/issues/4842 | 634,171,167 | MDU6SXNzdWU2MzQxNzExNjc= | 4,842 | [Benchmark] Add optimization notebook | {
"login": "pommedeterresautee",
"id": 1029874,
"node_id": "MDQ6VXNlcjEwMjk4NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1029874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pommedeterresautee",
"html_url": "https://github.com/pommedeterresautee",
"followers_url": "http... | [] | 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... | [
"That'd be great! Do you want to open a PR? :-) \r\nI would use this line as the github line: https://github.com/ELS-RD/transformers-notebook/blob/master/Divide_Hugging_Face_Transformers_training_time_by_2_or_more.ipynb\r\n\r\nand this one as the colab notebook line:\r\nhttps://colab.research.google.com/drive/1CBfR... | 1,591 | 1,592 | 1,592 | CONTRIBUTOR | null | # 🖥 Benchmarking `transformers`
## Benchmark
This notebook is about benchmarking model training with/without dynamic padding optimization.
https://github.com/ELS-RD/transformers-notebook
**Would it be possible to add it to the [community notebook](https://github.com/huggingface/transformers/tree/master/not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4842/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/4842/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4841/comments | https://api.github.com/repos/huggingface/transformers/issues/4841/events | https://github.com/huggingface/transformers/issues/4841 | 634,170,551 | MDU6SXNzdWU2MzQxNzA1NTE= | 4,841 | Multi-output regression support for Transformer models | {
"login": "mangalgishreyas",
"id": 7473358,
"node_id": "MDQ6VXNlcjc0NzMzNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7473358?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mangalgishreyas",
"html_url": "https://github.com/mangalgishreyas",
"followers_url": "https://api.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 | [] | [
"Hello! The cross entropy loss is only used if you provide the `labels` for the model to compute the loss. If you don't provide the labels, the model doesn't output any loss, only the logits!\r\n\r\nYou can then use these logits with your labels and the loss of your choosing.",
"This issue has been automatically ... | 1,591 | 1,597 | 1,597 | NONE | null | # 🚀 Feature request
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
## Motivation
I am trying to build a shipping address to geo-code predictor using RoBERTa. Here the shipping address would be the text input and the outpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4841/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4840/comments | https://api.github.com/repos/huggingface/transformers/issues/4840/events | https://github.com/huggingface/transformers/issues/4840 | 634,090,667 | MDU6SXNzdWU2MzQwOTA2Njc= | 4,840 | BUG while calculate LM loss in AlbertForMaskedLM | {
"login": "slczgwh",
"id": 58211043,
"node_id": "MDQ6VXNlcjU4MjExMDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/58211043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slczgwh",
"html_url": "https://github.com/slczgwh",
"followers_url": "https://api.github.com/users/slczgw... | [] | closed | false | null | [] | [
"That's because the labels of all tokens *except* the mask tokens should be set to -100, as it's written in the [documentation](https://huggingface.co/transformers/model_doc/albert.html#albertformaskedlm).\r\n\r\nSetting these tokens to -100 will result in the cross entropy ignoring them."
] | 1,591 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
Error Code Here: https://github.com/huggingface/transformers/blob/e33fdc93b4ecb571dd7a8002a74789ec8bfffc09/src/transformers/modeling_albert.py#L822
Here calculate the loss of all tokens in a seq. While MLM actually only calculate loss on [MASK] | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4840/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4839/comments | https://api.github.com/repos/huggingface/transformers/issues/4839/events | https://github.com/huggingface/transformers/pull/4839 | 634,004,783 | MDExOlB1bGxSZXF1ZXN0NDMwNjAzMjc5 | 4,839 | [Longformer] Remove redundant code | {
"login": "ZhuBaohe",
"id": 35796307,
"node_id": "MDQ6VXNlcjM1Nzk2MzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/35796307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhuBaohe",
"html_url": "https://github.com/ZhuBaohe",
"followers_url": "https://api.github.com/users/Zhu... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4839?src=pr&el=h1) Report\n> Merging [#4839](https://codecov.io/gh/huggingface/transformers/pull/4839?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e33fdc93b4ecb571dd7a8002a74789ec8bfffc09&el=desc) will **decrease... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | This PR fixes class LongformerSelfAttention as follow:
1. Since the method **_mask_invalid_locations()** was already run in **_sliding_chunks_matmul_qk()**, it should be removed from **forward()** to avoid code duplication.
2. In the method **_mask_invalid_locations()**, since the size of the variable **begi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4839/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4839",
"html_url": "https://github.com/huggingface/transformers/pull/4839",
"diff_url": "https://github.com/huggingface/transformers/pull/4839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4839.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4838/comments | https://api.github.com/repos/huggingface/transformers/issues/4838/events | https://github.com/huggingface/transformers/issues/4838 | 633,764,413 | MDU6SXNzdWU2MzM3NjQ0MTM= | 4,838 | [Bert Model] ValueError: not enough values to unpack (expected 3, got 2) | {
"login": "viiids",
"id": 763253,
"node_id": "MDQ6VXNlcjc2MzI1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/763253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/viiids",
"html_url": "https://github.com/viiids",
"followers_url": "https://api.github.com/users/viiids/follow... | [] | closed | false | null | [] | [
"From the first sight it seems to me you did not specify in your `config` file you want to output the hidden states. You may use these two lines of code:\r\n```\r\nconfig = BertConfig.from_pretrained( 'bert-base-uncased', output_hidden_states=True) \r\nself.bert_model = BertModel.from_pretrained('bert-base-uncas... | 1,591 | 1,635 | 1,591 | NONE | null | # 🐛 Bug: ValueError: not enough values to unpack (expected 3, got 2)
## Information
I am using Bert initialized with 'bert-base-uncased', as per the [documentation](https://huggingface.co/transformers/model_doc/bert.html), the forward step is suppose to yield 4 outputs:
- last_hidden_state
- pooler_output
- hid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4837/comments | https://api.github.com/repos/huggingface/transformers/issues/4837/events | https://github.com/huggingface/transformers/pull/4837 | 633,664,541 | MDExOlB1bGxSZXF1ZXN0NDMwMjkyNDIz | 4,837 | [examples] consolidate summarization examples | {
"login": "aretius",
"id": 18247856,
"node_id": "MDQ6VXNlcjE4MjQ3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/18247856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aretius",
"html_url": "https://github.com/aretius",
"followers_url": "https://api.github.com/users/aretiu... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4837?src=pr&el=h1) Report\n> Merging [#4837](https://codecov.io/gh/huggingface/transformers/pull/4837?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e33fdc93b4ecb571dd7a8002a74789ec8bfffc09&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | Consolidating summarization examples of T5 & Bertabs models into one - [#3826](https://github.com/huggingface/transformers/issues/3826)
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4837/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/4837/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4837",
"html_url": "https://github.com/huggingface/transformers/pull/4837",
"diff_url": "https://github.com/huggingface/transformers/pull/4837.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4837.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4836/comments | https://api.github.com/repos/huggingface/transformers/issues/4836/events | https://github.com/huggingface/transformers/pull/4836 | 633,639,314 | MDExOlB1bGxSZXF1ZXN0NDMwMjY5NjY5 | 4,836 | Remove unneeded call convert_ids_to_tokens. | {
"login": "tshauck",
"id": 421839,
"node_id": "MDQ6VXNlcjQyMTgzOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/421839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tshauck",
"html_url": "https://github.com/tshauck",
"followers_url": "https://api.github.com/users/tshauck/fo... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4836?src=pr&el=h1) Report\n> Merging [#4836](https://codecov.io/gh/huggingface/transformers/pull/4836?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ac921f0385616be40adbbd5302d7f58d5c976ca8&el=desc) will **decrease... | 1,591 | 1,595 | 1,595 | NONE | null | On the base `PreTrainedTokenizer` object, calling `convert_tokens_to_string` returns an error because the method tries to call `convert_ids_to_tokens.` however the input should already be a list of tokens not ids.
I noticed this when creating a tokenizer that inherits from the Pretrained Tokenizer, and trying to tes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4836",
"html_url": "https://github.com/huggingface/transformers/pull/4836",
"diff_url": "https://github.com/huggingface/transformers/pull/4836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4836.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4835/comments | https://api.github.com/repos/huggingface/transformers/issues/4835/events | https://github.com/huggingface/transformers/issues/4835 | 633,585,818 | MDU6SXNzdWU2MzM1ODU4MTg= | 4,835 | Any reason why BART does not have a ForTokenClassification variant? | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
}
] | 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... | [
"No theoretical reasons, go for it!\r\n\r\n",
"@BramVanroy, did you implement BartForTokenClassification?",
"@vgaraujov Sorry, no I did not."
] | 1,591 | 1,692 | 1,591 | COLLABORATOR | null | Are there any theoretical constraints to create a ForTokenClassification variant for BART? In my current project I am using a sequence classification head + a token classification head, so I would like to implement the token classification part manually. However, since it is not implemented in the repository, I wonder ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4835/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4834/comments | https://api.github.com/repos/huggingface/transformers/issues/4834/events | https://github.com/huggingface/transformers/issues/4834 | 633,584,758 | MDU6SXNzdWU2MzM1ODQ3NTg= | 4,834 | Why init specific layers rather than whole model in BART | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
}
] | 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... | [
"The line \r\n```python\r\nself.model = BartModel(config)\r\n```\r\nalready calls `init_weights`, so no need to run it twice.",
"Ah, you are of course correct. I noticed this because the other models (XXXForXXX) seem to just re-call init_weights, e.g.\r\n\r\nhttps://github.com/huggingface/transformers/blob/e33fdc... | 1,591 | 1,591 | 1,591 | COLLABORATOR | null | In BartForSequenceClassification I can see that rather than calling `self.init_weights()` (which most other models use) only specifically the classification head is initialized.
https://github.com/huggingface/transformers/blob/c58e6c129a153ca1a5021e5d7e642d00bf011e20/src/transformers/modeling_bart.py#L1046-L1047
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4834/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4833/comments | https://api.github.com/repos/huggingface/transformers/issues/4833/events | https://github.com/huggingface/transformers/issues/4833 | 633,402,445 | MDU6SXNzdWU2MzM0MDI0NDU= | 4,833 | GlossBert adding | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | [
" Actually it already can be loaded and seem to work in some cases,a ll i tested now. \r\n model_a = BertModel.from_pretrained(\"/folder/\")\r\n tokenizer_a = BertTokenizer.from_pretrained(\"/folder/\")",
"It can be downloaded from the link.",
"As you say, it is already available fo... | 1,591 | 1,591 | 1,591 | NONE | null | Here is a link https://github.com/HSLCY/GlossBERT - it should be able to do better for word vectors representations and there is already pretrained model than maybe need to be converted to a different format. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4833/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4832/comments | https://api.github.com/repos/huggingface/transformers/issues/4832/events | https://github.com/huggingface/transformers/issues/4832 | 633,322,230 | MDU6SXNzdWU2MzMzMjIyMzA= | 4,832 | Why exclude LayerNorm.bias from weight decay when finetuning? | {
"login": "xiaoda99",
"id": 6015633,
"node_id": "MDQ6VXNlcjYwMTU2MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6015633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaoda99",
"html_url": "https://github.com/xiaoda99",
"followers_url": "https://api.github.com/users/xiaod... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"I have the same question",
"Check this [discussion](https://forums.fast.ai/t/is-weight-decay-applied-to-the-bias-term/73212/6)"
] | 1,591 | 1,619 | 1,597 | 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/4832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4832/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4831/comments | https://api.github.com/repos/huggingface/transformers/issues/4831/events | https://github.com/huggingface/transformers/pull/4831 | 633,292,400 | MDExOlB1bGxSZXF1ZXN0NDI5OTU1NzE2 | 4,831 | TF Checkpoints | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4831?src=pr&el=h1) Report\n> Merging [#4831](https://codecov.io/gh/huggingface/transformers/pull/4831?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c58e6c129a153ca1a5021e5d7e642d00bf011e20&el=desc) will **increase... | 1,591 | 1,591 | 1,591 | CONTRIBUTOR | null | Align how the checkpoints are managed the same way than in the PyTorch trainer. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4831/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4831",
"html_url": "https://github.com/huggingface/transformers/pull/4831",
"diff_url": "https://github.com/huggingface/transformers/pull/4831.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4831.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4830/comments | https://api.github.com/repos/huggingface/transformers/issues/4830/events | https://github.com/huggingface/transformers/pull/4830 | 633,143,662 | MDExOlB1bGxSZXF1ZXN0NDI5ODIwNzk5 | 4,830 | Add diagnostic dataset of glue tasks for prediction | {
"login": "stdcoutzyx",
"id": 1142862,
"node_id": "MDQ6VXNlcjExNDI4NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1142862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stdcoutzyx",
"html_url": "https://github.com/stdcoutzyx",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,591 | 1,598 | 1,598 | CONTRIBUTOR | null | As diagnostic dataset didn't have train set, it's very common in current research work to use model fine tuned on MNLI task to conduct prediction of diagnostic dataset.
As experimented, by adding logic in this request, we can achieve 47.1% on diagnostic dataset after fine-tuning 10k steps on MNLI dataset. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4830/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4830",
"html_url": "https://github.com/huggingface/transformers/pull/4830",
"diff_url": "https://github.com/huggingface/transformers/pull/4830.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4830.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4829/comments | https://api.github.com/repos/huggingface/transformers/issues/4829/events | https://github.com/huggingface/transformers/pull/4829 | 633,041,370 | MDExOlB1bGxSZXF1ZXN0NDI5NzI2NDk1 | 4,829 | [examples] Add trainer support for question-answering | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4829?src=pr&el=h1) Report\n> Merging [#4829](https://codecov.io/gh/huggingface/transformers/pull/4829?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d2a93991158f15993eba9ab421d82766b892f948&el=desc) will **increase... | 1,591 | 1,617 | 1,594 | MEMBER | null | This PR adds trainer support for question-answering task. Regarding issue #4784
**TODOs**
- [ ] Add automatic data loading. Right now it requires the user to specify data directory. Decided not to use `tfds` because I think it will be soon replaced by `nlp` here
- [ ] Add evaluation
- [ ] Test all models.
@ju... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4829/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4829",
"html_url": "https://github.com/huggingface/transformers/pull/4829",
"diff_url": "https://github.com/huggingface/transformers/pull/4829.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4829.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4828/comments | https://api.github.com/repos/huggingface/transformers/issues/4828/events | https://github.com/huggingface/transformers/issues/4828 | 633,005,718 | MDU6SXNzdWU2MzMwMDU3MTg= | 4,828 | `run_glue.py` fails with models `bert-base-cased`, `distil-bert-cased`, others | {
"login": "jxmorris12",
"id": 13238952,
"node_id": "MDQ6VXNlcjEzMjM4OTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/13238952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jxmorris12",
"html_url": "https://github.com/jxmorris12",
"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 | [] | [
"update: this also happens with `distil-bert-cased` for `RTE` and `WNLI` tasks:\r\n\r\n```\r\nds) # (bs, seq_length, dim)\r\n File \"/u/.conda/envs/torch/lib/python3.7/site-packages/torch/nn/modules/module.py\", line 532, in __call__\r\n result = self.forward(*input, **kwargs)\r\n File \"/u/.conda/envs/torch/... | 1,591 | 1,630 | 1,598 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): `bert-base-cased`
Language I am using the model on (English, Chinese ...): `English`
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am wor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4828/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4827/comments | https://api.github.com/repos/huggingface/transformers/issues/4827/events | https://github.com/huggingface/transformers/issues/4827 | 633,002,282 | MDU6SXNzdWU2MzMwMDIyODI= | 4,827 | How to remove token ? | {
"login": "LeslieOverfitting",
"id": 38348130,
"node_id": "MDQ6VXNlcjM4MzQ4MTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/38348130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeslieOverfitting",
"html_url": "https://github.com/LeslieOverfitting",
"followers_url": "https... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"From what I can observe, there are two types of tokens in your tokenizer: base tokens, which can be derived with `tokenizer.encoder` and the added ones: `tokenizer.added_tokens_encoder`. Depending on which token you want to remove, you use `del tokenizer.encoder` or `del tokenizer.added_tokens_encoder`. \r\n¡NB! D... | 1,591 | 1,641 | 1,597 | NONE | null | I only know how to add token, but how to remoce some special token | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4827/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4826/comments | https://api.github.com/repos/huggingface/transformers/issues/4826/events | https://github.com/huggingface/transformers/pull/4826 | 632,908,206 | MDExOlB1bGxSZXF1ZXN0NDI5NjAzNzQ2 | 4,826 | Fix use of mems in Transformer-XL text generation | {
"login": "tommccoy1",
"id": 19821261,
"node_id": "MDQ6VXNlcjE5ODIxMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/19821261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tommccoy1",
"html_url": "https://github.com/tommccoy1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4826?src=pr&el=h1) Report\n> Merging [#4826](https://codecov.io/gh/huggingface/transformers/pull/4826?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c58e6c129a153ca1a5021e5d7e642d00bf011e20&el=desc) will **increase... | 1,591 | 1,594 | 1,593 | CONTRIBUTOR | null | In Transformer-XL, when ```mems``` is being used to save computation with the ```generate``` function, the inputs are not properly truncated, so that ```mems``` does not actually speed things up, and also seems to create inaccuracies in the output. I have attempted to fix this by changing Transformer-XL's ```prepare_in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4826/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4826",
"html_url": "https://github.com/huggingface/transformers/pull/4826",
"diff_url": "https://github.com/huggingface/transformers/pull/4826.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4826.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4825/comments | https://api.github.com/repos/huggingface/transformers/issues/4825/events | https://github.com/huggingface/transformers/issues/4825 | 632,814,781 | MDU6SXNzdWU2MzI4MTQ3ODE= | 4,825 | Onnx converted model has its output shape modified when compared to original (finetuned) model | {
"login": "pommedeterresautee",
"id": 1029874,
"node_id": "MDQ6VXNlcjEwMjk4NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1029874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pommedeterresautee",
"html_url": "https://github.com/pommedeterresautee",
"followers_url": "http... | [] | closed | false | null | [] | [
"Facing the same problem with a BERT model fine-tuned on sequence classification and would love to get an answer :) ",
"This seems to be related to [this issue](https://github.com/huggingface/transformers/issues/4788). \r\n\r\nAs @hrsmanian points it, it seems that in[ convert_graph_to_onnx.py](https://github.com... | 1,591 | 1,647 | 1,595 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): `mrm8488/distilroberta-base-finetuned-sentiment` from the hub
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4825/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4825/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4824/comments | https://api.github.com/repos/huggingface/transformers/issues/4824/events | https://github.com/huggingface/transformers/issues/4824 | 632,797,782 | MDU6SXNzdWU2MzI3OTc3ODI= | 4,824 | Top-k sampling and top-p sampling for generating phrases on batches with GPT-2? | {
"login": "Barbara931120",
"id": 62270260,
"node_id": "MDQ6VXNlcjYyMjcwMjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/62270260?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Barbara931120",
"html_url": "https://github.com/Barbara931120",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"It's on our ToDo-List :-) Currently batch generation with GPT2 is not possible, so you will have to rely on the code in https://github.com/huggingface/transformers/issues/3021",
"Can top-k and top-p sampling be implemented in batches?",
"Sure, the provided `top-k-top-p sampling` function provided that :-) "
] | 1,591 | 1,591 | 1,591 | NONE | null | How can I generate on batches with GPT-2 if I want to make use of these awesome sampling techniques: [top-k sampling and top-p sampling](https://huggingface.co/blog/how-to-generate)?.
There is this implementation for generating phrases on batches already in issue [#3021](https://github.com/huggingface/transformers/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4824/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4824/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4823/comments | https://api.github.com/repos/huggingface/transformers/issues/4823/events | https://github.com/huggingface/transformers/issues/4823 | 632,792,540 | MDU6SXNzdWU2MzI3OTI1NDA= | 4,823 | Discriminative fine-tuning for new (added) words | {
"login": "Aktsvigun",
"id": 36672861,
"node_id": "MDQ6VXNlcjM2NjcyODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aktsvigun",
"html_url": "https://github.com/Aktsvigun",
"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 | [] | [
"Finally found the solution. The optimizer should look like this:\r\n```\r\noptim.SGD([\r\n {'params': model.base.parameters()},\r\n {'params': model.classifier.parameters(), 'lr': 1e-3}\r\n], lr=1e-2, momentum=0.9))\r\n```",
"However, this approach does not work when I need to specify another LR not for th... | 1,591 | 1,597 | 1,597 | CONTRIBUTOR | null | Good afternoon,
I have a question about the way of changing the learning rate for some parameters of the model. Let's say we have a BERT model and we have added a few new tokens. Consequently, we need to resize the embedding layer and initialize the embeddings for new words randomly. Meanwhile the learning rate of 3e-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4823/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4822/comments | https://api.github.com/repos/huggingface/transformers/issues/4822/events | https://github.com/huggingface/transformers/issues/4822 | 632,764,963 | MDU6SXNzdWU2MzI3NjQ5NjM= | 4,822 | EncoderDecoderModel forwards return different values every time. | {
"login": "mmsamiei",
"id": 12582703,
"node_id": "MDQ6VXNlcjEyNTgyNzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/12582703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmsamiei",
"html_url": "https://github.com/mmsamiei",
"followers_url": "https://api.github.com/users/mms... | [] | 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... | [
"Could you please provide the whole code you use? Your structure works ideally for me, this code outputs the same values:\r\n```\r\nfrom transformers import EncoderDecoderModel, BertTokenizer\r\nimport torch\r\ntokenizer = BertTokenizer.from_pretrained('bert-base-uncased')\r\n\r\nmodel = EncoderDecoderModel.from_en... | 1,591 | 1,591 | 1,591 | NONE | null | # 🐛 Bug in EncoderDecoderModel
I am using EncoderDecoderModel and I have tested the sample code of it which is written in its page.
```
from transformers import EncoderDecoderModel, BertTokenizer
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
model = EncoderDecoderModel.from_encoder_decoder_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4821/comments | https://api.github.com/repos/huggingface/transformers/issues/4821/events | https://github.com/huggingface/transformers/pull/4821 | 632,736,979 | MDExOlB1bGxSZXF1ZXN0NDI5NDQ3MzA2 | 4,821 | Enable multiprocessing in glue datasets | {
"login": "zrxbeijing",
"id": 38594797,
"node_id": "MDQ6VXNlcjM4NTk0Nzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/38594797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zrxbeijing",
"html_url": "https://github.com/zrxbeijing",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4821?src=pr&el=h1) Report\n> Merging [#4821](https://codecov.io/gh/huggingface/transformers/pull/4821?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c58e6c129a153ca1a5021e5d7e642d00bf011e20&el=desc) will **increase... | 1,591 | 1,592 | 1,592 | NONE | null | The preprocessing of glue datasets is too slow. This change enables multiprocessing to speed up the process of converting examples to features by utilizing multiple cpu cores. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4821/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4821",
"html_url": "https://github.com/huggingface/transformers/pull/4821",
"diff_url": "https://github.com/huggingface/transformers/pull/4821.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4821.patch",
"merged_at": n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.