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/5220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5220/comments | https://api.github.com/repos/huggingface/transformers/issues/5220/events | https://github.com/huggingface/transformers/issues/5220 | 644,003,541 | MDU6SXNzdWU2NDQwMDM1NDE= | 5,220 | run_language_modeling.py does not output vocab/config/etc files until training completes | {
"login": "apteryxlabs",
"id": 65966807,
"node_id": "MDQ6VXNlcjY1OTY2ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/65966807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apteryxlabs",
"html_url": "https://github.com/apteryxlabs",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"**NOTE:** Currently retraining. At the 500-it checkpoint save point, the following is outputted:\r\n`\"loss\": 3.162974836349487, \"learning_rate\": 4.207104345068189e-05, \"epoch\": 0.47573739295908657, \"step\": 500}\r\n06/23/2020 10:25:35 - INFO - transformers.trainer - Saving model checkpoint to ./output_100... | 1,592 | 1,608 | 1,608 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
GPT2
Language I am using the model on (English, Chinese ...):
English
The problem arises when using:
* the official example scripts:
I began training using the following command (from Jupyter Lab) - output_100k is the specified (new) output fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5220/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5220/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5219/comments | https://api.github.com/repos/huggingface/transformers/issues/5219/events | https://github.com/huggingface/transformers/pull/5219 | 643,994,324 | MDExOlB1bGxSZXF1ZXN0NDM4Njk1MzIw | 5,219 | [Longformer] Major Refactor | {
"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/5219?src=pr&el=h1) Report\n> Merging [#5219](https://codecov.io/gh/huggingface/transformers/pull/5219?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9a473f1e43221348334b9e7f95bb45770b7ef268&el=desc) will **decrease... | 1,592 | 1,593 | 1,593 | MEMBER | null | ## Longformer Refactor
This PR does a major refactoring of Longformer. Mainly, the Roberta abstraction is removed and compositionally is chosen instead. This has the following advantages:
- It's easier now to implement a `cross_attention_layer`
- The code is more readable and the logic stays in this file only
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5219/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5219",
"html_url": "https://github.com/huggingface/transformers/pull/5219",
"diff_url": "https://github.com/huggingface/transformers/pull/5219.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5219.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5218 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5218/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5218/comments | https://api.github.com/repos/huggingface/transformers/issues/5218/events | https://github.com/huggingface/transformers/issues/5218 | 643,975,986 | MDU6SXNzdWU2NDM5NzU5ODY= | 5,218 | AttributeError: module 'tensorflow' has no attribute 'repeat' | {
"login": "whwhwwhh",
"id": 44458425,
"node_id": "MDQ6VXNlcjQ0NDU4NDI1",
"avatar_url": "https://avatars.githubusercontent.com/u/44458425?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whwhwwhh",
"html_url": "https://github.com/whwhwwhh",
"followers_url": "https://api.github.com/users/whw... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
}
] | closed | false | null | [] | [
"@LysandreJik @jplu \r\n\r\nIt seems that Tensorflow does not include `repeat` in 2.0 and 2.0.1 (see https://github.com/tensorflow/tensorflow/issues/38839). Perhaps best to have 2.1 as a min requirement?",
"Indeed, TF < 2.1 doesn't have the `tf.repeat()` function. Put TF >= 2.1 as min requirement looks to be a g... | 1,592 | 1,593 | 1,593 | NONE | null | I tried to run the pipeline task 'summarization', but get a error with "module **'tensorflow' has no attribute 'repeat' "** Does anyone encountered the same problem? How to fix it?
**my installed tensorflow == 2.0.0**
error messages:
/home/ww/anaconda3/envs/environment_name/lib/python3.6/site-packages/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5218/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5217/comments | https://api.github.com/repos/huggingface/transformers/issues/5217/events | https://github.com/huggingface/transformers/pull/5217 | 643,914,401 | MDExOlB1bGxSZXF1ZXN0NDM4NjI5MzIx | 5,217 | 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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5217?src=pr&el=h1) Report\n> Merging [#5217](https://codecov.io/gh/huggingface/transformers/pull/5217?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b28b53713161a6299c757c32f7179a2cb2d8cbd7&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | electra_large_discriminator_squad2_512 Question Answering LM | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5217/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5217/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5217",
"html_url": "https://github.com/huggingface/transformers/pull/5217",
"diff_url": "https://github.com/huggingface/transformers/pull/5217.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5217.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5216/comments | https://api.github.com/repos/huggingface/transformers/issues/5216/events | https://github.com/huggingface/transformers/pull/5216 | 643,856,312 | MDExOlB1bGxSZXF1ZXN0NDM4NTgzMzc3 | 5,216 | [WIP - Don't merge yet][Pipeline] Make "task" a static class variable | {
"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 | [] | [
"Just noticed that this would break the Marian translation pipeline though. Maybe for the Translation pipeline we should keep the \"task\" as an `__init__` argument. ",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5216?src=pr&el=h1) Report\n> Merging [#5216](https://codecov.io/gh/huggingface/t... | 1,592 | 1,596 | 1,596 | MEMBER | null | This PR removes "task" from the "init" of the class and adds it as a static variable.
In my opinion, it is cleaner to have "task" as a static variable instead of an object attribute. This would also solve #5210 .
The problem we would run into then is that for the "Translation" pipeline we would need a class for eac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5216/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5216",
"html_url": "https://github.com/huggingface/transformers/pull/5216",
"diff_url": "https://github.com/huggingface/transformers/pull/5216.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5216.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5215/comments | https://api.github.com/repos/huggingface/transformers/issues/5215/events | https://github.com/huggingface/transformers/issues/5215 | 643,772,630 | MDU6SXNzdWU2NDM3NzI2MzA= | 5,215 | TF2 support for Longformer | {
"login": "Pringled",
"id": 12988240,
"node_id": "MDQ6VXNlcjEyOTg4MjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/12988240?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pringled",
"html_url": "https://github.com/Pringled",
"followers_url": "https://api.github.com/users/Pri... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Yes, we are planning to add this in ~1 month",
"Great, looking forward to it, thanks!",
"+1 on this @patrickvonplaten any news? :)",
"+2 on this",
"Finished by end of the week :-) See https://github.com/huggingface/transformers/pull/5764. It's almost finished :-) ",
"@patrickvonplaten any reference on ho... | 1,592 | 1,614 | 1,593 | NONE | null | # 🚀 Feature request
Hi,
I'm currently working on a project involving long documents (6000+ tokens). I normally work with Tensorflow and I was wondering if there are any plans for adding a Longformer TF model in the near future? My PyTorch knowledge is fairly limited, but given the potential of the Longformer f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5215/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5214/comments | https://api.github.com/repos/huggingface/transformers/issues/5214/events | https://github.com/huggingface/transformers/issues/5214 | 643,772,088 | MDU6SXNzdWU2NDM3NzIwODg= | 5,214 | How to predict on a batch? | {
"login": "mariusjohan",
"id": 49961316,
"node_id": "MDQ6VXNlcjQ5OTYxMzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/49961316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariusjohan",
"html_url": "https://github.com/mariusjohan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | 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/5214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5214/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5213/comments | https://api.github.com/repos/huggingface/transformers/issues/5213/events | https://github.com/huggingface/transformers/issues/5213 | 643,700,047 | MDU6SXNzdWU2NDM3MDAwNDc= | 5,213 | Train EncoderDecoder Models for question generation | {
"login": "joachim-dublineau",
"id": 64142397,
"node_id": "MDQ6VXNlcjY0MTQyMzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/64142397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joachim-dublineau",
"html_url": "https://github.com/joachim-dublineau",
"followers_url": "https... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @joachim-dublineau , not a direct answer to your question, but here's a relevant discussion thread #4399",
"And can you post the code where you prepare the `decoder_input_ids` and `labels`?",
"Hi @patil-suraj ,\r\n\r\nThanks for your quick reply.\r\n\r\nI have indeed seen this topic previously without find... | 1,592 | 1,599 | 1,599 | 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/5213/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/5213/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5212/comments | https://api.github.com/repos/huggingface/transformers/issues/5212/events | https://github.com/huggingface/transformers/issues/5212 | 643,696,425 | MDU6SXNzdWU2NDM2OTY0MjU= | 5,212 | BartConfig wrong decoder_start_token_id? | {
"login": "Diego999",
"id": 1092464,
"node_id": "MDQ6VXNlcjEwOTI0NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1092464?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Diego999",
"html_url": "https://github.com/Diego999",
"followers_url": "https://api.github.com/users/Diego... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Thanks for this issue we should update the documentation here!",
"@patrickvonplaten Thanks for the answer! Therefore what is expected from the model? EOS I guess?",
"Bart normally has the decoder_input_token_id defined in its config so there shoud be no problem",
"Hi, I also wondered about this.\r\n`facebook... | 1,592 | 1,627 | 1,618 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bart
Language I am using the model on (English, Chinese ...): English
## To reproduce
Steps to reproduce the behavior:
```
from transformers import BartConfig, BartTokenizer
config = BartConfig.from_pretrained('facebook/bart-large')
tokeni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5212/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5211/comments | https://api.github.com/repos/huggingface/transformers/issues/5211/events | https://github.com/huggingface/transformers/pull/5211 | 643,668,951 | MDExOlB1bGxSZXF1ZXN0NDM4NDMyMTU3 | 5,211 | Remove wandb warning as it is unnecessary | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://ap... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5211?src=pr&el=h1) Report\n> Merging [#5211](https://codecov.io/gh/huggingface/transformers/pull/5211?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1ae132a07d7f294cf58cd50f7db8723d00e282de&el=desc) will **increase... | 1,592 | 1,604 | 1,603 | MEMBER | null | Remove wandb warning as it is unnecessary. If wandb is installed, this throws a warning which just makes noise.
Some images might have wandb installed but the user doesn't want to use it. If the user knows what wandb is they will have the API key set anyways. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5211/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5211",
"html_url": "https://github.com/huggingface/transformers/pull/5211",
"diff_url": "https://github.com/huggingface/transformers/pull/5211.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5211.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5210/comments | https://api.github.com/repos/huggingface/transformers/issues/5210/events | https://github.com/huggingface/transformers/pull/5210 | 643,668,852 | MDExOlB1bGxSZXF1ZXN0NDM4NDMyMDc2 | 5,210 | Increase the default max_length parameter when using TransfoXL & XLnet. | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I don't think it is necessarly needed actually because the `max_length` is overwritten by the model's specific configs in this case. See XLNet config for example: https://s3.amazonaws.com/models.huggingface.co/bert/xlnet-base-cased-config.json. \r\n\r\nI would prefer to not set the `max_length` here, but let the u... | 1,592 | 1,651 | 1,592 | MEMBER | null | This is needed because the prepended PADDING_TEXT constant is already bigger than the default max_length parameter on the generate method, thus leading to no token being generated.
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co> | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5210/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5210/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5210",
"html_url": "https://github.com/huggingface/transformers/pull/5210",
"diff_url": "https://github.com/huggingface/transformers/pull/5210.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5210.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5209/comments | https://api.github.com/repos/huggingface/transformers/issues/5209/events | https://github.com/huggingface/transformers/pull/5209 | 643,647,663 | MDExOlB1bGxSZXF1ZXN0NDM4NDE0NDI0 | 5,209 | [Reformer] Axial Pos Emb Improve mem usage reformer | {
"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/5209?src=pr&el=h1) Report\n> Merging [#5209](https://codecov.io/gh/huggingface/transformers/pull/5209?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | This PR improves memory usage of Axial Position Encodings by cutting position encodings only to the required length before applying contiguous pytorch operations. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5209/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5209/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5209",
"html_url": "https://github.com/huggingface/transformers/pull/5209",
"diff_url": "https://github.com/huggingface/transformers/pull/5209.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5209.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5208/comments | https://api.github.com/repos/huggingface/transformers/issues/5208/events | https://github.com/huggingface/transformers/issues/5208 | 643,604,453 | MDU6SXNzdWU2NDM2MDQ0NTM= | 5,208 | Train RobertaModel from scratch for my dataset | {
"login": "raj5287",
"id": 11444890,
"node_id": "MDQ6VXNlcjExNDQ0ODkw",
"avatar_url": "https://avatars.githubusercontent.com/u/11444890?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raj5287",
"html_url": "https://github.com/raj5287",
"followers_url": "https://api.github.com/users/raj528... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Are you using transformers from source or from pip install ?\r\n`labels` is introduced in a recent commit and available on master, if you are on version 2.11.0 from pip install then use `lm_labels`",
"> Are you using transformers from source or from pip install ?\r\n> `labels` is introduced in a recent commit a... | 1,592 | 1,598 | 1,598 | NONE | null | I am trying to train RobertaModel from scratch. I am following [this](https://huggingface.co/blog/how-to-train) blog but instead of `model = RobertaForMaskedLM(config=config)`, I am starting with `configuration = RobertaConfig()
model = RobertaModel(configuration)` and then continuing with other steps. But I am gettin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5208/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/5208/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5207/comments | https://api.github.com/repos/huggingface/transformers/issues/5207/events | https://github.com/huggingface/transformers/issues/5207 | 643,587,522 | MDU6SXNzdWU2NDM1ODc1MjI= | 5,207 | How to build Bimodel to search code snippets? [CodeBERTa] | {
"login": "hmdgit",
"id": 59701320,
"node_id": "MDQ6VXNlcjU5NzAxMzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/59701320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hmdgit",
"html_url": "https://github.com/hmdgit",
"followers_url": "https://api.github.com/users/hmdgit/fo... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
},... | closed | false | null | [] | [
"CodeBERTa was indeed trained on just the code so you would need to tweak the approach.\r\n\r\nDid you read the paper for CodeSearchNet (https://arxiv.org/abs/1909.09436) by @hamelsmu?",
"Thanks Julien for your response.\r\n\r\nI have taken an overview of the paper and its [code](https://github.com/github/CodeSea... | 1,592 | 1,599 | 1,599 | NONE | null | Hi,
I would like build a code search engine model. The main purpose is that when I pass docstring, it should give me top-k associated code snippets as results.
I have a data in the form of (docstring, code), which means each docstring is associated with mentioned code snippet.
I have seen CodeBERTa fine tune ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5207/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5206 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5206/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5206/comments | https://api.github.com/repos/huggingface/transformers/issues/5206/events | https://github.com/huggingface/transformers/pull/5206 | 643,505,005 | MDExOlB1bGxSZXF1ZXN0NDM4Mjk1ODA0 | 5,206 | [fix] remove unused import | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5206/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5206/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5206",
"html_url": "https://github.com/huggingface/transformers/pull/5206",
"diff_url": "https://github.com/huggingface/transformers/pull/5206.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5206.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5205/comments | https://api.github.com/repos/huggingface/transformers/issues/5205/events | https://github.com/huggingface/transformers/pull/5205 | 643,502,075 | MDExOlB1bGxSZXF1ZXN0NDM4MjkzNDQ3 | 5,205 | [fix] mobilebert had wrong path, causing slow test failure | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Also deleted redundant slow test. `test_inference_no_head` covers this completely. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5205/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5205",
"html_url": "https://github.com/huggingface/transformers/pull/5205",
"diff_url": "https://github.com/huggingface/transformers/pull/5205.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5205.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5204/comments | https://api.github.com/repos/huggingface/transformers/issues/5204/events | https://github.com/huggingface/transformers/issues/5204 | 643,482,324 | MDU6SXNzdWU2NDM0ODIzMjQ= | 5,204 | T5 Model : What is maximum sequence length that can be used with pretrained T5 (3b model) checkpoint? | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Yes you can, but you should be aware that memory requirements quadruple when doubling the input sequence length for \"normal\" self-attention (as in T5).\r\n\r\nSo you will quickly run out of memory.\r\n\r\nHere a snippet that shows that you can run input ids longer than `config.max_postion_embeddings`.\r\n\r\n```... | 1,592 | 1,693 | 1,592 | CONTRIBUTOR | null | As the paper described, T5 uses a relative attention mechanism and the answer for this [issue](https://github.com/google-research/text-to-text-transfer-transformer/issues/273) says, T5 can use any sequence length were the only constraint is memory.
According to this, can I use T5 to summarize inputs that have more ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5204/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5203/comments | https://api.github.com/repos/huggingface/transformers/issues/5203/events | https://github.com/huggingface/transformers/issues/5203 | 643,471,687 | MDU6SXNzdWU2NDM0NzE2ODc= | 5,203 | Can you release the code for Write For Transformer? | {
"login": "BigSalmon2",
"id": 61605789,
"node_id": "MDQ6VXNlcjYxNjA1Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BigSalmon2",
"html_url": "https://github.com/BigSalmon2",
"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,592 | 1,598 | 1,598 | NONE | null | I'd like to use my own model, so is this possible? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5203/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5202/comments | https://api.github.com/repos/huggingface/transformers/issues/5202/events | https://github.com/huggingface/transformers/pull/5202 | 643,450,897 | MDExOlB1bGxSZXF1ZXN0NDM4MjUyMTI1 | 5,202 | examples/seq2seq supports translation | {
"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": 1841528858,
"node_id": "MDU6TGFiZWwxODQxNTI4ODU4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Summarization",
"name": "Summarization",
"color": "b6f97f",
"default": false,
"description": ""
},
{
"id": 1845609017,
"node_id": "MDU6TGFiZWwxODQ1N... | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5202?src=pr&el=h1) Report\n> Merging [#5202](https://codecov.io/gh/huggingface/transformers/pull/5202?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/76e5af4cfd821c0c610b9927a2d2cd58a02f43e4&el=desc) will **increase... | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | - renames `examples/summarization` -> `examples/seq2seq`
- finetune.py and run_eval.py support mbart, marian and t5.
- task_specific_params are used
- if you specify task='translation', then your metric becomes BLEU instead of ROUGE.
- improved `README.md`
- lots of test coverage
- scripts to reproduce distilbart... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5202/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5202/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5202",
"html_url": "https://github.com/huggingface/transformers/pull/5202",
"diff_url": "https://github.com/huggingface/transformers/pull/5202.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5202.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5201/comments | https://api.github.com/repos/huggingface/transformers/issues/5201/events | https://github.com/huggingface/transformers/issues/5201 | 643,424,957 | MDU6SXNzdWU2NDM0MjQ5NTc= | 5,201 | Linformer | {
"login": "Laksh1997",
"id": 59830552,
"node_id": "MDQ6VXNlcjU5ODMwNTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/59830552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Laksh1997",
"html_url": "https://github.com/Laksh1997",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Duplicate #4967"
] | 1,592 | 1,592 | 1,592 | NONE | null | # 🌟 New model addition
## Model description
https://arxiv.org/pdf/2006.04768.pdf
This model is very simple, it just projects the key tensor into a lower dimensional space (e.g k=128) along the sequence axis, then computes attention (seq_len x k), softmax, and matmul with the value tensor (note, the value tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5201/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5200/comments | https://api.github.com/repos/huggingface/transformers/issues/5200/events | https://github.com/huggingface/transformers/issues/5200 | 643,422,770 | MDU6SXNzdWU2NDM0MjI3NzA= | 5,200 | tokenizer.convert_ids_to_tokens(tokenizer.convert_tokens_to_ids(x)) returning a different result | {
"login": "LeonieWeissweiler",
"id": 30300891,
"node_id": "MDQ6VXNlcjMwMzAwODkx",
"avatar_url": "https://avatars.githubusercontent.com/u/30300891?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LeonieWeissweiler",
"html_url": "https://github.com/LeonieWeissweiler",
"followers_url": "https... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
Language I am using the model on (English, Chinese ...):
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:
* [ ] an offici... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5200/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5199/comments | https://api.github.com/repos/huggingface/transformers/issues/5199/events | https://github.com/huggingface/transformers/pull/5199 | 643,397,840 | MDExOlB1bGxSZXF1ZXN0NDM4MjA4MTM3 | 5,199 | Update README.md | {
"login": "aodiniz",
"id": 6626805,
"node_id": "MDQ6VXNlcjY2MjY4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6626805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aodiniz",
"html_url": "https://github.com/aodiniz",
"followers_url": "https://api.github.com/users/aodiniz/... | [
{
"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/5199?src=pr&el=h1) Report\n> Merging [#5199](https://codecov.io/gh/huggingface/transformers/pull/5199?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a34fb91d541bdb235a6c9fa96ecf11d51426ac84&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Fix/add information in README.md | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5199/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5199/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5199",
"html_url": "https://github.com/huggingface/transformers/pull/5199",
"diff_url": "https://github.com/huggingface/transformers/pull/5199.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5199.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5198/comments | https://api.github.com/repos/huggingface/transformers/issues/5198/events | https://github.com/huggingface/transformers/pull/5198 | 643,384,527 | MDExOlB1bGxSZXF1ZXN0NDM4MTk3MDg0 | 5,198 | [Reformer classification head] Implement the reformer model classification head for text classification | {
"login": "as-stevens",
"id": 61624036,
"node_id": "MDQ6VXNlcjYxNjI0MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/61624036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/as-stevens",
"html_url": "https://github.com/as-stevens",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Looks cool :-) Will take a look soon!",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5198?src=pr&el=h1) Report\n> Merging [#5198](https://codecov.io/gh/huggingface/transformers/pull/5198?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0267668c3d648c6e41afda... | 1,592 | 1,597 | 1,594 | CONTRIBUTOR | null | This PR is an effort to implement the classification head on top of the plain vanilla reformer model.
References have been taken from the Roberta and XLNet classification head to implement the reformer classification head.
Tried testing the implementation changes, but it is failing error, link to google collab http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5198/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5198",
"html_url": "https://github.com/huggingface/transformers/pull/5198",
"diff_url": "https://github.com/huggingface/transformers/pull/5198.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5198.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5197 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5197/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5197/comments | https://api.github.com/repos/huggingface/transformers/issues/5197/events | https://github.com/huggingface/transformers/issues/5197 | 643,383,196 | MDU6SXNzdWU2NDMzODMxOTY= | 5,197 | batch_encode_plus() causes OOM, while encode_plus does not | {
"login": "yuhongqian",
"id": 26653166,
"node_id": "MDQ6VXNlcjI2NjUzMTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/26653166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuhongqian",
"html_url": "https://github.com/yuhongqian",
"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 | [] | [
"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'm also running out of memory using `BertTokenizerFast.batch_encode_plus()`. I'm using the `BertTokenizer.batch_encode_plus()` now and... | 1,592 | 1,671 | 1,604 | 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/5197/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5197/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5196 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5196/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5196/comments | https://api.github.com/repos/huggingface/transformers/issues/5196/events | https://github.com/huggingface/transformers/pull/5196 | 643,374,148 | MDExOlB1bGxSZXF1ZXN0NDM4MTg4NTE4 | 5,196 | [HANS] Fix label_list for RoBERTa/BART (class flipping) | {
"login": "VictorSanh",
"id": 16107619,
"node_id": "MDQ6VXNlcjE2MTA3NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VictorSanh",
"html_url": "https://github.com/VictorSanh",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5196?src=pr&el=h1) Report\n> Merging [#5196](https://codecov.io/gh/huggingface/transformers/pull/5196?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c439752482759c94784e11a87dcbf08ce69dccf3&el=desc) will **decrease... | 1,592 | 1,593 | 1,593 | MEMBER | null | the MNLI checkpoints ported from fairseq (more specifically RoBERTa and BART) has flipping classes. @sshleifer fixed it for `run_glue.py` last week (see https://github.com/huggingface/transformers/pull/5141), this PR fixes the same problem for `run_hans.py`.
Now the HANS evaluation for [bart-large-mnli](https://hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5196/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5196/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5196",
"html_url": "https://github.com/huggingface/transformers/pull/5196",
"diff_url": "https://github.com/huggingface/transformers/pull/5196.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5196.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5195/comments | https://api.github.com/repos/huggingface/transformers/issues/5195/events | https://github.com/huggingface/transformers/pull/5195 | 643,372,615 | MDExOlB1bGxSZXF1ZXN0NDM4MTg3MjA0 | 5,195 | Add link to new comunity notebook (optimization) | {
"login": "pommedeterresautee",
"id": 1029874,
"node_id": "MDQ6VXNlcjEwMjk4NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1029874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pommedeterresautee",
"html_url": "https://github.com/pommedeterresautee",
"followers_url": "http... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5195?src=pr&el=h1) Report\n> Merging [#5195](https://codecov.io/gh/huggingface/transformers/pull/5195?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1c5cd8e5f59154905c5ae0f47a8c8905618a12ff&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | related to https://github.com/huggingface/transformers/issues/4842#event-3469184635
This notebook is about benchmarking model training with/without dynamic padding optimization.
https://github.com/ELS-RD/transformers-notebook
Using dynamic padding on MNLI provides a **4.7 times training time reduction**, with ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5195/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5195",
"html_url": "https://github.com/huggingface/transformers/pull/5195",
"diff_url": "https://github.com/huggingface/transformers/pull/5195.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5195.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5194/comments | https://api.github.com/repos/huggingface/transformers/issues/5194/events | https://github.com/huggingface/transformers/pull/5194 | 643,348,055 | MDExOlB1bGxSZXF1ZXN0NDM4MTY2OTY0 | 5,194 | [Use cache] Align logic of `use_cache` with output_attentions and output_hidden_states | {
"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/5194?src=pr&el=h1) Report\n> Merging [#5194](https://codecov.io/gh/huggingface/transformers/pull/5194?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e9ef21175eed7121a3f785708f2264c61215cdc3&el=desc) will **increase... | 1,592 | 1,593 | 1,593 | MEMBER | null | This PR cleans the usage for `use_cache` the same way it is done for `output_hidden_states` and `output_attentions`.
The logic as for all non-tensor function arguments is that
1) if the function argument `use_cache` is specified use this one
2) if not then use the `config.use_cache`.
**Break in Backward Compat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5194/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5194",
"html_url": "https://github.com/huggingface/transformers/pull/5194",
"diff_url": "https://github.com/huggingface/transformers/pull/5194.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5194.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5193/comments | https://api.github.com/repos/huggingface/transformers/issues/5193/events | https://github.com/huggingface/transformers/pull/5193 | 643,341,896 | MDExOlB1bGxSZXF1ZXN0NDM4MTYxNzIz | 5,193 | Switch master/stable doc and add older releases | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | Switch the doc base url to the latest stable release and add master docs as well as some intermediate docs that were missing. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5193/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5193",
"html_url": "https://github.com/huggingface/transformers/pull/5193",
"diff_url": "https://github.com/huggingface/transformers/pull/5193.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5193.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5192 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5192/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5192/comments | https://api.github.com/repos/huggingface/transformers/issues/5192/events | https://github.com/huggingface/transformers/issues/5192 | 643,328,928 | MDU6SXNzdWU2NDMzMjg5Mjg= | 5,192 | Using segments ids in encoder-decoder model in generate function | {
"login": "mmsamiei",
"id": 12582703,
"node_id": "MDQ6VXNlcjEyNTgyNzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/12582703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmsamiei",
"html_url": "https://github.com/mmsamiei",
"followers_url": "https://api.github.com/users/mms... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"`segments_tensors` are currently not implemented for `generate`. Why do you want to pass them to `generate`?",
"I'm working on a conditional dialogue task (knowledge grounded dialogue) in which I give the conversation history and fact sentence as inputs to the model. I want to show the model that fact sentence i... | 1,592 | 1,594 | 1,594 | NONE | null | # 🐛 Bug
## Information
I have implemented an encoderdecoder model where both of them are bert, in encoder module i'm using segment ids (token_type_ids) and give it to model easily in this way and works correctly:
```
kwargs = {'token_type_ids':segments_tensors}
outputs = model(input_ids=encoder_input, decoder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5192/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5191 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5191/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5191/comments | https://api.github.com/repos/huggingface/transformers/issues/5191/events | https://github.com/huggingface/transformers/issues/5191 | 643,317,053 | MDU6SXNzdWU2NDMzMTcwNTM= | 5,191 | [Benchmark] Jetson Nano DistillBERT SQuAD benchmark | {
"login": "arijitx",
"id": 6756124,
"node_id": "MDQ6VXNlcjY3NTYxMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6756124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arijitx",
"html_url": "https://github.com/arijitx",
"followers_url": "https://api.github.com/users/arijitx/... | [
{
"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 | [] | [
"For tensorrt you need to manage dynamic axis with a script in the nuphar folder of onnx runtime repo (`symbolic_shape_infer.py`).\r\nIt gives best result for small batch (like single example).\r\nIt requires some customization in parameters because default one are not that good (check the Nvidia doc for the worksp... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🖥 Benchmarking `transformers`
## Benchmark
DistillBERT SQuAD
## Set-up
- Jetson Nano
- Jetpack 4.4
- onnxruntime 1.13.1
Benchmark script https://gist.github.com/arijitx/1400d3d4e07fc517d6c5bfea506c2353
## Results
tokens/sec
| | Pytorch-GPU | Pytorch-CPU(4 cores) | onnx-CP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5191/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5191/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5190/comments | https://api.github.com/repos/huggingface/transformers/issues/5190/events | https://github.com/huggingface/transformers/pull/5190 | 643,289,330 | MDExOlB1bGxSZXF1ZXN0NDM4MTE4MzA2 | 5,190 | [bart] add config.extra_pos_embeddings to facilitate reuse | {
"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/5190?src=pr&el=h1) Report\n> Merging [#5190](https://codecov.io/gh/huggingface/transformers/pull/5190?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b28b53713161a6299c757c32f7179a2cb2d8cbd7&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Previously bart's LearnedPositionalEmbedding basically assumed pad_token_id>=1, and added 2 extra spaces of empty embeddings at the beginning. These positions were never used.
Since the blenderbot state dict has only 128 entries (exactly as many as it needs, whereas bart has 1026, 2 more than it needs). it cannot us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5190/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5190",
"html_url": "https://github.com/huggingface/transformers/pull/5190",
"diff_url": "https://github.com/huggingface/transformers/pull/5190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5190.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5189/comments | https://api.github.com/repos/huggingface/transformers/issues/5189/events | https://github.com/huggingface/transformers/pull/5189 | 643,285,721 | MDExOlB1bGxSZXF1ZXN0NDM4MTE1NDMy | 5,189 | Have documentation fail on warning | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5189?src=pr&el=h1) Report\n> Merging [#5189](https://codecov.io/gh/huggingface/transformers/pull/5189?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1262495a912b9cd97e2ae174fd627a9d8a502341&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5189/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5189/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5189",
"html_url": "https://github.com/huggingface/transformers/pull/5189",
"diff_url": "https://github.com/huggingface/transformers/pull/5189.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5189.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5188/comments | https://api.github.com/repos/huggingface/transformers/issues/5188/events | https://github.com/huggingface/transformers/issues/5188 | 643,280,585 | MDU6SXNzdWU2NDMyODA1ODU= | 5,188 | Simplify LearnedPositionalEmbedding | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2139563322,
"node_id": "MDU6TGFiZWwyMTM5NTYzMzIy",
"url": "https://api.github.com/repos/huggingface/transformers/labels/cleanup",
"name": "cleanup",
"color": "e7fc49",
"default": false,
"description": ""
},
{
"id": 2154394845,
"node_id": "MDU6TGFiZWwyMTU0Mzk0ODQ1",
... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [] | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | `create_position_ids_from_input_ids` and `LearnedPositionalEmbedding`
were both copied from fairseq and need either much more documentation or much simpler logic. They were originally copied for Roberta and now are also used for bart. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5188/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5187/comments | https://api.github.com/repos/huggingface/transformers/issues/5187/events | https://github.com/huggingface/transformers/pull/5187 | 643,263,844 | MDExOlB1bGxSZXF1ZXN0NDM4MDk3NDc1 | 5,187 | Add TF auto model to the docs + fix sphinx warnings (again) | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5187?src=pr&el=h1) Report\n> Merging [#5187](https://codecov.io/gh/huggingface/transformers/pull/5187?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ebc36108dc1c20985905c79f7d6a00f57f3cd3ae&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | The goal of this PR was just to add the automodel to the docs (as pointed out in #5145) but then I had 100 sphinx warnings that made me grumpy so I had to fix them (some of them from the auto model docs, but most of them from #4978).
As usual a few of them were harmless, others had a real impact on the docs, so I t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5187/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5187",
"html_url": "https://github.com/huggingface/transformers/pull/5187",
"diff_url": "https://github.com/huggingface/transformers/pull/5187.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5187.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5186/comments | https://api.github.com/repos/huggingface/transformers/issues/5186/events | https://github.com/huggingface/transformers/issues/5186 | 643,245,061 | MDU6SXNzdWU2NDMyNDUwNjE= | 5,186 | Trouble with PL Checkpoint loading after finetuning bart-large | {
"login": "PingYu-iris",
"id": 23408859,
"node_id": "MDQ6VXNlcjIzNDA4ODU5",
"avatar_url": "https://avatars.githubusercontent.com/u/23408859?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PingYu-iris",
"html_url": "https://github.com/PingYu-iris",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1841528858,
"node_id": "MDU6TGFiZWwxODQxNTI4ODU4",
... | 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... | [
"How long did you train for? \r\n\r\nOur `finetune.py` is not identical to the authors' finetuning script and might produce different results, but rouge2=15.3 suggests that either you didn't train for very long, or there is a bug in your/our code.\r\n\r\nWhat is the `model.text_predictions` method?\r\n\r\n\r\n\r\n"... | 1,592 | 1,599 | 1,599 | NONE | null | Hi there,
I recently ran "finetune_bart.sh" with data from cnn_dm/train.source and saved checkpoints. I only have GPU with 12G memory, then I trained this model with batch_size 1 without distributed training.
I predicted test summaries results on cnn_dm/test.source with:
```python
tokenizer = AutoToke... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5186/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5186/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5185/comments | https://api.github.com/repos/huggingface/transformers/issues/5185/events | https://github.com/huggingface/transformers/pull/5185 | 643,221,238 | MDExOlB1bGxSZXF1ZXN0NDM4MDYyNjMy | 5,185 | [T5] add missing docstring for some configurations | {
"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,592 | 1,592 | 1,592 | MEMBER | null | Add missing docs for T5 config. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5185/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5185",
"html_url": "https://github.com/huggingface/transformers/pull/5185",
"diff_url": "https://github.com/huggingface/transformers/pull/5185.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5185.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5184/comments | https://api.github.com/repos/huggingface/transformers/issues/5184/events | https://github.com/huggingface/transformers/pull/5184 | 643,161,366 | MDExOlB1bGxSZXF1ZXN0NDM4MDE1NTA5 | 5,184 | More clear error message in the use-case of #5169 | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5184?src=pr&el=h1) Report\n> Merging [#5184](https://codecov.io/gh/huggingface/transformers/pull/5184?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d2a7c86dc33d6def6dba44f6ed2b71e8a1644130&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | MEMBER | null | Supplying `is_pretokenized=True` to an encoding method means that the sequences are given as a list of words (words being strings).
Make the error message more clear in this case.
Fix #5169 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5184/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5184",
"html_url": "https://github.com/huggingface/transformers/pull/5184",
"diff_url": "https://github.com/huggingface/transformers/pull/5184.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5184.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5183/comments | https://api.github.com/repos/huggingface/transformers/issues/5183/events | https://github.com/huggingface/transformers/issues/5183 | 643,153,807 | MDU6SXNzdWU2NDMxNTM4MDc= | 5,183 | Unable to load the reformer pre-trained model, connection broken after X% | {
"login": "as-stevens",
"id": 61624036,
"node_id": "MDQ6VXNlcjYxNjI0MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/61624036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/as-stevens",
"html_url": "https://github.com/as-stevens",
"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 | {
"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... | [
"Not sure how to help you here. Can you load other models from pretrained? Like\r\n\r\n```python \r\nmodel = BertModel.from_pretrained(\"bert-base-uncased\")\r\n```\r\n?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Th... | 1,592 | 1,600 | 1,600 | CONTRIBUTOR | null | # ❓ Questions & Help
I am trying to load the Reformer pre-trained model, But I am not able to do so. The load fails after some random x%. The error stack trace is;
ChunkedEncodingError: ('Connection broken: OSError("(10054, \'WSAECONNRESET\')",)', OSError("(10054, 'WSAECONNRESET')",))
Code to load the model, a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5183/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5182/comments | https://api.github.com/repos/huggingface/transformers/issues/5182/events | https://github.com/huggingface/transformers/pull/5182 | 643,134,481 | MDExOlB1bGxSZXF1ZXN0NDM3OTk0NjU0 | 5,182 | MarianTokenizer.prepare_translation_batch uses new tokenizer API | {
"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/5182?src=pr&el=h1) Report\n> Merging [#5182](https://codecov.io/gh/huggingface/transformers/pull/5182?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c4d4e8bdbd25d9463d41de6398940329c89b7fb6&el=desc) will **decrease... | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | new params:
```python
truncation_strategy="only_first",
padding="longest",
```
The old behavior was to pad to model_max_len then call `trim_batch`.
I also added two tests than ensure that it works. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5182/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5182",
"html_url": "https://github.com/huggingface/transformers/pull/5182",
"diff_url": "https://github.com/huggingface/transformers/pull/5182.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5182.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5181/comments | https://api.github.com/repos/huggingface/transformers/issues/5181/events | https://github.com/huggingface/transformers/issues/5181 | 643,131,440 | MDU6SXNzdWU2NDMxMzE0NDA= | 5,181 | Is it possible to mimic trim_batch using new tokenizer strategies? | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | null | [] | [
"Hi @sshleifer you should read the detailed description on the tokenizers refactoring PR https://github.com/huggingface/transformers/pull/4510#issue-421650163\r\n\r\nUntil it's added in the doc (will be soon), it's required reading for all core contributors of `transformers`.",
"Thanks. I read that, and am still ... | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | I am trying to replace the old workflow of
calling batch_encode_plus to make tensors of shape
`(n_examples, model_max_length)` and then calling `trim_batch` to reduce padding computation, with the new tokenizers kwargs.
Is this possible?
The following code does not seem to truncate inputs longer than 512 (the secon... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5181/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5180/comments | https://api.github.com/repos/huggingface/transformers/issues/5180/events | https://github.com/huggingface/transformers/issues/5180 | 643,099,741 | MDU6SXNzdWU2NDMwOTk3NDE= | 5,180 | Which Marian version was used to train the Helsinki-NLP/* checkpoints? | {
"login": "vmedappa",
"id": 40217037,
"node_id": "MDQ6VXNlcjQwMjE3MDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/40217037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vmedappa",
"html_url": "https://github.com/vmedappa",
"followers_url": "https://api.github.com/users/vme... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
... | closed | false | null | [] | [
"Those models were trained by @jorgtied as part of the OPUS project. He might know the answer.",
"@sshleifer Do you know how can I fine tune the models with my specific data?",
"I just started a PR to support that, but it's still a week away. At the moment, your best bet is to modify `summarization/finetune.py... | 1,592 | 1,599 | 1,599 | NONE | null | Trying to find the **Marian version used to train Marian MT transformers**. This would help me understand the **benchmarks for translation times**. I see that multiple papers mention various benchmarks for CPU translation :
- https://www.aclweb.org/anthology/D19-5632.pdf - has the benchmarks for the latest update M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5180/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5179/comments | https://api.github.com/repos/huggingface/transformers/issues/5179/events | https://github.com/huggingface/transformers/pull/5179 | 643,044,274 | MDExOlB1bGxSZXF1ZXN0NDM3OTIwMzA4 | 5,179 | Model card for t5-base-finetuned-emotion (recognition) | {
"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/5179?src=pr&el=h1) Report\n> Merging [#5179](https://codecov.io/gh/huggingface/transformers/pull/5179?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/eb0ca71ef6772a1dd16ac152e1f7a07a9e1e6fda&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5179/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5179",
"html_url": "https://github.com/huggingface/transformers/pull/5179",
"diff_url": "https://github.com/huggingface/transformers/pull/5179.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5179.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5178 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5178/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5178/comments | https://api.github.com/repos/huggingface/transformers/issues/5178/events | https://github.com/huggingface/transformers/pull/5178 | 643,040,214 | MDExOlB1bGxSZXF1ZXN0NDM3OTE2ODc5 | 5,178 | Add model cards for Microsoft's MiniLM | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5178?src=pr&el=h1) Report\n> Merging [#5178](https://codecov.io/gh/huggingface/transformers/pull/5178?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa0be6d76187e0639851f6d762b9ffae7fbd9202&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5178/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/5178/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5178",
"html_url": "https://github.com/huggingface/transformers/pull/5178",
"diff_url": "https://github.com/huggingface/transformers/pull/5178.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5178.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5177/comments | https://api.github.com/repos/huggingface/transformers/issues/5177/events | https://github.com/huggingface/transformers/issues/5177 | 642,966,277 | MDU6SXNzdWU2NDI5NjYyNzc= | 5,177 | When is 2.12 coming out? | {
"login": "Laksh1997",
"id": 59830552,
"node_id": "MDQ6VXNlcjU5ODMwNTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/59830552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Laksh1997",
"html_url": "https://github.com/Laksh1997",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"For now you can install from source to use `AutoModelForCausalLM`",
"Yes but you can't push out libraries with packages installed from master",
"Probably this week or the next!",
"+1",
"Version v3.0.0 was released this morning!"
] | 1,592 | 1,593 | 1,593 | NONE | null | Hi when is 2.12 coming out? Cheers.
(Interested in AutoModelForCausalLM) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5177/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5176 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5176/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5176/comments | https://api.github.com/repos/huggingface/transformers/issues/5176/events | https://github.com/huggingface/transformers/issues/5176 | 642,953,157 | MDU6SXNzdWU2NDI5NTMxNTc= | 5,176 | object returned by RobertaTokenizerFast() class are not serializable, | {
"login": "ad6398",
"id": 38162294,
"node_id": "MDQ6VXNlcjM4MTYyMjk0",
"avatar_url": "https://avatars.githubusercontent.com/u/38162294?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ad6398",
"html_url": "https://github.com/ad6398",
"followers_url": "https://api.github.com/users/ad6398/fo... | [
{
"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 | [] | [
"cc @mfuntowicz ",
"This is fixed on master and should be in the next release"
] | 1,592 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): RobertaTokenizerFast()
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [x] the official example scripts: (give details below)
yes
## To reproduce
[Steps to reproduce the behavior: https://github.com/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5176/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5176/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5175 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5175/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5175/comments | https://api.github.com/repos/huggingface/transformers/issues/5175/events | https://github.com/huggingface/transformers/pull/5175 | 642,886,418 | MDExOlB1bGxSZXF1ZXN0NDM3Nzg5MjA4 | 5,175 | Update model card for COVID-QA model | {
"login": "bogdankostic",
"id": 48713846,
"node_id": "MDQ6VXNlcjQ4NzEzODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/48713846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bogdankostic",
"html_url": "https://github.com/bogdankostic",
"followers_url": "https://api.github.c... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5175?src=pr&el=h1) Report\n> Merging [#5175](https://codecov.io/gh/huggingface/transformers/pull/5175?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bc3a0c06075050d3de586c543e4ad6a7efc9260e&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Specify exact dataset that was used for crossvalidation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5175/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5175",
"html_url": "https://github.com/huggingface/transformers/pull/5175",
"diff_url": "https://github.com/huggingface/transformers/pull/5175.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5175.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5174/comments | https://api.github.com/repos/huggingface/transformers/issues/5174/events | https://github.com/huggingface/transformers/pull/5174 | 642,798,230 | MDExOlB1bGxSZXF1ZXN0NDM3NzE3NjAx | 5,174 | Add README.md (nyu-mll) | {
"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/... | [
{
"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/5174?src=pr&el=h1) Report\n> Merging [#5174](https://codecov.io/gh/huggingface/transformers/pull/5174?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bc3a0c06075050d3de586c543e4ad6a7efc9260e&el=desc) will **decrease... | 1,592 | 1,593 | 1,592 | CONTRIBUTOR | null | Add README.md on organization nyu-mll. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5174/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/5174/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5174",
"html_url": "https://github.com/huggingface/transformers/pull/5174",
"diff_url": "https://github.com/huggingface/transformers/pull/5174.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5174.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5173/comments | https://api.github.com/repos/huggingface/transformers/issues/5173/events | https://github.com/huggingface/transformers/issues/5173 | 642,652,943 | MDU6SXNzdWU2NDI2NTI5NDM= | 5,173 | Trying to made a keras model with transformer layers defined in hf-transformers, keep running into `AttributeError: Tensor.op is meaningless when eager execution is enabled, when trying to make a keras model` | {
"login": "Santosh-Gupta",
"id": 5524261,
"node_id": "MDQ6VXNlcjU1MjQyNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5524261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Santosh-Gupta",
"html_url": "https://github.com/Santosh-Gupta",
"followers_url": "https://api.github.... | [
{
"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,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # ❓ Questions & Help
## Details
I am trying to build models using huggingface transformer layers. However, I keep running into `AttributeError: Tensor.op is meaningless when eager execution is enabled.`
I don't want to disable eager execution, as I heard it interfere's with some of keras' other functionality... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5173/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5172/comments | https://api.github.com/repos/huggingface/transformers/issues/5172/events | https://github.com/huggingface/transformers/issues/5172 | 642,643,307 | MDU6SXNzdWU2NDI2NDMzMDc= | 5,172 | Load a T5ForConditionalGeneration's encoder into a T5Model | {
"login": "Palipoor",
"id": 16380397,
"node_id": "MDQ6VXNlcjE2MzgwMzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/16380397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Palipoor",
"html_url": "https://github.com/Palipoor",
"followers_url": "https://api.github.com/users/Pal... | [] | 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 @Palipoor, This might do the trick,\r\n\r\n```python\r\nfirst_model = T5ForConditionalGeneration.from_pretrained('your_finetuned_model')\r\nsecond_model = T5Model.from_pretrained('t5-small') # assuming 'your_finetuned_model' is t5-small\r\n\r\n# get first model's encoder weights\r\nfirst_model_encoder_state_dic... | 1,592 | 1,619 | 1,592 | NONE | null | Hi,
I know that T5ForConditionalGeneration is a T5Model with decoding. I've got a T5ForConditionalGeneration and that I've fine-tuned on a seq2seq task and now I want to use its T5 encoder to initialize the parameters in a T5Model( to further train it on some other task.) I read the code and I didn't understand what s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5172/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5172/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5171/comments | https://api.github.com/repos/huggingface/transformers/issues/5171/events | https://github.com/huggingface/transformers/pull/5171 | 642,642,567 | MDExOlB1bGxSZXF1ZXN0NDM3NjAxOTk2 | 5,171 | Fixing docs for Encoder Decoder Config | {
"login": "mikaelsouza",
"id": 9092284,
"node_id": "MDQ6VXNlcjkwOTIyODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9092284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikaelsouza",
"html_url": "https://github.com/mikaelsouza",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5171?src=pr&el=h1) Report\n> Merging [#5171](https://codecov.io/gh/huggingface/transformers/pull/5171?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bc3a0c06075050d3de586c543e4ad6a7efc9260e&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This is a small contribution to the EncoderDecoderConfig documentation.
While trying to use this class, I noticed the documentation said that we could pass 2 "encoder" parameters to the class constructor.
I am almost 99.99% certain it meant we could pass an encoder and a decoder parameter to the class constructor. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5171/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5171",
"html_url": "https://github.com/huggingface/transformers/pull/5171",
"diff_url": "https://github.com/huggingface/transformers/pull/5171.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5171.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5170/comments | https://api.github.com/repos/huggingface/transformers/issues/5170/events | https://github.com/huggingface/transformers/issues/5170 | 642,619,809 | MDU6SXNzdWU2NDI2MTk4MDk= | 5,170 | Add support for `encoder_hidden_states` and `encoder_attention_mask` in modeling_longformer | {
"login": "HHousen",
"id": 11785397,
"node_id": "MDQ6VXNlcjExNzg1Mzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/11785397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HHousen",
"html_url": "https://github.com/HHousen",
"followers_url": "https://api.github.com/users/HHouse... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @HHousen,\r\n\r\nIn order for Longformer to work some changes need to be done to the `longformer_modeling.py` file (move the level of abstraction much lower) and also we need to think about how to deal with cross - attention layers for Longformer's chunked self attention. I will do some refactoring for Longfor... | 1,592 | 1,600 | 1,600 | CONTRIBUTOR | null | # 🚀 Feature request
In order to use the longformer with the `EncoderDecoderModel` structure, it needs to accept `head_mask`, `encoder_hidden_states`, and `encoder_attention_mask` in the `forward()` function. Currently, `LongformerSelfAttention` asserts that `encoder_hidden_states` and `encoder_attention_mask` are `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5170/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5169/comments | https://api.github.com/repos/huggingface/transformers/issues/5169/events | https://github.com/huggingface/transformers/issues/5169 | 642,613,226 | MDU6SXNzdWU2NDI2MTMyMjY= | 5,169 | [Tokenizer] batch_encode_plus method cannot encode List[Tuple[str]] with is_pretokenized=True | {
"login": "vjeronymo2",
"id": 37119493,
"node_id": "MDQ6VXNlcjM3MTE5NDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/37119493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vjeronymo2",
"html_url": "https://github.com/vjeronymo2",
"followers_url": "https://api.github.com/use... | [
{
"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 | [] | [
"Hi @vjeronymo2, `encode_plus` method expects list of `str` or `tokens` if you are using `is_pretokenized=True`.\r\n`tokens` here are not ints, they are wordpiece tokens, if you want to convert a string to tokens then you can use `.tokenize` method",
"> Hi @vjeronymo2, `encode_plus` method expects list of `str... | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using: BERT
Language I am using the model on: English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GLUE/SQUaD task: (give th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5169/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5168/comments | https://api.github.com/repos/huggingface/transformers/issues/5168/events | https://github.com/huggingface/transformers/issues/5168 | 642,597,963 | MDU6SXNzdWU2NDI1OTc5NjM= | 5,168 | Summarization Examples: Support label_smoothed_cross_entropy | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1841... | closed | false | null | [] | [
"Yes, it's annoying that torch doesn't have an implementation of smoothed cross entropy.\r\n\r\nAlthough note that using smoothed cross entropy will hurt the probability calibration of a seq2seq model (https://pubs.acs.org/doi/10.1021/acscentsci.9b00576)",
"@sshleifer This is good point. I would consider to work ... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | This seems to be used by nearly all papers, but the HF implementation in `examples/summarization/finetune.py` uses the standard cross entropy loss.
Ideally, we could expose a command line arg to allow this choice to be toggled, like:
```python
parser.add_argument('--loss', type=str, choices=['cross_entropy', 'l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5168/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5168/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5167/comments | https://api.github.com/repos/huggingface/transformers/issues/5167/events | https://github.com/huggingface/transformers/issues/5167 | 642,583,788 | MDU6SXNzdWU2NDI1ODM3ODg= | 5,167 | results for wikitext-2 clm using GPT-2 differ between paper and example code | {
"login": "rajarsheem",
"id": 6441313,
"node_id": "MDQ6VXNlcjY0NDEzMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6441313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajarsheem",
"html_url": "https://github.com/rajarsheem",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I think the results in this table of the GPT2 paper are zero-shot results (without fine-tuning). "
] | 1,592 | 1,593 | 1,593 | NONE | null | Hi,
The example code [here](https://github.com/huggingface/transformers/tree/master/examples/language-modeling) to train causal LM on wikitext-2 uses a gpt2 base version (117M parameters). This code claims and also yields a perplexity of ~20 on the test data.
As you can see, the example script uses ```gpt``` as t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5167/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5166/comments | https://api.github.com/repos/huggingface/transformers/issues/5166/events | https://github.com/huggingface/transformers/issues/5166 | 642,568,367 | MDU6SXNzdWU2NDI1NjgzNjc= | 5,166 | Cannot import AutoModelForSeq2SeqLM | {
"login": "shubhamagarwal92",
"id": 7984532,
"node_id": "MDQ6VXNlcjc5ODQ1MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7984532?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shubhamagarwal92",
"html_url": "https://github.com/shubhamagarwal92",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"I think this is because you don't have installed the library from source (see the [note here](https://github.com/huggingface/transformers/blob/master/examples/README.md#important-note)).\r\n\r\nTo install from source, follow the steps [here](https://huggingface.co/transformers/installation.html#installing-from-sou... | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | # 🐛 Bug
Has the `AutoModelForSeq2SeqLM` class changed?
I am trying to run transformer examples, basically the [token-classification](https://github.com/huggingface/transformers/blob/master/examples/token-classification/run_pl.sh) with pytorch-lightning, which calls [AutoModelForSeq2SeqLM](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5166/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5166/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5165 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5165/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5165/comments | https://api.github.com/repos/huggingface/transformers/issues/5165/events | https://github.com/huggingface/transformers/pull/5165 | 642,555,160 | MDExOlB1bGxSZXF1ZXN0NDM3NTM5MjE3 | 5,165 | Create README.md | {
"login": "aodiniz",
"id": 6626805,
"node_id": "MDQ6VXNlcjY2MjY4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6626805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aodiniz",
"html_url": "https://github.com/aodiniz",
"followers_url": "https://api.github.com/users/aodiniz/... | [
{
"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,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Creating README.md file for model on Community contribution. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5165/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5165",
"html_url": "https://github.com/huggingface/transformers/pull/5165",
"diff_url": "https://github.com/huggingface/transformers/pull/5165.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5165.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5164 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5164/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5164/comments | https://api.github.com/repos/huggingface/transformers/issues/5164/events | https://github.com/huggingface/transformers/issues/5164 | 642,555,147 | MDU6SXNzdWU2NDI1NTUxNDc= | 5,164 | output generate scores per hypothesis/token | {
"login": "guyeyal",
"id": 3502557,
"node_id": "MDQ6VXNlcjM1MDI1NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3502557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guyeyal",
"html_url": "https://github.com/guyeyal",
"followers_url": "https://api.github.com/users/guyeyal/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"I guess similar to `output_attentions` and `output_hidden_states`, we could output the `scores / probabilities` for generation, but I'm really not sure if it is required that often. What do you think @sshleifer @yjernite ? ",
"I would suggest trying it on a branch and seeing if it produces better generations. I ... | 1,592 | 1,661 | 1,619 | NONE | null | # 🚀 Feature request
Thanks for doing such an awesome work.
i'm interested in the hypothesis score when running generate.
This could be done per hypothesis, or preferably per token in the hypothesis.
## Motivation
The motivation is to gain confidence for my generated text,
I suggest:
1. adding flag in m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5164/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5164/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5163 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5163/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5163/comments | https://api.github.com/repos/huggingface/transformers/issues/5163/events | https://github.com/huggingface/transformers/issues/5163 | 642,499,993 | MDU6SXNzdWU2NDI0OTk5OTM= | 5,163 | Why doesn't stride in squad_convert_example_to_features‘s encode_plus set to doc_stride? | {
"login": "ZihaoZheng98",
"id": 22414831,
"node_id": "MDQ6VXNlcjIyNDE0ODMx",
"avatar_url": "https://avatars.githubusercontent.com/u/22414831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZihaoZheng98",
"html_url": "https://github.com/ZihaoZheng98",
"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": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"Can you give more details as asked in the issue template?",
"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,592 | 1,598 | 1,598 | 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/5163/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5163/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5162 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5162/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5162/comments | https://api.github.com/repos/huggingface/transformers/issues/5162/events | https://github.com/huggingface/transformers/issues/5162 | 642,485,462 | MDU6SXNzdWU2NDI0ODU0NjI= | 5,162 | How to save the created embedding of the text corpus. | {
"login": "PaulJohny",
"id": 16956495,
"node_id": "MDQ6VXNlcjE2OTU2NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/16956495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PaulJohny",
"html_url": "https://github.com/PaulJohny",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,592 | 1,598 | 1,598 | NONE | null | After converting the text corpus into word embedding how can we save the embeddings into a file. It is not practical and feasible to create word embedding each and every time. Is there ant work around to save the embedding. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5162/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5161/comments | https://api.github.com/repos/huggingface/transformers/issues/5161/events | https://github.com/huggingface/transformers/issues/5161 | 642,452,126 | MDU6SXNzdWU2NDI0NTIxMjY= | 5,161 | Keras model created from individual Bert Layers has weights not shown in trainable_weights nor non_trainable_weights. model.summary() / utils.plot_model shows those weights as part of graph though | {
"login": "Santosh-Gupta",
"id": 5524261,
"node_id": "MDQ6VXNlcjU1MjQyNjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5524261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Santosh-Gupta",
"html_url": "https://github.com/Santosh-Gupta",
"followers_url": "https://api.github.... | [
{
"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,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
## Information
I created a model which takes 2 layers from from a bert model, and creates a mini-bert model.
However, not all the weights/layers from the component layers are in this model. But These weights are shown was connected in `model.summary()` and in
```
tf.keras.utils.plot_model(
m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5161/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5160/comments | https://api.github.com/repos/huggingface/transformers/issues/5160/events | https://github.com/huggingface/transformers/pull/5160 | 642,423,432 | MDExOlB1bGxSZXF1ZXN0NDM3NDQ0ODUy | 5,160 | Create README.md | {
"login": "aodiniz",
"id": 6626805,
"node_id": "MDQ6VXNlcjY2MjY4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6626805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aodiniz",
"html_url": "https://github.com/aodiniz",
"followers_url": "https://api.github.com/users/aodiniz/... | [
{
"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/5160?src=pr&el=h1) Report\n> Merging [#5160](https://codecov.io/gh/huggingface/transformers/pull/5160?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/68e19f1c228c92d5d800533f558faff24b57127a&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Creating README.md file for model on Community contribution. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5160/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5160",
"html_url": "https://github.com/huggingface/transformers/pull/5160",
"diff_url": "https://github.com/huggingface/transformers/pull/5160.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5160.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5159/comments | https://api.github.com/repos/huggingface/transformers/issues/5159/events | https://github.com/huggingface/transformers/issues/5159 | 642,403,874 | MDU6SXNzdWU2NDI0MDM4NzQ= | 5,159 | Transformer pipeline loading model and tokenizer on every prediction request | {
"login": "Sharathmk99",
"id": 3970340,
"node_id": "MDQ6VXNlcjM5NzAzNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3970340?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sharathmk99",
"html_url": "https://github.com/Sharathmk99",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @Sharathmk99, can post the snippet of your server code where you are initialising `QNAModel()` ",
"I am also facing the same issue? please help",
"Any fix for this?",
"This windows issue has not fixed even in the latest versions of transformers. @patil-suraj Please help!\r\n```\r\nfrom transformers impo... | 1,592 | 1,605 | 1,605 | NONE | null | # 🐛 Bug
## Information
I'm trying to build API which accept question and context, response should be the answer. I'm trying to use Transformer Question Answering pipeline task with BERT model.
I'm initializing the model and pipeline object on __init__ method and trying to use pipeline object in another method, s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5159/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/5159/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5158/comments | https://api.github.com/repos/huggingface/transformers/issues/5158/events | https://github.com/huggingface/transformers/pull/5158 | 642,365,732 | MDExOlB1bGxSZXF1ZXN0NDM3NDA1Mjc3 | 5,158 | Fix PABEE's result table | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5158?src=pr&el=h1) Report\n> Merging [#5158](https://codecov.io/gh/huggingface/transformers/pull/5158?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/aa6a29bc25b663e1311c5c4fb96b004cf8a6d2b6&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5158/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5158",
"html_url": "https://github.com/huggingface/transformers/pull/5158",
"diff_url": "https://github.com/huggingface/transformers/pull/5158.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5158.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5157/comments | https://api.github.com/repos/huggingface/transformers/issues/5157/events | https://github.com/huggingface/transformers/pull/5157 | 642,357,219 | MDExOlB1bGxSZXF1ZXN0NDM3Mzk5MzI4 | 5,157 | [examples] fixes arguments for summarization finetune scripts | {
"login": "ieBoytsov",
"id": 61888740,
"node_id": "MDQ6VXNlcjYxODg4NzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/61888740?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ieBoytsov",
"html_url": "https://github.com/ieBoytsov",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5157?src=pr&el=h1) Report\n> Merging [#5157](https://codecov.io/gh/huggingface/transformers/pull/5157?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/68e19f1c228c92d5d800533f558faff24b57127a&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR fixes arguments in bash scripts for finetuning bart/bart_tiny/t5 models in summarization examples.
After changes that were merged in #4951 i noticed some small problems. That includes:
* missing default arguments for `finetune.py` (--data_dir, output_dir)
* invalid argument name for number of gpu to use (`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5157/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5157",
"html_url": "https://github.com/huggingface/transformers/pull/5157",
"diff_url": "https://github.com/huggingface/transformers/pull/5157.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5157.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5156/comments | https://api.github.com/repos/huggingface/transformers/issues/5156/events | https://github.com/huggingface/transformers/issues/5156 | 642,338,118 | MDU6SXNzdWU2NDIzMzgxMTg= | 5,156 | BertForMaskedLM "labels" is an unexpected keyword | {
"login": "guoxuxu",
"id": 29363464,
"node_id": "MDQ6VXNlcjI5MzYzNDY0",
"avatar_url": "https://avatars.githubusercontent.com/u/29363464?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guoxuxu",
"html_url": "https://github.com/guoxuxu",
"followers_url": "https://api.github.com/users/guoxux... | [] | closed | false | null | [] | [
"Hi, @guoxuxu , `lm_labels` is changed to `labels` in a recent commit on master. If you are using master then use `labels` otherwise use `lm_labels` \r\n\r\n@sgugger This change is causing a lot of confusion. Would it be a good idea to keep master and release docs separate ? ",
"This has just been done. The [doc... | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
The official BertForMaskedLM example: https://huggingface.co/transformers/model_doc/bert.html#bertformaskedlm
has a bug. When running: outputs = model(input_ids, labels=input_ids), it alerts: TypeError: forward() got an unexpected keyword argument 'labels'
Model I am using (Bert, XLNe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5156/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5155/comments | https://api.github.com/repos/huggingface/transformers/issues/5155/events | https://github.com/huggingface/transformers/issues/5155 | 642,338,021 | MDU6SXNzdWU2NDIzMzgwMjE= | 5,155 | new tokenizer backend breaks old code | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"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 | [] | [
"Can you share the exact command line you ran and the last 20-30 lines of the error message?",
"The command given in the readme \n\n\nTruncation was not explicitely activated but `max_length` is provided a specific value, please use `truncation=True` to explicitely truncate examples to max length. Defaulting to '... | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): any model
Language I am using the model on (English, Chinese ...): english
The problem arises when using:
* [x] the official example scripts: (give details below) QA script from official repo
The tasks I am working on is:
* [x] an official GLU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5155/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/5155/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5154/comments | https://api.github.com/repos/huggingface/transformers/issues/5154/events | https://github.com/huggingface/transformers/issues/5154 | 642,321,170 | MDU6SXNzdWU2NDIzMjExNzA= | 5,154 | Lite transformer | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"Very cool!",
"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,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
Transformer has become ubiquitous in natural language processing (e.g., machine translation, question answering); however, it requires enormous amount of computations to achieve high performance, which makes it not suitable for mobile applications that are tightly constr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5154/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5154/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5153/comments | https://api.github.com/repos/huggingface/transformers/issues/5153/events | https://github.com/huggingface/transformers/pull/5153 | 642,312,985 | MDExOlB1bGxSZXF1ZXN0NDM3MzY4MjE0 | 5,153 | 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 | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"File extension is missing, can you add it?",
"(should be `model_cards/ahotrod/electra_large_discriminator_squad2_512/README.md`)\r\n\r\nThanks!"
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | electra_large_discriminator_squad2_512 LM for Question Answering | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5153/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5153",
"html_url": "https://github.com/huggingface/transformers/pull/5153",
"diff_url": "https://github.com/huggingface/transformers/pull/5153.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5153.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5152/comments | https://api.github.com/repos/huggingface/transformers/issues/5152/events | https://github.com/huggingface/transformers/pull/5152 | 642,299,021 | MDExOlB1bGxSZXF1ZXN0NDM3MzU4NDkz | 5,152 | Create README.md | {
"login": "aodiniz",
"id": 6626805,
"node_id": "MDQ6VXNlcjY2MjY4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6626805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aodiniz",
"html_url": "https://github.com/aodiniz",
"followers_url": "https://api.github.com/users/aodiniz/... | [
{
"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/5152?src=pr&el=h1) Report\n> Merging [#5152](https://codecov.io/gh/huggingface/transformers/pull/5152?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5ed94b231269972c59d53bf4134a842c2273e814&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Creating README.md file for model on Community contribution. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5152/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5152",
"html_url": "https://github.com/huggingface/transformers/pull/5152",
"diff_url": "https://github.com/huggingface/transformers/pull/5152.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5152.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5151/comments | https://api.github.com/repos/huggingface/transformers/issues/5151/events | https://github.com/huggingface/transformers/issues/5151 | 642,298,605 | MDU6SXNzdWU2NDIyOTg2MDU= | 5,151 | TFBertForSequenceClassification: TypeError: call() got an unexpected keyword argument 'labels' | {
"login": "afogarty85",
"id": 49048309,
"node_id": "MDQ6VXNlcjQ5MDQ4MzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/49048309?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/afogarty85",
"html_url": "https://github.com/afogarty85",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You should try this\r\n`pip install git+https://github.com/huggingface/transformers`\r\nnot\r\n`pip install transformers`\r\nbecause the latest version isn't available in any release",
"It is available in the version v3.0.0 which was released this morning :)",
"I'm having the same issue with v3.0.2, following ... | 1,592 | 1,595 | 1,593 | NONE | null | # 🐛 Bug
## Information
Model I am using TFBertForSequenceClassification
Language I am using the model on: English
The problem arises when using:
* [X] the official example scripts: (give details below)
The tasks I am working on is:
* [X] my own task or dataset: (give details below)
To classify text... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5151/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5150/comments | https://api.github.com/repos/huggingface/transformers/issues/5150/events | https://github.com/huggingface/transformers/pull/5150 | 642,297,347 | MDExOlB1bGxSZXF1ZXN0NDM3MzU3MzAy | 5,150 | [MobileBert] fix dropout | {
"login": "ZhuBaohe",
"id": 35796307,
"node_id": "MDQ6VXNlcjM1Nzk2MzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/35796307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhuBaohe",
"html_url": "https://github.com/ZhuBaohe",
"followers_url": "https://api.github.com/users/Zhu... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5150?src=pr&el=h1) Report\n> Merging [#5150](https://codecov.io/gh/huggingface/transformers/pull/5150?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d97b4176e5e9acdab930d73a7cb308b12bd4ad9e&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR fixes dropout in class TFMobileBertOutput. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5150/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5150",
"html_url": "https://github.com/huggingface/transformers/pull/5150",
"diff_url": "https://github.com/huggingface/transformers/pull/5150.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5150.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5149/comments | https://api.github.com/repos/huggingface/transformers/issues/5149/events | https://github.com/huggingface/transformers/pull/5149 | 642,297,169 | MDExOlB1bGxSZXF1ZXN0NDM3MzU3MTY5 | 5,149 | Create README.md | {
"login": "aodiniz",
"id": 6626805,
"node_id": "MDQ6VXNlcjY2MjY4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6626805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aodiniz",
"html_url": "https://github.com/aodiniz",
"followers_url": "https://api.github.com/users/aodiniz/... | [
{
"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,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Creating README.md file for model on Community contribution. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5149/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5149/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5149",
"html_url": "https://github.com/huggingface/transformers/pull/5149",
"diff_url": "https://github.com/huggingface/transformers/pull/5149.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5149.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5148/comments | https://api.github.com/repos/huggingface/transformers/issues/5148/events | https://github.com/huggingface/transformers/pull/5148 | 642,228,311 | MDExOlB1bGxSZXF1ZXN0NDM3MzA0MDEz | 5,148 | Update glossary | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5148?src=pr&el=h1) Report\n> Merging [#5148](https://codecov.io/gh/huggingface/transformers/pull/5148?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f45e873910e60d89511ae0193711e71c5c710468&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | Update the glossary to the new tokenizer API. I also added a first section about general terms that might confuse a beginner (which anyone is welcome to expand when they see a term that's not necessarily obvious and that we use a lot) and proper references to the subsections about the model inputs to make sure none of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5148/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5148/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5148",
"html_url": "https://github.com/huggingface/transformers/pull/5148",
"diff_url": "https://github.com/huggingface/transformers/pull/5148.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5148.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5147/comments | https://api.github.com/repos/huggingface/transformers/issues/5147/events | https://github.com/huggingface/transformers/pull/5147 | 642,201,637 | MDExOlB1bGxSZXF1ZXN0NDM3MjgyMTQx | 5,147 | Typo in Reformer model card | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"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/5147?src=pr&el=h1) Report\n> Merging [#5147](https://codecov.io/gh/huggingface/transformers/pull/5147?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f45e873910e60d89511ae0193711e71c5c710468&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5147/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5147",
"html_url": "https://github.com/huggingface/transformers/pull/5147",
"diff_url": "https://github.com/huggingface/transformers/pull/5147.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5147.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5146/comments | https://api.github.com/repos/huggingface/transformers/issues/5146/events | https://github.com/huggingface/transformers/pull/5146 | 642,184,593 | MDExOlB1bGxSZXF1ZXN0NDM3MjY4Mzg1 | 5,146 | Upgrade examples to pl=0.8.1 | {
"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/5146?src=pr&el=h1) Report\n> Merging [#5146](https://codecov.io/gh/huggingface/transformers/pull/5146?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1262495a912b9cd97e2ae174fd627a9d8a502341&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This upgrades to the latest PL and follows the pl docs to avoid Deprecation warnings.
### Known Issue
`trainer.test` fails in multigpu, this is not a new issue, but here we add a test that will pass when the bug is fixed upstream.
Failure discussed [here](https://github.com/PyTorchLightning/pytorch-lightning... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5146/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5146",
"html_url": "https://github.com/huggingface/transformers/pull/5146",
"diff_url": "https://github.com/huggingface/transformers/pull/5146.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5146.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5145/comments | https://api.github.com/repos/huggingface/transformers/issues/5145/events | https://github.com/huggingface/transformers/pull/5145 | 642,179,435 | MDExOlB1bGxSZXF1ZXN0NDM3MjY0MjAw | 5,145 | Quick tour | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5145?src=pr&el=h1) Report\n> Merging [#5145](https://codecov.io/gh/huggingface/transformers/pull/5145?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f45e873910e60d89511ae0193711e71c5c710468&el=desc) will **not chan... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This PR replaces the old quickstart guide by splitting it in two:
- a quick tour that is before the installation page,
- the philosophy page, after the installation.
It also renames Usage to Task summary since it's really what it is, and renames the files usage to task_summary, summary to model_summary.
The qui... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5145/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5145/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5145",
"html_url": "https://github.com/huggingface/transformers/pull/5145",
"diff_url": "https://github.com/huggingface/transformers/pull/5145.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5145.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5144/comments | https://api.github.com/repos/huggingface/transformers/issues/5144/events | https://github.com/huggingface/transformers/issues/5144 | 642,166,022 | MDU6SXNzdWU2NDIxNjYwMjI= | 5,144 | Scoring each word from the sentence using Pretrained LM | {
"login": "thak123",
"id": 3891859,
"node_id": "MDQ6VXNlcjM4OTE4NTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3891859?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thak123",
"html_url": "https://github.com/thak123",
"followers_url": "https://api.github.com/users/thak123/... | [] | closed | false | null | [] | [
"Something like [this](https://github.com/huggingface/transformers/issues/5000#issuecomment-647560847)?",
"You mean to say that use soft-max on the the hidden states of every word to get the score ?\r\n\r\nI think that should work.",
"Great!",
"Since the code referenced tries to get the next prediction and I ... | 1,592 | 1,612 | 1,593 | NONE | null | # ❓ Questions & Help
## Details
I am interested in scoring each word from the sentence using the LM. Detect how likely possible is the word in the given context by scoring it using the LM.
Is there a way out for this ?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5144/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5143/comments | https://api.github.com/repos/huggingface/transformers/issues/5143/events | https://github.com/huggingface/transformers/issues/5143 | 642,157,446 | MDU6SXNzdWU2NDIxNTc0NDY= | 5,143 | Passing in own embeddings for image input | {
"login": "andrewlee98",
"id": 14003549,
"node_id": "MDQ6VXNlcjE0MDAzNTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/14003549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewlee98",
"html_url": "https://github.com/andrewlee98",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Check out the `inputs_embeds` parameter."
] | 1,592 | 1,592 | 1,592 | 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. -->
I am trying to use your pretrained BERT/RoBERTa models to write multimodal classifiers such as the bitransformer (see diagram at top of page 2):
https://arx... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5142/comments | https://api.github.com/repos/huggingface/transformers/issues/5142/events | https://github.com/huggingface/transformers/issues/5142 | 642,116,017 | MDU6SXNzdWU2NDIxMTYwMTc= | 5,142 | T5 special tokens not mapped to unique indices in vocabulary | {
"login": "sarahwie",
"id": 8027676,
"node_id": "MDQ6VXNlcjgwMjc2NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8027676?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarahwie",
"html_url": "https://github.com/sarahwie",
"followers_url": "https://api.github.com/users/sarah... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @sarahwie, \r\n\r\nThanks for your issue. I can reproduce the problem and see the reason for it. Currently, we rely on Google's sentencepiece tokenizer: https://github.com/google/sentencepiece for encoding and decoding in T5. What happens is that the `tokenizer.decode(tokens)` depends on the function \r\n\r\n`... | 1,592 | 1,660 | 1,605 | NONE | null | The docs recommend adding the special eos_token `<\s>` to the end of each string when encoding/decoding with `T5Tokenizer`. However, this (and the other special tokens e.g. `unk_token`, `pad_token` aren't assigned unique ids in the lookup vocabulary (they are mapped to `{0,1,2}`, which are indices for other common word... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5142/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5142/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5141/comments | https://api.github.com/repos/huggingface/transformers/issues/5141/events | https://github.com/huggingface/transformers/pull/5141 | 642,109,661 | MDExOlB1bGxSZXF1ZXN0NDM3MjA4MTYw | 5,141 | [bart-mnli] Fix class flipping bug | {
"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/5141?src=pr&el=h1) Report\n> Merging [#5141](https://codecov.io/gh/huggingface/transformers/pull/5141?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e33929ef1e98a71ba7fc411f39cbb5451396ef02&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Previously, `eval_mnli/acc` was 0.35, now .9. Same issue as other models ported from fairseq.
New results of Victor's command.
```bash
wandb: eval_mnli-mm/acc 0.9001220504475184
wandb: _runtime 274.7172155380249
wandb: eval_loss 0.3496225342093929
wandb: eval_mnli/acc 0.9011716760061131
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5141/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/5141/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5141",
"html_url": "https://github.com/huggingface/transformers/pull/5141",
"diff_url": "https://github.com/huggingface/transformers/pull/5141.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5141.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5140/comments | https://api.github.com/repos/huggingface/transformers/issues/5140/events | https://github.com/huggingface/transformers/pull/5140 | 642,096,797 | MDExOlB1bGxSZXF1ZXN0NDM3MTk3OTMy | 5,140 | [pl_examples] deprecate BaseTransformer.is_logger | {
"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/5140?src=pr&el=h1) Report\n> Merging [#5140](https://codecov.io/gh/huggingface/transformers/pull/5140?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/84be482f6698fac822a5113735f2242c6d3abc76&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | - proc_rank is deprecated in new PL
- updates pl to 0.8.1
@williamFalcon suggestions more than welcome!
- The test that is failing is `test_bdc_multigpu` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5140/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5140",
"html_url": "https://github.com/huggingface/transformers/pull/5140",
"diff_url": "https://github.com/huggingface/transformers/pull/5140.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5140.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5139/comments | https://api.github.com/repos/huggingface/transformers/issues/5139/events | https://github.com/huggingface/transformers/issues/5139 | 642,012,868 | MDU6SXNzdWU2NDIwMTI4Njg= | 5,139 | `facebook/bart-large-mnli` - random accuracy on MNLI | {
"login": "VictorSanh",
"id": 16107619,
"node_id": "MDQ6VXNlcjE2MTA3NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VictorSanh",
"html_url": "https://github.com/VictorSanh",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [] | 1,592 | 1,592 | 1,592 | MEMBER | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BART
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [X] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
* ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5139/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5138/comments | https://api.github.com/repos/huggingface/transformers/issues/5138/events | https://github.com/huggingface/transformers/pull/5138 | 641,962,013 | MDExOlB1bGxSZXF1ZXN0NDM3MDk2NzQ2 | 5,138 | Fix in Reformer Config documentation | {
"login": "erickrf",
"id": 294483,
"node_id": "MDQ6VXNlcjI5NDQ4Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/294483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erickrf",
"html_url": "https://github.com/erickrf",
"followers_url": "https://api.github.com/users/erickrf/fo... | [] | closed | false | null | [] | [
"Greath thanks for the fix :-) "
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Fixed a variable name in the Reformer Config docstring (`lsh_chunk_length` -> `lsh_attn_chunk_length`) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5138/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5138",
"html_url": "https://github.com/huggingface/transformers/pull/5138",
"diff_url": "https://github.com/huggingface/transformers/pull/5138.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5138.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5137/comments | https://api.github.com/repos/huggingface/transformers/issues/5137/events | https://github.com/huggingface/transformers/issues/5137 | 641,943,611 | MDU6SXNzdWU2NDE5NDM2MTE= | 5,137 | xlm-mlm-17-1280: after run model to get embeddings shape 20000 | {
"login": "vvssttkk",
"id": 8581044,
"node_id": "MDQ6VXNlcjg1ODEwNDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8581044?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vvssttkk",
"html_url": "https://github.com/vvssttkk",
"followers_url": "https://api.github.com/users/vvsst... | [] | closed | false | null | [] | [
"hmm, i found `(proj): Linear(in_features=1280, out_features=200000, bias=True))`\r\nwhy `out_features = 200000`?",
"That's the vocab size, which is of size 200 000. You can see it in the [config.json](https://s3.amazonaws.com/models.huggingface.co/bert/xlm-mlm-17-1280-config.json).",
"it's true, my bad\r\nand ... | 1,592 | 1,594 | 1,593 | NONE | null | i want to get embeddings for :ru: text by `xlm-mlm-17-1280`
at the end get embeddings with shape 2k
example code (using the last version transformers & torch on ubuntu):
```
from transformers import AutoTokenizer, AutoModelWithLMHead
xlm_mlm = 'xlm-mlm-17-1280'
tokenizer_xlm_mlm = AutoTokenizer.from_pretraine... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5136/comments | https://api.github.com/repos/huggingface/transformers/issues/5136/events | https://github.com/huggingface/transformers/issues/5136 | 641,865,374 | MDU6SXNzdWU2NDE4NjUzNzQ= | 5,136 | Transformer-XL tokenizer cannot properly tokenize brackets | {
"login": "RafaelWO",
"id": 38643099,
"node_id": "MDQ6VXNlcjM4NjQzMDk5",
"avatar_url": "https://avatars.githubusercontent.com/u/38643099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RafaelWO",
"html_url": "https://github.com/RafaelWO",
"followers_url": "https://api.github.com/users/Raf... | [
{
"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 | [] | [
"**UPDATE**\r\nI've done some further research and discovered that the tokenization of strings containing either\r\n\r\n1. any opening bracket, e.g. `( [ {`\r\n2. words with dashes, e.g. `10-year-old`\r\n3. other symbols with no space afterwards, e.g. (`km/h` or `$3`)\r\n4. numbers, either floating point, e.g. `3.2... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
## Information
The `TransfoXLTokenizer` is not able to tokenize words with surrounding brackets correctly. I compared it with the `BertTokenizer` from `bert-base-uncased` which gives the expected result. Example text is: `"Hello (bracket)"`
Model I am using: **Transformer-XL**
Language I am using the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5136/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5135/comments | https://api.github.com/repos/huggingface/transformers/issues/5135/events | https://github.com/huggingface/transformers/issues/5135 | 641,800,758 | MDU6SXNzdWU2NDE4MDA3NTg= | 5,135 | src/transformers/trainer.py relies on path to infer global training steps, skips training for glue example | {
"login": "alexeifigueroa",
"id": 7851054,
"node_id": "MDQ6VXNlcjc4NTEwNTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7851054?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexeifigueroa",
"html_url": "https://github.com/alexeifigueroa",
"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
}
] | closed | false | null | [] | [
"I have the same problem. The script shouldn't run differently depending on what naming scheme you decide to use for a model.",
"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,592 | 1,604 | 1,604 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): bert-base-uncased that has been retrained stored somewhere else, with a timestamp in the path
Language I am using the model on (English, Chinese ...):EN
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5135/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5134/comments | https://api.github.com/repos/huggingface/transformers/issues/5134/events | https://github.com/huggingface/transformers/issues/5134 | 641,785,023 | MDU6SXNzdWU2NDE3ODUwMjM= | 5,134 | What does adjust_logits_during_generation (formerly prepare_logits_for_generation) do? | {
"login": "caozhen-alex",
"id": 26409810,
"node_id": "MDQ6VXNlcjI2NDA5ODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/26409810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/caozhen-alex",
"html_url": "https://github.com/caozhen-alex",
"followers_url": "https://api.github.c... | [
{
"id": 1260952223,
"node_id": "MDU6TGFiZWwxMjYwOTUyMjIz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Discussion",
"name": "Discussion",
"color": "22870e",
"default": false,
"description": "Discussion on a topic (keep it focused or open a new issue though)"
}
... | closed | false | {
"login": "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... | [
"Pro Sam @sshleifer, Can you help here. Many thx.",
"I think it helps to force the model generate a token such as `bos_token` or `eos_token` by setting the probability of generation of all other tokens to 0 ",
"It is only used by `MarianMTModel` and `BartForConditionalGeneration`.\r\nFor Bart, what @mariamabarh... | 1,592 | 1,639 | 1,595 | NONE | null | https://github.com/huggingface/transformers/blob/49c5202522bdaf66e45df505b3a3c566e56134c3/src/transformers/modeling_utils.py#L794
Hi. Anyone can share why there is this method here? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5134/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5133/comments | https://api.github.com/repos/huggingface/transformers/issues/5133/events | https://github.com/huggingface/transformers/issues/5133 | 641,713,475 | MDU6SXNzdWU2NDE3MTM0NzU= | 5,133 | How to find and use fine-tuned model for GLUE-CoLA? | {
"login": "517030910405",
"id": 42196261,
"node_id": "MDQ6VXNlcjQyMTk2MjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/42196261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/517030910405",
"html_url": "https://github.com/517030910405",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @517030910405 , you can search for the models on huggingface model hub here https://huggingface.co/models,\r\nyou can filter the models by task, CoLa is sequence classification task so you'll be able to find the model there.\r\nHere's one I found which is trained on CoLA https://huggingface.co/textattack/bert-b... | 1,592 | 1,592 | 1,592 | 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/5133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5133/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5132/comments | https://api.github.com/repos/huggingface/transformers/issues/5132/events | https://github.com/huggingface/transformers/pull/5132 | 641,688,140 | MDExOlB1bGxSZXF1ZXN0NDM2ODc1ODU4 | 5,132 | fix bart doc | {
"login": "fuzihaofzh",
"id": 1419566,
"node_id": "MDQ6VXNlcjE0MTk1NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1419566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fuzihaofzh",
"html_url": "https://github.com/fuzihaofzh",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5132?src=pr&el=h1) Report\n> Merging [#5132](https://codecov.io/gh/huggingface/transformers/pull/5132?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/84be482f6698fac822a5113735f2242c6d3abc76&el=desc) will **not chan... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | fix bart doc
change the model name in the example from "bart-large-cnn" to "facebook/bart-large-cnn" | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5132/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5132",
"html_url": "https://github.com/huggingface/transformers/pull/5132",
"diff_url": "https://github.com/huggingface/transformers/pull/5132.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5132.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5131/comments | https://api.github.com/repos/huggingface/transformers/issues/5131/events | https://github.com/huggingface/transformers/pull/5131 | 641,686,075 | MDExOlB1bGxSZXF1ZXN0NDM2ODc0Mjg3 | 5,131 | Update BERT-of-Theseus model card to avoid confusion | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5131?src=pr&el=h1) Report\n> Merging [#5131](https://codecov.io/gh/huggingface/transformers/pull/5131?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/84be482f6698fac822a5113735f2242c6d3abc76&el=desc) will **not chan... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | @VictorSanh said this checkpoint cannot be evaluated directly on MNLI. Indeed this model is for intermediate task transfer (in BERT-of-Theseus [arxiv version](https://arxiv.org/abs/2002.02925), it's called a "general-purpose" model) so it doesn't (and shouldn't) contain a classification head. This note helps prevent co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5131",
"html_url": "https://github.com/huggingface/transformers/pull/5131",
"diff_url": "https://github.com/huggingface/transformers/pull/5131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5131.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5130/comments | https://api.github.com/repos/huggingface/transformers/issues/5130/events | https://github.com/huggingface/transformers/pull/5130 | 641,666,969 | MDExOlB1bGxSZXF1ZXN0NDM2ODU4OTEz | 5,130 | added subtitle for recent contributors in readme | {
"login": "clmnt",
"id": 821155,
"node_id": "MDQ6VXNlcjgyMTE1NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/821155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clmnt",
"html_url": "https://github.com/clmnt",
"followers_url": "https://api.github.com/users/clmnt/followers"... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5130?src=pr&el=h1) Report\n> Merging [#5130](https://codecov.io/gh/huggingface/transformers/pull/5130?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/84be482f6698fac822a5113735f2242c6d3abc76&el=desc) will **not chan... | 1,592 | 1,593 | 1,593 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5130/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5130",
"html_url": "https://github.com/huggingface/transformers/pull/5130",
"diff_url": "https://github.com/huggingface/transformers/pull/5130.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5130.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5129/comments | https://api.github.com/repos/huggingface/transformers/issues/5129/events | https://github.com/huggingface/transformers/pull/5129 | 641,626,873 | MDExOlB1bGxSZXF1ZXN0NDM2ODI3MDIw | 5,129 | Add mbart-large-cc25, support translation finetuning | {
"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": 1845609017,
"node_id": "MDU6TGFiZWwxODQ1NjA5MDE3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq",
"name": "seq2seq",
"color": "fef2c0",
"default": false,
"description": ""
},
{
"id": 2009457320,
"node_id": "MDU6TGFiZWwyMDA5NDU3MzIw",
... | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5129?src=pr&el=h1) Report\n> Merging [#5129](https://codecov.io/gh/huggingface/transformers/pull/5129?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d2a93991158f15993eba9ab421d82766b892f948&el=desc) will **increase... | 1,592 | 1,594 | 1,594 | CONTRIBUTOR | null | TODO:
- [x] fix config (max_length=100)
- [x] split test_modeling_mbart.py to new file
- [x] decoder_input_ids should start with decoder_start_token_id
- [x] AutoTokenizer
- [x] test finetuning. Requires adding `--src_lang` and `--tgt_lang` clargs.
- [x] Documentation
- [ ] Model Card
- [x] fix mbart tokeniz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5129/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5129",
"html_url": "https://github.com/huggingface/transformers/pull/5129",
"diff_url": "https://github.com/huggingface/transformers/pull/5129.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5129.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5128/comments | https://api.github.com/repos/huggingface/transformers/issues/5128/events | https://github.com/huggingface/transformers/pull/5128 | 641,576,176 | MDExOlB1bGxSZXF1ZXN0NDM2Nzg1MTk5 | 5,128 | Pin `sphinx-rtd-theme` | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5128",
"html_url": "https://github.com/huggingface/transformers/pull/5128",
"diff_url": "https://github.com/huggingface/transformers/pull/5128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5128.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5127/comments | https://api.github.com/repos/huggingface/transformers/issues/5127/events | https://github.com/huggingface/transformers/issues/5127 | 641,548,394 | MDU6SXNzdWU2NDE1NDgzOTQ= | 5,127 | Cached feature files - Naming introduces confusion/model mixing | {
"login": "VictorSanh",
"id": 16107619,
"node_id": "MDQ6VXNlcjE2MTA3NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/16107619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VictorSanh",
"html_url": "https://github.com/VictorSanh",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Good point. We can do a simple hack for the time being but the cleanest way out will be to use 🤗nlp to process the data (which I'm adding at the moment but probably won't be fully operational in the examples before early next week).\r\n\r\n🤗nlp has a lot more reliable and general hash-naming caching scheme for a... | 1,592 | 1,598 | 1,598 | MEMBER | null | # 🐛 Bug
The problem arises when using:
* [X] the official example scripts: glue.py
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
* [X] an official GLUE/SQUaD task: any example of GLUE
* [ ] my own task or dataset: (give details below)
In `run_glue.py` (and possibly in o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5127/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5126/comments | https://api.github.com/repos/huggingface/transformers/issues/5126/events | https://github.com/huggingface/transformers/pull/5126 | 641,543,902 | MDExOlB1bGxSZXF1ZXN0NDM2NzU4NDYy | 5,126 | [fix] Move _adjust_logits above postprocess to fix Marian.generate | {
"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/5126?src=pr&el=h1) Report\n> Merging [#5126](https://codecov.io/gh/huggingface/transformers/pull/5126?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3d3e605affb792b78c918aac48f6bc82cfbf7e3e&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Fixes slow gpu test failures caused by #5031
This logic was already discussed in a previous PR, but, to summarize, the marian model loves to predict `pad_token_id` and if we allow pad_token_id's high score to enter the softmax we get very low probabilities for everything else.
I also rename `prepare_logits_for... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5126/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5126",
"html_url": "https://github.com/huggingface/transformers/pull/5126",
"diff_url": "https://github.com/huggingface/transformers/pull/5126.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5126.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5125/comments | https://api.github.com/repos/huggingface/transformers/issues/5125/events | https://github.com/huggingface/transformers/pull/5125 | 641,542,854 | MDExOlB1bGxSZXF1ZXN0NDM2NzU3NTk1 | 5,125 | [tokenizers] Fix #5081 and improve backward compatibility | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5125?src=pr&el=h1) Report\n> Merging [#5125](https://codecov.io/gh/huggingface/transformers/pull/5125?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d2a7c86dc33d6def6dba44f6ed2b71e8a1644130&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | MEMBER | null | Adds a generic fallback for `get_special_tokens_mask()` when there is only one input sentence and `already_has_special_tokens=True`.
It's still recommended to use `return_special_mask=True` in any encoding method for efficiency but this should work as well the above indicated cases.
Removed one test related to `g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5125",
"html_url": "https://github.com/huggingface/transformers/pull/5125",
"diff_url": "https://github.com/huggingface/transformers/pull/5125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5125.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5124/comments | https://api.github.com/repos/huggingface/transformers/issues/5124/events | https://github.com/huggingface/transformers/issues/5124 | 641,531,763 | MDU6SXNzdWU2NDE1MzE3NjM= | 5,124 | SLOW GPU test Failures | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Status Badge:\r\n/badge.svg)"
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | ```bash
=========================== short test summary info ============================
FAILED tests/test_modeling_marian.py::TestMarian_RU_FR::test_batch_generation_ru_fr
FAILED tests/test_modeling_marian.py::TestMarian_MT_EN::test_batch_generation_mt_en
==== 2 failed, 1110 passed, 392 skipped, 361 warnings in 13... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5124/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5123/comments | https://api.github.com/repos/huggingface/transformers/issues/5123/events | https://github.com/huggingface/transformers/issues/5123 | 641,525,303 | MDU6SXNzdWU2NDE1MjUzMDM= | 5,123 | Fine-Tuning GPT2 | {
"login": "apteryxlabs",
"id": 65966807,
"node_id": "MDQ6VXNlcjY1OTY2ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/65966807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apteryxlabs",
"html_url": "https://github.com/apteryxlabs",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi! This script has been replaced by `language-modeling/run_language_modeling.py`, because it now handles pre-training as well, not only fine-tuning. [Here's a useful link.](https://github.com/huggingface/transformers/tree/master/examples/language-modeling)"
] | 1,592 | 1,592 | 1,592 | NONE | null | This post references a page that no longer exists (the run_lm_finetuning.py). Where is the updated page?
"You can look into GPT-2's training on the CLM task, which is done on WikiText-2 in this example."
_Originally posted by @LysandreJik in https://github.com/huggingface/transformers/issues/1145#issuecomment-526... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5123/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5122/comments | https://api.github.com/repos/huggingface/transformers/issues/5122/events | https://github.com/huggingface/transformers/pull/5122 | 641,523,680 | MDExOlB1bGxSZXF1ZXN0NDM2NzQxNjM5 | 5,122 | Fix #5114 | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5122?src=pr&el=h1) Report\n> Merging [#5122](https://codecov.io/gh/huggingface/transformers/pull/5122?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ca2d0f98c4a89d50b79ddb06b59b6bffc31ff137&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This fixes #5114, with a test to make sure there is no regression again. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5122",
"html_url": "https://github.com/huggingface/transformers/pull/5122",
"diff_url": "https://github.com/huggingface/transformers/pull/5122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5122.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5121/comments | https://api.github.com/repos/huggingface/transformers/issues/5121/events | https://github.com/huggingface/transformers/pull/5121 | 641,507,770 | MDExOlB1bGxSZXF1ZXN0NDM2NzI4NDU4 | 5,121 | AutoTokenizer supports mbart-large-en-ro | {
"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/5121?src=pr&el=h1) Report\n> Merging [#5121](https://codecov.io/gh/huggingface/transformers/pull/5121?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | - adds `MBartConfig` so that `MBartTokenizer` can have it's own key in `TOKENIZER_MAPPING`.
- I will remove all mentions of `sshleifer/mbart-large-en-ro` right before this is merged.
It's only difference with `facebook/mbart-large-en-ro` is that `config.model_type='mbart'`. Since I didn't want to break existing Mbart... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5121/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5121",
"html_url": "https://github.com/huggingface/transformers/pull/5121",
"diff_url": "https://github.com/huggingface/transformers/pull/5121.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5121.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.