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/4513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4513/comments | https://api.github.com/repos/huggingface/transformers/issues/4513/events | https://github.com/huggingface/transformers/issues/4513 | 623,010,971 | MDU6SXNzdWU2MjMwMTA5NzE= | 4,513 | Couldn't reach server GPT-2 | {
"login": "MSMOON",
"id": 12758797,
"node_id": "MDQ6VXNlcjEyNzU4Nzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/12758797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MSMOON",
"html_url": "https://github.com/MSMOON",
"followers_url": "https://api.github.com/users/MSMOON/fo... | [
{
"id": 1834083927,
"node_id": "MDU6TGFiZWwxODM0MDgzOTI3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/External",
"name": "External",
"color": "fbca04",
"default": false,
"description": "Using the library with external tools (onnx, tflite, ...)"
}
] | closed | false | null | [] | [
"I also created this stack overflow question here: https://stackoverflow.com/questions/61944526/oserror-couldnt-reach-server-gpt2-config-json",
"It is odd that it works from CLI but not from within your script. That does not make a lot of sense. Can you try this?\r\n\r\n```python\r\nscorer = LMScorer.from_pretrai... | 1,590 | 1,590 | 1,590 | NONE | null | I have tried to use gpt2 using ubuntu and vagrant. This is the code:
`
import torch
from lm_scorer.models.auto import AutoLMScorer as LMScorer
scorer = LMScorer.from_pretrained("gpt2")
`
I get this error:
> AH01215: OSError: Couldn't reach server at 'https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-conf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4513/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4512/comments | https://api.github.com/repos/huggingface/transformers/issues/4512/events | https://github.com/huggingface/transformers/issues/4512 | 623,002,083 | MDU6SXNzdWU2MjMwMDIwODM= | 4,512 | ValueError: TracedModules don't support parameter sharing between modules | {
"login": "catqaq",
"id": 42762740,
"node_id": "MDQ6VXNlcjQyNzYyNzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/42762740?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/catqaq",
"html_url": "https://github.com/catqaq",
"followers_url": "https://api.github.com/users/catqaq/fo... | [
{
"id": 1108649070,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information",
"name": "Need more information",
"color": "d876e3",
"default": false,
"description": "Further information is requested"
},
{
... | closed | false | null | [] | [
"Can you give more information? This is too brief. Please post the full error that you get (also called error or stack trace) and _do not_ post it as a screenshot but use [code blocks](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) instead.",
"As I said: _use code block... | 1,590 | 1,596 | 1,596 | NONE | null | # 🐛 Bug
## Information
Language I am using the model on English:
## To reproduce
Steps to reproduce the behavior:
1.run the "Quick tour" code:
```
import torch
from transformers import *
# Transformers has a unified API
# for 10 transformer architectures and 30 pretrained weights.
# Model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4512/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4511/comments | https://api.github.com/repos/huggingface/transformers/issues/4511/events | https://github.com/huggingface/transformers/issues/4511 | 622,904,022 | MDU6SXNzdWU2MjI5MDQwMjI= | 4,511 | AttributeError: 'SummaryWriter' object has no attribute 'add_hparams' | {
"login": "zhuqunxi",
"id": 22273557,
"node_id": "MDQ6VXNlcjIyMjczNTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/22273557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhuqunxi",
"html_url": "https://github.com/zhuqunxi",
"followers_url": "https://api.github.com/users/zhu... | [
{
"id": 1108649070,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information",
"name": "Need more information",
"color": "d876e3",
"default": false,
"description": "Further information is requested"
}
] | closed | false | null | [] | [
"Please fill out the template. It is there for a reason. It isn't even clear whether you use your own scripts or ours. _Fill out the template._\r\n\r\nSee this question, which might help: https://github.com/lanpa/tensorboardX/issues/502",
"hello when i use \r\n`python run_language_modeling.py \\\r\n --output_d... | 1,590 | 1,595 | 1,590 | NONE | null | # 🐛 Bug
## Information
Traceback (most recent call last):
File "F:/Kaggle/Hug/Colab/main.py", line 105, in <module>
trainer.train()
File "c:\programdata\anaconda3\lib\site-packages\transformers\trainer.py", line 359, in train
self.tb_writer.add_hparams(self.args.to_sanitized_dict(), metric_dict={... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4511/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4510/comments | https://api.github.com/repos/huggingface/transformers/issues/4510/events | https://github.com/huggingface/transformers/pull/4510 | 622,866,382 | MDExOlB1bGxSZXF1ZXN0NDIxNjUwMTYz | 4,510 | [HUGE] Refactoring tokenizers backend - padding - truncation - pre-tokenized pipeline - fast tokenizers - tests | {
"login": "n1t0",
"id": 1217986,
"node_id": "MDQ6VXNlcjEyMTc5ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n1t0",
"html_url": "https://github.com/n1t0",
"followers_url": "https://api.github.com/users/n1t0/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4510?src=pr&el=h1) Report\n> Merging [#4510](https://codecov.io/gh/huggingface/transformers/pull/4510?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9931f817b75ecb2c8bb08b6e9d4cbec4b0933935&el=desc) will **increase... | 1,590 | 1,593 | 1,592 | MEMBER | null | Fix #4015
Edit @thomwolf: I morphed this in a large refactoring of the tokenizer code and test to make it more flexible and have a better API. Here is a summary of the changes.
## Breaking change
There is no breaking change in the user-facing methods (`encode`, `encode_plus`, `batch_encode_plus`, `tokenize`, `c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4510/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/4510/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4510",
"html_url": "https://github.com/huggingface/transformers/pull/4510",
"diff_url": "https://github.com/huggingface/transformers/pull/4510.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4510.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4509/comments | https://api.github.com/repos/huggingface/transformers/issues/4509/events | https://github.com/huggingface/transformers/pull/4509 | 622,822,055 | MDExOlB1bGxSZXF1ZXN0NDIxNjE0MTMy | 4,509 | Add packaging to setup.py | {
"login": "jarednielsen",
"id": 4564897,
"node_id": "MDQ6VXNlcjQ1NjQ4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jarednielsen",
"html_url": "https://github.com/jarednielsen",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4509?src=pr&el=h1) Report\n> Merging [#4509](https://codecov.io/gh/huggingface/transformers/pull/4509?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/865d4d595eefc8cc9cee58fec9179bd182be0e2e&el=desc) will **decrease... | 1,590 | 1,590 | 1,590 | CONTRIBUTOR | null | Running `pip install -e transformers` and then `python -c "import transformers"` fails on a fresh Docker container with the error:
```bash
ModuleNotFoundError: No module named 'packaging'
Thu May 21 21:59:44 2020<stderr>:Traceback (most recent call last):
Thu May 21 21:59:44 2020<stderr>: File "/.../", line 37, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4509/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4509",
"html_url": "https://github.com/huggingface/transformers/pull/4509",
"diff_url": "https://github.com/huggingface/transformers/pull/4509.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4509.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4508/comments | https://api.github.com/repos/huggingface/transformers/issues/4508/events | https://github.com/huggingface/transformers/issues/4508 | 622,791,416 | MDU6SXNzdWU2MjI3OTE0MTY= | 4,508 | FillMaskPipeline crashes when executed on TPU | {
"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... | [
{
"id": 1834053813,
"node_id": "MDU6TGFiZWwxODM0MDUzODEz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch",
"name": "PyTorch",
"color": "a12bef",
"default": false,
"description": "Anything PyTorch"
}
] | closed | false | null | [] | [
"Hello! Pipelines are not tested on TPUs yet, unfortunately, and we have not made any effort to support them on that device. We may down the road, once TPU CI is more easily available."
] | 1,590 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
## Information
I am following the tutorial in https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb#scrollTo=QDNgPls7_l13 and running on Google Colab using the TPU. The Pipeline object creation works fine, but when I try to run it on the example sentence, t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4508/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4507/comments | https://api.github.com/repos/huggingface/transformers/issues/4507/events | https://github.com/huggingface/transformers/issues/4507 | 622,779,488 | MDU6SXNzdWU2MjI3Nzk0ODg= | 4,507 | Hard-coded force_download in run_squad forces expensive community download | {
"login": "mfeblowitz",
"id": 6854939,
"node_id": "MDQ6VXNlcjY4NTQ5Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6854939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfeblowitz",
"html_url": "https://github.com/mfeblowitz",
"followers_url": "https://api.github.com/users... | [
{
"id": 1834052333,
"node_id": "MDU6TGFiZWwxODM0MDUyMzMz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20Question%20Answering",
"name": "Ex: Question Answering",
"color": "86FFCF",
"default": false,
"description": ""
},
{
"id": 1834081910,
"node_i... | closed | false | null | [] | [
"Hi, thanks for the well-formulated question! Are you using the latest examples? When I look at the current branch, there is no force_downloading (any more) - it has been commented out:\r\n\r\nhttps://github.com/huggingface/transformers/blob/a08652772791fdaeed6f263b1a99926ca64be5dc/examples/question-answering/run_s... | 1,590 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
## Information
Using a community-registered model (albert, squad2) I noticed that there's no real caching going on during predict/evaluate. In an application that invokes run_squad dozens to hundreds of times, this adds significantly to processing time.
This is due to at least one of the two force_downl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4507/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4506/comments | https://api.github.com/repos/huggingface/transformers/issues/4506/events | https://github.com/huggingface/transformers/pull/4506 | 622,770,236 | MDExOlB1bGxSZXF1ZXN0NDIxNTcxNDE3 | 4,506 | [Summarization Pipeline]: Fix default tokenizer | {
"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/4506?src=pr&el=h1) Report\n> Merging [#4506](https://codecov.io/gh/huggingface/transformers/pull/4506?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a08652772791fdaeed6f263b1a99926ca64be5dc&el=desc) will **decrease... | 1,590 | 1,590 | 1,590 | CONTRIBUTOR | null | `pipeline.tokenizer` cannot be a dict! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4506/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4506",
"html_url": "https://github.com/huggingface/transformers/pull/4506",
"diff_url": "https://github.com/huggingface/transformers/pull/4506.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4506.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4505/comments | https://api.github.com/repos/huggingface/transformers/issues/4505/events | https://github.com/huggingface/transformers/pull/4505 | 622,694,196 | MDExOlB1bGxSZXF1ZXN0NDIxNTA5MDk0 | 4,505 | add 2 colab notebooks | {
"login": "lavanyashukla",
"id": 12243123,
"node_id": "MDQ6VXNlcjEyMjQzMTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/12243123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lavanyashukla",
"html_url": "https://github.com/lavanyashukla",
"followers_url": "https://api.githu... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4505?src=pr&el=h1) Report\n> Merging [#4505](https://codecov.io/gh/huggingface/transformers/pull/4505?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a08652772791fdaeed6f263b1a99926ca64be5dc&el=desc) will **increase... | 1,590 | 1,590 | 1,590 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4505/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4505",
"html_url": "https://github.com/huggingface/transformers/pull/4505",
"diff_url": "https://github.com/huggingface/transformers/pull/4505.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4505.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4504/comments | https://api.github.com/repos/huggingface/transformers/issues/4504/events | https://github.com/huggingface/transformers/issues/4504 | 622,691,370 | MDU6SXNzdWU2MjI2OTEzNzA= | 4,504 | SummarizationPipeline crashes | {
"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-... | [
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline",
"name": "Core: Pipeline",
"color": "FF7066",
"default": false,
"description": "Internals of the library; Pipeline."
},
{
"id": 184152... | 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... | [
"Is this issue fixed in version 2.10.0?",
"@julien-c I still get the same error when doing\r\n\r\n```\r\nsummarizer = pipeline('summarization')\r\n```\r\n\r\nand using it to summarize.\r\n\r\nHowever the following explicitely works for me:\r\n\r\n```\r\nsummarizer = pipeline('summarization', model='bart-large-cnn... | 1,590 | 1,592 | 1,590 | MEMBER | null | ```python
summarize = pipeline("summarization")
summarize("Sam Shleifer writes the best docstring examples in the whole world.")
```
➡️
```
/usr/local/lib/python3.6/dist-packages/transformers/pipelines.py in _parse_and_tokenize(self, pad_to_max_length, *args, **kwargs)
461 # Parse arguments
462 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4503/comments | https://api.github.com/repos/huggingface/transformers/issues/4503/events | https://github.com/huggingface/transformers/pull/4503 | 622,648,390 | MDExOlB1bGxSZXF1ZXN0NDIxNDcyNTg2 | 4,503 | Fix convert_token_type_ids_from_sequences for fast tokenizers | {
"login": "n1t0",
"id": 1217986,
"node_id": "MDQ6VXNlcjEyMTc5ODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n1t0",
"html_url": "https://github.com/n1t0",
"followers_url": "https://api.github.com/users/n1t0/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4503?src=pr&el=h1) Report\n> Merging [#4503](https://codecov.io/gh/huggingface/transformers/pull/4503?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a08652772791fdaeed6f263b1a99926ca64be5dc&el=desc) will **increase... | 1,590 | 1,590 | 1,590 | MEMBER | null | Before this fix, the generic version of `convert_token_type_ids_from_sequences` from `tokenizer_utils` gets called when called on a `PreTrainedTokenizerFast`. The `type_ids` for the special token are thus not included.
There is no way at the moment to get this information from the rust tokenizers, so we just use the i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4503/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4503/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4503",
"html_url": "https://github.com/huggingface/transformers/pull/4503",
"diff_url": "https://github.com/huggingface/transformers/pull/4503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4503.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4502/comments | https://api.github.com/repos/huggingface/transformers/issues/4502/events | https://github.com/huggingface/transformers/issues/4502 | 622,596,101 | MDU6SXNzdWU2MjI1OTYxMDE= | 4,502 | How to finetune ELECTRA on glue? | {
"login": "elyesmanai",
"id": 21007166,
"node_id": "MDQ6VXNlcjIxMDA3MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/21007166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elyesmanai",
"html_url": "https://github.com/elyesmanai",
"followers_url": "https://api.github.com/use... | [
{
"id": 1834052574,
"node_id": "MDU6TGFiZWwxODM0MDUyNTc0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20Sequence%20Classification",
"name": "Ex: Sequence Classification",
"color": "46FFCF",
"default": false,
"description": ""
},
{
"id": 1834056761,
... | closed | false | null | [] | [
"I have a pull request here\r\nhttps://github.com/huggingface/transformers/pull/4257",
"I just cloned your repo an tried to test with my model and it keeps saying the same: \r\n\r\n\r\nCould you tell me h... | 1,590 | 1,594 | 1,590 | CONTRIBUTOR | null | After pretraining my own electra model, I wanted to test it out in Glue using run_glue.py.
However I got this:
```
ValueError: Unrecognized configuration class <class 'transformers.configuration_electra.ElectraConfig'> for this kind of AutoModel: AutoModelForSequenceClassification.
Model type should be one of Dist... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4501/comments | https://api.github.com/repos/huggingface/transformers/issues/4501/events | https://github.com/huggingface/transformers/issues/4501 | 622,556,769 | MDU6SXNzdWU2MjI1NTY3Njk= | 4,501 | Pipelines do not control input sequences longer than those accepted by the model | {
"login": "albarji",
"id": 9654655,
"node_id": "MDQ6VXNlcjk2NTQ2NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9654655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albarji",
"html_url": "https://github.com/albarji",
"followers_url": "https://api.github.com/users/albarji/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
... | closed | false | null | [] | [
"Thanks for the well-structured question! It helps a lot in helping you.\r\n\r\n`pipeline` actually already accepts what you request: you can pass in a tuple for the tokenizer so that the first item is the tokenizer name and the second part is its kwargs.\r\n\r\nhttps://github.com/huggingface/transformers/blob/a086... | 1,590 | 1,679 | 1,598 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): DistilBERT
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4501/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/4501/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4500/comments | https://api.github.com/repos/huggingface/transformers/issues/4500/events | https://github.com/huggingface/transformers/pull/4500 | 622,541,164 | MDExOlB1bGxSZXF1ZXN0NDIxMzg2NDM1 | 4,500 | Longformer for question answering | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Could you add it to the automodel class too ?",
"@ibeltagy - could you also take a look here",
"Thank you @patil-suraj, this looks good. One thing I would suggest is to automatically configure the `attention_mask` with global attention on all the question tokens so that the user doesn't need to worry about it.... | 1,590 | 1,590 | 1,590 | MEMBER | null | This PR adds `LongformerForQuestionAnswering` following `RobertaForQuestionAnswering`.
The code is almost identical to `RobertaForQuestionAnswering`, just had to remove `head_mask` parameter from forward method of `RobertaForQuestionAnswering`.
Also trained the model to verify this. You can check inference [here]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4500/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4500/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4500",
"html_url": "https://github.com/huggingface/transformers/pull/4500",
"diff_url": "https://github.com/huggingface/transformers/pull/4500.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4500.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4499/comments | https://api.github.com/repos/huggingface/transformers/issues/4499/events | https://github.com/huggingface/transformers/pull/4499 | 622,536,853 | MDExOlB1bGxSZXF1ZXN0NDIxMzgyOTY5 | 4,499 | [T5] Fix Cross Attention position bias | {
"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/4499?src=pr&el=h1) Report\n> Merging [#4499](https://codecov.io/gh/huggingface/transformers/pull/4499?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/a08652772791fdaeed6f263b1a99926ca64be5dc&el=desc) will **decrease... | 1,590 | 1,590 | 1,590 | CONTRIBUTOR | null | This PR fixes the Cross Attention position bias assignment in Class T5Stack. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4499/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4499",
"html_url": "https://github.com/huggingface/transformers/pull/4499",
"diff_url": "https://github.com/huggingface/transformers/pull/4499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4499.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4498/comments | https://api.github.com/repos/huggingface/transformers/issues/4498/events | https://github.com/huggingface/transformers/issues/4498 | 622,531,704 | MDU6SXNzdWU2MjI1MzE3MDQ= | 4,498 | Pre-trained electra-large model doesn't converge when fine-tuned on SST-2 | {
"login": "shanybarhom",
"id": 47103592,
"node_id": "MDQ6VXNlcjQ3MTAzNTky",
"avatar_url": "https://avatars.githubusercontent.com/u/47103592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shanybarhom",
"html_url": "https://github.com/shanybarhom",
"followers_url": "https://api.github.com/... | [
{
"id": 1108649070,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information",
"name": "Need more information",
"color": "d876e3",
"default": false,
"description": "Further information is requested"
},
{
... | closed | false | null | [] | [
"This is a general question and does not sound like a bug. With these large models it is sometimes hard to find a good set of hyperparameters to get the model to converge well. The same is true, and reported, for ALBERT. I don't think this is a bug.",
"@shanybarhom A good start would be to use the hyper-parameter... | 1,590 | 1,637 | 1,596 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): ELECTRA
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GLUE/SQUaD task: SST-2
## To repr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4498/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4497/comments | https://api.github.com/repos/huggingface/transformers/issues/4497/events | https://github.com/huggingface/transformers/issues/4497 | 622,361,114 | MDU6SXNzdWU2MjIzNjExMTQ= | 4,497 | Tokenize something with a "." in between Decode these ids, you will find it mismatch | {
"login": "Xunzhuo",
"id": 48784001,
"node_id": "MDQ6VXNlcjQ4Nzg0MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48784001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Xunzhuo",
"html_url": "https://github.com/Xunzhuo",
"followers_url": "https://api.github.com/users/Xunzhu... | [] | closed | false | null | [] | [
"Your use case seems specific, so maybe you should try a custom Tokenizer via the `tokenizers` library. I believe the results you're getting are the intended behavior.\r\n\r\nFor example, any generic sentence where someone forgets to put a space after the period would end up tokenized incorrectly otherwise:\r\n\r\n... | 1,590 | 1,590 | 1,590 | NONE | null | 🐛 Bug
Information
Model I am using (Bert, XLNet ...): XLNet
Language I am using the model on (English, Chinese ...): Chinese
The problem arises when using: Tokenizer
the official example scripts: (give details below) N/A
my own modified scripts: (give details below) N/A
The tasks I am working on is: Any
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4497/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4496/comments | https://api.github.com/repos/huggingface/transformers/issues/4496/events | https://github.com/huggingface/transformers/issues/4496 | 622,355,210 | MDU6SXNzdWU2MjIzNTUyMTA= | 4,496 | python run_glue.py with the AttributeError: 'NoneType' object has no attribute 'seek' | {
"login": "zhuqunxi",
"id": 22273557,
"node_id": "MDQ6VXNlcjIyMjczNTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/22273557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhuqunxi",
"html_url": "https://github.com/zhuqunxi",
"followers_url": "https://api.github.com/users/zhu... | [
{
"id": 1108649070,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Need%20more%20information",
"name": "Need more information",
"color": "d876e3",
"default": false,
"description": "Further information is requested"
},
{
... | closed | false | null | [] | [
"You really need to put more effort in how you ask questions. Just throwing in some error trace and leaving it up to us to figure out what you want or where things go wrong is not the way to go. Use [**code blocks**](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) and when... | 1,590 | 1,686 | 1,596 | NONE | null | # 🐛 Bug
Traceback (most recent call last):
File "/gpfs/home/bsub/anaconda3/envs/abc/lib/python3.6/site-packages/torch/serialization.py", line 191, in _check_seekable
f.seek(f.tell())
AttributeError: 'NoneType' object has no attribute 'seek'
During handling of the above exception, another exception occur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4496/reactions",
"total_count": 1,
"+1": 0,
"-1": 1,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4496/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4495/comments | https://api.github.com/repos/huggingface/transformers/issues/4495/events | https://github.com/huggingface/transformers/issues/4495 | 622,312,127 | MDU6SXNzdWU2MjIzMTIxMjc= | 4,495 | ❓ [BART] Why Decoder Layer Normalization is applied only at the last layer ? | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"That `layer_norm` should be None in `bart-large*`.\r\nSee [this comment](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_bart.py#L266)\r\n\r\nNo final `layer_norm` was applied before `mbart` was added, afaict."
] | 1,590 | 1,590 | 1,590 | CONTRIBUTOR | null | # ❓ Questions & Help
It seems this line :
https://github.com/huggingface/transformers/blob/efbc1c5a9d96048ab11f8d746fe51107cb91646f/src/transformers/modeling_bart.py#L524
was modified when MBART was added.
---
Before, Layer Normalization was applied after **all** layers of the decoder (_similar to the enc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4494/comments | https://api.github.com/repos/huggingface/transformers/issues/4494/events | https://github.com/huggingface/transformers/issues/4494 | 622,222,502 | MDU6SXNzdWU2MjIyMjI1MDI= | 4,494 | Incorporate HuggingFace 'nlp' library in examples | {
"login": "nateraw",
"id": 32437151,
"node_id": "MDQ6VXNlcjMyNDM3MTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/32437151?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nateraw",
"html_url": "https://github.com/nateraw",
"followers_url": "https://api.github.com/users/natera... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834083927,
"node_id": "MDU6TGFiZWwxODM0MDgzOTI3",
... | closed | false | null | [] | [
"Love this idea. @thomwolf @julien-c what do you guys think about adding `nlp` as a dependency in `examples/requirements.txt`",
"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,590 | 1,596 | 1,596 | CONTRIBUTOR | null | # 🚀 Feature request
I propose we replace the custom data downloading/preprocessing logic found within the examples directory with the new [**HuggingFace `nlp` Library**](https://github.com/huggingface/nlp) where applicable.
## Motivation
The examples directory is filled with custom shell scripts that download... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4494/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/4494/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4493/comments | https://api.github.com/repos/huggingface/transformers/issues/4493/events | https://github.com/huggingface/transformers/pull/4493 | 622,216,265 | MDExOlB1bGxSZXF1ZXN0NDIxMTI0OTg4 | 4,493 | Use args.per_gpu_train_batch_size instead of args.train_batch_size in… | {
"login": "jarednielsen",
"id": 4564897,
"node_id": "MDQ6VXNlcjQ1NjQ4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jarednielsen",
"html_url": "https://github.com/jarednielsen",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4493?src=pr&el=h1) Report\n> Merging [#4493](https://codecov.io/gh/huggingface/transformers/pull/4493?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/865d4d595eefc8cc9cee58fec9179bd182be0e2e&el=desc) will **increase... | 1,590 | 1,590 | 1,590 | CONTRIBUTOR | null | … Trainer.
It appears that this is preferred, per https://github.com/huggingface/transformers/blob/master/src/transformers/training_args.py. This also matches the calculation which is printed referring to batch size at https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py#L432.
As a ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4493",
"html_url": "https://github.com/huggingface/transformers/pull/4493",
"diff_url": "https://github.com/huggingface/transformers/pull/4493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4493.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4492/comments | https://api.github.com/repos/huggingface/transformers/issues/4492/events | https://github.com/huggingface/transformers/issues/4492 | 622,141,936 | MDU6SXNzdWU2MjIxNDE5MzY= | 4,492 | Cannot load reformer-enwik8 tokenizer | {
"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... | [
{
"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. This is not a bug but is expected: since the model works on the character level, a tokenizer is not \"required\". You can read more in [the model card](https://huggingface.co/google/reformer-enwik8#reformer-language-model-on-character-level-and-trained-on-enwik8) on how you can encode/decode your data.",
"@e... | 1,590 | 1,615 | 1,590 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Reformer tokenizer
## To reproduce
Steps to reproduce the behavior:
1. Try to load the pretrained reformer-enwik8 tokenizer with `AutoTokenizer.from_pretrained("google/reformer-enwik8")`
This is the error I got:
```
OSError ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4492/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/4492/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4491/comments | https://api.github.com/repos/huggingface/transformers/issues/4491/events | https://github.com/huggingface/transformers/issues/4491 | 622,130,895 | MDU6SXNzdWU2MjIxMzA4OTU= | 4,491 | Windows: Can't find vocabulary file for MarianTokenizer | {
"login": "pgfeldman",
"id": 6231199,
"node_id": "MDQ6VXNlcjYyMzExOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6231199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pgfeldman",
"html_url": "https://github.com/pgfeldman",
"followers_url": "https://api.github.com/users/pg... | [
{
"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": "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... | [
"I cannot reproduce this. This works for me (same environment except Python 3.8 which should not make a difference). Can you try again but force_overwrite potentially corrupt files?\r\n\r\n```python\r\ntok = MarianTokenizer.from_pretrained(mname, force_download=True)\r\n```",
"Hi, \n\nI rebased the transformers p... | 1,590 | 1,593 | 1,592 | NONE | null | # 🐛 Bug MarianTokenizer.from_pretrained() fails in Python 3.6.4 in Windows 10
## Information
Occurs with using the example here: [https://huggingface.co/transformers/model_doc/marian.html?highlight=marianmtmodel#transformers.MarianMTModel](huggingface.co/transformers/model_doc/marian.html?highlight=marianmtmodel#t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4491/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4490/comments | https://api.github.com/repos/huggingface/transformers/issues/4490/events | https://github.com/huggingface/transformers/issues/4490 | 622,130,080 | MDU6SXNzdWU2MjIxMzAwODA= | 4,490 | How to load a pruned Albert model with from_pretrained()? | {
"login": "ThomasSYT",
"id": 41875489,
"node_id": "MDQ6VXNlcjQxODc1NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/41875489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ThomasSYT",
"html_url": "https://github.com/ThomasSYT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Now I'm using head_mask instead of prune_heads. So, I didn't actually prune heads."
] | 1,590 | 1,590 | 1,590 | 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/4490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4490/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4489/comments | https://api.github.com/repos/huggingface/transformers/issues/4489/events | https://github.com/huggingface/transformers/pull/4489 | 621,974,891 | MDExOlB1bGxSZXF1ZXN0NDIwOTI3OTQw | 4,489 | bugfix: pass on tokenizer to pipeline in load_graph_from_args | {
"login": "RensDimmendaal",
"id": 9828683,
"node_id": "MDQ6VXNlcjk4Mjg2ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9828683?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RensDimmendaal",
"html_url": "https://github.com/RensDimmendaal",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4489?src=pr&el=h1) Report\n> Merging [#4489](https://codecov.io/gh/huggingface/transformers/pull/4489?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/14cb5b35faeda7881341656aacf89d12a8a7e07b&el=desc) will **decrease... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | I think I found a small bug in the `load_graph_from_args` function in `convert_graph_to_onnx.py` as it accepts a tokenizer as input but doesn't pass it on to the pipeline inside the function.
Love the library 🤗 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4489",
"html_url": "https://github.com/huggingface/transformers/pull/4489",
"diff_url": "https://github.com/huggingface/transformers/pull/4489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4489.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4488/comments | https://api.github.com/repos/huggingface/transformers/issues/4488/events | https://github.com/huggingface/transformers/pull/4488 | 621,879,693 | MDExOlB1bGxSZXF1ZXN0NDIwODQ2MzE0 | 4,488 | Make changes to german-bert vocab file more prominent | {
"login": "Timoeller",
"id": 3264870,
"node_id": "MDQ6VXNlcjMyNjQ4NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3264870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Timoeller",
"html_url": "https://github.com/Timoeller",
"followers_url": "https://api.github.com/users/Ti... | [
{
"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/4488?src=pr&el=h1) Report\n> Merging [#4488](https://codecov.io/gh/huggingface/transformers/pull/4488?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6dc52c78d8f1f96ffd9b8f8178e142b7d4a77d14&el=desc) will **increase... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | We have been approached by researchers because the expected behavior of their bert-base-german-cased models changed without code modifications.
- So we wanted to make the changes to the vocab more prominent in the model card
- and also support a solution where people can easily use the old version through https:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4488",
"html_url": "https://github.com/huggingface/transformers/pull/4488",
"diff_url": "https://github.com/huggingface/transformers/pull/4488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4488.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4487/comments | https://api.github.com/repos/huggingface/transformers/issues/4487/events | https://github.com/huggingface/transformers/pull/4487 | 621,855,973 | MDExOlB1bGxSZXF1ZXN0NDIwODI2OTAw | 4,487 | Fix slow gpu tests lysandre | {
"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/4487?src=pr&el=h1) Report\n> Merging [#4487](https://codecov.io/gh/huggingface/transformers/pull/4487?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6dc52c78d8f1f96ffd9b8f8178e142b7d4a77d14&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | Fixes three tests of the slow + gpu suite cc @sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4487",
"html_url": "https://github.com/huggingface/transformers/pull/4487",
"diff_url": "https://github.com/huggingface/transformers/pull/4487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4487.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4486/comments | https://api.github.com/repos/huggingface/transformers/issues/4486/events | https://github.com/huggingface/transformers/issues/4486 | 621,808,990 | MDU6SXNzdWU2MjE4MDg5OTA= | 4,486 | tokenizer.vocab has not changed after using add_tokens | {
"login": "suyulan",
"id": 55616659,
"node_id": "MDQ6VXNlcjU1NjE2NjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/55616659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suyulan",
"html_url": "https://github.com/suyulan",
"followers_url": "https://api.github.com/users/suyula... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"This is the expected behaviour: `len(tokenizer)` shows you the actual size (including the added tokens), whereas `.vocab_size` tells you the original size.\r\n\r\nhttps://github.com/huggingface/transformers/blob/a08652772791fdaeed6f263b1a99926ca64be5dc/src/transformers/tokenization_utils.py#L2285-L2290\r\n\r\nPS: ... | 1,589 | 1,628 | 1,596 | 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/4486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4486/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4485/comments | https://api.github.com/repos/huggingface/transformers/issues/4485/events | https://github.com/huggingface/transformers/issues/4485 | 621,731,094 | MDU6SXNzdWU2MjE3MzEwOTQ= | 4,485 | Can't find vocabulary file or is corrupted for MarianTokenizer | {
"login": "sadeqa",
"id": 22193030,
"node_id": "MDQ6VXNlcjIyMTkzMDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/22193030?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadeqa",
"html_url": "https://github.com/sadeqa",
"followers_url": "https://api.github.com/users/sadeqa/fo... | [] | closed | false | null | [] | [
"Closing in favour of the better formulated question here: https://github.com/huggingface/transformers/issues/4491",
"Can anyone help with this issue: #5040 ?"
] | 1,589 | 1,592 | 1,590 | NONE | null | # 🐛 Bug
## Information
Model I am using MarianMT:
The problem arises when using the tokenizer with from_pretrained
## To reproduce
from transformers import MarianTokenizer, MarianMTModel
src = 'fr' # source language
trg = 'en' # target language
sample_text = "où est l'arrêt de bus ?"
mname = f'Hel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4485/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4484/comments | https://api.github.com/repos/huggingface/transformers/issues/4484/events | https://github.com/huggingface/transformers/issues/4484 | 621,700,118 | MDU6SXNzdWU2MjE3MDAxMTg= | 4,484 | Bug using Roberta models in QA Transformers pipeline. | {
"login": "thiagomoeng",
"id": 64150563,
"node_id": "MDQ6VXNlcjY0MTUwNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/64150563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thiagomoeng",
"html_url": "https://github.com/thiagomoeng",
"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": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
... | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Hi, could you please post a code sample and a textual error, rather than an image? Thanks.",
"@LysandreJik yes, its very simple my code I just trying to run a transformers example.\r\n\r\n if __name__ == '__main__':\r\n import ipywidgets as widgets\r\n from transformers.pipelines import pip... | 1,589 | 1,618 | 1,596 | NONE | null | # 🐛 Bug
Hello, I cant use any roberta model with pipeline('question-answering'), someone can help me in how to fix this issue?
OBS=This error appears just when I use Roberta models.
ERROR:

| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4483/comments | https://api.github.com/repos/huggingface/transformers/issues/4483/events | https://github.com/huggingface/transformers/issues/4483 | 621,683,208 | MDU6SXNzdWU2MjE2ODMyMDg= | 4,483 | Trying to add support for GPT2 as decoder in EncoderDecoder model | {
"login": "dimi1357",
"id": 22443447,
"node_id": "MDQ6VXNlcjIyNDQzNDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/22443447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimi1357",
"html_url": "https://github.com/dimi1357",
"followers_url": "https://api.github.com/users/dim... | [
{
"id": 1843738573,
"node_id": "MDU6TGFiZWwxODQzNzM4NTcz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Encoder-Decoder",
"name": "Core: Encoder-Decoder",
"color": "ef536d",
"default": false,
"description": ""
},
{
"id": 1990918270,
"node_id": ... | open | 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... | [
"@dimi1357 out of curiosity, what does training this look like?",
"> @dimi1357 out of curiosity, what does training this look like?\r\n\r\nThis is my training loop:\r\n```python\r\nx, encoder_attention_mask, y, decoder_attention_mask, _ = batch\r\nx = x.to(self.device)\r\ny = y.to(self.device)\r\nencoder_attentio... | 1,589 | 1,707 | null | NONE | null | # 🚀 Feature request
Hi,
I am trying to add the option of using GPT2 as the decoder in the EncoderDecoder model, which only support
## Motivation
For a generation problem, it usually better to use GPT2 as the decoder, over BERT.
## Your contribution
I've made the following changes in `modeling_gpt2.py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4483/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4482/comments | https://api.github.com/repos/huggingface/transformers/issues/4482/events | https://github.com/huggingface/transformers/pull/4482 | 621,677,164 | MDExOlB1bGxSZXF1ZXN0NDIwNjgxODYx | 4,482 | Create model card for RuPERTA-base-finetuned-pos | {
"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/4482?src=pr&el=h1) Report\n> Merging [#4482](https://codecov.io/gh/huggingface/transformers/pull/4482?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/efbc1c5a9d96048ab11f8d746fe51107cb91646f&el=desc) will **not chan... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4482/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4482",
"html_url": "https://github.com/huggingface/transformers/pull/4482",
"diff_url": "https://github.com/huggingface/transformers/pull/4482.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4482.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4481/comments | https://api.github.com/repos/huggingface/transformers/issues/4481/events | https://github.com/huggingface/transformers/pull/4481 | 621,566,101 | MDExOlB1bGxSZXF1ZXN0NDIwNTkyNDAy | 4,481 | Add mecab dependency on slow tests. | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4481?src=pr&el=h1) Report\n> Merging [#4481](https://codecov.io/gh/huggingface/transformers/pull/4481?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/384f0eb2f9d42e44094dbfd0917ccf4e6ddb462a&el=desc) will **decrease... | 1,589 | 1,590 | 1,590 | MEMBER | null | Solves the following error:
```
2020-05-19T17:01:17.3352437Z [gw0] linux -- Python 3.7.6 /home/hf/actions-r
2020-05-19T17:01:17.3354221Z @slow
2020-05-19T17:01:17.3354825Z def test_sequence_builders(self):
2020-05-19T17:01:17.3356512Z > tokenizer = self.tokenizer_class.from_pretrained("bert-base-j... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4481",
"html_url": "https://github.com/huggingface/transformers/pull/4481",
"diff_url": "https://github.com/huggingface/transformers/pull/4481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4481.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4480/comments | https://api.github.com/repos/huggingface/transformers/issues/4480/events | https://github.com/huggingface/transformers/pull/4480 | 621,544,731 | MDExOlB1bGxSZXF1ZXN0NDIwNTc1NjYz | 4,480 | [Reformer] Include char lm to Trainer | {
"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 | {
"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... | [
"@patrickvonplaten Thank you your awesome work. I´m super excited about a char-lm. \r\nI´m trying to can train the \"reformer\" model, using the \"google/reformer-enwik8\".\r\n\r\nBut using this script or the run_language_modeling.py I get the error about the lack of tokenizer ( that is expected to a char only LM)... | 1,589 | 1,593 | 1,593 | MEMBER | null | Trainer currently expects every model to have a tokenizer. The reformer: `google/reformer-enwik8` is a char lm which does not require a tokenizer. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4480/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4480",
"html_url": "https://github.com/huggingface/transformers/pull/4480",
"diff_url": "https://github.com/huggingface/transformers/pull/4480.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4480.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4479/comments | https://api.github.com/repos/huggingface/transformers/issues/4479/events | https://github.com/huggingface/transformers/pull/4479 | 621,542,900 | MDExOlB1bGxSZXF1ZXN0NDIwNTc0MTk0 | 4,479 | [examples] fix no grad in second pruning in run_bertology | {
"login": "TobiasLee",
"id": 20009381,
"node_id": "MDQ6VXNlcjIwMDA5Mzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/20009381?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TobiasLee",
"html_url": "https://github.com/TobiasLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4479?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@18d233d`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is `n/a`.\n... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | the `new_head_mask` index assignment operation makes it become a non-leaf node in the following gradient computation, resulting in grad is None bug as mentioned in #3895
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4479",
"html_url": "https://github.com/huggingface/transformers/pull/4479",
"diff_url": "https://github.com/huggingface/transformers/pull/4479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4479.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4478/comments | https://api.github.com/repos/huggingface/transformers/issues/4478/events | https://github.com/huggingface/transformers/issues/4478 | 621,503,460 | MDU6SXNzdWU2MjE1MDM0NjA= | 4,478 | ❓ [TPU] [Trainer] Moving model to device before setting optimizer slow the training | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 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, but I'm not sure if it's really a problem. I thought the extreme speed before the fix was because it wasn't training properly, and that the slower speed now is supposed to be this way, but that's just my guess.",
"Hi, you're right @LeonieWeissweiler. Previous to that fix, the optimizer w... | 1,589 | 1,596 | 1,596 | CONTRIBUTOR | null | # ❓ Questions & Help
On master, after applying the fix of #4450, the training on 8 TPU cores is much slower.
* Before the fix : **20 min / epoch (8 iterations / s)**
* After the fix : **1h30 / epoch (2~3 iterations / s)**
Of course the training before the fix was not working (loss was not decreasing).
But ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4478/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/4478/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4477/comments | https://api.github.com/repos/huggingface/transformers/issues/4477/events | https://github.com/huggingface/transformers/pull/4477 | 621,499,676 | MDExOlB1bGxSZXF1ZXN0NDIwNTM5MDQw | 4,477 | Remove warning of deprecation | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4477?src=pr&el=h1) Report\n> Merging [#4477](https://codecov.io/gh/huggingface/transformers/pull/4477?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/efbc1c5a9d96048ab11f8d746fe51107cb91646f&el=desc) will **increase... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | Remove warning of deprecated overload of addcdiv_
Fix #4451 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4477",
"html_url": "https://github.com/huggingface/transformers/pull/4477",
"diff_url": "https://github.com/huggingface/transformers/pull/4477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4477.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4476/comments | https://api.github.com/repos/huggingface/transformers/issues/4476/events | https://github.com/huggingface/transformers/issues/4476 | 621,455,381 | MDU6SXNzdWU2MjE0NTUzODE= | 4,476 | Tokenizer encode to have an option to overflow from left | {
"login": "misrasaurabh1",
"id": 1271289,
"node_id": "MDQ6VXNlcjEyNzEyODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misrasaurabh1",
"html_url": "https://github.com/misrasaurabh1",
"followers_url": "https://api.github.... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834052129,
"node_id": "MDU6TGFiZWwxODM0MDUyMTI5",
... | 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",
"@misrasaurabh1 What solution do you use now for this encoding dialog data problem?",
"I use something like\r\n`self.tokenizer.encode(... | 1,589 | 1,686 | 1,604 | CONTRIBUTOR | null | # 🚀 Feature request
Current tokenizer encode variants ( encode, batch_encode, batch_encode_plus) handle longer sequences than max_length by overflowing tokens from the right hand side and thus restricting the length to max_length. This feature request is to allow an option for the tokenizer encode methods to overfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4476/reactions",
"total_count": 10,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4476/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4475/comments | https://api.github.com/repos/huggingface/transformers/issues/4475/events | https://github.com/huggingface/transformers/issues/4475 | 621,443,577 | MDU6SXNzdWU2MjE0NDM1Nzc= | 4,475 | Request for hosting model files in a Virtual Hosted-Style S3 buckets | {
"login": "rjsaito",
"id": 15206644,
"node_id": "MDQ6VXNlcjE1MjA2NjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/15206644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rjsaito",
"html_url": "https://github.com/rjsaito",
"followers_url": "https://api.github.com/users/rjsait... | [
{
"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 @rjsaito we are actually moving to serving all our files from the cloudfront powered cdn.huggingface.co",
"Awesome! Do you have a current ETA when this change would be in place?",
"It's already in place for model weights.",
"This issue has been automatically marked as stale because it has not had recent a... | 1,589 | 1,596 | 1,596 | NONE | null | Is there any plans for the s3 buckets currently hosting the model files to migrate from the current "Path-Style Request" format to a "Virtual Hosted-Style Request" format?
Path-Style URLs follow the following format (s3.amazonaws.com/* OR s3.Region.amazonaws.com/*). For example, today the model config file for 'bert... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4475/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4474/comments | https://api.github.com/repos/huggingface/transformers/issues/4474/events | https://github.com/huggingface/transformers/pull/4474 | 621,361,632 | MDExOlB1bGxSZXF1ZXN0NDIwNDI5MDM3 | 4,474 | Remove warning of deprecation | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"Signature is of `addcdiv_` is different between Pytorch 1.4 and 1.5\r\n\r\nhttps://pytorch.org/docs/1.4.0/tensors.html?highlight=addcdiv#torch.Tensor.addcdiv\r\nhttps://pytorch.org/docs/stable/tensors.html?highlight=addcdiv_#torch.Tensor.addcdiv\r\n\r\nI guess as long as Pytorch 1.4 is supported by `transformers` ... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Remove warning of deprecated overload of `addcdiv_`
Fix #4451 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4474",
"html_url": "https://github.com/huggingface/transformers/pull/4474",
"diff_url": "https://github.com/huggingface/transformers/pull/4474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4474.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4473/comments | https://api.github.com/repos/huggingface/transformers/issues/4473/events | https://github.com/huggingface/transformers/pull/4473 | 621,351,142 | MDExOlB1bGxSZXF1ZXN0NDIwNDIwNDUw | 4,473 | Add Fine-tune DialoGPT on new datasets notebook | {
"login": "ncoop57",
"id": 7613470,
"node_id": "MDQ6VXNlcjc2MTM0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ncoop57",
"html_url": "https://github.com/ncoop57",
"followers_url": "https://api.github.com/users/ncoop57/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4473?src=pr&el=h1) Report\n> Merging [#4473](https://codecov.io/gh/huggingface/transformers/pull/4473?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/48c3a70b4eaedab1dd9ad49990cfaa4d6cb8f6a0&el=desc) will **decrease... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | Here is a tutorial notebook I created for fine-tuning the DialoGPT on a Spanish conversation dataset. It shows how to prepare a dataset that conforms to the necessary style of the original DialoGPT dataset and how to train it using a GPU provided by Google Colab. Sadly it is not using the newer Trainer that Huggingface... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4473/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4473",
"html_url": "https://github.com/huggingface/transformers/pull/4473",
"diff_url": "https://github.com/huggingface/transformers/pull/4473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4473.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4472/comments | https://api.github.com/repos/huggingface/transformers/issues/4472/events | https://github.com/huggingface/transformers/pull/4472 | 621,344,766 | MDExOlB1bGxSZXF1ZXN0NDIwNDE0OTc4 | 4,472 | [gpu slow tests] fix mbart-large-enro gpu tests | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4472?src=pr&el=h1) Report\n> Merging [#4472](https://codecov.io/gh/huggingface/transformers/pull/4472?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/48c3a70b4eaedab1dd9ad49990cfaa4d6cb8f6a0&el=desc) will **decrease... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4472",
"html_url": "https://github.com/huggingface/transformers/pull/4472",
"diff_url": "https://github.com/huggingface/transformers/pull/4472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4472.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4471/comments | https://api.github.com/repos/huggingface/transformers/issues/4471/events | https://github.com/huggingface/transformers/issues/4471 | 621,301,621 | MDU6SXNzdWU2MjEzMDE2MjE= | 4,471 | batch_encode_plus returns same lengths when enable pad_to_max_length | {
"login": "binh-vu",
"id": 4346739,
"node_id": "MDQ6VXNlcjQzNDY3Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4346739?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/binh-vu",
"html_url": "https://github.com/binh-vu",
"followers_url": "https://api.github.com/users/binh-vu/... | [
{
"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 is not a bug but expected behaviour. The length of the tokenized input is only calculated after padding.\r\n\r\nhttps://github.com/huggingface/transformers/blob/a08652772791fdaeed6f263b1a99926ca64be5dc/src/transformers/tokenization_utils.py#L1981-L1982\r\n\r\nPerhaps you are right, though, and it would be mor... | 1,589 | 1,596 | 1,596 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Bert
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4470/comments | https://api.github.com/repos/huggingface/transformers/issues/4470/events | https://github.com/huggingface/transformers/pull/4470 | 621,239,774 | MDExOlB1bGxSZXF1ZXN0NDIwMzI4NDAw | 4,470 | Model card for Tereveni-AI/gpt2-124M-uk-fiction | {
"login": "obsh",
"id": 1974420,
"node_id": "MDQ6VXNlcjE5NzQ0MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1974420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/obsh",
"html_url": "https://github.com/obsh",
"followers_url": "https://api.github.com/users/obsh/followers",
... | [
{
"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 | [] | [
"by the way, could you add a \r\n\r\n```\r\n---\r\nlanguage: ukrainian\r\n---\r\n```\r\n\r\nmetadata block on top, for the model to be surfaced in search etc.?",
"Sure, I’ll add it\n\nOn Wed, 20 May 2020 at 18:05, Julien Chaumond <notifications@github.com>\nwrote:\n\n> by the way, could you add a\n>\n> ---\n> lan... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Create model card for "Tereveni-AI/gpt2-124M-uk-fiction" model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4470",
"html_url": "https://github.com/huggingface/transformers/pull/4470",
"diff_url": "https://github.com/huggingface/transformers/pull/4470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4470.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4469/comments | https://api.github.com/repos/huggingface/transformers/issues/4469/events | https://github.com/huggingface/transformers/pull/4469 | 621,234,909 | MDExOlB1bGxSZXF1ZXN0NDIwMzI0NDE4 | 4,469 | Better None gradients handling in TF Trainer | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4469?src=pr&el=h1) Report\n> Merging [#4469](https://codecov.io/gh/huggingface/transformers/pull/4469?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5856999a9f2926923f037ecd8d27b8058bcf9dae&el=desc) will **increase... | 1,589 | 1,591 | 1,590 | CONTRIBUTOR | null | Update the TF Trainer to better handle None gradients in order to have something generic and not anymore task dependent. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4469/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4469",
"html_url": "https://github.com/huggingface/transformers/pull/4469",
"diff_url": "https://github.com/huggingface/transformers/pull/4469.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4469.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4468/comments | https://api.github.com/repos/huggingface/transformers/issues/4468/events | https://github.com/huggingface/transformers/pull/4468 | 621,216,673 | MDExOlB1bGxSZXF1ZXN0NDIwMzA5MzA0 | 4,468 | [Tests, GPU, SLOW] fix a bunch of GPU hardcoded tests in Pytorch | {
"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/4468?src=pr&el=h1) Report\n> Merging [#4468](https://codecov.io/gh/huggingface/transformers/pull/4468?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5856999a9f2926923f037ecd8d27b8058bcf9dae&el=desc) will **decrease... | 1,589 | 1,589 | 1,589 | MEMBER | null | in almost all tests I forgot to put the model on gpu via
`model = model.to(torch_device)` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4468/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4468",
"html_url": "https://github.com/huggingface/transformers/pull/4468",
"diff_url": "https://github.com/huggingface/transformers/pull/4468.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4468.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4467/comments | https://api.github.com/repos/huggingface/transformers/issues/4467/events | https://github.com/huggingface/transformers/pull/4467 | 621,214,841 | MDExOlB1bGxSZXF1ZXN0NDIwMzA3OTIx | 4,467 | TPU hangs when saving optimizer/scheduler | {
"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/4467?src=pr&el=h1) Report\n> Merging [#4467](https://codecov.io/gh/huggingface/transformers/pull/4467?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/07dd7c2fd8996fec2979555437dfeff0d38cbf28&el=desc) will **decrease... | 1,589 | 1,590 | 1,590 | MEMBER | null | Similarly to when saving a model state dict, the optimizer and scheduler should be saved using `xm.save` and behind an `xm.rendezvous`.
Additional fix: `pl.ParallelLoader` is not a `torch.utils.data.DataLoader`, and, therefore, must be reinitialized at each epoch. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4467/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4467/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4467",
"html_url": "https://github.com/huggingface/transformers/pull/4467",
"diff_url": "https://github.com/huggingface/transformers/pull/4467.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4467.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4466/comments | https://api.github.com/repos/huggingface/transformers/issues/4466/events | https://github.com/huggingface/transformers/pull/4466 | 621,161,584 | MDExOlB1bGxSZXF1ZXN0NDIwMjY0MzA4 | 4,466 | Model card for RuPERTa-base fine-tuned for NER | {
"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/4466?src=pr&el=h1) Report\n> Merging [#4466](https://codecov.io/gh/huggingface/transformers/pull/4466?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5856999a9f2926923f037ecd8d27b8058bcf9dae&el=desc) will **decrease... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4466",
"html_url": "https://github.com/huggingface/transformers/pull/4466",
"diff_url": "https://github.com/huggingface/transformers/pull/4466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4466.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4465/comments | https://api.github.com/repos/huggingface/transformers/issues/4465/events | https://github.com/huggingface/transformers/pull/4465 | 621,143,910 | MDExOlB1bGxSZXF1ZXN0NDIwMjQ5NzI4 | 4,465 | [ci] Slow GPU tests run daily | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [] | 1,589 | 1,590 | 1,590 | MEMBER | null | Could be useful to fix a few of the warnings and deprecation warnings too | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4465/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4465",
"html_url": "https://github.com/huggingface/transformers/pull/4465",
"diff_url": "https://github.com/huggingface/transformers/pull/4465.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4465.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4464/comments | https://api.github.com/repos/huggingface/transformers/issues/4464/events | https://github.com/huggingface/transformers/pull/4464 | 621,097,557 | MDExOlB1bGxSZXF1ZXN0NDIwMjEzNzkx | 4,464 | [Longformer] Docs and clean API | {
"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/4464?src=pr&el=h1) Report\n> Merging [#4464](https://codecov.io/gh/huggingface/transformers/pull/4464?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8f1d0471489352ec01556ae61f8e8246002bbc58&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | This PR:
- adds a documentation page for Longformer. @ibeltagy - it's best to read it using this link I think: https://github.com/huggingface/transformers/pull/4464/files?short_path=3909947#diff-3909947f36862a1731195bf05c85c64c.
- fixes a typo to correctly render the pretrained models doc page
- changes the A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4464/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4464",
"html_url": "https://github.com/huggingface/transformers/pull/4464",
"diff_url": "https://github.com/huggingface/transformers/pull/4464.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4464.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4463/comments | https://api.github.com/repos/huggingface/transformers/issues/4463/events | https://github.com/huggingface/transformers/pull/4463 | 621,045,885 | MDExOlB1bGxSZXF1ZXN0NDIwMTc0NjU1 | 4,463 | Adds predict stage for glue tasks, and generate result files which can be submitted to gluebenchmark.com | {
"login": "stdcoutzyx",
"id": 1142862,
"node_id": "MDQ6VXNlcjExNDI4NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1142862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stdcoutzyx",
"html_url": "https://github.com/stdcoutzyx",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Looks good!\r\n\r\nI just improved consistency with other scripts we have (in particular, `run_ner.py`) by:\r\n- using an enum instead of two boolean flags\r\n- I also always append the actual label name in the predictions file, which removes the need for a new arg\r\n\r\nLet me know if that works for you and I'll... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | By simply fine-tune robterta-large with 3k steps on several tasks, achieved:
Task | Metrics | Score
-- | -- | --
Microsoft Research Paraphrase Corpus | F1 / Accuracy | 91.5/88.6
Semantic Textual Similarity Benchmark | Pearson-Spearman Corr | 90.7/90.2
Quora Question Pairs | F1 / Accuracy | 69.5/87.3
Recognizi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4463",
"html_url": "https://github.com/huggingface/transformers/pull/4463",
"diff_url": "https://github.com/huggingface/transformers/pull/4463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4463.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4462/comments | https://api.github.com/repos/huggingface/transformers/issues/4462/events | https://github.com/huggingface/transformers/pull/4462 | 621,042,093 | MDExOlB1bGxSZXF1ZXN0NDIwMTcxNjE1 | 4,462 | add T5 fine-tuning notebook [Community notebooks] | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4462?src=pr&el=h1) Report\n> Merging [#4462](https://codecov.io/gh/huggingface/transformers/pull/4462?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8f1d0471489352ec01556ae61f8e8246002bbc58&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | @patrickvonplaten
This is the second notebook which shows how to fine-tune T5 for multiple tasks with text-to-text approach (IMDB, emotion classification, SWAG) that we discussed in issue #4426 . I didn't find emotion and SWAG dataset in the `nlp` library so I decided to keep my original dataset code to keep everythi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4462",
"html_url": "https://github.com/huggingface/transformers/pull/4462",
"diff_url": "https://github.com/huggingface/transformers/pull/4462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4462.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4461/comments | https://api.github.com/repos/huggingface/transformers/issues/4461/events | https://github.com/huggingface/transformers/issues/4461 | 621,033,600 | MDU6SXNzdWU2MjEwMzM2MDA= | 4,461 | ProjectedAdaptiveLogSoftmax.log_prob raises Exception | {
"login": "gasteigerjo",
"id": 9202783,
"node_id": "MDQ6VXNlcjkyMDI3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9202783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gasteigerjo",
"html_url": "https://github.com/gasteigerjo",
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Transformer-XL
Language I am using the model on (English, Chinese ...): WikiText-103 (English)
The problem arises when using:
* [x] the official example scripts: `run_transfo_xl.py` (give details below)
* [ ] my own modified scripts: (give detail... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4460/comments | https://api.github.com/repos/huggingface/transformers/issues/4460/events | https://github.com/huggingface/transformers/pull/4460 | 621,030,138 | MDExOlB1bGxSZXF1ZXN0NDIwMTYyMDYy | 4,460 | Attempt to do some optimizations for BERT models | {
"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... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,651 | 1,595 | MEMBER | null | - Use functional as much as possible instead of creating a class instance everytime
- Precompute and store the attention scaling factor to avoid `1/sqrt(...)` every forward
- Refactor Self-Attention to group QKV weights and and increase hardware density | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4460/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4460",
"html_url": "https://github.com/huggingface/transformers/pull/4460",
"diff_url": "https://github.com/huggingface/transformers/pull/4460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4460.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4459/comments | https://api.github.com/repos/huggingface/transformers/issues/4459/events | https://github.com/huggingface/transformers/issues/4459 | 621,027,190 | MDU6SXNzdWU2MjEwMjcxOTA= | 4,459 | Pretrained Transformer-XL gives unreasonable result on WikiText-103 | {
"login": "gasteigerjo",
"id": 9202783,
"node_id": "MDQ6VXNlcjkyMDI3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9202783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gasteigerjo",
"html_url": "https://github.com/gasteigerjo",
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Transformer-XL (`transfo-xl-wt103`)
Language I am using the model on (English, Chinese ...): WikiText-103 (English)
The problem arises when using:
* [x] the official example scripts: `run_transfo_xl.py` (give details below)
* [ ] my own modified ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4459/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4458/comments | https://api.github.com/repos/huggingface/transformers/issues/4458/events | https://github.com/huggingface/transformers/pull/4458 | 620,979,451 | MDExOlB1bGxSZXF1ZXN0NDIwMTIxNDEw | 4,458 | layer name change to match compatibility with pytorch layer name in BertForQuestionAnswering | {
"login": "naveenjafer",
"id": 7025448,
"node_id": "MDQ6VXNlcjcwMjU0NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7025448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naveenjafer",
"html_url": "https://github.com/naveenjafer",
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4458?src=pr&el=h1) Report\n> Merging [#4458](https://codecov.io/gh/huggingface/transformers/pull/4458?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/384f0eb2f9d42e44094dbfd0917ccf4e6ddb462a&el=desc) will **decrease... | 1,589 | 1,625 | 1,595 | NONE | null | As pointed out in #438 When using BertForQuestionAnswering to load a tensorflow model using from_pretrained, one runs into an error
`AttributeError: 'BertForQuestionAnswering' object has no attribute 'classifier'`
As pointed out in the thread it should be "qa_outputs" and not "classifier" for this functionality to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4458",
"html_url": "https://github.com/huggingface/transformers/pull/4458",
"diff_url": "https://github.com/huggingface/transformers/pull/4458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4458.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4457/comments | https://api.github.com/repos/huggingface/transformers/issues/4457/events | https://github.com/huggingface/transformers/issues/4457 | 620,957,164 | MDU6SXNzdWU2MjA5NTcxNjQ= | 4,457 | FastTokenizer add_special_tokens also adding individual characters for multi character tokens | {
"login": "jwallat",
"id": 24674150,
"node_id": "MDQ6VXNlcjI0Njc0MTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/24674150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jwallat",
"html_url": "https://github.com/jwallat",
"followers_url": "https://api.github.com/users/jwalla... | [
{
"id": 1920687293,
"node_id": "MDU6TGFiZWwxOTIwNjg3Mjkz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Fast%20Tokenizers",
"name": "Fast Tokenizers",
"color": "b60205",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Thanks for the extensive bug report! I can confirm that you are correct and that the issue does not occur when using the slow option.\r\n\r\nPinging @n1t0 "
] | 1,589 | 1,590 | 1,590 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BERT FastTokenizer
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [X] my own modified scripts: (give details below)
The tasks I am working on is:
* [X] my own task or dataset: (give details bel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4457/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4456/comments | https://api.github.com/repos/huggingface/transformers/issues/4456/events | https://github.com/huggingface/transformers/issues/4456 | 620,955,230 | MDU6SXNzdWU2MjA5NTUyMzA= | 4,456 | Problems About Using the Run_language_modeling with Tf2. | {
"login": "RichardLS09",
"id": 31444570,
"node_id": "MDQ6VXNlcjMxNDQ0NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/31444570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RichardLS09",
"html_url": "https://github.com/RichardLS09",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @jplu, might be of interest :)",
"Hello!\r\n\r\nLike this there is not enough details to see what is the issue. Can you provide the piece of code you are trying to run? plz :)\r\n\r\nAlso if you are looking for how to properly use the trainer I suggest you to look at the already existing examples:\r\n\r\n- [Q... | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
### Model I am using Bert.
### The problem arises when using:
I'm using the run_language_modling.py to fine-tuning with (Tf2.0.0/Tf2.2.0). Of course i modify the script.
I use TFAutoModelWithLMHead,TFTrainer in this repo to build my script.
When i'm traning,here is the problem.
`ValueError: Trying to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4456/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4455/comments | https://api.github.com/repos/huggingface/transformers/issues/4455/events | https://github.com/huggingface/transformers/issues/4455 | 620,892,040 | MDU6SXNzdWU2MjA4OTIwNDA= | 4,455 | get output from a particular layer of pre-trained transformer (xlnet) | {
"login": "mainulquraishi",
"id": 14335238,
"node_id": "MDQ6VXNlcjE0MzM1MjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/14335238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mainulquraishi",
"html_url": "https://github.com/mainulquraishi",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Sure, these are called hidden states! Here's the [documentation of the XLNet model](https://huggingface.co/transformers/model_doc/xlnet.html?highlight=output_hidden_states#transformers.XLNetModel).\r\n\r\nPlease note the third return:\r\n\r\n> **hidden_states (tuple(torch.FloatTensor), optional, returned when conf... | 1,589 | 1,590 | 1,590 | NONE | null | As the title, how can I do this in PyTorch version of pre-trained transformer? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4454/comments | https://api.github.com/repos/huggingface/transformers/issues/4454/events | https://github.com/huggingface/transformers/issues/4454 | 620,882,411 | MDU6SXNzdWU2MjA4ODI0MTE= | 4,454 | DMOZ - web page classification / multi-language | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Can you check the Dmoz[Dmoz] \r\nthe database in sql he cost 1000$ to change it (https://idmoz.org) ",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | Hi,
Hope you are all well !
Still quite a newbie with transformers, I wanted to know how could it be possible to build a web page classifier with the DMOZ dump and to classify them into categories in several languages.
Thanks in advance for any insights or inputs on that question.
Cheers,
X | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4453/comments | https://api.github.com/repos/huggingface/transformers/issues/4453/events | https://github.com/huggingface/transformers/issues/4453 | 620,846,173 | MDU6SXNzdWU2MjA4NDYxNzM= | 4,453 | Bug - TFBertForSequenceClassification on SQUaD data | {
"login": "yonatanbitton",
"id": 26148975,
"node_id": "MDQ6VXNlcjI2MTQ4OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/26148975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yonatanbitton",
"html_url": "https://github.com/yonatanbitton",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nIf you want to train over SQuAD I suggest you to use the [run_tf_squad.py](https://github.com/huggingface/transformers/blob/master/examples/question-answering/run_tf_squad.py) example that uses the TF Trainer or to check the following [Colab](https://colab.research.google.com/github/huggingface/nlp/b... | 1,589 | 1,592 | 1,590 | NONE | null | # 🐛 Bug
## Information
I'm using TFBertForSequenceClassification on SQUaD data v1 data.
The problem arises when using:
* [ ] Both official example scripts and my own modified scripts
The tasks I am working on is:
* [ ] an official SQUaD v1 data and my own SQUaD v1 data.
## To reproduce
### Try 1 - w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4453/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4452/comments | https://api.github.com/repos/huggingface/transformers/issues/4452/events | https://github.com/huggingface/transformers/issues/4452 | 620,751,246 | MDU6SXNzdWU2MjA3NTEyNDY= | 4,452 | Value matrix of self-attention | {
"login": "jmamou",
"id": 19263306,
"node_id": "MDQ6VXNlcjE5MjYzMzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/19263306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmamou",
"html_url": "https://github.com/jmamou",
"followers_url": "https://api.github.com/users/jmamou/fo... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4452/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/4451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4451/comments | https://api.github.com/repos/huggingface/transformers/issues/4451/events | https://github.com/huggingface/transformers/issues/4451 | 620,692,195 | MDU6SXNzdWU2MjA2OTIxOTU= | 4,451 | ❓ Warning : This overload of addcdiv_ is deprecated | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"Not expected, but shouldn't be an issue. Feel free to open a PR swapping args in https://github.com/huggingface/transformers/blob/31eedff5a0fc47d60609089627af6698c21da88d/src/transformers/optimization.py#L165"
] | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | # ❓ Questions & Help
When running the [official Colab example of GLUE](https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/trainer/01_text_classification.ipynb), during training I receive a `UserWarning` :
```
/pytorch/torch/csrc/utils/python_arg_parser.cpp:756: UserWarning: This over... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4450/comments | https://api.github.com/repos/huggingface/transformers/issues/4450/events | https://github.com/huggingface/transformers/pull/4450 | 620,641,805 | MDExOlB1bGxSZXF1ZXN0NDE5ODQ4OTM5 | 4,450 | [Trainer] move model to device before setting optimizer | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | Fixes #4240
Thanks @shaoyent for diagnosing the issue | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4450",
"html_url": "https://github.com/huggingface/transformers/pull/4450",
"diff_url": "https://github.com/huggingface/transformers/pull/4450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4450.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4449/comments | https://api.github.com/repos/huggingface/transformers/issues/4449/events | https://github.com/huggingface/transformers/issues/4449 | 620,639,227 | MDU6SXNzdWU2MjA2MzkyMjc= | 4,449 | [Questions & Help] The loss doesn't decrease correctly while training BERT from scratch | {
"login": "ghrua",
"id": 16100433,
"node_id": "MDQ6VXNlcjE2MTAwNDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/16100433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghrua",
"html_url": "https://github.com/ghrua",
"followers_url": "https://api.github.com/users/ghrua/follow... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | # ❓ 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/4449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4448/comments | https://api.github.com/repos/huggingface/transformers/issues/4448/events | https://github.com/huggingface/transformers/pull/4448 | 620,634,592 | MDExOlB1bGxSZXF1ZXN0NDE5ODQzMjc2 | 4,448 | Correct TF formatting to exclude LayerNorms from weight decay | {
"login": "oliverastrand",
"id": 24825393,
"node_id": "MDQ6VXNlcjI0ODI1Mzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/24825393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oliverastrand",
"html_url": "https://github.com/oliverastrand",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nThanks for the fix! Just one suggestion above :)",
"Thanks for the feedback! Sounds like a good idea, added that. Are the failing ci tests an issue? Everything passes on my machine. ",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4448?src=pr&el=h1) Report\n> Merging [#4448](ht... | 1,589 | 1,590 | 1,590 | CONTRIBUTOR | null | Fixes #4360
Layer Norm is formated in the wrong way for TensorFlow. This causes it not to be excluded from weight decay in the [run_tf_glue.py](https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_tf_glue.py) script.
This pr simply formats the string to fit the TensorFlow nam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4448/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4448",
"html_url": "https://github.com/huggingface/transformers/pull/4448",
"diff_url": "https://github.com/huggingface/transformers/pull/4448.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4448.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4447/comments | https://api.github.com/repos/huggingface/transformers/issues/4447/events | https://github.com/huggingface/transformers/issues/4447 | 620,560,911 | MDU6SXNzdWU2MjA1NjA5MTE= | 4,447 | TF Beam Search generation seems to be flaky sometimes | {
"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 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [] | 1,589 | 1,591 | 1,591 | MEMBER | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): ALL TF generate models
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
* [ ] all genera... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4446/comments | https://api.github.com/repos/huggingface/transformers/issues/4446/events | https://github.com/huggingface/transformers/pull/4446 | 620,559,468 | MDExOlB1bGxSZXF1ZXN0NDE5Nzg2MDA2 | 4,446 | Make get_last_lr in trainer backward compatible | {
"login": "rakeshchada",
"id": 2664691,
"node_id": "MDQ6VXNlcjI2NjQ2OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2664691?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rakeshchada",
"html_url": "https://github.com/rakeshchada",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4446?src=pr&el=h1) Report\n> Merging [#4446](https://codecov.io/gh/huggingface/transformers/pull/4446?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/42e8fbfc51ae4990b24a3c92fa0c5d3481dfc821&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Fixes https://github.com/huggingface/transformers/issues/3959 .
@julien-c | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4446/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4446",
"html_url": "https://github.com/huggingface/transformers/pull/4446",
"diff_url": "https://github.com/huggingface/transformers/pull/4446.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4446.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4445/comments | https://api.github.com/repos/huggingface/transformers/issues/4445/events | https://github.com/huggingface/transformers/issues/4445 | 620,435,716 | MDU6SXNzdWU2MjA0MzU3MTY= | 4,445 | Generation with EncoderDecoder Model | {
"login": "manzar96",
"id": 38495091,
"node_id": "MDQ6VXNlcjM4NDk1MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/38495091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manzar96",
"html_url": "https://github.com/manzar96",
"followers_url": "https://api.github.com/users/man... | [
{
"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... | [
"Do we have any updates on this issue?",
"I will take a look at this at the end of next week - will get to you! ",
"> I will take a look at this at the end of next week - will get to you!\r\n\r\nThanks a lot!",
"Hi @manzar96,\r\nMultiple bugs were fixed in #4680 . Can you please take a look whether this error... | 1,589 | 1,596 | 1,596 | NONE | null | # ❓ Questions & Help
Hi,
I am using the EncoderDecoder Model and I would like to use the generate method for sequence generation. As I have read in docs, the generate method can be used with any Pretrained HF model with LM head on top.
So wrapping a pretrained LM model (e.g. GPT2LMHeadModel, BertForMaskedLM) (an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4445/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4444/comments | https://api.github.com/repos/huggingface/transformers/issues/4444/events | https://github.com/huggingface/transformers/issues/4444 | 620,400,246 | MDU6SXNzdWU2MjA0MDAyNDY= | 4,444 | model.save() does not save keras model that includes DIstillBert layer | {
"login": "msahamed",
"id": 8838524,
"node_id": "MDQ6VXNlcjg4Mzg1MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8838524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msahamed",
"html_url": "https://github.com/msahamed",
"followers_url": "https://api.github.com/users/msaha... | [] | closed | false | null | [] | [
"Same issue",
"Hi, we don't fully support saving/loading these models using keras' save/load methods (yet). In the meantime, please use `model.from_pretrained` or `model.save_pretrained`, which also saves the configuration file.",
"Hello @LysandreJik , \r\nThank you for the information. \r\n\r\nCould you point ... | 1,589 | 1,638 | 1,636 | NONE | null | # 🐛 Bug
## Information
I am trying to build a Keras Sequential model, where, I use DistillBERT as a non-trainable embedding layer. The model complies and fits well, even predict method works. But when I want to save it using model.save(model.h5), It fails and shows the following error:
```
> -----------------... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4444/reactions",
"total_count": 13,
"+1": 9,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 4
} | https://api.github.com/repos/huggingface/transformers/issues/4444/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4443/comments | https://api.github.com/repos/huggingface/transformers/issues/4443/events | https://github.com/huggingface/transformers/issues/4443 | 620,385,741 | MDU6SXNzdWU2MjAzODU3NDE= | 4,443 | Issues with the EncoderDecoderModel for sequence to sequence tasks | {
"login": "dbaxter240",
"id": 7192411,
"node_id": "MDQ6VXNlcjcxOTI0MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7192411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dbaxter240",
"html_url": "https://github.com/dbaxter240",
"followers_url": "https://api.github.com/users... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "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... | [
"Update -- after hours working with this code, I somehow only now realized that the PR I linked had updates to modeling_encoder_decoder.py that fixed the issues I'm describing in part 2 of my issue, which is why the example works there.\r\n\r\nI am still confused about part 1 (and 3) however, since it does not look... | 1,589 | 1,606 | 1,606 | NONE | null | # ❓ Questions & Help
I have been attempting with various models to try to build an encoder-decoder, sequence to sequence transformer model. For the most part, I have been using BERT (bert-base-cased), but have encountered issues with various models.
The model is intended for an English to English sequence to seq... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4443/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4442/comments | https://api.github.com/repos/huggingface/transformers/issues/4442/events | https://github.com/huggingface/transformers/pull/4442 | 620,316,295 | MDExOlB1bGxSZXF1ZXN0NDE5NTg3NDI1 | 4,442 | [Communtiy notebooks] Fine-tuning / Training | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4442?src=pr&el=h1) Report\n> Merging [#4442](https://codecov.io/gh/huggingface/transformers/pull/4442?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d9ece8233d584cdc2eeae5165dd3329328fae328&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | Proposal of how notebooks for training could be added. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4442/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4442",
"html_url": "https://github.com/huggingface/transformers/pull/4442",
"diff_url": "https://github.com/huggingface/transformers/pull/4442.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4442.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4441/comments | https://api.github.com/repos/huggingface/transformers/issues/4441/events | https://github.com/huggingface/transformers/pull/4441 | 620,308,971 | MDExOlB1bGxSZXF1ZXN0NDE5NTgxNTAx | 4,441 | [Community notebooks] General notebooks | {
"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/4441?src=pr&el=h1) Report\n> Merging [#4441](https://codecov.io/gh/huggingface/transformers/pull/4441?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/590adb130be8e99eb638bb22136dda537b2da71d&el=desc) will **increase... | 1,589 | 1,589 | 1,589 | MEMBER | null | A proposal how we could link community notebooks.
I'm using the awesome notebook of @patil-suraj (`nlp` + `Trainer` + `transformers` :-)) as an example of how community models can be added.
@patil-suraj - could you maybe review the PR and see whether it's ok for you? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4441",
"html_url": "https://github.com/huggingface/transformers/pull/4441",
"diff_url": "https://github.com/huggingface/transformers/pull/4441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4441.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4440/comments | https://api.github.com/repos/huggingface/transformers/issues/4440/events | https://github.com/huggingface/transformers/issues/4440 | 620,292,238 | MDU6SXNzdWU2MjAyOTIyMzg= | 4,440 | Reformer training error | {
"login": "Brock007",
"id": 53123440,
"node_id": "MDQ6VXNlcjUzMTIzNDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/53123440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Brock007",
"html_url": "https://github.com/Brock007",
"followers_url": "https://api.github.com/users/Bro... | [] | 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... | [
"Reformer does not support `mlm` training at the moment. Please make sure you use `lm` training :-) ",
"@patrickvonplaten thanks! Is there a plan to support mlm in the near future? \r\n\r\nI assume I can just remove the mlm flag to do lm training, right? How can I tell the script to pad the input sequences to a c... | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
When training a Reformer model from scratch, I got the following error:
**TypeError: forward() got an unexpected keyword argument 'masked_lm_labels'**
## Information
I am trying to train a Reformer model from scratch on English documents. My data is one document per line:
The problem arises when... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4440/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4439/comments | https://api.github.com/repos/huggingface/transformers/issues/4439/events | https://github.com/huggingface/transformers/pull/4439 | 620,285,968 | MDExOlB1bGxSZXF1ZXN0NDE5NTYzMjcw | 4,439 | Avoid abort due to missing paths in case of '--save_total_limit' argument | {
"login": "TJKlein",
"id": 7634373,
"node_id": "MDQ6VXNlcjc2MzQzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7634373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TJKlein",
"html_url": "https://github.com/TJKlein",
"followers_url": "https://api.github.com/users/TJKlein/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | Checkpoint path will be deleted when using --save_total_limit. torch.save() would not be able to store and abort. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4439",
"html_url": "https://github.com/huggingface/transformers/pull/4439",
"diff_url": "https://github.com/huggingface/transformers/pull/4439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4439.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/4438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4438/comments | https://api.github.com/repos/huggingface/transformers/issues/4438/events | https://github.com/huggingface/transformers/issues/4438 | 620,270,635 | MDU6SXNzdWU2MjAyNzA2MzU= | 4,438 | BERT Fine-tuning problems | {
"login": "laetokang",
"id": 49485939,
"node_id": "MDQ6VXNlcjQ5NDg1OTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/49485939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laetokang",
"html_url": "https://github.com/laetokang",
"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 | [] | [
"Is your dataset following the SQuAD dataset format? It seems that what's making it crash is that there's no `title` entry.\r\n\r\nYou can take a look at how SQuAD is setup [here](https://rajpurkar.github.io/SQuAD-explorer/dataset/train-v1.1.json).",
"This issue has been automatically marked as stale because it h... | 1,589 | 1,595 | 1,595 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4437/comments | https://api.github.com/repos/huggingface/transformers/issues/4437/events | https://github.com/huggingface/transformers/pull/4437 | 620,227,207 | MDExOlB1bGxSZXF1ZXN0NDE5NTE2MjMx | 4,437 | Added model cards for Romanian BERT models | {
"login": "dumitrescustefan",
"id": 22746816,
"node_id": "MDQ6VXNlcjIyNzQ2ODE2",
"avatar_url": "https://avatars.githubusercontent.com/u/22746816?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dumitrescustefan",
"html_url": "https://github.com/dumitrescustefan",
"followers_url": "https://... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Awesome, thanks for sharing\r\n\r\nhttps://huggingface.co/dumitrescustefan/bert-base-romanian-cased-v1\r\n\r\nI've added a filter for 🇷🇴 here: https://huggingface.co/models?filter=romanian"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Added model card for ``dumitrescustefan/bert-base-romanian-cased-v1`` and ``dumitrescustefan/bert-base-romanian-uncased-v1`` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4437",
"html_url": "https://github.com/huggingface/transformers/pull/4437",
"diff_url": "https://github.com/huggingface/transformers/pull/4437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4437.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4436/comments | https://api.github.com/repos/huggingface/transformers/issues/4436/events | https://github.com/huggingface/transformers/pull/4436 | 620,226,417 | MDExOlB1bGxSZXF1ZXN0NDE5NTE1NTYy | 4,436 | [T5 fp16] Fix fp16 in T5 | {
"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 | [] | [
"> Bart doesn't use this method yet, but LGTM!\r\n\r\nYeah, I noticed that as well - it's Bert that is using it."
] | 1,589 | 1,589 | 1,589 | MEMBER | null | This PR fixes the issue: #4287.
- A test for T5 is added.
- The function self.invert_attention_mask included a if statement now so that no errors will occur when using the function in `fp16` mode. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4436",
"html_url": "https://github.com/huggingface/transformers/pull/4436",
"diff_url": "https://github.com/huggingface/transformers/pull/4436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4436.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4435/comments | https://api.github.com/repos/huggingface/transformers/issues/4435/events | https://github.com/huggingface/transformers/pull/4435 | 620,202,426 | MDExOlB1bGxSZXF1ZXN0NDE5NDk1NzAy | 4,435 | added model card for german-sentiment-bert | {
"login": "oliverguhr",
"id": 3495355,
"node_id": "MDQ6VXNlcjM0OTUzNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3495355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oliverguhr",
"html_url": "https://github.com/oliverguhr",
"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 | [] | [
"Awesome model card. Link: https://huggingface.co/oliverguhr/german-sentiment-bert",
"Thanks a lot :+1: "
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | I added a description for my german sentiment model. If you have any feedback or questions please let me know. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4435",
"html_url": "https://github.com/huggingface/transformers/pull/4435",
"diff_url": "https://github.com/huggingface/transformers/pull/4435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4435.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4434/comments | https://api.github.com/repos/huggingface/transformers/issues/4434/events | https://github.com/huggingface/transformers/issues/4434 | 620,149,232 | MDU6SXNzdWU2MjAxNDkyMzI= | 4,434 | albertModel object has no attribute bias | {
"login": "Pydataman",
"id": 17594431,
"node_id": "MDQ6VXNlcjE3NTk0NDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/17594431?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pydataman",
"html_url": "https://github.com/Pydataman",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi! What is the `xxx` model? Is it one of our pre-trained checkpoints, is it an original TF checkpoint? Did this error happen in previous versions? Would you mind giving a bit of context?",
"Hi, I tried this model https://storage.googleapis.com/albert_models/albert_base_zh.tar.gz , which is new model release by ... | 1,589 | 1,593 | 1,593 | NONE | null | transformers version:2.9.0
model = AlbertModel.from_pretrained("xxx", from_tf=True)
Initialize PyTorch weight ['albert', 'encoder', 'albert_layer_groups', '0', 'albert_layers', '0', 'attention', 'key', 'kernel'] from bert/encoder/transformer/group_0/inner_group_0/attention_1/self/key/kernel
Initialize PyTorch we... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4434/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4433/comments | https://api.github.com/repos/huggingface/transformers/issues/4433/events | https://github.com/huggingface/transformers/pull/4433 | 620,053,168 | MDExOlB1bGxSZXF1ZXN0NDE5MzczNTA1 | 4,433 | Create README.md | {
"login": "mar-muel",
"id": 19345805,
"node_id": "MDQ6VXNlcjE5MzQ1ODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/19345805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mar-muel",
"html_url": "https://github.com/mar-muel",
"followers_url": "https://api.github.com/users/mar... | [
{
"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 | [] | [
"Also it could be interesting to convert and also upload PyTorch weights",
"I've tried - but the script unfortunately only works for TF 1.4 - would be glad share though! "
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4433/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/4433/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4433",
"html_url": "https://github.com/huggingface/transformers/pull/4433",
"diff_url": "https://github.com/huggingface/transformers/pull/4433.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4433.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4432/comments | https://api.github.com/repos/huggingface/transformers/issues/4432/events | https://github.com/huggingface/transformers/pull/4432 | 620,028,633 | MDExOlB1bGxSZXF1ZXN0NDE5MzUzNDkz | 4,432 | Tag onnx export tests as slow | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | MEMBER | null | TensorFlow ONNX export test is very slow as it makes many many optimizations passes of the graph.
This PR marks both PyTorch & TensorFlow as slow, and keeps all the others (fast) as non-slow. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4432",
"html_url": "https://github.com/huggingface/transformers/pull/4432",
"diff_url": "https://github.com/huggingface/transformers/pull/4432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4432.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4431/comments | https://api.github.com/repos/huggingface/transformers/issues/4431/events | https://github.com/huggingface/transformers/pull/4431 | 620,022,817 | MDExOlB1bGxSZXF1ZXN0NDE5MzQ4NzYz | 4,431 | Adding optimizations block from ONNXRuntime. | {
"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 | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [
{
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://... | [
"cc @tianleiwu ",
"use_external_data_format has some side-effect we'd like to mitigate here, I set to False by default and let the possibility for the user to override through CLI args."
] | 1,589 | 1,589 | 1,589 | MEMBER | null | cc @EmmaNingMS | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4431/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4431",
"html_url": "https://github.com/huggingface/transformers/pull/4431",
"diff_url": "https://github.com/huggingface/transformers/pull/4431.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4431.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4430/comments | https://api.github.com/repos/huggingface/transformers/issues/4430/events | https://github.com/huggingface/transformers/issues/4430 | 620,009,014 | MDU6SXNzdWU2MjAwMDkwMTQ= | 4,430 | 🐛 Weird learning rate with TPU Trainer | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): **ELECTRA**
Language I am using the model on (English, Chinese ...): **English**
The problem arises when using:
* [ ] the official example scripts:
* [x] my own modified scripts:
The tasks I am working on is:
* [ ] an official GLUE/SQUaD ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4429/comments | https://api.github.com/repos/huggingface/transformers/issues/4429/events | https://github.com/huggingface/transformers/issues/4429 | 619,974,661 | MDU6SXNzdWU2MTk5NzQ2NjE= | 4,429 | mbart config.json missing | {
"login": "WeiliangGuo",
"id": 12620778,
"node_id": "MDQ6VXNlcjEyNjIwNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12620778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WeiliangGuo",
"html_url": "https://github.com/WeiliangGuo",
"followers_url": "https://api.github.com/... | [] | 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... | [
"fairseq doesn't use config.json.\r\n\r\n`BartConfig.from_pretrained('mbart-large-en-ro').to_json_file('config.json')` gets the config.json for English-Romanian, which is the only mbart checkpoint that's usable in this repository."
] | 1,589 | 1,589 | 1,589 | NONE | null | I downloaded mbart from fairseq, there are dict.txt, model.pt, sentence.bpe.model in it but no config.json, where can we get it (and other necessary missing files)?
I use mbart as pretrained model.
Is bart-large trained on multilingual data?
Anyone has compared bart with t5? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4429/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4428/comments | https://api.github.com/repos/huggingface/transformers/issues/4428/events | https://github.com/huggingface/transformers/issues/4428 | 619,930,847 | MDU6SXNzdWU2MTk5MzA4NDc= | 4,428 | How to extract the best candidate after token classification? | {
"login": "renjithsasidharan",
"id": 4523060,
"node_id": "MDQ6VXNlcjQ1MjMwNjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4523060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/renjithsasidharan",
"html_url": "https://github.com/renjithsasidharan",
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | Let's assume the model predicts the following for an input sequence.
```
The O
creation. O
date O
is O
27 B-DATE
Aug I-DATE
2020 I-DATE
and O
update. O
date. O
is O
01-09-2020 B-DATE
```
How do you pick the best candidate for **creation date** from logist values? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4428/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4427/comments | https://api.github.com/repos/huggingface/transformers/issues/4427/events | https://github.com/huggingface/transformers/pull/4427 | 619,904,711 | MDExOlB1bGxSZXF1ZXN0NDE5MjU0NzAx | 4,427 | Refactored the README.md file | {
"login": "girishponkiya",
"id": 2093282,
"node_id": "MDQ6VXNlcjIwOTMyODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2093282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/girishponkiya",
"html_url": "https://github.com/girishponkiya",
"followers_url": "https://api.github.... | [
{
"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 | [] | [
"Ok for you @savasy?",
"Ya for sure @julien-c \r\nthanks a lot",
"Thanks @girishponkiya!",
"Thanks @girishponkiya !"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4427/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4427",
"html_url": "https://github.com/huggingface/transformers/pull/4427",
"diff_url": "https://github.com/huggingface/transformers/pull/4427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4427.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/4426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4426/comments | https://api.github.com/repos/huggingface/transformers/issues/4426/events | https://github.com/huggingface/transformers/issues/4426 | 619,879,741 | MDU6SXNzdWU2MTk4Nzk3NDE= | 4,426 | Lack of funetune examples for T5 model | {
"login": "MagicFrogSJTU",
"id": 8948386,
"node_id": "MDQ6VXNlcjg5NDgzODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8948386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MagicFrogSJTU",
"html_url": "https://github.com/MagicFrogSJTU",
"followers_url": "https://api.github.... | [] | closed | false | {
"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've setup T5 fine-tuning using lightning and also HF's new Trainer. I can submit a PR for that. Would like to hear from @patrickvonplaten ",
"It would be awesome if you could open a PR for this! ",
"Great! I'll organize my examples and submit PR as soon as I finish it.\r\n\r\n ",
"@Chenyzsjtu @patrickvonpl... | 1,589 | 1,603 | 1,591 | NONE | null | # 🚀 Feature request
It seems like examples under transformers/examples doesn't support T5 except for translation.
## Motivation
We need more examples! It should be easy for some simple benchmarks.
## Your contribution
None currently.. But I am working on it!
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4426/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/4426/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4425/comments | https://api.github.com/repos/huggingface/transformers/issues/4425/events | https://github.com/huggingface/transformers/issues/4425 | 619,876,417 | MDU6SXNzdWU2MTk4NzY0MTc= | 4,425 | BERT and other models pretraining from scratch example | {
"login": "hairzooc",
"id": 13031514,
"node_id": "MDQ6VXNlcjEzMDMxNTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/13031514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hairzooc",
"html_url": "https://github.com/hairzooc",
"followers_url": "https://api.github.com/users/hai... | [
{
"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 | [] | [
"https://huggingface.co/blog/how-to-train",
"Thank you for your swift reply :)\r\nHow about Electra model? Is it possible to pretrain from scratch as well?",
"Did you read the article? Section 3",
"Yup, I've read Section 3. :)\r\nAs long as I know Electra uses replaced token detection with discriminator and g... | 1,589 | 1,628 | 1,601 | NONE | null | Hi,
I've been finetuning lots of tasks using this repo. Thanks :)
But I couldn't find any pretraining from scratch examples.
Please let me know if you guys have any advices on that.
It would be very helpful for me to do my research.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4425/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/4425/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4424/comments | https://api.github.com/repos/huggingface/transformers/issues/4424/events | https://github.com/huggingface/transformers/pull/4424 | 619,861,543 | MDExOlB1bGxSZXF1ZXN0NDE5MjIxMDcw | 4,424 | Update README.md (model_card) | {
"login": "sy-wada",
"id": 62933006,
"node_id": "MDQ6VXNlcjYyOTMzMDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/62933006?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sy-wada",
"html_url": "https://github.com/sy-wada",
"followers_url": "https://api.github.com/users/sy-wad... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Yes, looks good now"
] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | - add a citation.
- modify the table of the BLUE benchmark.
The table of the first version was not displayed correctly on https://huggingface.co/seiya/oubiobert-base-uncased.
Could you please confirm that this fix will allow you to display it correctly? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4424",
"html_url": "https://github.com/huggingface/transformers/pull/4424",
"diff_url": "https://github.com/huggingface/transformers/pull/4424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4424.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4423/comments | https://api.github.com/repos/huggingface/transformers/issues/4423/events | https://github.com/huggingface/transformers/issues/4423 | 619,822,455 | MDU6SXNzdWU2MTk4MjI0NTU= | 4,423 | How to change transformers model embedding layer weights | {
"login": "acmilannesta",
"id": 47703762,
"node_id": "MDQ6VXNlcjQ3NzAzNzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/47703762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/acmilannesta",
"html_url": "https://github.com/acmilannesta",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | I trained my own tokenizer and added new words. Now I need to change the embedding size from the pretrained model. What I do is like this:
```
import transformers as tfm
import tensorflow as tf
backbone = tfm.TFRobertaModel.from_pretrained(PRETRAINED_PATH, output_hidden_states=True)
add_emb = tf.random.uniform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4423/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4422/comments | https://api.github.com/repos/huggingface/transformers/issues/4422/events | https://github.com/huggingface/transformers/pull/4422 | 619,817,442 | MDExOlB1bGxSZXF1ZXN0NDE5MTg4MzE4 | 4,422 | [T5 Conf] rename docstring to acuatly argument names | {
"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,589 | 1,589 | 1,589 | MEMBER | null | As mentioned in issue: #4139, the docstring names of the T5 Config are confusing since those names cannot be used to set the arguments.
This PR renames the arguments in the docstring and adds an explanation that those arguments can also be accessed via their properties.
To not break backward compatibility, rena... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4422",
"html_url": "https://github.com/huggingface/transformers/pull/4422",
"diff_url": "https://github.com/huggingface/transformers/pull/4422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4422.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4421/comments | https://api.github.com/repos/huggingface/transformers/issues/4421/events | https://github.com/huggingface/transformers/pull/4421 | 619,815,348 | MDExOlB1bGxSZXF1ZXN0NDE5MTg2OTcz | 4,421 | [test_pipelines] Mark tests > 10s @slow, small speedups | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | - pass in num_beams=2 to `SummarizationPipelines` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4421",
"html_url": "https://github.com/huggingface/transformers/pull/4421",
"diff_url": "https://github.com/huggingface/transformers/pull/4421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4421.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4420/comments | https://api.github.com/repos/huggingface/transformers/issues/4420/events | https://github.com/huggingface/transformers/issues/4420 | 619,812,602 | MDU6SXNzdWU2MTk4MTI2MDI= | 4,420 | BERT Tokenization problem when the input string has a "." in the string, like floating number | {
"login": "wenhuchen",
"id": 1457702,
"node_id": "MDQ6VXNlcjE0NTc3MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1457702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wenhuchen",
"html_url": "https://github.com/wenhuchen",
"followers_url": "https://api.github.com/users/we... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): BERT
Language I am using the model on (English, Chinese ...): English
The problem arises when using: Tokenizer
* [ ] the official example scripts: (give details below) N/A
* [ ] my own modified scripts: (give details below) N/A
The tasks I am ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4420/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4419/comments | https://api.github.com/repos/huggingface/transformers/issues/4419/events | https://github.com/huggingface/transformers/pull/4419 | 619,803,944 | MDExOlB1bGxSZXF1ZXN0NDE5MTc4ODc3 | 4,419 | [TF generate] Fix issue for batch output generation of different output length. | {
"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,589 | 1,589 | 1,589 | MEMBER | null | This PR fixes the issue: #4088.
A wrong variable was used in TF generate to determine the sentence length in the case when multiple outputs have different sentence lengths and the max sentence lengths is < the user defined `max_length`.
Also, both PT and TF generate are refactored a bit so that the `cur_length` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4419/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4419",
"html_url": "https://github.com/huggingface/transformers/pull/4419",
"diff_url": "https://github.com/huggingface/transformers/pull/4419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4419.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4418/comments | https://api.github.com/repos/huggingface/transformers/issues/4418/events | https://github.com/huggingface/transformers/issues/4418 | 619,786,818 | MDU6SXNzdWU2MTk3ODY4MTg= | 4,418 | Scaling text classification / reusing models | {
"login": "timsuchanek",
"id": 1094804,
"node_id": "MDQ6VXNlcjEwOTQ4MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1094804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timsuchanek",
"html_url": "https://github.com/timsuchanek",
"followers_url": "https://api.github.com/us... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"You can pretty easily \"freeze\" parameters you don't want to backpropagate against, in PyTorch: \r\n\r\n```python\r\nfor param in parameters:\r\n param.requires_grad = False\r\n```",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further act... | 1,589 | 1,595 | 1,595 | CONTRIBUTOR | null | If I have a system, where I want to train many text classifiers for many users, how could I go about it with the transformers library in a scalable way?
Right now I would have to run let's say a 10min training per user on a RTX 2080 ti for Albert for the dataset I have. That doesn't scale if I have thousands of users.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4417/comments | https://api.github.com/repos/huggingface/transformers/issues/4417/events | https://github.com/huggingface/transformers/issues/4417 | 619,779,006 | MDU6SXNzdWU2MTk3NzkwMDY= | 4,417 | TypeError: add_() takes 1 positional argument but 2 were given | {
"login": "mqliu7",
"id": 38928187,
"node_id": "MDQ6VXNlcjM4OTI4MTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/38928187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mqliu7",
"html_url": "https://github.com/mqliu7",
"followers_url": "https://api.github.com/users/mqliu7/fo... | [] | closed | false | null | [] | [
"This was fixed on master on Friday, can you try pulling from master again?"
] | 1,589 | 1,589 | 1,589 | NONE | null | # 🐛 Bug
## Information
I was trying to reproduce the GLUE fine-tuning example (https://huggingface.co/transformers/examples.html#fine-tuning-example) when I ran into this error:
```
File "~/anaconda3/lib/python3.7/site-packages/transformers/optimization.py", line 155, in step
exp_avg.mul_(beta1).add_(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4417/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/4417/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4416/comments | https://api.github.com/repos/huggingface/transformers/issues/4416/events | https://github.com/huggingface/transformers/pull/4416 | 619,765,802 | MDExOlB1bGxSZXF1ZXN0NDE5MTUxNDU1 | 4,416 | Fixed spelling of training | {
"login": "soham96",
"id": 18757535,
"node_id": "MDQ6VXNlcjE4NzU3NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/18757535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soham96",
"html_url": "https://github.com/soham96",
"followers_url": "https://api.github.com/users/soham9... | [] | closed | false | null | [] | [] | 1,589 | 1,589 | 1,589 | CONTRIBUTOR | null | Spelling of training was incorrect. Fixed it. Sorry for such a bad PR :( | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4416/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/4416",
"html_url": "https://github.com/huggingface/transformers/pull/4416",
"diff_url": "https://github.com/huggingface/transformers/pull/4416.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/4416.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/4415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4415/comments | https://api.github.com/repos/huggingface/transformers/issues/4415/events | https://github.com/huggingface/transformers/issues/4415 | 619,760,690 | MDU6SXNzdWU2MTk3NjA2OTA= | 4,415 | GPT2 perplexity rolling/striding way for evaluating a document. | {
"login": "sb1992",
"id": 10261100,
"node_id": "MDQ6VXNlcjEwMjYxMTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10261100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sb1992",
"html_url": "https://github.com/sb1992",
"followers_url": "https://api.github.com/users/sb1992/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,589 | 1,595 | 1,595 | NONE | null | As I understand GPT2 uses TextDataset as a loader and it produces the example list in block sizes. So say we have a sentence "**we are in a climate crisis**" and have block size 3. So this will produce the example list as
`ex = [["we","are","in"],["a","climate","crisis"]]`
So in such a scenario when calculating ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4415/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/4414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/4414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/4414/comments | https://api.github.com/repos/huggingface/transformers/issues/4414/events | https://github.com/huggingface/transformers/issues/4414 | 619,733,445 | MDU6SXNzdWU2MTk3MzM0NDU= | 4,414 | Get BERT sentence encoding | {
"login": "orenkobo",
"id": 50831837,
"node_id": "MDQ6VXNlcjUwODMxODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/50831837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orenkobo",
"html_url": "https://github.com/orenkobo",
"followers_url": "https://api.github.com/users/ore... | [
{
"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 believe you can't do like that, you have to run the model just as is with all the necessary inputs(pertaining to the sentence) as mentioned in the docs : https://huggingface.co/transformers/model_doc/bert.html#transformers.BertModel\r\nand then add the configuration : `config.output_hidden_states=True` for getti... | 1,589 | 1,595 | 1,595 | NONE | null | I am trying to access to encoding of sentences in the vaious layers in pre-trained BERT model.
So it should be something like this:
```
sentence = 'We bought a new car'
bert_encoder = load_encoder('bert-base-uncased')
enc = bert_encoder.encode(sentence)
enc.get_layer[0] #this is the first layer
enc.get_layer[-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/4414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/4414/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.