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/3612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3612/comments | https://api.github.com/repos/huggingface/transformers/issues/3612/events | https://github.com/huggingface/transformers/issues/3612 | 593,251,872 | MDU6SXNzdWU1OTMyNTE4NzI= | 3,612 | training GPT2 from scratch : implement causal attention mask? | {
"login": "CNelias",
"id": 34754896,
"node_id": "MDQ6VXNlcjM0NzU0ODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/34754896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CNelias",
"html_url": "https://github.com/CNelias",
"followers_url": "https://api.github.com/users/CNelia... | [] | 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... | [
"You'd want to look at the `run_language_modeling.py` script which implements causal language modeling. (do not pass the `--mlm` flag)",
"I'm thinking some edit to run_language_modeling.py script maybe would make it work. I don't think just to not pass the --mlm flag you solve the problem @julien-c. Have you foun... | 1,585 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
I am trying to train a ```GPT2``` model from scratch but I noticed, by looking into the code here https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_gpt2.py that there doesn’t seem to be an implementation for a causal mask. Maybe it is in another repo and I missed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3612/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3611/comments | https://api.github.com/repos/huggingface/transformers/issues/3611/events | https://github.com/huggingface/transformers/pull/3611 | 593,222,163 | MDExOlB1bGxSZXF1ZXN0Mzk4MDQzNDE0 | 3,611 | corrected mistake in polish model cards | {
"login": "borhenryk",
"id": 35457598,
"node_id": "MDQ6VXNlcjM1NDU3NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35457598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borhenryk",
"html_url": "https://github.com/borhenryk",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3611",
"html_url": "https://github.com/huggingface/transformers/pull/3611",
"diff_url": "https://github.com/huggingface/transformers/pull/3611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3611.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3610/comments | https://api.github.com/repos/huggingface/transformers/issues/3610/events | https://github.com/huggingface/transformers/issues/3610 | 593,203,724 | MDU6SXNzdWU1OTMyMDM3MjQ= | 3,610 | How can u make sure that my transformer model should only one GPU, though the serve has multiple GPU cards. | {
"login": "tiru1930",
"id": 12211287,
"node_id": "MDQ6VXNlcjEyMjExMjg3",
"avatar_url": "https://avatars.githubusercontent.com/u/12211287?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tiru1930",
"html_url": "https://github.com/tiru1930",
"followers_url": "https://api.github.com/users/tir... | [] | closed | false | null | [] | [
"You should have used the template, because now we don't have enough information to help you: how are you running the script (torch launch utility? Which command?), which script are you using (your own (give details) or one of the example scripts)?\r\n\r\nBy default, PyTorch will only use one GPU unless you specify... | 1,585 | 1,586 | 1,586 | NONE | null | I have transformer BERT model and I am trying to train on lambda server which has 8 GPU cards, How can u make sure that this model should use only once GPU out of 8, by default , it is using all GPUs. even after setting
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3609/comments | https://api.github.com/repos/huggingface/transformers/issues/3609/events | https://github.com/huggingface/transformers/issues/3609 | 593,198,219 | MDU6SXNzdWU1OTMxOTgyMTk= | 3,609 | Filling more than 1 masked token at a time | {
"login": "p-christ",
"id": 26346243,
"node_id": "MDQ6VXNlcjI2MzQ2MjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/26346243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/p-christ",
"html_url": "https://github.com/p-christ",
"followers_url": "https://api.github.com/users/p-c... | [] | closed | false | null | [] | [
"Indeed, this is not supported right now. We'd welcome a PR though :)",
"Before somebody starts on a PR, we need to consider what exactly this should do.\r\n\r\nFor `top_k = 1`, most users probably expect a single forward pass and picking the top prediction for each token. For greater `top_k`, however, picking th... | 1,585 | 1,625 | 1,625 | NONE | null | I am able to use hugging face's mask filling pipeline to predict 1 masked token in a sentence using the below:
```
!pip install -q transformers
from __future__ import print_function
import ipywidgets as widgets
from transformers import pipeline
nlp_fill = pipeline('fill-mask')
nlp_fill("I am going to guess <... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3609/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/3609/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3608/comments | https://api.github.com/repos/huggingface/transformers/issues/3608/events | https://github.com/huggingface/transformers/issues/3608 | 593,190,875 | MDU6SXNzdWU1OTMxOTA4NzU= | 3,608 | RobertaTokenizer corner case with empty string | {
"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": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"A PR is welcome!",
"created PR #3621 ",
"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",
"cc @mfuntowicz @n1t0 \r\n\r\nThe problem is that the tokenizer does not allow empty string... | 1,585 | 1,598 | 1,598 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/blob/81484b447b7d8504ff5e1cfff38ec35918383963/src/transformers/tokenization_roberta.py#L239
this will introduce issue if `text == ""`, which will occur if anyone follows `run_glue.py` with QQP task as the `train.tsv` has two lines contains the empty column.
can be corrected... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3608/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3607/comments | https://api.github.com/repos/huggingface/transformers/issues/3607/events | https://github.com/huggingface/transformers/pull/3607 | 593,181,329 | MDExOlB1bGxSZXF1ZXN0Mzk4MDEwMTgw | 3,607 | Allow the creation of "entity groups" for NerPipeline #3548 | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3607?src=pr&el=h1) Report\n> Merging [#3607](https://codecov.io/gh/huggingface/transformers/pull/3607?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/81484b447b7d8504ff5e1cfff38ec35918383963&el=desc) will **decrease... | 1,585 | 1,587 | 1,587 | CONTRIBUTOR | null | This pull request adds an `index` key to the dictionary returned by `NerPipeline`. The index will be necessary in order to identify **entity groups**, where an entity group is a contiguous series of tokens, having the same **entity type**.
Details of what I want to be able to do can be found in issue #3548.
If th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3607/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/3607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3607",
"html_url": "https://github.com/huggingface/transformers/pull/3607",
"diff_url": "https://github.com/huggingface/transformers/pull/3607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3607.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3606/comments | https://api.github.com/repos/huggingface/transformers/issues/3606/events | https://github.com/huggingface/transformers/pull/3606 | 593,154,947 | MDExOlB1bGxSZXF1ZXN0Mzk3OTg3MzM0 | 3,606 | Fix typo in FeatureExtractionPipeline docstring | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | Fixed a typo in the docstring of `FeatureExtractionPipeline` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3606",
"html_url": "https://github.com/huggingface/transformers/pull/3606",
"diff_url": "https://github.com/huggingface/transformers/pull/3606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3606.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3605/comments | https://api.github.com/repos/huggingface/transformers/issues/3605/events | https://github.com/huggingface/transformers/issues/3605 | 593,154,374 | MDU6SXNzdWU1OTMxNTQzNzQ= | 3,605 | 🐛 Summarization pipeline : T5-base much slower than BART-large | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline",
"name": "Core: Pipeline",
"color": "FF7066",
"default": false,
"description": "Internals of the library; Pipeline."
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @Colanim, thanks a lot for your speed comparison :-). \r\n\r\nIt might be possible that the pipelines used different default parameters for `T5` and `Bart` under the hood which strongly influence their running times.\r\nBesides `min_length` and `max_length` could you also insert those parameters into both `T5` ... | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model : `bart-large-cnn` and `t5-base`
Language : English
The problem arises when using : [this colab notebook](https://colab.research.google.com/drive/1iAIFX1QQiFm1F01vMmnAgFh4oH1H-K8W), using both BART and T5 with pipeline for Summarization.
Dataset : CNN/DM
## To reproduce
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3605/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/3605/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3604/comments | https://api.github.com/repos/huggingface/transformers/issues/3604/events | https://github.com/huggingface/transformers/pull/3604 | 593,076,440 | MDExOlB1bGxSZXF1ZXN0Mzk3OTM2MTc2 | 3,604 | Update README.md | {
"login": "ahotrod",
"id": 44321615,
"node_id": "MDQ6VXNlcjQ0MzIxNjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/44321615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahotrod",
"html_url": "https://github.com/ahotrod",
"followers_url": "https://api.github.com/users/ahotro... | [
{
"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/3604?src=pr&el=h1) Report\n> Merging [#3604](https://codecov.io/gh/huggingface/transformers/pull/3604?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/81484b447b7d8504ff5e1cfff38ec35918383963&el=desc) will **not chan... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Update AutoModel & AutoTokernizer loading. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3604/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3604",
"html_url": "https://github.com/huggingface/transformers/pull/3604",
"diff_url": "https://github.com/huggingface/transformers/pull/3604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3604.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3603/comments | https://api.github.com/repos/huggingface/transformers/issues/3603/events | https://github.com/huggingface/transformers/pull/3603 | 593,074,543 | MDExOlB1bGxSZXF1ZXN0Mzk3OTM0NTg0 | 3,603 | Update README.md | {
"login": "ahotrod",
"id": 44321615,
"node_id": "MDQ6VXNlcjQ0MzIxNjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/44321615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahotrod",
"html_url": "https://github.com/ahotrod",
"followers_url": "https://api.github.com/users/ahotro... | [
{
"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/3603?src=pr&el=h1) Report\n> Merging [#3603](https://codecov.io/gh/huggingface/transformers/pull/3603?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/81484b447b7d8504ff5e1cfff38ec35918383963&el=desc) will **not chan... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Update AutoModel & AutoTokenizer loading. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3603/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3603",
"html_url": "https://github.com/huggingface/transformers/pull/3603",
"diff_url": "https://github.com/huggingface/transformers/pull/3603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3603.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3602/comments | https://api.github.com/repos/huggingface/transformers/issues/3602/events | https://github.com/huggingface/transformers/pull/3602 | 592,991,279 | MDExOlB1bGxSZXF1ZXN0Mzk3ODY3ODU4 | 3,602 | Multilingual BART - | {
"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/3602?src=pr&el=h1) Report\n> Merging [#3602](https://codecov.io/gh/huggingface/transformers/pull/3602?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1a16d9d94a81e95463b166adfce4a8e02cdc47eb&el=desc) will **not chan... | 1,585 | 1,591 | 1,586 | CONTRIBUTOR | null | This adds `mbart-en-ro` model, a BART variant finetuned on english-romanian translation.
### TODO
- [x] (docs) pretrained_model.rst
- [ ] (docs) README.md
- [ ] (docs) bart.rst
### Differences with Bart
`config.normalize_before`: all the `LayerNorm` calls happen before attention calls
`config.add_final_layer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3602",
"html_url": "https://github.com/huggingface/transformers/pull/3602",
"diff_url": "https://github.com/huggingface/transformers/pull/3602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3602.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3601/comments | https://api.github.com/repos/huggingface/transformers/issues/3601/events | https://github.com/huggingface/transformers/pull/3601 | 592,908,693 | MDExOlB1bGxSZXF1ZXN0Mzk3ODAxMjQ1 | 3,601 | [Generate, Test] Split generate test function into beam search, no beam search | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3601?src=pr&el=h1) Report\n> Merging [#3601](https://codecov.io/gh/huggingface/transformers/pull/3601?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f68d22850ced09bb194b30068ff94ca3409f0879&el=desc) will **decrease... | 1,585 | 1,586 | 1,586 | MEMBER | null | - Clean the generate testing functions
- Also should fix flaky behaviour of bad_word_tokens test (see #3367 and https://circleci.com/gh/huggingface/transformers/27997?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3601/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3601",
"html_url": "https://github.com/huggingface/transformers/pull/3601",
"diff_url": "https://github.com/huggingface/transformers/pull/3601.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3601.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3600/comments | https://api.github.com/repos/huggingface/transformers/issues/3600/events | https://github.com/huggingface/transformers/issues/3600 | 592,905,236 | MDU6SXNzdWU1OTI5MDUyMzY= | 3,600 | Why isn't there a SequenceClassificationModel for GPT-2 (and some other models)? | {
"login": "c-flaherty",
"id": 37087066,
"node_id": "MDQ6VXNlcjM3MDg3MDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/37087066?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c-flaherty",
"html_url": "https://github.com/c-flaherty",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,585 | 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/3600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3600/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3599/comments | https://api.github.com/repos/huggingface/transformers/issues/3599/events | https://github.com/huggingface/transformers/issues/3599 | 592,905,220 | MDU6SXNzdWU1OTI5MDUyMjA= | 3,599 | Why is there not a SequenceClassification model for GPT-2? | {
"login": "c-flaherty",
"id": 37087066,
"node_id": "MDQ6VXNlcjM3MDg3MDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/37087066?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c-flaherty",
"html_url": "https://github.com/c-flaherty",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"My apologies, my computer glitched and posted twice. Please close this issue and refer to: https://github.com/huggingface/transformers/issues/3600"
] | 1,585 | 1,585 | 1,585 | 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/3599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3599/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3598/comments | https://api.github.com/repos/huggingface/transformers/issues/3598/events | https://github.com/huggingface/transformers/issues/3598 | 592,904,004 | MDU6SXNzdWU1OTI5MDQwMDQ= | 3,598 | After enable fp16, torch.save model has error | {
"login": "Charonnnnn",
"id": 37766299,
"node_id": "MDQ6VXNlcjM3NzY2Mjk5",
"avatar_url": "https://avatars.githubusercontent.com/u/37766299?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Charonnnnn",
"html_url": "https://github.com/Charonnnnn",
"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 use the template in the future. It is there for a reason. As mentioned in the template, don't post a screenshot. Use code blocks, post your code or the example script that you used, and the error trace. Also provide your version of PyTorch and Python.\r\n\r\nhttps://help.github.com/en/github/writing-on-gith... | 1,585 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
After complete training, the model cannot be saved.
## Information


| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3598/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3597/comments | https://api.github.com/repos/huggingface/transformers/issues/3597/events | https://github.com/huggingface/transformers/issues/3597 | 592,898,580 | MDU6SXNzdWU1OTI4OTg1ODA= | 3,597 | CTRL generates French text when I want English texts | {
"login": "AdaUchendu",
"id": 32556160,
"node_id": "MDQ6VXNlcjMyNTU2MTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/32556160?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdaUchendu",
"html_url": "https://github.com/AdaUchendu",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834059054,
"node_id": "MDU6TGFiZWwxODM0MDU5MDU0",
... | closed | false | null | [] | [
"CTRL uses control codes, as is mentioned in our documentation, with examples on the [original repository](https://github.com/salesforce/ctrl#generations). Have you tried using these control codes?",
"How do I specify which control code I want to use? Do I have to do that in the command line and if yes, how? Thi... | 1,585 | 1,593 | 1,593 | 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/3597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3597/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3596/comments | https://api.github.com/repos/huggingface/transformers/issues/3596/events | https://github.com/huggingface/transformers/issues/3596 | 592,884,772 | MDU6SXNzdWU1OTI4ODQ3NzI= | 3,596 | batch_encode_plus with pad_to_max_length but no max_length is not padding the output | {
"login": "muggin",
"id": 4559861,
"node_id": "MDQ6VXNlcjQ1NTk4NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4559861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muggin",
"html_url": "https://github.com/muggin",
"followers_url": "https://api.github.com/users/muggin/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"Hi,\r\n\r\nIs anyone working on this or is it open for someone to take?\r\nI was able to reproduce the issue.\r\nIf not being worked on by anyone, I would like to take it up.\r\n\r\nThanks",
"I'm facing similar issues with batch_encode_plus:\r\n```\r\ntokenizer = transformers.BertTokenizer.from_pretrained('bert-... | 1,585 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using BERT:
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3596/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3595/comments | https://api.github.com/repos/huggingface/transformers/issues/3595/events | https://github.com/huggingface/transformers/pull/3595 | 592,878,153 | MDExOlB1bGxSZXF1ZXN0Mzk3Nzc3MjU1 | 3,595 | [Generation] delete print statement | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | Somehow forgot to delete it from PR #3550. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3595/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3595",
"html_url": "https://github.com/huggingface/transformers/pull/3595",
"diff_url": "https://github.com/huggingface/transformers/pull/3595.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3595.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3594/comments | https://api.github.com/repos/huggingface/transformers/issues/3594/events | https://github.com/huggingface/transformers/issues/3594 | 592,836,851 | MDU6SXNzdWU1OTI4MzY4NTE= | 3,594 | Wrong tokenization for distilbert-base-multilingual-cased | {
"login": "ricardorei",
"id": 17256847,
"node_id": "MDQ6VXNlcjE3MjU2ODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/17256847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ricardorei",
"html_url": "https://github.com/ricardorei",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"Can you show how you initialize `tokenizer`? Which vocab are you using?",
"> Can you show how you initialize `tokenizer`? Which vocab are you using?\r\n\r\nsorry I forgot that... I updated the code in the issue already.\r\n\r\nI was using `distilbert-base-multilingual-cased`\r\n\r\n`tokenizer = DistilBertTokeniz... | 1,585 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using (DistillBert):
The problem arises when using:
* my own modified scripts: (give details below)
The tasks I am working on is:
* my own task or dataset: (give details below)
## To reproduce
with transformers 2.3.0:
```python
import torch
from transformers im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3594/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3593/comments | https://api.github.com/repos/huggingface/transformers/issues/3593/events | https://github.com/huggingface/transformers/issues/3593 | 592,759,313 | MDU6SXNzdWU1OTI3NTkzMTM= | 3,593 | Transformers and BERT: dealing with possessives and apostrophes when encode | {
"login": "al-yakubovich",
"id": 12928778,
"node_id": "MDQ6VXNlcjEyOTI4Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12928778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/al-yakubovich",
"html_url": "https://github.com/al-yakubovich",
"followers_url": "https://api.githu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Any idea about how to solve this apostrophe seperating word token with different word id in bert rokenizer ?"
] | 1,585 | 1,681 | 1,591 | NONE | null | Let's consider two sentences:
"why isn't Alex's text tokenizing? The house on the left is the Smiths' house"
Now let's tokenize and decode:
from transformers import BertTokenizer
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased', do_lower_case=True)
tokenizer.decode(tokenizer.conv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3593/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/3593/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3592/comments | https://api.github.com/repos/huggingface/transformers/issues/3592/events | https://github.com/huggingface/transformers/issues/3592 | 592,716,038 | MDU6SXNzdWU1OTI3MTYwMzg= | 3,592 | Issues with using SciBERT for Summarizer | {
"login": "WeiyangSun",
"id": 34964824,
"node_id": "MDQ6VXNlcjM0OTY0ODI0",
"avatar_url": "https://avatars.githubusercontent.com/u/34964824?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WeiyangSun",
"html_url": "https://github.com/WeiyangSun",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I believe only BART and T5 can do summarization for now. See the [documentation regarding the checkpoints that may summarize](https://huggingface.co/transformers/main_classes/pipelines.html#summarizationpipeline).",
"Here is [a notebook](https://github.com/Nikoschenk/bert-extractive-summarizer/blob/master/colab/... | 1,585 | 1,587 | 1,585 | NONE | null | Hi All, I am not sure if I am doing this right? But i want my summarizer to use SciBERT SciVocab instead of the traditional BERT vocab. Appreciate any help and advice! This is what I am currently using:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3592/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3591/comments | https://api.github.com/repos/huggingface/transformers/issues/3591/events | https://github.com/huggingface/transformers/issues/3591 | 592,693,446 | MDU6SXNzdWU1OTI2OTM0NDY= | 3,591 | Cannot load model in tranformers | {
"login": "gdet",
"id": 49757110,
"node_id": "MDQ6VXNlcjQ5NzU3MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/49757110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gdet",
"html_url": "https://github.com/gdet",
"followers_url": "https://api.github.com/users/gdet/followers"... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843377584,
"node_id": "MDU6TGFiZWwxODQzMzc3NTg0",
... | closed | false | null | [] | [
"It seems you have a very old version of this repository (when it was still named `pytorch_transformers`). Please update to the latest version or you won't have all the features (like access to the model hub).",
"I fixed the version and the error was fixed. But now I get \r\n\r\n AttributeError: 'BertTokenizer... | 1,585 | 1,591 | 1,591 | NONE | null | Hello, I tried to upload your model and I get this error:
tokenizer = AutoTokenizer.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
model = AutoModelWithLMHead.from_pretrained("nlpaueb/bert-base-greek-uncased-v1")
ERROR:pytorch_transformers.modeling_utils:Model name 'nlpaueb/bert-base-greek-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3591/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3590/comments | https://api.github.com/repos/huggingface/transformers/issues/3590/events | https://github.com/huggingface/transformers/issues/3590 | 592,691,560 | MDU6SXNzdWU1OTI2OTE1NjA= | 3,590 | min_length parameter in default pipeline summarization produces output smaller than min_length | {
"login": "Weilin37",
"id": 5770543,
"node_id": "MDQ6VXNlcjU3NzA1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5770543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Weilin37",
"html_url": "https://github.com/Weilin37",
"followers_url": "https://api.github.com/users/Weili... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @Weilin37,\r\n\r\nHow did you count the length of your output? The `min_length` corresponds to the minimum number of tokens in the output which is `<=` number of words.\r\nTo count the number of tokens you have in your output text, you could use `tokenizer.tokenize(OUTPUT_TEXT)`",
"> Hi @Weilin37,\r\n> \r\n> ... | 1,585 | 1,619 | 1,585 | NONE | null | Hi, I am using pipeline summarization. My code is below:
```
from transformers import pipeline, AutoTokenizer, AutoModel
summarizer = pipeline("summarization")
abstract_dictionary = {'Introduction':'','Methods':'','Results':'','Discussion':''}
for section in article_dictionary:
if section == 'Introducti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3590/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3589/comments | https://api.github.com/repos/huggingface/transformers/issues/3589/events | https://github.com/huggingface/transformers/issues/3589 | 592,676,070 | MDU6SXNzdWU1OTI2NzYwNzA= | 3,589 | Evaluation - Output False Positive and False Negative Sentences | {
"login": "sunyangfu",
"id": 4896069,
"node_id": "MDQ6VXNlcjQ4OTYwNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4896069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sunyangfu",
"html_url": "https://github.com/sunyangfu",
"followers_url": "https://api.github.com/users/su... | [
{
"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,585 | 1,591 | 1,591 | NONE | null | # ❓ Questions & Help
Hi, regarding the sequential classification task, after the evaluation on test data, how could I output the actual false positive and false negative sentences? Basically convert BERT embedding back to the actual sentences for error analysis?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3589/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3588/comments | https://api.github.com/repos/huggingface/transformers/issues/3588/events | https://github.com/huggingface/transformers/pull/3588 | 592,637,578 | MDExOlB1bGxSZXF1ZXN0Mzk3NTgzNTAw | 3,588 | added model_cards for polish squad models | {
"login": "borhenryk",
"id": 35457598,
"node_id": "MDQ6VXNlcjM1NDU3NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35457598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borhenryk",
"html_url": "https://github.com/borhenryk",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"model pages: https://huggingface.co/models?filter=polish,question-answering\r\n\r\nThank you!"
] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3588/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3588",
"html_url": "https://github.com/huggingface/transformers/pull/3588",
"diff_url": "https://github.com/huggingface/transformers/pull/3588.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3588.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3587/comments | https://api.github.com/repos/huggingface/transformers/issues/3587/events | https://github.com/huggingface/transformers/issues/3587 | 592,502,353 | MDU6SXNzdWU1OTI1MDIzNTM= | 3,587 | How to fine tune T5 like for translation tasks? | {
"login": "prabalbansal",
"id": 30004110,
"node_id": "MDQ6VXNlcjMwMDA0MTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/30004110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prabalbansal",
"html_url": "https://github.com/prabalbansal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"see https://github.com/huggingface/transformers/issues/3576"
] | 1,585 | 1,586 | 1,586 | NONE | null | # ❓ Questions & Help
## Details
<!-- Description of your issue -->
I want to pass 100000's of training instances to this syntax, but it says its limit is only 512. I am passing list of strings.
input_ids = tokenizer.encode('translate English to German: The house is wonderful. </s>', return_tensors='pt')
lm_lab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3587/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/3587/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3586/comments | https://api.github.com/repos/huggingface/transformers/issues/3586/events | https://github.com/huggingface/transformers/issues/3586 | 592,477,200 | MDU6SXNzdWU1OTI0NzcyMDA= | 3,586 | when I run transformers in Docker container, it appeared this error | {
"login": "xiongma",
"id": 30991932,
"node_id": "MDQ6VXNlcjMwOTkxOTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/30991932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiongma",
"html_url": "https://github.com/xiongma",
"followers_url": "https://api.github.com/users/xiongm... | [] | closed | false | null | [] | [
"We would need more information in order to help you debug, namely transformers version, python version, code example, etc.\r\n\r\nHave you seen the issue template? Respecting it will ensure you get help :slightly_smiling_face: "
] | 1,585 | 1,587 | 1,587 | NONE | null | ```
unknown exception: Model name 'bert-base-uncased' was not found in tokenizers model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, bert-base-multilingual-uncased, bert-base-multilingual-cased, bert-base-chinese, bert-base-german-cased, bert-large-uncased-whole-word-masking, be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3586/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3585/comments | https://api.github.com/repos/huggingface/transformers/issues/3585/events | https://github.com/huggingface/transformers/issues/3585 | 592,469,508 | MDU6SXNzdWU1OTI0Njk1MDg= | 3,585 | Reason behind the layers taken for distilbert-multilingual | {
"login": "divyag11",
"id": 39218807,
"node_id": "MDQ6VXNlcjM5MjE4ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/39218807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/divyag11",
"html_url": "https://github.com/divyag11",
"followers_url": "https://api.github.com/users/div... | [] | closed | false | null | [] | [
"With distillation, the initialization is really important in order to obtain good results. You can read the [paper](https://arxiv.org/pdf/1910.01108.pdf) to have more information, look for section 3 and \"Student Initialization\"!\r\n\r\nThe important part is the following:\r\n\r\n_Student initialization In additi... | 1,585 | 1,602 | 1,586 | NONE | null | Hi,
I went across the training code for distilbert. I can see that the distillation process is used to train the distilbert model from bert model.
What is the reason only the **layers [0, 2, 4, 7, 9, 11]** have been taken to train distilbert model?Is there any idea about the layers behind this?
And,what is the *... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3585/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3584/comments | https://api.github.com/repos/huggingface/transformers/issues/3584/events | https://github.com/huggingface/transformers/issues/3584 | 592,435,854 | MDU6SXNzdWU1OTI0MzU4NTQ= | 3,584 | cased -> uncased in BERT GLUE example | {
"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... | [] | closed | false | null | [] | [
"additionally, the `xlnet-large-cased` should not combine with `--do_lower_case` as `xlnet` model only has a cased version."
] | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | similar to https://github.com/huggingface/transformers/issues/3183, the GLUE readme also have this issue, the MRPC example use `bert-base-cased` while at the same time `--do_lower_case`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3584/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3583/comments | https://api.github.com/repos/huggingface/transformers/issues/3583/events | https://github.com/huggingface/transformers/issues/3583 | 592,367,116 | MDU6SXNzdWU1OTIzNjcxMTY= | 3,583 | Dict in the first positional arguments | {
"login": "celsofranssa",
"id": 11181748,
"node_id": "MDQ6VXNlcjExMTgxNzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11181748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/celsofranssa",
"html_url": "https://github.com/celsofranssa",
"followers_url": "https://api.github.c... | [
{
"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": 1834081910,
"node_id": "MDU6... | closed | false | null | [] | [
"I would assume that you need to unpack the dictionary as you pass it to the model:\r\n\r\n```python\r\nmodel(**features)\r\n```\r\n\r\nEDIT: I was wrong, since the TF version should be used differently than the PT version.",
"Thank you @BramVanroy, but another error arose:\r\n\r\n```python\r\nmodel(**features)\r... | 1,585 | 1,585 | 1,585 | NONE | null | Could someone help me figure out what is wrong in the TFBertModel below?
```python
features = next(iter(dataset))
features
```
which prints:
```python
{'attention_mask': <tf.Tensor: shape=(16,), dtype=int32, numpy=array([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], dtype=int32)>,
'input_ids': <tf.Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3583/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3582/comments | https://api.github.com/repos/huggingface/transformers/issues/3582/events | https://github.com/huggingface/transformers/issues/3582 | 592,316,295 | MDU6SXNzdWU1OTIzMTYyOTU= | 3,582 | Does the BART model support Chinese? Having the pre-trained Chinese model? | {
"login": "mtfelix",
"id": 1635065,
"node_id": "MDQ6VXNlcjE2MzUwNjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1635065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mtfelix",
"html_url": "https://github.com/mtfelix",
"followers_url": "https://api.github.com/users/mtfelix/... | [
{
"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 | [] | [
"Have the same problem and do you have any url to download the bart-large-cnn or and other pretrained model",
"No chinese support, yet. \r\nDownload:\r\n```bash\r\nwget https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large-cnn/pytorch_model.bin\r\n```",
"This issue has been automatically marke... | 1,585 | 1,591 | 1,591 | 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
<!-- Please outline the motivation for the proposal. Is your feature request
related to a problem? e.g., I'm always frustrated when [.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3582/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3581/comments | https://api.github.com/repos/huggingface/transformers/issues/3581/events | https://github.com/huggingface/transformers/issues/3581 | 592,312,163 | MDU6SXNzdWU1OTIzMTIxNjM= | 3,581 | Different outputs in using convert_roberta_original_pytorch_checkpoint_to_pytorch.py | {
"login": "lhaausing",
"id": 55363337,
"node_id": "MDQ6VXNlcjU1MzYzMzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/55363337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhaausing",
"html_url": "https://github.com/lhaausing",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I had a similar problem. There is a bug in conversion script, this pull request fixes the issue: https://github.com/huggingface/transformers/pull/3642",
"@sdadas Thanks a lot. I've pulled the latest change and it works now.",
"Great to hear, closing!"
] | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | # 🐛 Bug
We have an issue in converting roberta model from fairseq format to huggingface format. The conversion function provided in the transformers library gives you different outputs when you pass sample data through the fairseq and huggingface-transformers versions seperately.
⬇️Problem with our pretrained mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3581/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3580/comments | https://api.github.com/repos/huggingface/transformers/issues/3580/events | https://github.com/huggingface/transformers/issues/3580 | 592,244,004 | MDU6SXNzdWU1OTIyNDQwMDQ= | 3,580 | wrong parameters order in TFTransfoXLMainLayer _update_mems call | {
"login": "dmytyar",
"id": 3531780,
"node_id": "MDQ6VXNlcjM1MzE3ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3531780?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmytyar",
"html_url": "https://github.com/dmytyar",
"followers_url": "https://api.github.com/users/dmytyar/... | [] | 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... | [
"Good catch @dmytyar :-) "
] | 1,585 | 1,586 | 1,586 | NONE | null | # 🐛 Bug
## Information
In file src/transformers/modeling_tf_transfo_xl.py present small typo in method parameters call.
In line 491 present method:
def _update_mems(self, hids, mems, qlen, mlen)
And in line 610 on it's call:
new_mems = self._update_mems(hids, mems, mlen, qlen)
As you can see qlen ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3580/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3579/comments | https://api.github.com/repos/huggingface/transformers/issues/3579/events | https://github.com/huggingface/transformers/issues/3579 | 592,224,844 | MDU6SXNzdWU1OTIyMjQ4NDQ= | 3,579 | Summarization pipeline max_length parameter seems to just cut the summary rather than generating a complete sentence within the max length | {
"login": "Weilin37",
"id": 5770543,
"node_id": "MDQ6VXNlcjU3NzA1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5770543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Weilin37",
"html_url": "https://github.com/Weilin37",
"followers_url": "https://api.github.com/users/Weili... | [] | closed | false | null | [] | [
"**Try using the T5 summarizer instead like below:**\r\n```python\r\nfrom transformers import T5Tokenizer, T5ForConditionalGeneration\r\n\r\ntokenizer = T5Tokenizer.from_pretrained('t5-small')\r\nmodel = T5ForConditionalGeneration.from_pretrained('t5-small')\r\ninputs = tokenizer.batch_encode_plus([\"summarize: \" ... | 1,585 | 1,588 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): default model from pipeline("summarization")
Language I am using the model on (English, Chinese ...): English
I am using the pipeline for summarization in most up to date version of Transformers. I am inputing a long piece of tax and setting the su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3579/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3578/comments | https://api.github.com/repos/huggingface/transformers/issues/3578/events | https://github.com/huggingface/transformers/pull/3578 | 592,214,932 | MDExOlB1bGxSZXF1ZXN0Mzk3MjQxNDc1 | 3,578 | [WIP] Adding model parallelism for T5 (should work for other models as well) | {
"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... | [
{
"id": 2107554019,
"node_id": "MDU6TGFiZWwyMTA3NTU0MDE5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Distributed%20Training%20/%20Models",
"name": "Distributed Training / Models",
"color": "fef2c0",
"default": false,
"description": ""
}
] | 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/3578?src=pr&el=h1) Report\n> Merging [#3578](https://codecov.io/gh/huggingface/transformers/pull/3578?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a4ee4da18ad659b196582bbdf40785033ee1d26b?el=desc) will **decrease... | 1,585 | 1,652 | 1,619 | MEMBER | null | This PR adds:
- a `get_block_list()` utility method which returns a list of the blocks in a Transformers model (currently only added on T5). Block can be Modules or list/tuple of Modules (if a single transformer block is spread in several ModuleList like in XLM).
- a `spread_on_devices(devices: Optional[List] = None)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3578/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3578",
"html_url": "https://github.com/huggingface/transformers/pull/3578",
"diff_url": "https://github.com/huggingface/transformers/pull/3578.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3578.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3577/comments | https://api.github.com/repos/huggingface/transformers/issues/3577/events | https://github.com/huggingface/transformers/issues/3577 | 592,208,430 | MDU6SXNzdWU1OTIyMDg0MzA= | 3,577 | DistilBert not giving hidden states | {
"login": "ierezell",
"id": 30974685,
"node_id": "MDQ6VXNlcjMwOTc0Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ierezell",
"html_url": "https://github.com/ierezell",
"followers_url": "https://api.github.com/users/ier... | [] | closed | false | null | [] | [
"@Ierezell I am facing same issue. How did you fix this issue? "
] | 1,585 | 1,590 | 1,585 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): DistilBert
Language I am using the model on (English, Chinese ...): Multilingual
The problem arises when using:
* [X] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3577/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3576/comments | https://api.github.com/repos/huggingface/transformers/issues/3576/events | https://github.com/huggingface/transformers/issues/3576 | 592,194,682 | MDU6SXNzdWU1OTIxOTQ2ODI= | 3,576 | T5 fine tune for seq2seq generation | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@patrickvonplaten ",
"Not yet :-) For translation you could try to create a `run_train.py` script using the following resources:\r\n\r\n- How to run `T5` for translation: https://github.com/huggingface/transformers/tree/master/examples/translation/t5\r\n- How to train `Bart` for summarization (should be very sim... | 1,585 | 1,620 | 1,587 | 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/3576/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/3576/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3575/comments | https://api.github.com/repos/huggingface/transformers/issues/3575/events | https://github.com/huggingface/transformers/pull/3575 | 592,171,570 | MDExOlB1bGxSZXF1ZXN0Mzk3MjA1NDMx | 3,575 | Create README.md | {
"login": "ahotrod",
"id": 44321615,
"node_id": "MDQ6VXNlcjQ0MzIxNjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/44321615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahotrod",
"html_url": "https://github.com/ahotrod",
"followers_url": "https://api.github.com/users/ahotro... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3575/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3575",
"html_url": "https://github.com/huggingface/transformers/pull/3575",
"diff_url": "https://github.com/huggingface/transformers/pull/3575.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3575.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3574/comments | https://api.github.com/repos/huggingface/transformers/issues/3574/events | https://github.com/huggingface/transformers/issues/3574 | 592,043,623 | MDU6SXNzdWU1OTIwNDM2MjM= | 3,574 | [Benchmark] QUAERO French Medical Corpus for Named Entity Recognition | {
"login": "PieterDujardin",
"id": 48496355,
"node_id": "MDQ6VXNlcjQ4NDk2MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/48496355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PieterDujardin",
"html_url": "https://github.com/PieterDujardin",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,585 | 1,591 | 1,591 | NONE | null | # 🖥 Benchmarking `transformers`
## Benchmark
I am trying the Transformers library out on [QUAERO French Medical Corpus](https://quaerofrenchmed.limsi.fr/) NER-dataset (consisting of Medline titles and EMEA documents). Using Camembert-base 'out of the box' with default hyperparameters, I get an F1 measure of 85% ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3574/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3573/comments | https://api.github.com/repos/huggingface/transformers/issues/3573/events | https://github.com/huggingface/transformers/issues/3573 | 592,014,338 | MDU6SXNzdWU1OTIwMTQzMzg= | 3,573 | How can I use masked_lm_labels correctly? | {
"login": "smelly-dog",
"id": 32981640,
"node_id": "MDQ6VXNlcjMyOTgxNjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/32981640?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/smelly-dog",
"html_url": "https://github.com/smelly-dog",
"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 | [] | [
"Can any one help me\r\nQAQ",
"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,585 | 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/3573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3573/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3572/comments | https://api.github.com/repos/huggingface/transformers/issues/3572/events | https://github.com/huggingface/transformers/issues/3572 | 591,982,426 | MDU6SXNzdWU1OTE5ODI0MjY= | 3,572 | BART run run_train.sh RuntimeError: expected device cuda:0 but got device cpu | {
"login": "chenbingxiayu",
"id": 23647595,
"node_id": "MDQ6VXNlcjIzNjQ3NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/23647595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenbingxiayu",
"html_url": "https://github.com/chenbingxiayu",
"followers_url": "https://api.githu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I meet the same bug when i use bart as an embedding layer.\r\nHave u solve the problem?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"> I meet the same bug when i use bart as a... | 1,585 | 1,611 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (BART):
Language I am using the model on CNN dailymail (English, Chinese ...):
The problem arises when using:
* [* ] the official example scripts: (give details below)
text summarization of bart, run the script run_train.sh, following the guideline
* [ ] my own mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3572/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3571/comments | https://api.github.com/repos/huggingface/transformers/issues/3571/events | https://github.com/huggingface/transformers/issues/3571 | 591,845,403 | MDU6SXNzdWU1OTE4NDU0MDM= | 3,571 | transformers pipeline in GCP cloud functions | {
"login": "vijender412",
"id": 31817007,
"node_id": "MDQ6VXNlcjMxODE3MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/31817007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vijender412",
"html_url": "https://github.com/vijender412",
"followers_url": "https://api.github.com/... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
}
] | closed | false | null | [] | [
"You could cache the model once in your environment and then load it from there. Just point `from_pretrained` to the directory containing the model and configuration (or tokenizer file if loading the tokenizer) instead of the S3 link.",
"@LysandreJik Completely understood and right but this is different case here... | 1,585 | 1,661 | 1,589 | NONE | null | # ❓ Transformers pipeline in GCP
I am trying to use transformers pipeline in GCP cloud functions. While calling the function the downloading of model is happening everytime. How can we sort this issue.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3571/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3570/comments | https://api.github.com/repos/huggingface/transformers/issues/3570/events | https://github.com/huggingface/transformers/issues/3570 | 591,803,928 | MDU6SXNzdWU1OTE4MDM5Mjg= | 3,570 | tokenizer cannot load form model on disk | {
"login": "makaveli10",
"id": 39617050,
"node_id": "MDQ6VXNlcjM5NjE3MDUw",
"avatar_url": "https://avatars.githubusercontent.com/u/39617050?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/makaveli10",
"html_url": "https://github.com/makaveli10",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@makaveli10 how to solve it ?"
] | 1,585 | 1,596 | 1,585 | NONE | null | I wanted to load model saved on disk but it keeps on throwing this error
File "train.py", line 1, in <module>
import config
File "/media/saurabh/D/code/bert_imdb_sentiment/src/config.py", line 14, in <module>
do_lower_case=True
File "/home/saurabh/anaconda3/lib/python3.7/site-packages/tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3570/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3569/comments | https://api.github.com/repos/huggingface/transformers/issues/3569/events | https://github.com/huggingface/transformers/issues/3569 | 591,795,687 | MDU6SXNzdWU1OTE3OTU2ODc= | 3,569 | Regarding distilbert-multilingual-uncased model | {
"login": "divyag11",
"id": 39218807,
"node_id": "MDQ6VXNlcjM5MjE4ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/39218807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/divyag11",
"html_url": "https://github.com/divyag11",
"followers_url": "https://api.github.com/users/div... | [
{
"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,585 | 1,591 | 1,591 | NONE | null | I am using pretrained distilbert-multilingual-uncased model to get the embeddings of a sentence. I want to ask which layer would be great for taking the semantic embedding of a sentence | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3569/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3568/comments | https://api.github.com/repos/huggingface/transformers/issues/3568/events | https://github.com/huggingface/transformers/pull/3568 | 591,768,866 | MDExOlB1bGxSZXF1ZXN0Mzk2ODczNzgy | 3,568 | Create README.md | {
"login": "redewiedergabe",
"id": 47349182,
"node_id": "MDQ6VXNlcjQ3MzQ5MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/47349182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redewiedergabe",
"html_url": "https://github.com/redewiedergabe",
"followers_url": "https://api.gi... | [
{
"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/3568?src=pr&el=h1) Report\n> Merging [#3568](https://codecov.io/gh/huggingface/transformers/pull/3568?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b38d552a92a0a201c005afae0e1b861ae6de9ce0&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | added documentation for our fine-tuned BERT model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3568/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3568",
"html_url": "https://github.com/huggingface/transformers/pull/3568",
"diff_url": "https://github.com/huggingface/transformers/pull/3568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3568.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3567/comments | https://api.github.com/repos/huggingface/transformers/issues/3567/events | https://github.com/huggingface/transformers/pull/3567 | 591,692,291 | MDExOlB1bGxSZXF1ZXN0Mzk2ODEyMTM4 | 3,567 | Add tiny-bert-bahasa-cased model card | {
"login": "huseinzol05",
"id": 19810909,
"node_id": "MDQ6VXNlcjE5ODEwOTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/19810909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huseinzol05",
"html_url": "https://github.com/huseinzol05",
"followers_url": "https://api.github.com/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3567/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3567",
"html_url": "https://github.com/huggingface/transformers/pull/3567",
"diff_url": "https://github.com/huggingface/transformers/pull/3567.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3567.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/3566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3566/comments | https://api.github.com/repos/huggingface/transformers/issues/3566/events | https://github.com/huggingface/transformers/pull/3566 | 591,674,925 | MDExOlB1bGxSZXF1ZXN0Mzk2Nzk3ODk4 | 3,566 | BertJapaneseTokenizer accept options for mecab | {
"login": "tamuhey",
"id": 24998666,
"node_id": "MDQ6VXNlcjI0OTk4NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/24998666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamuhey",
"html_url": "https://github.com/tamuhey",
"followers_url": "https://api.github.com/users/tamuhe... | [] | closed | false | null | [] | [
"@singletongue Please give your opinion.",
"Great! It looks good to me.",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3566?src=pr&el=h1) Report\n> Merging [#3566](https://codecov.io/gh/huggingface/transformers/pull/3566?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transfo... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Now we can pass `mecab_kwargs` to `BertJapaneseTokenizer.__init__` and set tokenizer more accurately.
Changes:
1. `BertJapaneseTokenizer.__init__` accepts `mecab_kwargs` keyword argument. It is directly passed to `MeCabTokenizer.__init__`
2. Now we can disable `normalize_text` in `MeCabTokenizer` through `mecab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3566/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3566",
"html_url": "https://github.com/huggingface/transformers/pull/3566",
"diff_url": "https://github.com/huggingface/transformers/pull/3566.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3566.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3565/comments | https://api.github.com/repos/huggingface/transformers/issues/3565/events | https://github.com/huggingface/transformers/issues/3565 | 591,672,207 | MDU6SXNzdWU1OTE2NzIyMDc= | 3,565 | Language model fine tuning using scibert as the base model | {
"login": "graviraja",
"id": 7556119,
"node_id": "MDQ6VXNlcjc1NTYxMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7556119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/graviraja",
"html_url": "https://github.com/graviraja",
"followers_url": "https://api.github.com/users/gr... | [
{
"id": 1834081910,
"node_id": "MDU6TGFiZWwxODM0MDgxOTEw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Usage",
"name": "Usage",
"color": "e28436",
"default": false,
"description": "General questions about the library"
}
] | closed | false | null | [] | [
"SciBert is a BERT model.\r\n\r\nPlease be more descriptive. Saying that features are not calculated correctly is not very helpful. Please describe the problem in full.",
"Hi @BramVanroy , following is the error stack\r\n```code\r\n04/01/2020 09:10:02 - INFO - __main__ - Training/evaluation parameters Namespace... | 1,585 | 1,588 | 1,588 | NONE | null | # 🐛 Bug
## Information
I am trying to finetune the Scibert model on Covid dataset. Features for the train data is not being calculated properly.
Model I am using (Bert, XLNet ...): allenai/scibert_scivocab_uncased
Language I am using the model on (English, Chinese ...): English
The problem arises when usin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3565/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3564/comments | https://api.github.com/repos/huggingface/transformers/issues/3564/events | https://github.com/huggingface/transformers/issues/3564 | 591,636,486 | MDU6SXNzdWU1OTE2MzY0ODY= | 3,564 | Tokenizers: setting bos_token_id = 0 and adding language_pair_codes | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"You can't set the ids, they are set automatically from the sentence piece model.\r\nBut (1) why are you using the T5Tokenizer for a Bart checkpoint and (2) why do you want to tweak the id?",
"(1) I used the `T5Tokenizer` in order to make a runnable example that did not require checking out my `mbart` branch.\r\n... | 1,585 | 1,651 | 1,591 | CONTRIBUTOR | null | I am unable to set bos_token_id=0 for a new SentencePiece tokenizer (MBART).
Here is what I'm doing?
```bash
wget https://s3.amazonaws.com/models.huggingface.co/bert/facebook/mbart-large-en-ro/sentence.bpe.model
```
```python
from transformers import T5Tokenizer
vocab_file = 'sentence.bpe.model'
t2 = T5Toke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3564/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3563/comments | https://api.github.com/repos/huggingface/transformers/issues/3563/events | https://github.com/huggingface/transformers/pull/3563 | 591,597,278 | MDExOlB1bGxSZXF1ZXN0Mzk2NzQxNDgz | 3,563 | update run_language_modeling.py for high efficiency in Multi GPUs | {
"login": "guoday",
"id": 40300434,
"node_id": "MDQ6VXNlcjQwMzAwNDM0",
"avatar_url": "https://avatars.githubusercontent.com/u/40300434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guoday",
"html_url": "https://github.com/guoday",
"followers_url": "https://api.github.com/users/guoday/fo... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | NONE | null | The code "model(inputs, masked_lm_labels=labels)" will return all outputs which causes out of GPU memory in train() function. After modifying the code, batch size per GPU increases from 4 to 32 in Multi GPUs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3563/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3563",
"html_url": "https://github.com/huggingface/transformers/pull/3563",
"diff_url": "https://github.com/huggingface/transformers/pull/3563.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3563.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3562/comments | https://api.github.com/repos/huggingface/transformers/issues/3562/events | https://github.com/huggingface/transformers/issues/3562 | 591,595,629 | MDU6SXNzdWU1OTE1OTU2Mjk= | 3,562 | can not init tokenizers from third party model , on albert model | {
"login": "aohan237",
"id": 3992281,
"node_id": "MDQ6VXNlcjM5OTIyODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3992281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aohan237",
"html_url": "https://github.com/aohan237",
"followers_url": "https://api.github.com/users/aohan... | [] | closed | false | null | [] | [
"Hi, could you specify which version of `transformers` you're running?",
"I encountered the same problem when using Albert. @voidful \r\n```\r\nAutoTokenizer.from_pretrained('voidful/albert_chinese_xxlarge')\r\n```\r\nwill raise\r\n```\r\n04/04/2020 14:21:28 - INFO - Model name 'voidful/albert_chinese_xxlarge' no... | 1,585 | 1,627 | 1,586 | NONE | null | # 🐛 Bug
## Information
Model I am using (albert.):
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [ *] the official example scripts: (give details below)
follow the instructions on :
`https://huggingface.co/models`
such as use "voidful/albert_chinese_tin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3562/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3561/comments | https://api.github.com/repos/huggingface/transformers/issues/3561/events | https://github.com/huggingface/transformers/issues/3561 | 591,580,049 | MDU6SXNzdWU1OTE1ODAwNDk= | 3,561 | Evaluation of labelled test set? | {
"login": "Mahmedturk",
"id": 48975334,
"node_id": "MDQ6VXNlcjQ4OTc1MzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/48975334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mahmedturk",
"html_url": "https://github.com/Mahmedturk",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi, you could use model.eval() or load pre-tuned model and run against test set\r\n\t# Load a trained model and vocabulary that you have fine-tuned\r\n\tmodel = model_class.from_pretrained(output_dir)\r\n\ttokenizer = tokenizer_class.from_pretrained(output_dir)\r\nSee this post: https://mccormickml.com/2019/07/22/... | 1,585 | 1,586 | 1,586 | 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/3561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3561/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3560/comments | https://api.github.com/repos/huggingface/transformers/issues/3560/events | https://github.com/huggingface/transformers/issues/3560 | 591,530,669 | MDU6SXNzdWU1OTE1MzA2Njk= | 3,560 | Mean reduce over last hidden state | {
"login": "celsofranssa",
"id": 11181748,
"node_id": "MDQ6VXNlcjExMTgxNzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11181748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/celsofranssa",
"html_url": "https://github.com/celsofranssa",
"followers_url": "https://api.github.c... | [
{
"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,585 | 1,591 | 1,591 | NONE | null | One of the outputs of [TFBert](https://huggingface.co/transformers/model_doc/bert.html#transformers.TFBertModel.call) is the `last_hidden_state` which is a tensor of shape `(batch_size, sequence_length, hidden_size)`.
How someone could proceed to compute the `mean pooling` of the valid embeddings? I mean, as the `at... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3560/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3559/comments | https://api.github.com/repos/huggingface/transformers/issues/3559/events | https://github.com/huggingface/transformers/issues/3559 | 591,525,697 | MDU6SXNzdWU1OTE1MjU2OTc= | 3,559 | How to trace the BertForQuestionAnswering | {
"login": "stu1130",
"id": 6792331,
"node_id": "MDQ6VXNlcjY3OTIzMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6792331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stu1130",
"html_url": "https://github.com/stu1130",
"followers_url": "https://api.github.com/users/stu1130/... | [
{
"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 found a workaround solution, just to pass the complete inputs including `input_ids, token_type_ids and attention_mask` to the trace method and invoke forward along with those 3 inputs. \r\nBut it would be great to know how I can just pass in input_ids and token_type_ids",
"This issue has been automatically mar... | 1,585 | 1,591 | 1,591 | NONE | null | I followed the example [here](https://huggingface.co/transformers/model_doc/bert.html#bertforquestionanswering) and want to convert BertForQuestionAnswering to TorchScript.
Here is my code
```
from transformers import BertTokenizer, BertForQuestionAnswering
import torch
tokenizer = BertTokenizer.from_pretrained... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3559/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3558/comments | https://api.github.com/repos/huggingface/transformers/issues/3558/events | https://github.com/huggingface/transformers/issues/3558 | 591,492,933 | MDU6SXNzdWU1OTE0OTI5MzM= | 3,558 | Metrics are coupled to the run_glue.py tasks. | {
"login": "rosenjcb",
"id": 8102129,
"node_id": "MDQ6VXNlcjgxMDIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8102129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rosenjcb",
"html_url": "https://github.com/rosenjcb",
"followers_url": "https://api.github.com/users/rosen... | [
{
"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 | [] | [
"As you say yourself, the core of the library is to provide you with models (and recently also pipelines and in the future even more exciting things) to build your own projects. The examples show you some implementations that are in themselves usable but that are by no means meant to be exhaustive for all problems.... | 1,585 | 1,591 | 1,591 | NONE | null | The metrics used for evaluating a run_glue task is coupled to the task itself (i.e. regression or classification). We wrote a `TrinarySentimentProcessor` which grabs a positive, neutral, or negative sentiment from a text, but we found that the simple accuracy measure was not the right one. We wanted to use log loss (cr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3558/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3557/comments | https://api.github.com/repos/huggingface/transformers/issues/3557/events | https://github.com/huggingface/transformers/pull/3557 | 591,401,720 | MDExOlB1bGxSZXF1ZXN0Mzk2NTgwNDcy | 3,557 | Create model card | {
"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/3557?src=pr&el=h1) Report\n> Merging [#3557](https://codecov.io/gh/huggingface/transformers/pull/3557?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b38d552a92a0a201c005afae0e1b861ae6de9ce0&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Create model card for: distilbert-multi-finetuned-for-xqua-on-tydiqa | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3557/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3557",
"html_url": "https://github.com/huggingface/transformers/pull/3557",
"diff_url": "https://github.com/huggingface/transformers/pull/3557.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3557.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3556/comments | https://api.github.com/repos/huggingface/transformers/issues/3556/events | https://github.com/huggingface/transformers/pull/3556 | 591,276,837 | MDExOlB1bGxSZXF1ZXN0Mzk2NDc0Mzkw | 3,556 | [T5, examples] replace heavy t5 models with tiny random models | {
"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/3556?src=pr&el=h1) Report\n> Merging [#3556](https://codecov.io/gh/huggingface/transformers/pull/3556?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ae6834e028ecdf7fdbe886c1f86d0e02d5fef6f0&el=desc) will **not chan... | 1,585 | 1,585 | 1,585 | MEMBER | null | As first done by @sshleifer in #3488 , this PR puts a tiny T5 model on S3 to save testing time. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3556/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3556",
"html_url": "https://github.com/huggingface/transformers/pull/3556",
"diff_url": "https://github.com/huggingface/transformers/pull/3556.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3556.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3555/comments | https://api.github.com/repos/huggingface/transformers/issues/3555/events | https://github.com/huggingface/transformers/issues/3555 | 591,268,337 | MDU6SXNzdWU1OTEyNjgzMzc= | 3,555 | T5 for summarization: pipeline x T5ForConditionalGeneration different results | {
"login": "renatoviolin",
"id": 8897786,
"node_id": "MDQ6VXNlcjg4OTc3ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8897786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/renatoviolin",
"html_url": "https://github.com/renatoviolin",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hi @renatoviolin,\r\n\r\nthe T5 pipeline uses special input arguments for the `generate()` function that have been shown to work well for summarization. If you take a look at `task_specific_params` and under `summarization` in T5's config: https://s3.amazonaws.com/models.huggingface.co/bert/t5-base-config.json. Yo... | 1,585 | 1,585 | 1,585 | NONE | null | I've been doing experiments with text summarization and got some different results between pipeline and T5ForConditionalGeneration.
First I use the model.generate() to generate the resume. It runs very fast (even on CPU) and give poors results.
Second I use the pipeline, passing the same model I build on the firs... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3555/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3554/comments | https://api.github.com/repos/huggingface/transformers/issues/3554/events | https://github.com/huggingface/transformers/issues/3554 | 591,234,777 | MDU6SXNzdWU1OTEyMzQ3Nzc= | 3,554 | resize_token_embeddings error for Transformer-XL | {
"login": "vsieplus",
"id": 35880073,
"node_id": "MDQ6VXNlcjM1ODgwMDcz",
"avatar_url": "https://avatars.githubusercontent.com/u/35880073?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vsieplus",
"html_url": "https://github.com/vsieplus",
"followers_url": "https://api.github.com/users/vsi... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @vsieplus ,\r\n\r\nThis is a known bug and sadly we don't have a solution for this now. TransfoXLLMHead uses adaptive weight embeddings which makes it not very easy to implement this function. Should be implemented in the long run though - I will note it down. @thomwolf @LysandreJik ",
"@patrickvonplaten Does... | 1,585 | 1,699 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using : Transformer-XL
Language I am using the model on : English
The problem arises when using:
* [ ] my own modified scripts: a fine-tuning script for TransfoXLLMHeadModel
## To reproduce
The following code aims to add two new tokens to the vocabulary, 'wug' and '... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3554/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/3554/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3553/comments | https://api.github.com/repos/huggingface/transformers/issues/3553/events | https://github.com/huggingface/transformers/issues/3553 | 591,184,010 | MDU6SXNzdWU1OTExODQwMTA= | 3,553 | unable to completely load T5 pretrained model; missing/unexpected keys | {
"login": "dhecloud",
"id": 25906470,
"node_id": "MDQ6VXNlcjI1OTA2NDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/25906470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dhecloud",
"html_url": "https://github.com/dhecloud",
"followers_url": "https://api.github.com/users/dhe... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @dhecloud, \r\n\r\nThanks for you issue :-) \r\nDoes the model still work fine? ",
"> Hi @dhecloud,\r\n> \r\n> Thanks for you issue :-)\r\n> Does the model still work fine?\r\n\r\nHi, thanks for your reply.\r\nUsing the examples provided in the doc, the model works fine. \r\nBefore i used `T5WithLMHeadModel` ... | 1,585 | 1,706 | 1,588 | NONE | null | # 🐛 Bug
## Information
Model I am using: T5
## To reproduce
```
model, info = T5ForConditionalGeneration.from_pretrained('t5-small',output_loading_info=True)
```
info is
`
{'missing_keys': ['encoder.embed_tokens.weight', 'decoder.embed_tokens.weight', 'lm_head.weight'], 'unexpected_keys': ['encoder.b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3553/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3552/comments | https://api.github.com/repos/huggingface/transformers/issues/3552/events | https://github.com/huggingface/transformers/pull/3552 | 591,146,676 | MDExOlB1bGxSZXF1ZXN0Mzk2MzY2NjUz | 3,552 | Update 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/3552?src=pr&el=h1) Report\n> Merging [#3552](https://codecov.io/gh/huggingface/transformers/pull/3552?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/83d1fbcff608f84a27234e20d6531b4404dc059e&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | - Show that the last uploaded version was trained on more data (custom_license files) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3552/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3552",
"html_url": "https://github.com/huggingface/transformers/pull/3552",
"diff_url": "https://github.com/huggingface/transformers/pull/3552.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3552.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3551/comments | https://api.github.com/repos/huggingface/transformers/issues/3551/events | https://github.com/huggingface/transformers/issues/3551 | 591,138,598 | MDU6SXNzdWU1OTExMzg1OTg= | 3,551 | Recommended preprocessing steps for english sentences in GPT2 | {
"login": "Damiox",
"id": 599804,
"node_id": "MDQ6VXNlcjU5OTgwNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/599804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Damiox",
"html_url": "https://github.com/Damiox",
"followers_url": "https://api.github.com/users/Damiox/follow... | [] | closed | false | null | [] | [
"Just pre-process them as you would for any other NLP task. This may include: normalisation of punctuation, dealing with HTML/XML, white-space normalisation, language verification. Something that people used to do in the age of word2vec is creating new entities for specific items. For instance, any number could be ... | 1,585 | 1,596 | 1,585 | NONE | null | # ❓ Questions & Help
To run inferences in english sentences... I'm not really sure what preprocessing steps I need to do before sending the tokenized text to gpt-2 in order to get the predictions. Any advice?
How to handle non-english words that can be found in an english sentences? Extra punctuation, space, new ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3551/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3550/comments | https://api.github.com/repos/huggingface/transformers/issues/3550/events | https://github.com/huggingface/transformers/pull/3550 | 590,972,770 | MDExOlB1bGxSZXF1ZXN0Mzk2MjIwNTQ5 | 3,550 | [T5, Testst] Add extensive hard-coded integration tests and make sure PT and TF give equal results | {
"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/3550?src=pr&el=h1) Report\n> Merging [#3550](https://codecov.io/gh/huggingface/transformers/pull/3550?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6f5a12a5833d1e3783e4b8a42cb556b64085745e&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | MEMBER | null | A direct comparison to google's official model seems quite hard - not sure if that's absolutely needed @thomwolf, @craffel
But some integration tests for T5 would be very nice, to be sure that changes in the future will not break T5.
This PR adds hard-coded integration tests, where the input for summarization is co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3550/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3550",
"html_url": "https://github.com/huggingface/transformers/pull/3550",
"diff_url": "https://github.com/huggingface/transformers/pull/3550.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3550.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3549/comments | https://api.github.com/repos/huggingface/transformers/issues/3549/events | https://github.com/huggingface/transformers/issues/3549 | 590,941,204 | MDU6SXNzdWU1OTA5NDEyMDQ= | 3,549 | model name '../data/bert_models/chinese_finetuned_lm/pytorch_model.bin' was not found in model name list . Creating an empty model card. | {
"login": "zbbwss",
"id": 42829645,
"node_id": "MDQ6VXNlcjQyODI5NjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/42829645?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zbbwss",
"html_url": "https://github.com/zbbwss",
"followers_url": "https://api.github.com/users/zbbwss/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,585 | 1,591 | 1,591 | NONE | null | nlp = pipeline('fill-mask',
# model=args.bert_model_path,
# config=args.bert_config_path,
# tokenizer=args.bert_model_dir
model = '../data/bert_models/chinese_finetuned_lm/pytorch_model.bin',
config = '../data/bert_mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3549/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3548/comments | https://api.github.com/repos/huggingface/transformers/issues/3548/events | https://github.com/huggingface/transformers/issues/3548 | 590,935,683 | MDU6SXNzdWU1OTA5MzU2ODM= | 3,548 | How to extract "contiguous tokens" from `NerPipeline` results? | {
"login": "enzoampil",
"id": 39557688,
"node_id": "MDQ6VXNlcjM5NTU3Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39557688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enzoampil",
"html_url": "https://github.com/enzoampil",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"What do you think @mfuntowicz?",
"[Related issue ](https://github.com/huggingface/transformers/issues/2488)",
"Actually, I realized that instead of `index`, even better would be the word piece `offsets`, similar to that returned by `tokenizer.encode` from the huggingface [tokenizers package](https://github.com... | 1,585 | 1,589 | 1,589 | CONTRIBUTOR | null | Using `NerPipeline`, I want to be able to input a string (sequence of tokens), and extract *entity groups*, where an entity group is a contiguous series of tokens, having the same *entity type*.
**Example:**
For the ner code below:
```
from transformers import pipeline, AutoModelForTokenClassification, AutoTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3548/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/3548/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3547/comments | https://api.github.com/repos/huggingface/transformers/issues/3547/events | https://github.com/huggingface/transformers/pull/3547 | 590,927,217 | MDExOlB1bGxSZXF1ZXN0Mzk2MTgyOTQz | 3,547 | [T5, TF 2.2] change tf t5 argument naming | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | **Problem**:
As shown in #3539, in TF 2.2 errors occur due to the naming of the first argument in the `keras.layer.__call__` function of TF T5.
Previously `decoder_input_ids` was used as the first argument - which did not produce any errors in TF <= 2.1. In TF 2.2, it produces the error:
```
/usr/local/lib/pyth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3547/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3547",
"html_url": "https://github.com/huggingface/transformers/pull/3547",
"diff_url": "https://github.com/huggingface/transformers/pull/3547.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3547.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3546 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3546/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3546/comments | https://api.github.com/repos/huggingface/transformers/issues/3546/events | https://github.com/huggingface/transformers/issues/3546 | 590,906,527 | MDU6SXNzdWU1OTA5MDY1Mjc= | 3,546 | Impossible to use T5 11b | {
"login": "sdan",
"id": 22898443,
"node_id": "MDQ6VXNlcjIyODk4NDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/22898443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sdan",
"html_url": "https://github.com/sdan",
"followers_url": "https://api.github.com/users/sdan/followers"... | [
{
"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 | null | [] | [
"Update\r\n\r\nOn a regular CPU machine (not using GPUs), here's the benchmarks you'll need to load these models into memory and run them:\r\n\r\nBart-large-cnn (default): 5GB of RAM\r\nT5-small: 14GB\r\nT5-base: 20GB\r\nT5-large: 31GB\r\nT5-3b: 68GB\r\nT5-11b: 120GB\r\n\r\nSo, I was initially wrong: **You can run ... | 1,585 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
T5 11B param
Language I am using the model on (English, Chinese ...):
English
The problem arises when using:
* [ x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3546/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3545/comments | https://api.github.com/repos/huggingface/transformers/issues/3545/events | https://github.com/huggingface/transformers/pull/3545 | 590,877,230 | MDExOlB1bGxSZXF1ZXN0Mzk2MTQyMDcz | 3,545 | [T5, pipeline] fix bug in warnings | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | Warnings only took `self.model.config.max_length` in consideration, but not the actual passed `max_length` parameter.
This PR fixes this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3545/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3545",
"html_url": "https://github.com/huggingface/transformers/pull/3545",
"diff_url": "https://github.com/huggingface/transformers/pull/3545.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3545.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3544/comments | https://api.github.com/repos/huggingface/transformers/issues/3544/events | https://github.com/huggingface/transformers/pull/3544 | 590,798,909 | MDExOlB1bGxSZXF1ZXN0Mzk2MDc1ODAx | 3,544 | [examples] unit test for run_bart_sum | {
"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/3544?src=pr&el=h1) Report\n> Merging [#3544](https://codecov.io/gh/huggingface/transformers/pull/3544?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e5c393dcebf42eaec9c1e1d619b5a7788a2d7c65&el=desc) will **increase... | 1,585 | 1,586 | 1,586 | CONTRIBUTOR | null | - add lightning to `examples/requirements.txt`
- first lightning unittest! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3544/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3544",
"html_url": "https://github.com/huggingface/transformers/pull/3544",
"diff_url": "https://github.com/huggingface/transformers/pull/3544.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3544.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3543/comments | https://api.github.com/repos/huggingface/transformers/issues/3543/events | https://github.com/huggingface/transformers/pull/3543 | 590,776,048 | MDExOlB1bGxSZXF1ZXN0Mzk2MDU1OTc5 | 3,543 | [testing] add timeout_decorator | {
"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 | [] | [
"Feels like it could be reimplemented in a few lines of code – do we need to add a new dependency for this?",
"I copy pasted it. Would love to understand more about the adding a dependency vs maintaining code tradeoff!",
"I think that's a great addition! Trying to keep the tests short is very important I think ... | 1,585 | 1,588 | 1,588 | CONTRIBUTOR | null | This is a simple way to make sure code doesn't get slower over time. Since it is a new dependency, I wanted to show a tiny PR before I use it more. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3543/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3543",
"html_url": "https://github.com/huggingface/transformers/pull/3543",
"diff_url": "https://github.com/huggingface/transformers/pull/3543.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3543.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3542/comments | https://api.github.com/repos/huggingface/transformers/issues/3542/events | https://github.com/huggingface/transformers/issues/3542 | 590,762,213 | MDU6SXNzdWU1OTA3NjIyMTM= | 3,542 | KeyError: 'answers' error when using BioASQ dataset using Huggingface Transformers | {
"login": "urvashikhanna",
"id": 32611800,
"node_id": "MDQ6VXNlcjMyNjExODAw",
"avatar_url": "https://avatars.githubusercontent.com/u/32611800?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/urvashikhanna",
"html_url": "https://github.com/urvashikhanna",
"followers_url": "https://api.githu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Have you checked whether the Bioasq format suits the Huggingface interface/format?\r\nBecause the Bioasq does not natively support a reading comprehension task as defined in SquaD",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity... | 1,585 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
I am using Bert on BioASQ question answering dataset using the script run_squad.py from Huggingface Transformers.
##To reproduce
Steps to reproduce the behavior:
1.I am using run_squad.py https://github.com/huggingface/transformers/blob/master/examples/run_squad.py from Huggingface Transformers f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3542/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3541/comments | https://api.github.com/repos/huggingface/transformers/issues/3541/events | https://github.com/huggingface/transformers/issues/3541 | 590,610,506 | MDU6SXNzdWU1OTA2MTA1MDY= | 3,541 | forward() got an unexpected keyword argument 'output_all_encoded_layers' | {
"login": "gogokre",
"id": 44871498,
"node_id": "MDQ6VXNlcjQ0ODcxNDk4",
"avatar_url": "https://avatars.githubusercontent.com/u/44871498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gogokre",
"html_url": "https://github.com/gogokre",
"followers_url": "https://api.github.com/users/gogokr... | [
{
"id": 1834081910,
"node_id": "MDU6TGFiZWwxODM0MDgxOTEw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Usage",
"name": "Usage",
"color": "e28436",
"default": false,
"description": "General questions about the library"
}
] | closed | false | null | [] | [
"This should be added to the initializer, not the forward method. Also, the correct parameter is `output_hidden_states`. You can also be more explicit by changing the config:\r\n\r\n```python\r\nmodel_config = AutoConfig.from_pretrained('bert-base-uncased', output_hidden_states=True)\r\nself.bert = AutoModel.from_p... | 1,585 | 1,585 | 1,585 | NONE | null | I am getting an error such as forward () got an unexpected keyword argument 'output_all_encoded_layers', how can I fix it?
class BertBinaryClassifier(nn.Module):
def __init__(self, dropout=0.1):
super(BertBinaryClassifier, self).__init__()
self.bert = BertModel.from_pretrained('bert-base-unc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3541/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/3541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3540/comments | https://api.github.com/repos/huggingface/transformers/issues/3540/events | https://github.com/huggingface/transformers/issues/3540 | 590,592,868 | MDU6SXNzdWU1OTA1OTI4Njg= | 3,540 | Quick Tour TF2.0 error: dataclasses.FrozenInstanceError: cannot assign to field 'label' | {
"login": "anhminh3105",
"id": 18170028,
"node_id": "MDQ6VXNlcjE4MTcwMDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/18170028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anhminh3105",
"html_url": "https://github.com/anhminh3105",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"This was fixed yesterday, can you try installing from master?",
"verified that it's fixed in master. However, the bug remains when installing from pip. ",
"We'll ship a new pip release soon, but in any case we'll try to update the code so that the TF script can run with an immutable `InputExample` (as discusse... | 1,585 | 1,694 | 1,693 | NONE | null | # 🐛 Bug
## Information
Model I am using: 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 working on is:
* [x] an ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3540/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3540/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3539/comments | https://api.github.com/repos/huggingface/transformers/issues/3539/events | https://github.com/huggingface/transformers/issues/3539 | 590,577,915 | MDU6SXNzdWU1OTA1Nzc5MTU= | 3,539 | T5 Summarization | {
"login": "cformosa",
"id": 13603877,
"node_id": "MDQ6VXNlcjEzNjAzODc3",
"avatar_url": "https://avatars.githubusercontent.com/u/13603877?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cformosa",
"html_url": "https://github.com/cformosa",
"followers_url": "https://api.github.com/users/cfo... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi @cformosa, \r\n\r\nThanks for posting this bug. This seems to be related to the new TF 2.2 release. \r\nCould you instead use TF2.1 for the moment:\r\n\r\n```\r\n!pip install transformers\r\n!pip install tensorflow==2.1\r\nfrom transformers import pipeline\r\n\r\nsummarizer = pipeline(\"summarization\", model=\... | 1,585 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
T5 summarization code in pipelines.py file gives an error.
## Information
Model I am using: T5
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
pipelines.py official documentation example at line 1146
```
# use t5 in tf
summarizer = pipeline("summ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3539/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3538/comments | https://api.github.com/repos/huggingface/transformers/issues/3538/events | https://github.com/huggingface/transformers/pull/3538 | 590,576,179 | MDExOlB1bGxSZXF1ZXN0Mzk1ODg1ODk1 | 3,538 | [Docs] Add usage examples for translation and summarization | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | Adds docs. Fastest way to check is the changes in "rich diff" format. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3538/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3538",
"html_url": "https://github.com/huggingface/transformers/pull/3538",
"diff_url": "https://github.com/huggingface/transformers/pull/3538.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3538.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3537/comments | https://api.github.com/repos/huggingface/transformers/issues/3537/events | https://github.com/huggingface/transformers/pull/3537 | 590,544,482 | MDExOlB1bGxSZXF1ZXN0Mzk1ODU5MDAx | 3,537 | Add model cards | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | Add IMDB tuned classifier and LMs model cards. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3537/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3537",
"html_url": "https://github.com/huggingface/transformers/pull/3537",
"diff_url": "https://github.com/huggingface/transformers/pull/3537.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3537.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3536/comments | https://api.github.com/repos/huggingface/transformers/issues/3536/events | https://github.com/huggingface/transformers/pull/3536 | 590,535,333 | MDExOlB1bGxSZXF1ZXN0Mzk1ODUxMzQy | 3,536 | [Encoder-Decoder] Force models outputs to always have batch_size as their first dim | {
"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/3536?src=pr&el=h1) Report\n> Merging [#3536](https://codecov.io/gh/huggingface/transformers/pull/3536?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6f5a12a5833d1e3783e4b8a42cb556b64085745e&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | MEMBER | null | This PR remove the hard-coded variable `encoder_outputs_batch_dim_idx` from Bart and T5 by transposing BART's `encoder_outputs` dimensions before returning them.
**Reasons:**
- When adding more encoder-decoder models, we would always force the newly added model to have this variable
- When adding the modeling_enco... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3536/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3536",
"html_url": "https://github.com/huggingface/transformers/pull/3536",
"diff_url": "https://github.com/huggingface/transformers/pull/3536.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3536.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3535/comments | https://api.github.com/repos/huggingface/transformers/issues/3535/events | https://github.com/huggingface/transformers/issues/3535 | 590,533,973 | MDU6SXNzdWU1OTA1MzM5NzM= | 3,535 | Error on fine-tuning XLM like model on SQUaD like dataset | {
"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": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Hi, any follow-up in this thread? I have received the same error with yours, but a different parameter 'model_name_or_path = xlm-mlm-tlm-xnli15-1024' is used in my experiment.",
"I had to revert all the way to 2.5.1 to get this to work (xlnet-base fine-tuning on SQuAD 1.1), FWIW, so it's been broken for a bit..... | 1,585 | 1,604 | 1,602 | CONTRIBUTOR | null | # 🐛 Bug
## Information
I am trying to fine-tune the model [xlm-mlm-100-1280](https://huggingface.co/xlm-mlm-100-1280) on SQuAD v1 dataset like (tydiQA) with the script provided for this task (transformers/examples/run_squad.py) and I get the following error:
```python
Epoch: 0% 0/5 [00:00<?, ?it/s]
Iterat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3535/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/3535/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3534/comments | https://api.github.com/repos/huggingface/transformers/issues/3534/events | https://github.com/huggingface/transformers/issues/3534 | 590,372,412 | MDU6SXNzdWU1OTAzNzI0MTI= | 3,534 | pretrained EsperBERTo | {
"login": "vr25",
"id": 22553367,
"node_id": "MDQ6VXNlcjIyNTUzMzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/22553367?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vr25",
"html_url": "https://github.com/vr25",
"followers_url": "https://api.github.com/users/vr25/followers"... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834053007,
"node_id": "MDU6TGFiZWwxODM0MDUzMDA3",
... | 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,585 | 1,591 | 1,591 | NONE | null | Hi,
I am trying to replicate the pretraining process mentioned in this blog post: https://huggingface.co/blog/how-to-train
I have time-restricted access to the GPU I'm currently working on and so I wanted to know how to save the checkpoint and resume the pretraining process from the latest checkpoint.
Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3534/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3533/comments | https://api.github.com/repos/huggingface/transformers/issues/3533/events | https://github.com/huggingface/transformers/issues/3533 | 590,339,617 | MDU6SXNzdWU1OTAzMzk2MTc= | 3,533 | Error when training with distributed training on 4/8 Nvidia v100. | {
"login": "timsoraro",
"id": 61194445,
"node_id": "MDQ6VXNlcjYxMTk0NDQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/61194445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timsoraro",
"html_url": "https://github.com/timsoraro",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Out of curiosity, does the same issue arise without fp16?",
"@BramVanroy Yes.",
"Someone's help, please?",
"Have look here: https://github.com/pytorch/pytorch/issues/22436",
"@BramVanroy I'm sorry, the repo is working fine with distributed training. I found the error comes from adding special tokens:\r\n``... | 1,585 | 1,585 | 1,585 | NONE | null | # 🐛 Bug
## Information
I'm getting the following error while training the official implementation in [examples/run_language_modeling.py](https://github.com/huggingface/transformers/blob/master/examples/run_language_modeling.py) on [WikiText-2 dataset](https://blog.einstein.ai/the-wikitext-long-term-dependency-la... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3533/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3532/comments | https://api.github.com/repos/huggingface/transformers/issues/3532/events | https://github.com/huggingface/transformers/pull/3532 | 590,327,634 | MDExOlB1bGxSZXF1ZXN0Mzk1NjgxNTk2 | 3,532 | Resizing embedding matrix before sending it to the optimizer. | {
"login": "ngarneau",
"id": 665101,
"node_id": "MDQ6VXNlcjY2NTEwMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/665101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngarneau",
"html_url": "https://github.com/ngarneau",
"followers_url": "https://api.github.com/users/ngarnea... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3532?src=pr&el=h1) Report\n> Merging [#3532](https://codecov.io/gh/huggingface/transformers/pull/3532?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d38bbb225f7b847e8be4e969cb9b40e7e4d798a6&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Hi there,
This is a minor bug when fine-tuning a pre-trained language model with a larger vocabulary using the run_lm_finetuning.py script.
Nothing major but I spent a couple of hours trying to figure out why my token embeddings were not being updated with their corresponding gradient :)
This bug will rise when ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3532/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3532",
"html_url": "https://github.com/huggingface/transformers/pull/3532",
"diff_url": "https://github.com/huggingface/transformers/pull/3532.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3532.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3531/comments | https://api.github.com/repos/huggingface/transformers/issues/3531/events | https://github.com/huggingface/transformers/pull/3531 | 590,269,903 | MDExOlB1bGxSZXF1ZXN0Mzk1NjMzNDQw | 3,531 | [T5, docs] remove useless and confusing lm_labels line | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | Remove useless docstring | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3531/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3531",
"html_url": "https://github.com/huggingface/transformers/pull/3531",
"diff_url": "https://github.com/huggingface/transformers/pull/3531.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3531.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3530/comments | https://api.github.com/repos/huggingface/transformers/issues/3530/events | https://github.com/huggingface/transformers/issues/3530 | 590,261,325 | MDU6SXNzdWU1OTAyNjEzMjU= | 3,530 | TypeError: sequence item 0: expected str instance, NBProgressBar found | {
"login": "pascalhuszar",
"id": 45284935,
"node_id": "MDQ6VXNlcjQ1Mjg0OTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/45284935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pascalhuszar",
"html_url": "https://github.com/pascalhuszar",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
... | closed | false | null | [] | [
"Whats also strange, the PyTorch version list the labels as text, e.g: \"B-ORG, I-LOC, [...] in the Model Config Ouput but the TF-version list them like this bellow. Is this okay?\r\n\r\n```\r\n\"id2label\": {\r\n \"0\": \"LABEL_0\",\r\n \"1\": \"LABEL_1\",\r\n \"2\": \"LABEL_2\",\r\n \"3\": \"LABEL_3\"... | 1,585 | 1,702 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): bert-base-multilingual-cased
Language I am using the model on (English, Chinese ...): German
The problem arises when using:
* [X] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3530/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3529/comments | https://api.github.com/repos/huggingface/transformers/issues/3529/events | https://github.com/huggingface/transformers/pull/3529 | 590,237,723 | MDExOlB1bGxSZXF1ZXN0Mzk1NjA2NzU1 | 3,529 | [T5] fix lm lables in docstring | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/3529?src=pr&el=h1) Report\n> Merging [#3529](https://codecov.io/gh/huggingface/transformers/pull/3529?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/75ec6c9e3a7de6cc3e2920f3bb531e7c840b8ada&el=desc) will **increase... | 1,585 | 1,585 | 1,585 | MEMBER | null | Add better explanation to T5 `lm_labels` dosctring. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3529/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3529",
"html_url": "https://github.com/huggingface/transformers/pull/3529",
"diff_url": "https://github.com/huggingface/transformers/pull/3529.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3529.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3528/comments | https://api.github.com/repos/huggingface/transformers/issues/3528/events | https://github.com/huggingface/transformers/issues/3528 | 590,206,547 | MDU6SXNzdWU1OTAyMDY1NDc= | 3,528 | Unexpected ZeroDivisionError when calling model.prune_heads | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"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",
"Found the solution to this. When you try to prune all the attention heads in a layer, you will run into this error. This is why it some... | 1,585 | 1,623 | 1,591 | NONE | null | # 🐛 Bug
Traceback (most recent call last):
File "/Users/user/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Users/user/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/user/Desktop/org/text_models_branche... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3528/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3527/comments | https://api.github.com/repos/huggingface/transformers/issues/3527/events | https://github.com/huggingface/transformers/issues/3527 | 590,174,338 | MDU6SXNzdWU1OTAxNzQzMzg= | 3,527 | Bart.generate requires config.output_past=True | {
"login": "tuhinjubcse",
"id": 3104771,
"node_id": "MDQ6VXNlcjMxMDQ3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3104771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuhinjubcse",
"html_url": "https://github.com/tuhinjubcse",
"followers_url": "https://api.github.com/us... | [] | closed | false | {
"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... | [
"Bart is a encoder-decoder model. So it should be rather used as translating one sequence to another one. This means that the generation method expects `input_ids` and creates `decoder_input_ids`. \r\n\r\nMaybe you can take a look at this: https://sshleifer.github.io/blog_v2/jupyter/2020/03/12/bart.html",
"I thin... | 1,585 | 1,586 | 1,586 | NONE | null | Is there a way to generate using pre-trained BART like one in
https://huggingface.co/blog/how-to-generate
I am currently using BART for a generation task but finetuning it
I was wondering if it's possible to see generation result from pre-trained BART | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3527/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3526/comments | https://api.github.com/repos/huggingface/transformers/issues/3526/events | https://github.com/huggingface/transformers/issues/3526 | 590,120,644 | MDU6SXNzdWU1OTAxMjA2NDQ= | 3,526 | bug in run_glue.py | {
"login": "keloemma",
"id": 40454218,
"node_id": "MDQ6VXNlcjQwNDU0MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/40454218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keloemma",
"html_url": "https://github.com/keloemma",
"followers_url": "https://api.github.com/users/kel... | [
{
"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,585 | 1,591 | 1,591 | NONE | null | # 🐛 Bug
## Information
Model I am using (FlauBert ...):
Language I am using the model on (French ...):
The problem arises when using:
* [x] the official example scripts: (give details below)
the script "run_glue" (I did not modified anything) I took it as it is
The tasks I am working on is:
* [x] a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3526/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3525/comments | https://api.github.com/repos/huggingface/transformers/issues/3525/events | https://github.com/huggingface/transformers/issues/3525 | 590,063,584 | MDU6SXNzdWU1OTAwNjM1ODQ= | 3,525 | Issue loading custom tokenizer for fine-tuning gpt2 | {
"login": "modern-online",
"id": 53079544,
"node_id": "MDQ6VXNlcjUzMDc5NTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/53079544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/modern-online",
"html_url": "https://github.com/modern-online",
"followers_url": "https://api.githu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"Can you post a sample code?",
"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,585 | 1,591 | 1,591 | NONE | null | I'm trying to fine-tune gpt2 with a custom tokenizer. It was working fine just over 10 days ago, with --tokenizer_name=/path to vocab and merges folder/ and now it cannot load, asking to check if it's a correct model identifier or contains a config.json file. As if instead of a tokenizer it is now trying to load a mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3525/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3524/comments | https://api.github.com/repos/huggingface/transformers/issues/3524/events | https://github.com/huggingface/transformers/pull/3524 | 589,975,629 | MDExOlB1bGxSZXF1ZXN0Mzk1MzkwODcw | 3,524 | Add shoarora/electra and alectra model cards | {
"login": "shoarora",
"id": 16643856,
"node_id": "MDQ6VXNlcjE2NjQzODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/16643856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shoarora",
"html_url": "https://github.com/shoarora",
"followers_url": "https://api.github.com/users/sho... | [
{
"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/3524?src=pr&el=h1) Report\n> Merging [#3524](https://codecov.io/gh/huggingface/transformers/pull/3524?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/33ef7002e17fe42b276dc6d36c07a3c39b1f09ed&el=desc) will **decrease... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | Add model cards for recently uploaded models:
- shoarora/electra-small-owt (BERT)
- shoarora/alectra-small-owt (ALBERT) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3524/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3524",
"html_url": "https://github.com/huggingface/transformers/pull/3524",
"diff_url": "https://github.com/huggingface/transformers/pull/3524.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3524.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3523/comments | https://api.github.com/repos/huggingface/transformers/issues/3523/events | https://github.com/huggingface/transformers/issues/3523 | 589,955,282 | MDU6SXNzdWU1ODk5NTUyODI= | 3,523 | Why GPT2 train loss and topK accuracy both decrease? | {
"login": "lx-kika",
"id": 62126666,
"node_id": "MDQ6VXNlcjYyMTI2NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/62126666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lx-kika",
"html_url": "https://github.com/lx-kika",
"followers_url": "https://api.github.com/users/lx-kik... | [] | closed | false | null | [] | [
"I found a mistake that in GPT2LMHeadModel, the label is shifted, however, I shift it again when preparing the batch."
] | 1,585 | 1,585 | 1,585 | 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/3523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3523/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3522/comments | https://api.github.com/repos/huggingface/transformers/issues/3522/events | https://github.com/huggingface/transformers/issues/3522 | 589,936,865 | MDU6SXNzdWU1ODk5MzY4NjU= | 3,522 | why isn't AlbertForMultipulChioce in modeling_albert? | {
"login": "oashua",
"id": 58935410,
"node_id": "MDQ6VXNlcjU4OTM1NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/58935410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oashua",
"html_url": "https://github.com/oashua",
"followers_url": "https://api.github.com/users/oashua/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
... | closed | false | null | [] | [
"I have come accross the same problem when I was testing RACE for Albert.\r\nYour implementation might be right because there are few differences betweent \"roberta\" and \"albert\" finetune heads.\r\nIf you are testing RACE like me, the real problem may lie in the lack of max_qa_length implementation in run_multip... | 1,585 | 1,595 | 1,595 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3522/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3521/comments | https://api.github.com/repos/huggingface/transformers/issues/3521/events | https://github.com/huggingface/transformers/pull/3521 | 589,913,840 | MDExOlB1bGxSZXF1ZXN0Mzk1MzQyMjcw | 3,521 | [T5] make decoder input ids optional for t5 training | {
"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/3521?src=pr&el=h1) Report\n> Merging [#3521](https://codecov.io/gh/huggingface/transformers/pull/3521?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/33ef7002e17fe42b276dc6d36c07a3c39b1f09ed&el=desc) will **increase... | 1,585 | 1,596 | 1,585 | MEMBER | null | - [x] Make `decoder_input_ids` optional when supplying `lm_labels` for `T5ForConditionalGeneration`
- [x] Add test | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3521/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3521",
"html_url": "https://github.com/huggingface/transformers/pull/3521",
"diff_url": "https://github.com/huggingface/transformers/pull/3521.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3521.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3520/comments | https://api.github.com/repos/huggingface/transformers/issues/3520/events | https://github.com/huggingface/transformers/pull/3520 | 589,905,365 | MDExOlB1bGxSZXF1ZXN0Mzk1MzM1NzU2 | 3,520 | WIP: haiku bert implementation | {
"login": "madisonmay",
"id": 2645393,
"node_id": "MDQ6VXNlcjI2NDUzOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2645393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/madisonmay",
"html_url": "https://github.com/madisonmay",
"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 | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,585 | 1,595 | 1,595 | NONE | null | Still a work in progress but the contextual embeddings line up with the pytorch version so this is roughly at parity with jax-bert
TODO (mostly notes to myself):
- [x] Add `save_pretrained`
- [ ] Make `from_pretrained` work with names
- [ ] Add dropout at training time, pass through training flag
- [ ] Make sur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3520/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3520",
"html_url": "https://github.com/huggingface/transformers/pull/3520",
"diff_url": "https://github.com/huggingface/transformers/pull/3520.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3520.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3519/comments | https://api.github.com/repos/huggingface/transformers/issues/3519/events | https://github.com/huggingface/transformers/pull/3519 | 589,871,846 | MDExOlB1bGxSZXF1ZXN0Mzk1MzEwNTgz | 3,519 | Resizing embedding matrix before sending it to the optimizer. | {
"login": "ngarneau",
"id": 665101,
"node_id": "MDQ6VXNlcjY2NTEwMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/665101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngarneau",
"html_url": "https://github.com/ngarneau",
"followers_url": "https://api.github.com/users/ngarnea... | [] | closed | false | null | [] | [
"Since I just swapped some lines, I guess this code quality check got activated after this file came up in the repo..! 😬",
"Hi Nicolas,\r\nYou have to install the code style tools and run `make style` and `make quality` on your PR.\r\nCheck the contributing guide for the details: https://github.com/huggingface/t... | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | This bug will rise when you add new token types in the Tokenizer.
Since the resizing was done **after** passing the params to the optimizer, the wrong set of params for the embedding table were optimized. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3519/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3519",
"html_url": "https://github.com/huggingface/transformers/pull/3519",
"diff_url": "https://github.com/huggingface/transformers/pull/3519.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3519.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/3518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3518/comments | https://api.github.com/repos/huggingface/transformers/issues/3518/events | https://github.com/huggingface/transformers/issues/3518 | 589,840,657 | MDU6SXNzdWU1ODk4NDA2NTc= | 3,518 | Argument “never_split” not working on bert tokenizer | {
"login": "acmilannesta",
"id": 47703762,
"node_id": "MDQ6VXNlcjQ3NzAzNzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/47703762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/acmilannesta",
"html_url": "https://github.com/acmilannesta",
"followers_url": "https://api.github.c... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | null | [] | [
"Does this problem arise with the fast tokenizer too? Can you try both:\r\n\r\n```python\r\ntokenizer = BertTokenizer.from_pretrained('bert-base-uncased', never_split=['lol'], use_fast=True)\r\n# and\r\ntokenizer = BertTokenizer.from_pretrained('bert-base-uncased', never_split=['lol'], use_fast=False)\r\n```",
">... | 1,585 | 1,591 | 1,591 | NONE | null | I used the ```never_split``` option and tried to retain some tokens. But the tokenizer still divide them into wordpieces.
```
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased', never_split=['lol'])
tokenizer.tokenize("lol That's funny")
['lo', '##l', 'that', "'", 's', 'funny']
```
**A link to origi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3518/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3517/comments | https://api.github.com/repos/huggingface/transformers/issues/3517/events | https://github.com/huggingface/transformers/pull/3517 | 589,834,441 | MDExOlB1bGxSZXF1ZXN0Mzk1MjgyODg3 | 3,517 | [Tokenization] fix edge case for bert tokenization | {
"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 | [] | [
"@mfuntowicz @n1t0 @LysandreJik - could you check? :-) ",
"Does this mean that `batch_encode_plus` is supposed to handle \"pre-tokenized\" inputs? I thought this was something introduced by https://github.com/huggingface/transformers/pull/3185 with a specific flag `is_pretokenized` (cc @mfuntowicz)",
"# [Codec... | 1,585 | 1,586 | 1,586 | MEMBER | null | This PR fixes #3502 .
The reason why the tests fail in #3502 is because of an edge case.
If the input to `tokenizer.batch_encode_plus()` consists of a tokenized string that results in a list of exactly two strings (``[[16], [.]]`` in issue #3502) then it is treated as a pair of input sequences (=> [CLS] input_s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3517/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3517",
"html_url": "https://github.com/huggingface/transformers/pull/3517",
"diff_url": "https://github.com/huggingface/transformers/pull/3517.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3517.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3516/comments | https://api.github.com/repos/huggingface/transformers/issues/3516/events | https://github.com/huggingface/transformers/pull/3516 | 589,808,368 | MDExOlB1bGxSZXF1ZXN0Mzk1MjYzNzc0 | 3,516 | [Docs] examples/summarization/bart: Simplify CNN/DM preprocessing steps | {
"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 | [] | [
"Merging to unblock patrick. "
] | 1,585 | 1,585 | 1,585 | CONTRIBUTOR | null | I added the preprocessed data in S3.
Evidence that it is the correct size:
 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3516/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3516",
"html_url": "https://github.com/huggingface/transformers/pull/3516",
"diff_url": "https://github.com/huggingface/transformers/pull/3516.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3516.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3515/comments | https://api.github.com/repos/huggingface/transformers/issues/3515/events | https://github.com/huggingface/transformers/issues/3515 | 589,795,657 | MDU6SXNzdWU1ODk3OTU2NTc= | 3,515 | Isort installed from github branch does not correspond to circle ci isort | {
"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 | [] | [
"Looking at the CI config, it should install the correct version, though. Not sure what I am missing here.\r\n\r\nhttps://github.com/huggingface/transformers/blob/e5c393dcebf42eaec9c1e1d619b5a7788a2d7c65/.circleci/config.yml#L89",
"Hi @BramVanroy, \r\n\r\nThanks for your answer :-) \r\nI get the feeling that it's... | 1,585 | 1,585 | 1,585 | MEMBER | null | # 🐛 Bug
## Information
Installing isort via:
`$ pip install -U git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort`
does not correspond to the circle ci version anymore, so that `make style` formatting leads to circle-ci make the code quality test fail.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3515/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/3514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3514/comments | https://api.github.com/repos/huggingface/transformers/issues/3514/events | https://github.com/huggingface/transformers/pull/3514 | 589,788,520 | MDExOlB1bGxSZXF1ZXN0Mzk1MjQ4OTU1 | 3,514 | [Examples] Clean summarization and translation example testing files for T5 and Bart | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,585 | 1,585 | 1,585 | MEMBER | null | - Only create temporary files instead of "real" files so that each `test_file` in `examples/summarization` and `examples/translations` creates unique testing output files that cannot be overridden by other test files. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3514/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/3514",
"html_url": "https://github.com/huggingface/transformers/pull/3514",
"diff_url": "https://github.com/huggingface/transformers/pull/3514.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/3514.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/3513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/3513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/3513/comments | https://api.github.com/repos/huggingface/transformers/issues/3513/events | https://github.com/huggingface/transformers/issues/3513 | 589,781,536 | MDU6SXNzdWU1ODk3ODE1MzY= | 3,513 | Adding mbart-large-cc25 | {
"login": "MaksymDel",
"id": 8141935,
"node_id": "MDQ6VXNlcjgxNDE5MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8141935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaksymDel",
"html_url": "https://github.com/MaksymDel",
"followers_url": "https://api.github.com/users/Ma... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1834... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"This is a Work in progress but still a few weeks out :)",
"Hi @sshleifer , additional (perhaps bug, or document bug) related to this issue: \r\n\r\nThis model page suggests that we can load mBart-cc25 : \r\nhttps://huggingface.co/facebook/mbart-large-cc25\r\n\r\nHowever, using the instructed command with the new... | 1,585 | 1,594 | 1,594 | CONTRIBUTOR | null | # 🌟 New model addition
Multilingual BART model implemented in fairseq introduced by FAIR
## Model description
This issue is to request adding mBART model existing as a part of fairseq lib.
[Link to the fairseq description of the model](https://github.com/pytorch/fairseq/tree/master/examples/mbart
)
[Link to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/3513/reactions",
"total_count": 10,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/3513/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.