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/8925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8925/comments | https://api.github.com/repos/huggingface/transformers/issues/8925/events | https://github.com/huggingface/transformers/pull/8925 | 757,242,112 | MDExOlB1bGxSZXF1ZXN0NTMyNjUwNjE2 | 8,925 | Fix TF T5 only encoder model with booleans | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | This model was not adapted to the new inputs processing. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8925/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8925",
"html_url": "https://github.com/huggingface/transformers/pull/8925",
"diff_url": "https://github.com/huggingface/transformers/pull/8925.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8925.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8924/comments | https://api.github.com/repos/huggingface/transformers/issues/8924/events | https://github.com/huggingface/transformers/pull/8924 | 757,175,536 | MDExOlB1bGxSZXF1ZXN0NTMyNTk1Mjkw | 8,924 | Add new SQUAD example | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"I'd like the new examples scripts to stay fairly focused on one problem (at the cost of potentially have some duplicate codes) so they're easy to understand (and tweak) by users. We don't support any kind of datasets either (if your QA dataset has fields with names slightly different than SQUAD for instance), user... | 1,607 | 1,607 | 1,607 | COLLABORATOR | null | # What does this PR do?
This PR adds a new example for SQUAD (v1 and v2) for simple models (e.g., not the XLNet/XLM more complex version, another example will follow for those) using the datasets library and all the features of the fast tokenizer to simplify considerably the preprocessing and the post-processing.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8924/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8924",
"html_url": "https://github.com/huggingface/transformers/pull/8924",
"diff_url": "https://github.com/huggingface/transformers/pull/8924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8924.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8923/comments | https://api.github.com/repos/huggingface/transformers/issues/8923/events | https://github.com/huggingface/transformers/issues/8923 | 757,031,928 | MDU6SXNzdWU3NTcwMzE5Mjg= | 8,923 | ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds | {
"login": "Ki6an",
"id": 63173962,
"node_id": "MDQ6VXNlcjYzMTczOTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/63173962?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ki6an",
"html_url": "https://github.com/Ki6an",
"followers_url": "https://api.github.com/users/Ki6an/follow... | [] | closed | false | null | [] | [
"@patrickvonplaten might be able to help",
"Seq2Seq models are a bit special - they also need `decoder_input_ids` as the error message states. Since torchscript however does not allow keyword arguments we need to provide positional arguments and therefore it's mandatory to also provide the 2nd argument being the ... | 1,607 | 1,688 | 1,611 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: **4.0.0**
- Platform: **google colab**
- Python version: 3
- PyTorch version (GPU?): 1.7.0+cu101
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8923/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8922/comments | https://api.github.com/repos/huggingface/transformers/issues/8922/events | https://github.com/huggingface/transformers/pull/8922 | 756,907,915 | MDExOlB1bGxSZXF1ZXN0NTMyMzc0ODEy | 8,922 | Add comet | {
"login": "roy29fuku",
"id": 18661965,
"node_id": "MDQ6VXNlcjE4NjYxOTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/18661965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/roy29fuku",
"html_url": "https://github.com/roy29fuku",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, what is this?",
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,607 | 1,614 | 1,614 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8922/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8922",
"html_url": "https://github.com/huggingface/transformers/pull/8922",
"diff_url": "https://github.com/huggingface/transformers/pull/8922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8922.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8921/comments | https://api.github.com/repos/huggingface/transformers/issues/8921/events | https://github.com/huggingface/transformers/issues/8921 | 756,892,221 | MDU6SXNzdWU3NTY4OTIyMjE= | 8,921 | TransfoXL Slow Test Fails | {
"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... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,607 | 1,619 | 1,619 | MEMBER | null | This test needs to be fixed:
```
pytest -s tests/test_modeling_tf_transfo_xl.py::TFTransfoXLModelLanguageGenerationTest::test_lm_generate_transfo_xl_wt103
```
@patrickvonplaten pinging myself.
cc @jplu (for notice) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8921/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/8921/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8920/comments | https://api.github.com/repos/huggingface/transformers/issues/8920/events | https://github.com/huggingface/transformers/pull/8920 | 756,592,695 | MDExOlB1bGxSZXF1ZXN0NTMyMTE4MzYx | 8,920 | Patch model parallel test | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | Patches the model parallel tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8920",
"html_url": "https://github.com/huggingface/transformers/pull/8920",
"diff_url": "https://github.com/huggingface/transformers/pull/8920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8920.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8919/comments | https://api.github.com/repos/huggingface/transformers/issues/8919/events | https://github.com/huggingface/transformers/issues/8919 | 756,564,457 | MDU6SXNzdWU3NTY1NjQ0NTc= | 8,919 | BertModel outputs string instead of tensor | {
"login": "miguelwon",
"id": 7373193,
"node_id": "MDQ6VXNlcjczNzMxOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7373193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miguelwon",
"html_url": "https://github.com/miguelwon",
"followers_url": "https://api.github.com/users/mi... | [] | closed | false | null | [] | [
"Hi! Indeed, model outputs cannot be unpacked this way. It is mentioned in the [documentation](https://huggingface.co/transformers/main_classes/output.html#transformers.file_utils.ModelOutput). You can retrieve the items by unpacking them like this if you use the `.to_tuple()` method.",
"Oh, ok. Thanks and sorry ... | 1,607 | 1,607 | 1,607 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0
- Platform: Linux-4.15.0-46-generic-x86_64-with-Ubuntu-16.04-xenial
- Python version: 3.6.7
- PyT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8919/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8918/comments | https://api.github.com/repos/huggingface/transformers/issues/8918/events | https://github.com/huggingface/transformers/pull/8918 | 756,474,643 | MDExOlB1bGxSZXF1ZXN0NTMyMDE0NjA5 | 8,918 | Put Transformers on Conda | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | MEMBER | null | Puts transformers on conda, on the `huggingface` channel. Installation can be done as:
```
conda install -c huggingface transformers
```
Will push a build on the channel on every new tag. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8918/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8918/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8918",
"html_url": "https://github.com/huggingface/transformers/pull/8918",
"diff_url": "https://github.com/huggingface/transformers/pull/8918.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8918.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8917/comments | https://api.github.com/repos/huggingface/transformers/issues/8917/events | https://github.com/huggingface/transformers/pull/8917 | 756,314,496 | MDExOlB1bGxSZXF1ZXN0NTMxODc5MDg1 | 8,917 | Fix move when the two cache folders exist | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | COLLABORATOR | null | # What does this PR do?
When doing local checkouts of PRs that predate the cache move, we end up with the two cache folders existing and the automatic move fails. This PR fixes that.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8917",
"html_url": "https://github.com/huggingface/transformers/pull/8917",
"diff_url": "https://github.com/huggingface/transformers/pull/8917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8917.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8916/comments | https://api.github.com/repos/huggingface/transformers/issues/8916/events | https://github.com/huggingface/transformers/issues/8916 | 756,300,750 | MDU6SXNzdWU3NTYzMDA3NTA= | 8,916 | Impossible to use sentencepiece | {
"login": "lematmat",
"id": 19993147,
"node_id": "MDQ6VXNlcjE5OTkzMTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/19993147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lematmat",
"html_url": "https://github.com/lematmat",
"followers_url": "https://api.github.com/users/lem... | [] | closed | false | null | [] | [
"Have you tried restarting the kernel after installing `sentencepiece`?",
"Yes, I did, with:\r\n!pip install --upgrade sentencepiece",
"Is it possible for you to share your notebook so that I may take a look?",
"I've just relaunched my notebook now, I don't have any issue now.\r\n\r\nThank you for your help\r... | 1,607 | 1,607 | 1,607 | NONE | null | Hi,
I explicitly installed both the latest version of transformers (v4.0.0) and Sentencepiece (v0.1.84) as it is specified as it is specified in the release history:

... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8916/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8915/comments | https://api.github.com/repos/huggingface/transformers/issues/8915/events | https://github.com/huggingface/transformers/pull/8915 | 756,300,334 | MDExOlB1bGxSZXF1ZXN0NTMxODY3MzA1 | 8,915 | Avoid erasing the attention mask when double padding | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,607 | 1,607 | 1,607 | COLLABORATOR | null | # What does this PR do?
There is currently a bug when padding the same inputs twice:
```
>>> from transformers import AutoTokenizer
>>> tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
>>> inputs = tokenizer("Hello, my name is Sylvain!", padding="max_length", max_length=32)
>>> print(inputs["atten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8915/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8915",
"html_url": "https://github.com/huggingface/transformers/pull/8915",
"diff_url": "https://github.com/huggingface/transformers/pull/8915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8915.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8914/comments | https://api.github.com/repos/huggingface/transformers/issues/8914/events | https://github.com/huggingface/transformers/pull/8914 | 756,203,573 | MDExOlB1bGxSZXF1ZXN0NTMxNzg1NTQz | 8,914 | Tweak wording + Add badge w/ number of models on the hub | {
"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 | [] | [
"[Tooling comment] For some reason `python utils/check_copies.py --fix_and_overwrite` fails on my Python with following:\r\n```\r\n(.env) ipro:transformers gibbon$ python utils/check_copies.py --fix_and_overwrite\r\nTraceback (most recent call last):\r\n File \"utils/check_copies.py\", line 432, in <module>\r\n ... | 1,607 | 1,607 | 1,607 | MEMBER | null | it seemed pertinent to display this here but maybe we can also add it to some other places | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8914/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8914",
"html_url": "https://github.com/huggingface/transformers/pull/8914",
"diff_url": "https://github.com/huggingface/transformers/pull/8914.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8914.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8913/comments | https://api.github.com/repos/huggingface/transformers/issues/8913/events | https://github.com/huggingface/transformers/issues/8913 | 756,088,403 | MDU6SXNzdWU3NTYwODg0MDM= | 8,913 | Fine-tune with custom data | {
"login": "whoafridi",
"id": 35966401,
"node_id": "MDQ6VXNlcjM1OTY2NDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/35966401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whoafridi",
"html_url": "https://github.com/whoafridi",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"`run_squad.py` is more complete right now, as `run_squad_trainer.py` can't do evaluation (yet! it will be possible in a few days).\r\n\r\nWe try to keep the github issues for bugs/feature requests.\r\nFor next time, could you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!... | 1,606 | 1,607 | 1,607 | NONE | null | 1. What is the difference between `run_squad.py` & `run_squad_trainer.py` ?
I've squad like dataset. 2. What script I used for fine-tuning with my own dataset? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8913/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8912/comments | https://api.github.com/repos/huggingface/transformers/issues/8912/events | https://github.com/huggingface/transformers/pull/8912 | 755,946,972 | MDExOlB1bGxSZXF1ZXN0NTMxNTczMDc0 | 8,912 | Create README.md | {
"login": "Quangtruong1999",
"id": 62788094,
"node_id": "MDQ6VXNlcjYyNzg4MDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/62788094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Quangtruong1999",
"html_url": "https://github.com/Quangtruong1999",
"followers_url": "https://api... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"This doesn't seem correct"
] | 1,606 | 1,607 | 1,607 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8912",
"html_url": "https://github.com/huggingface/transformers/pull/8912",
"diff_url": "https://github.com/huggingface/transformers/pull/8912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8912.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8911/comments | https://api.github.com/repos/huggingface/transformers/issues/8911/events | https://github.com/huggingface/transformers/issues/8911 | 755,716,404 | MDU6SXNzdWU3NTU3MTY0MDQ= | 8,911 | Help to run an Example Code (it's a bug maybe ?) | {
"login": "Sourciluss667",
"id": 45699766,
"node_id": "MDQ6VXNlcjQ1Njk5NzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/45699766?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sourciluss667",
"html_url": "https://github.com/Sourciluss667",
"followers_url": "https://api.githu... | [] | 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... | [
"Hmmm, this is weird, I can't reproduce with a very similar environment:\r\n\r\n```py\r\n- `transformers` version: 4.0.0\r\n- Platform: Linux-5.9.11-arch2-1-x86_64-with-glibc2.10\r\n- Python version: 3.8.3\r\n- PyTorch version (GPU?): 1.7.0 (True)\r\n- Tensorflow version (GPU?): 2.3.1 (False)\r\n```\r\n\r\nIt outpu... | 1,606 | 1,607 | 1,607 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Windows-10-10.0.18362-SP0
- Python version: 3.8.6
- PyTorch version (GPU?): 1.7.0+cpu (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8911/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/8911/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8910/comments | https://api.github.com/repos/huggingface/transformers/issues/8910/events | https://github.com/huggingface/transformers/issues/8910 | 755,642,714 | MDU6SXNzdWU3NTU2NDI3MTQ= | 8,910 | "No log" when training RobertaForSequenceClassification using Trainer | {
"login": "BryanWBear",
"id": 7650109,
"node_id": "MDQ6VXNlcjc2NTAxMDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7650109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BryanWBear",
"html_url": "https://github.com/BryanWBear",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Could you provide the environment information as mentioned in the issue template, alongside the a reproducible that outputs this so that we may check what's going on? Thank you.",
"Hi @BryanWBear , \r\n\r\nI am facing this issue too. In the meantime, did you find a solution?\r\n\r\nThank you so much in advance!"... | 1,606 | 1,619 | 1,619 | NONE | null | When training, for the first few logging steps I get "No log".
Looks like this:
Step | Training Loss | Validation Loss | Accuracy | F1
-- | -- | -- | -- | --
150 | No log | 0.695841 | 0.503277 | 0.410575
300 | No log | 0.696622 | 0.488860 | 0.298561
450 | No log | 0.694300 | 0.499345 | 0.356902
What does t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8910/reactions",
"total_count": 24,
"+1": 22,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8910/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8909/comments | https://api.github.com/repos/huggingface/transformers/issues/8909/events | https://github.com/huggingface/transformers/issues/8909 | 755,622,179 | MDU6SXNzdWU3NTU2MjIxNzk= | 8,909 | FlaxBertModel examples (and fast attention) | {
"login": "StefanoSalvatori",
"id": 38183486,
"node_id": "MDQ6VXNlcjM4MTgzNDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/38183486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StefanoSalvatori",
"html_url": "https://github.com/StefanoSalvatori",
"followers_url": "https://... | [] | closed | false | null | [] | [
"It should work - we'll run some experiments soon :-) https://github.com/huggingface/transformers/pull/8358 @TevenLeScao",
"Ok, great!\r\n\r\nFor the moment i'm running some experiments myself with FlaxBertModel but i'm getting unexpected behaviors: it seems that the flax implementation is slower than the torch o... | 1,606 | 1,621 | 1,621 | NONE | null | Are there any examples that show how to use the FlaxBertModel?
Would it be possible to replace the current SelfAttention module with the one proposed here https://github.com/google-research/google-research/tree/master/performer/fast_self_attention? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8909/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8908/comments | https://api.github.com/repos/huggingface/transformers/issues/8908/events | https://github.com/huggingface/transformers/issues/8908 | 755,566,351 | MDU6SXNzdWU3NTU1NjYzNTE= | 8,908 | Question: What's the difference between tokenizer_utils, tokenizer_utils_base & tokenizer_utils_fast | {
"login": "BrandonLiang",
"id": 12600264,
"node_id": "MDQ6VXNlcjEyNjAwMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/12600264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BrandonLiang",
"html_url": "https://github.com/BrandonLiang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,606 | 1,619 | 1,619 | NONE | null | As titled. Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8908/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8907/comments | https://api.github.com/repos/huggingface/transformers/issues/8907/events | https://github.com/huggingface/transformers/issues/8907 | 755,458,216 | MDU6SXNzdWU3NTU0NTgyMTY= | 8,907 | Unexpected situation when freezing BertForMaskedLM | {
"login": "jaimeenahn",
"id": 32367255,
"node_id": "MDQ6VXNlcjMyMzY3MjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/32367255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaimeenahn",
"html_url": "https://github.com/jaimeenahn",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I think this is probably so because the `cls.predictions.decoder` is a linear layer, which is tied to the embeddings layer. They're pointing to the same weights, so freezeing one of those would result in freezing the other one."
] | 1,606 | 1,614 | 1,614 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.1.0
- Platform: Linux-4.18.0-147.el8.x86_64-x86_64-with-Ubuntu-16.04-xenial
- Python version: 3.7.7
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8907/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8906/comments | https://api.github.com/repos/huggingface/transformers/issues/8906/events | https://github.com/huggingface/transformers/pull/8906 | 755,452,061 | MDExOlB1bGxSZXF1ZXN0NTMxMTU5NjQy | 8,906 | Corrected a typo in the ReadMe | {
"login": "devangi2000",
"id": 54393816,
"node_id": "MDQ6VXNlcjU0MzkzODE2",
"avatar_url": "https://avatars.githubusercontent.com/u/54393816?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devangi2000",
"html_url": "https://github.com/devangi2000",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thank you very much for this correction, @devangi2000 "
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8906",
"html_url": "https://github.com/huggingface/transformers/pull/8906",
"diff_url": "https://github.com/huggingface/transformers/pull/8906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8906.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8905/comments | https://api.github.com/repos/huggingface/transformers/issues/8905/events | https://github.com/huggingface/transformers/pull/8905 | 755,450,513 | MDExOlB1bGxSZXF1ZXN0NTMxMTU4NDAy | 8,905 | Fix typo in docstring in src/transformers/models/bert_japanese/tokenization_bert_japanese.py | {
"login": "ryota-mo",
"id": 40747105,
"node_id": "MDQ6VXNlcjQwNzQ3MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/40747105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryota-mo",
"html_url": "https://github.com/ryota-mo",
"followers_url": "https://api.github.com/users/ryo... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
Only fix typo (thi -> this).
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8905/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8905",
"html_url": "https://github.com/huggingface/transformers/pull/8905",
"diff_url": "https://github.com/huggingface/transformers/pull/8905.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8905.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8904/comments | https://api.github.com/repos/huggingface/transformers/issues/8904/events | https://github.com/huggingface/transformers/issues/8904 | 755,445,813 | MDU6SXNzdWU3NTU0NDU4MTM= | 8,904 | Using doc chunks without answer token during training ( BertForQuestionAnswering ) | {
"login": "nikoletta-toth",
"id": 65224954,
"node_id": "MDQ6VXNlcjY1MjI0OTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/65224954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikoletta-toth",
"html_url": "https://github.com/nikoletta-toth",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@sgugger you might be interested in that issue given that you're refactoring the squad example!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow t... | 1,606 | 1,619 | 1,619 | NONE | null | Hi!
When creating features from the squad examples, you use sliding window approach to generate doc chunks, when the input data is too long. There you state, **_if the document chunk does not contain an annotation, you throw it out, since there is nothing to predict._** Hence you set the start_position=0 and end_pos... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8904/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8903/comments | https://api.github.com/repos/huggingface/transformers/issues/8903/events | https://github.com/huggingface/transformers/pull/8903 | 755,425,901 | MDExOlB1bGxSZXF1ZXN0NTMxMTM4MzY3 | 8,903 | [trainer] improve code readability | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | This PR:
* removes redundant code, as:
```
self.model = model if model is not None else None
```
and
```
self.model = model
```
are the same.
* decouples attribute assignment from code logic - which simplifies things further.
@sgugger, @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8903",
"html_url": "https://github.com/huggingface/transformers/pull/8903",
"diff_url": "https://github.com/huggingface/transformers/pull/8903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8903.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8902/comments | https://api.github.com/repos/huggingface/transformers/issues/8902/events | https://github.com/huggingface/transformers/pull/8902 | 755,332,919 | MDExOlB1bGxSZXF1ZXN0NTMxMDYzNjU1 | 8,902 | fix(pipeline): error when model not in AutoModel | {
"login": "voidful",
"id": 10904842,
"node_id": "MDQ6VXNlcjEwOTA0ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/10904842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voidful",
"html_url": "https://github.com/voidful",
"followers_url": "https://api.github.com/users/voidfu... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,606 | 1,619 | 1,619 | CONTRIBUTOR | null |
# What does this PR do?
During pipeline initialize, it will call get_framework to check whether tf or pt model. get_framework will call AutoModel to load model and return where it depends on.
However, not all the models are in AutoModel. For example, `Helsinki-NLP/opus-mt-en-fr` is under AutoModelForSeq2SeqLM w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8902/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8902",
"html_url": "https://github.com/huggingface/transformers/pull/8902",
"diff_url": "https://github.com/huggingface/transformers/pull/8902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8902.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8901/comments | https://api.github.com/repos/huggingface/transformers/issues/8901/events | https://github.com/huggingface/transformers/issues/8901 | 755,298,871 | MDU6SXNzdWU3NTUyOTg4NzE= | 8,901 | Removing Head Layer/Model Conversion | {
"login": "pugantsov",
"id": 16597333,
"node_id": "MDQ6VXNlcjE2NTk3MzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/16597333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pugantsov",
"html_url": "https://github.com/pugantsov",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"A model trained for sequence classification can definitely be loaded with a different head. Here's an example:\r\n\r\n```py\r\nfrom transformers import DistilBertForSequenceClassification, DistilBertForMaskedLM\r\nsequence_classifier = DistilBertForSequenceClassification.from_pretrained(\"...\")\r\n# Do stuff with... | 1,606 | 1,606 | 1,606 | NONE | null | I am currently working on some research in which I am to delve into the analysis of decision boundaries in text classification tasks and I am aiming to use recent work from the `ExBERT` paper, allowing me to visualise the importance of particular features across sentences.
Since the library is built on top of models... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8901/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8900/comments | https://api.github.com/repos/huggingface/transformers/issues/8900/events | https://github.com/huggingface/transformers/pull/8900 | 755,266,635 | MDExOlB1bGxSZXF1ZXN0NTMxMDEwNzQ0 | 8,900 | [Bart] Refactor - fix issues, consistency with the library, naming | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Try the various Marian fine-tuning scripts. You should easily be able to get 22+ BLEU on wmt-en-ro with both `finetune_trainer.py` and `finetune.py` in < 30 minutes on brutasse.",
"Speed / Memory benchmark of master vs. this PR is ok for me:\r\n\r\n... | 1,606 | 1,619 | 1,619 | NONE | null | `train/validation/test examples. -1 means use all` may be not correct
https://github.com/huggingface/transformers/blob/693ac3594b96e86dd282fdf8e413f3a48b176892/examples/seq2seq/finetune_trainer.py#L97-L99
`n_train/val/test` is used to compute the length of the dataset, there will lack one line if set to -1. It sh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8898/comments | https://api.github.com/repos/huggingface/transformers/issues/8898/events | https://github.com/huggingface/transformers/issues/8898 | 755,227,251 | MDU6SXNzdWU3NTUyMjcyNTE= | 8,898 | Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-Q_fyRn/sacrebleu/ | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"Installing transformers is also broken\r\n\r\n(test) rabeeh@gpu4:~/transformers/examples/seq2seq$ pip install git+https://github.com/huggingface/transformers.git\r\nCollecting git+https://github.com/huggingface/transformers.git\r\n Cloning https://github.com/huggingface/transformers.git to /tmp/pip-req-build-V7nN... | 1,606 | 1,606 | 1,606 | NONE | null | Hi
I am trying with master branch getting this error when installign requirements inside examples
thanks.
Collecting seqeval (from -r ../requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/9d/2d/233c79d5b4e5ab1dbf111242299153f3caddddbb691219f363ad55ce783d/seqeval-1.2.2.tar.gz (43kB)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8898/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8897/comments | https://api.github.com/repos/huggingface/transformers/issues/8897/events | https://github.com/huggingface/transformers/issues/8897 | 755,208,628 | MDU6SXNzdWU3NTUyMDg2Mjg= | 8,897 | finetune_trainer with python -m torch.distributed.launch | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"Also, could you add the command to run distributed training with GPUs with finetune_trainer in README? thanks ",
"I tried with latest version of transformers on 4 gpu with distributed training \r\n\r\nrabeeh@gpu4:~/transformers/examples/seq2seq$ python -m torch.distributed.launch finetune.py --learning_rate=3e-... | 1,606 | 1,621 | 1,619 | NONE | null | Hi
I need to run the finetune_trainer with multiple gpus, I am getting the error of
"Default process group is not initialized"
AssertionError: Default process group is not initialized
I am using custom dataloader, might be hard to share all the parts of codes, but I defined sampler as DistributedSampler.
thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8897/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8896/comments | https://api.github.com/repos/huggingface/transformers/issues/8896/events | https://github.com/huggingface/transformers/pull/8896 | 755,203,918 | MDExOlB1bGxSZXF1ZXN0NTMwOTYwODY3 | 8,896 | Create README.md | {
"login": "snunlp",
"id": 58285171,
"node_id": "MDQ6VXNlcjU4Mjg1MTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58285171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snunlp",
"html_url": "https://github.com/snunlp",
"followers_url": "https://api.github.com/users/snunlp/fo... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Looks like this PR was unfortunately broken, so I'm going to close it. Also noting that the way to update a model card now is to update it directly in your model repo! see https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755"
] | 1,606 | 1,607 | 1,607 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8896",
"html_url": "https://github.com/huggingface/transformers/pull/8896",
"diff_url": "https://github.com/huggingface/transformers/pull/8896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8896.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8895/comments | https://api.github.com/repos/huggingface/transformers/issues/8895/events | https://github.com/huggingface/transformers/pull/8895 | 755,202,087 | MDExOlB1bGxSZXF1ZXN0NTMwOTU5NDMy | 8,895 | Create README.md | {
"login": "snunlp",
"id": 58285171,
"node_id": "MDQ6VXNlcjU4Mjg1MTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58285171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/snunlp",
"html_url": "https://github.com/snunlp",
"followers_url": "https://api.github.com/users/snunlp/fo... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Looks like this PR was unfortunately broken, so I'm going to close it. Also noting that the way to update a model card now is to update it directly in your model repo! see https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755"
] | 1,606 | 1,607 | 1,607 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8895",
"html_url": "https://github.com/huggingface/transformers/pull/8895",
"diff_url": "https://github.com/huggingface/transformers/pull/8895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8895.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8894/comments | https://api.github.com/repos/huggingface/transformers/issues/8894/events | https://github.com/huggingface/transformers/issues/8894 | 755,118,625 | MDU6SXNzdWU3NTUxMTg2MjU= | 8,894 | custom prepare_inputs_for_generation for generation | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"solved with implementing it inside the model of T5ForConditionalGeneration thanks"
] | 1,606 | 1,606 | 1,606 | NONE | null | Hi
I need to change model_inputs used for the generation, I am using T5ForConditionalGeneration which has extra input parameter and this needs to be passed in each time I call model.generate(), I cannot see how to rewrite the generate function to also pass this argument, could you provide me with some explanation:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8894/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8893/comments | https://api.github.com/repos/huggingface/transformers/issues/8893/events | https://github.com/huggingface/transformers/issues/8893 | 755,049,449 | MDU6SXNzdWU3NTUwNDk0NDk= | 8,893 | [🚀 Feature request] Performer support, tensorflow code, not jax. | {
"login": "guotong1988",
"id": 4702353,
"node_id": "MDQ6VXNlcjQ3MDIzNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4702353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guotong1988",
"html_url": "https://github.com/guotong1988",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"https://github.com/huggingface/transformers/issues/7675"
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | https://arxiv.org/abs/2009.14794
Thank you thank you very much. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8893/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8892/comments | https://api.github.com/repos/huggingface/transformers/issues/8892/events | https://github.com/huggingface/transformers/pull/8892 | 755,037,326 | MDExOlB1bGxSZXF1ZXN0NTMwODI2MDgw | 8,892 | TFRag draft #1 (page BROKEN) - Should close and use #9002 instead | {
"login": "ratthachat",
"id": 56621342,
"node_id": "MDQ6VXNlcjU2NjIxMzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/56621342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ratthachat",
"html_url": "https://github.com/ratthachat",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi guys, most commits were from the previous PR (TFDPR). I do not know how to remove them, sorry!\r\nOnly `modeling_tf_rag.py` is new here.",
"Awesome work @ratthachat!!!\r\n\r\nFor the input, I think the best way is to check how it is done in TF BERT for example and if you have difficulties to understand you ca... | 1,606 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
Hi guys, this is the draft WIP of TFRag. It is runnable in eager mode with mostly proper outputs.
I really need help/consult at this stage especially from @Patrick and @jplu .
In this draft, only `modeling_tf_rag.py` is new here.
## What is done and test. (working on HF 4.0.0, but not on M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8892/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8892",
"html_url": "https://github.com/huggingface/transformers/pull/8892",
"diff_url": "https://github.com/huggingface/transformers/pull/8892.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8892.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8891/comments | https://api.github.com/repos/huggingface/transformers/issues/8891/events | https://github.com/huggingface/transformers/issues/8891 | 755,025,828 | MDU6SXNzdWU3NTUwMjU4Mjg= | 8,891 | providing an example with a dummy iterative dataloaders | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"Trainer does indeed not work in distributed fashion with iterative datasets. You need to convert your iterative dataset to a regular dataset for the time being.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please commen... | 1,606 | 1,619 | 1,619 | NONE | null | Hi
I have tested the trainer.py with iterative datasets and this does not work in distributed case, I shard the data across the cores. Could you please assist me in providing me with a dummy iterative dataloader for finetune_seq2seq.py model which runs fine with xla_spawn.py on TPU so I get some understanding which fu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8891/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8890/comments | https://api.github.com/repos/huggingface/transformers/issues/8890/events | https://github.com/huggingface/transformers/pull/8890 | 754,924,044 | MDExOlB1bGxSZXF1ZXN0NTMwNzMyOTY1 | 8,890 | Update generation_beam_search.py | {
"login": "ZhaoQianfeng",
"id": 53401404,
"node_id": "MDQ6VXNlcjUzNDAxNDA0",
"avatar_url": "https://avatars.githubusercontent.com/u/53401404?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhaoQianfeng",
"html_url": "https://github.com/ZhaoQianfeng",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @ZhaoQianfeng,\r\n\r\nThanks a lot for making the PR. I thought about this a bit and I think we don't have to change anything actually.\r\n\r\nThe reason is the following. Let's say you want to generate up to a length of 5.\r\n\r\nBOS is the start token which should be counted as part of the input length. Howe... | 1,606 | 1,607 | 1,607 | NONE | null | BeamHypotheses.add() now behave differently depending on whether it finished with or without EOS token.
# What does this PR do?
see the discussion here #8722
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors which may be i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8890/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8890",
"html_url": "https://github.com/huggingface/transformers/pull/8890",
"diff_url": "https://github.com/huggingface/transformers/pull/8890.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8890.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8889/comments | https://api.github.com/repos/huggingface/transformers/issues/8889/events | https://github.com/huggingface/transformers/issues/8889 | 754,841,386 | MDU6SXNzdWU3NTQ4NDEzODY= | 8,889 | trainer.py does not handle distributed training for iterative datasets and is very slow | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,606 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: TPU
- Python version: 3.7
- using xla_spawn.py
### Who can help
@sgugger
@patrickvonplaten
@patrickvonplaten
@patil-suraj
## Information
I am running seq2seq_finetune.py with iterative datasets and I do not get any speed up for 8 TPU cores ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8889/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8888/comments | https://api.github.com/repos/huggingface/transformers/issues/8888/events | https://github.com/huggingface/transformers/issues/8888 | 754,816,355 | MDU6SXNzdWU3NTQ4MTYzNTU= | 8,888 | clip_grad_norm on Multiple GPUs: (CUDA error: device-side assert triggered) | {
"login": "apteryxlabs",
"id": 65966807,
"node_id": "MDQ6VXNlcjY1OTY2ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/65966807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apteryxlabs",
"html_url": "https://github.com/apteryxlabs",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I would guess this is a memory error. Have you tried monitoring the memory available on your GPUs while the training is running?",
"A CUDA device-side assert triggered means a bad index error somewhere, and persists until you restart your kernel. The code you provide does not allow us to reproduce the bug becaus... | 1,606 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0
- Platform: Linux-5.4.0-53-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.9
- PyTorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8888/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8887/comments | https://api.github.com/repos/huggingface/transformers/issues/8887/events | https://github.com/huggingface/transformers/issues/8887 | 754,773,851 | MDU6SXNzdWU3NTQ3NzM4NTE= | 8,887 | 'Some weights of BertModel were not initialized from the model checkpoint at ./model and are newly initialized: ['bert.pooler.dense.weight', 'bert.pooler.dense.bias']' | {
"login": "AlexanderTekle",
"id": 11710567,
"node_id": "MDQ6VXNlcjExNzEwNTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/11710567?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexanderTekle",
"html_url": "https://github.com/AlexanderTekle",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"maybe related to #8793 , hope could help.",
"> maybe related to #8793 , hope could help.\r\n\r\nseems to be related. I get high variance in accuracy, I guessed it was probably because of the random initialization of those two weights.",
"If you're using the `run_mlm.py`, then you're doing masked language model... | 1,606 | 1,619 | 1,619 | NONE | null | Hi everyone,
I ran [ run_mlm.py ](https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py) to continue pertaining uncased BERT directly from the examples on this repo, but once I load the newly saved pretrained Bert Model, I receive a warning - "'Some weights of BertModel were n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8887/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8886/comments | https://api.github.com/repos/huggingface/transformers/issues/8886/events | https://github.com/huggingface/transformers/issues/8886 | 754,754,315 | MDU6SXNzdWU3NTQ3NTQzMTU= | 8,886 | UnicodeEncodeError: surrogates not allowed with GPT2Tokenizer | {
"login": "g-karthik",
"id": 3851993,
"node_id": "MDQ6VXNlcjM4NTE5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3851993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-karthik",
"html_url": "https://github.com/g-karthik",
"followers_url": "https://api.github.com/users/g-... | [] | closed | false | null | [] | [
"Unfortunately, if simply printing the string is impossible, this is out of our expertise. You have probably already seen those threads, but they may help you debug what's going on:\r\n\r\nhttps://stackoverflow.com/questions/27366479/python-3-os-walk-file-paths-unicodeencodeerror-utf-8-codec-cant-encode-s\r\nhttps:... | 1,606 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: EC2
- Python version: 3.6
### Who can help
@mfuntowicz @LysandreJik
## Information
Model I am using: GPT-2
The problem arises when using the `GPT2Tokenizer` on a piece of text from a file that was written `utf-8` strings and is be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8885/comments | https://api.github.com/repos/huggingface/transformers/issues/8885/events | https://github.com/huggingface/transformers/pull/8885 | 754,700,416 | MDExOlB1bGxSZXF1ZXN0NTMwNTU0MDQx | 8,885 | [ci] skip doc jobs take #3 | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"There has been no traction so far on the circleci forums, I filed a support ticket with cirlceci.",
"So `pipeline.git.base_revision` is consistently undefined when making a PR via direct file edit on github.\r\n",
"So far so good.\r\n\r\nAnd while monitoring I discovered an interesting thing. In this particula... | 1,606 | 1,607 | 1,606 | CONTRIBUTOR | null | @LysandreJik found another edge case when a developer force-pushes a change and `pipeline.git.base_revision` is defined but bogus, resulting in a range that returns no files. https://github.com/huggingface/transformers/pull/8853#issuecomment-736781950
So the proposed logic for take 3 is:
1. if pipeline.git.base_r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8885/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8885",
"html_url": "https://github.com/huggingface/transformers/pull/8885",
"diff_url": "https://github.com/huggingface/transformers/pull/8885.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8885.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8884/comments | https://api.github.com/repos/huggingface/transformers/issues/8884/events | https://github.com/huggingface/transformers/pull/8884 | 754,678,836 | MDExOlB1bGxSZXF1ZXN0NTMwNTM2MzE1 | 8,884 | [s2s finetune_trainer] add instructions for distributed training | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,606 | 1,607 | 1,607 | CONTRIBUTOR | null | This PR adds instructions for running finetune_trainer.py under dpp
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8884/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8884",
"html_url": "https://github.com/huggingface/transformers/pull/8884",
"diff_url": "https://github.com/huggingface/transformers/pull/8884.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8884.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8883/comments | https://api.github.com/repos/huggingface/transformers/issues/8883/events | https://github.com/huggingface/transformers/issues/8883 | 754,666,693 | MDU6SXNzdWU3NTQ2NjY2OTM= | 8,883 | Extracting important information | {
"login": "krrishdholakia",
"id": 17561003,
"node_id": "MDQ6VXNlcjE3NTYxMDAz",
"avatar_url": "https://avatars.githubusercontent.com/u/17561003?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krrishdholakia",
"html_url": "https://github.com/krrishdholakia",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,606 | 1,606 | 1,606 | NONE | null | I'm trying to extract important information from a lecture transcript. What's the best way to go about doing this ? This would be without a particular query parameter, just generally important information in the global context of the lecture. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8883/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8882/comments | https://api.github.com/repos/huggingface/transformers/issues/8882/events | https://github.com/huggingface/transformers/pull/8882 | 754,648,568 | MDExOlB1bGxSZXF1ZXN0NTMwNTExNzI1 | 8,882 | [trainer] start using training_args.parallel_mode | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Thank you for adding this new property, @sgugger - it has indeed improved the readability!"
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | Following up on https://github.com/huggingface/transformers/pull/8877 which adds `training_args.parallel_mode` to make it easy to comprehend which mode the trainer is running under - this PR deploys the new property in a few places.
@sgugger, have I deployed it as you envisioned it?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8882/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8882",
"html_url": "https://github.com/huggingface/transformers/pull/8882",
"diff_url": "https://github.com/huggingface/transformers/pull/8882.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8882.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8881/comments | https://api.github.com/repos/huggingface/transformers/issues/8881/events | https://github.com/huggingface/transformers/pull/8881 | 754,604,432 | MDExOlB1bGxSZXF1ZXN0NTMwNDc1NDg0 | 8,881 | Better warning when loading a tokenizer with AutoTokenizer w/o Sneten… | {
"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 | [] | [
"Thanks!"
] | 1,606 | 1,607 | 1,606 | MEMBER | null | …cePiece
Currently, initializing a `sentencepiece` `AutoTokenizer` without having `sentencepiece` installed results in the following error:
```
AttributeError: 'NoneType' object has no attribute 'from_pretrained'
```
This improves the error message to:
```
This tokenizer cannot be instantiated. Please make ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8881/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/8881/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8881",
"html_url": "https://github.com/huggingface/transformers/pull/8881",
"diff_url": "https://github.com/huggingface/transformers/pull/8881.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8881.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8880/comments | https://api.github.com/repos/huggingface/transformers/issues/8880/events | https://github.com/huggingface/transformers/pull/8880 | 754,565,590 | MDExOlB1bGxSZXF1ZXN0NTMwNDQzOTU5 | 8,880 | [PyTorch] Refactor Resize Token Embeddings | {
"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 | [] | [
"MobileBERT does this in the `tie_weights` function. Should we do the same here?",
"ALBERT also does it in the `_resize_token_embeddings`:\r\n\r\nhttps://github.com/huggingface/transformers/blob/a7d46a060930242cd1de7ead8821f6eeebb0cd06/src/transformers/models/albert/modeling_albert.py#L635-L639\r\n\r\nIt probably... | 1,606 | 1,606 | 1,606 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8880/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/8880/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8880",
"html_url": "https://github.com/huggingface/transformers/pull/8880",
"diff_url": "https://github.com/huggingface/transformers/pull/8880.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8880.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8879/comments | https://api.github.com/repos/huggingface/transformers/issues/8879/events | https://github.com/huggingface/transformers/issues/8879 | 754,557,183 | MDU6SXNzdWU3NTQ1NTcxODM= | 8,879 | dropout(): argument 'input' (position 1) must be Tensor, not str With Bert | {
"login": "Tashsub",
"id": 44523844,
"node_id": "MDQ6VXNlcjQ0NTIzODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/44523844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tashsub",
"html_url": "https://github.com/Tashsub",
"followers_url": "https://api.github.com/users/Tashsu... | [] | closed | false | null | [] | [
"having the **same problem**, what is happening, it was working just fine for the past like 90 days!!\r\n\r\n",
"Hello! It would be very helpful if you could complete the information related to your environment. If you could have a reproducible code example, that would really be great as well.\r\n\r\nIt is possib... | 1,606 | 1,694 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform: google colab
- Python version: 3
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8879/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8878/comments | https://api.github.com/repos/huggingface/transformers/issues/8878/events | https://github.com/huggingface/transformers/pull/8878 | 754,554,228 | MDExOlB1bGxSZXF1ZXN0NTMwNDM0NzMz | 8,878 | Better support for resuming training | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | COLLABORATOR | null | # What does this PR do?
This PR adds two things linked to resuming training:
1. It brings full reproducibility when resuming an interrupted training from a checkpoint (i.e., resuming a training from a checkpoint will give the exact same results as a training from the beginning with the same seeding). This was not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8878/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8878",
"html_url": "https://github.com/huggingface/transformers/pull/8878",
"diff_url": "https://github.com/huggingface/transformers/pull/8878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8878.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8877/comments | https://api.github.com/repos/huggingface/transformers/issues/8877/events | https://github.com/huggingface/transformers/pull/8877 | 754,535,720 | MDExOlB1bGxSZXF1ZXN0NTMwNDE5MzYx | 8,877 | Add a `parallel_mode` property to TrainingArguments | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"Given our discussion yesterday, I'm not sure `distributed_env` is fitting. As you convinced me that DP is not distributed when it comes to pytorch conventions, `if self.distributed_env == \"dp\"` is back to being confusing.\r\n\r\nGiven that with the exception of tpu, all dp/ddp/mp/pp are SomethingParallel, should... | 1,606 | 1,606 | 1,606 | COLLABORATOR | null | # What does this PR do?
This PR adds a `distributed_env` property to the `TrainingArugments` making it clear if we are in:
- a single process (CPU or one GPU)
- a parallel setting (one process but several GPUs)
- a distributed parallel setting (several processes, one per GPU)
- a TPU setting
Fixes #8858
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8877/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/8877/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8877",
"html_url": "https://github.com/huggingface/transformers/pull/8877",
"diff_url": "https://github.com/huggingface/transformers/pull/8877.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8877.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8876/comments | https://api.github.com/repos/huggingface/transformers/issues/8876/events | https://github.com/huggingface/transformers/issues/8876 | 754,524,805 | MDU6SXNzdWU3NTQ1MjQ4MDU= | 8,876 | Resume training from checkpoint: not progressing | {
"login": "mattivi",
"id": 1651448,
"node_id": "MDQ6VXNlcjE2NTE0NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1651448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mattivi",
"html_url": "https://github.com/mattivi",
"followers_url": "https://api.github.com/users/mattivi/... | [] | closed | false | null | [] | [
"It is expected that this would take some time, since it has to skip through `204,516` batches before continuing training. It will continue progressing after that skip is done.",
"In the PR mentioned above, I'm adding a flag to ignore that step if you're prepared to pay the price of having the training be slightl... | 1,606 | 1,687 | 1,606 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0
- Platform: Linux-3.10.0-514.el7.x86_64-x86_64-with-centos-7.8.2003-Core
- Python version: 3.7.2
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8876/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8875/comments | https://api.github.com/repos/huggingface/transformers/issues/8875/events | https://github.com/huggingface/transformers/pull/8875 | 754,505,834 | MDExOlB1bGxSZXF1ZXN0NTMwMzk0NjM5 | 8,875 | Fix mlflow parameter overflow | {
"login": "noise-field",
"id": 14188757,
"node_id": "MDQ6VXNlcjE0MTg4NzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/14188757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noise-field",
"html_url": "https://github.com/noise-field",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thanks!",
"Sorry again we let this sit for so long!\r\n\r\nSo since it's been a long time, the diff has gotten quite messy. Would you mind closing and re-opening a clean PR @noise-field ? Ping me on it and we'll expedite the review. Sorry again.",
"Closing as requested"
] | 1,606 | 1,612 | 1,612 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the issue #8849 where MLflow logging failed due to parameters logged being too long. Now the MLflow logger also fetches the limits directly from MLflow validation utility.
<!-- Remove if not applicable -->
Fixes #8849
## Before submitting
- [ ] This PR fixes a typo o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8875/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8875",
"html_url": "https://github.com/huggingface/transformers/pull/8875",
"diff_url": "https://github.com/huggingface/transformers/pull/8875.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8875.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8874/comments | https://api.github.com/repos/huggingface/transformers/issues/8874/events | https://github.com/huggingface/transformers/issues/8874 | 754,489,078 | MDU6SXNzdWU3NTQ0ODkwNzg= | 8,874 | Results are different when fine-tuning continues after loading model from checkpoint | {
"login": "schwabmi",
"id": 52445177,
"node_id": "MDQ6VXNlcjUyNDQ1MTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/52445177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schwabmi",
"html_url": "https://github.com/schwabmi",
"followers_url": "https://api.github.com/users/sch... | [] | closed | false | null | [] | [
"Hi there. The results are slightly different because your dataloader has some randomization (the train dataloader has `shuffle=True` ) and the `Trainer` currently does not go through your dataloader for the past epochs when resuming training. So it trains starting from the global step 282 with the data of the epoc... | 1,606 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: yes (device: cuda:0, n_gpu: 1)
- Using distributed or paral... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8874/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8874/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8873 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8873/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8873/comments | https://api.github.com/repos/huggingface/transformers/issues/8873/events | https://github.com/huggingface/transformers/issues/8873 | 754,441,338 | MDU6SXNzdWU3NTQ0NDEzMzg= | 8,873 | How to pass the attention mask as a param to model forward when using torchscript? | {
"login": "JiayiFu",
"id": 8230560,
"node_id": "MDQ6VXNlcjgyMzA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8230560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JiayiFu",
"html_url": "https://github.com/JiayiFu",
"followers_url": "https://api.github.com/users/JiayiFu/... | [] | closed | false | null | [] | [
"I think you would need to compile your model with both the tokens tensor and the attention mask. Given that the attention mask is the second argument, you can pass it directly when tracing the model:\r\n\r\n```py\r\ntraced_model = torch.jit.trace(model, [tokens_tensor, attention_mask])\r\n```\r\n\r\nthen you can d... | 1,606 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version:
- Platform: Ubuntu 16.04
- Python version: 3.6.9
- PyTorch version (GPU): 1.3.0+cu100
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
## Information
I am using a Bert model downloaded from hugging face. I finetuned that model f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8873/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8872/comments | https://api.github.com/repos/huggingface/transformers/issues/8872/events | https://github.com/huggingface/transformers/issues/8872 | 754,397,934 | MDU6SXNzdWU3NTQzOTc5MzQ= | 8,872 | Deberta Tokenizatiion | {
"login": "yaysummeriscoming",
"id": 11413145,
"node_id": "MDQ6VXNlcjExNDEzMTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/11413145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaysummeriscoming",
"html_url": "https://github.com/yaysummeriscoming",
"followers_url": "https... | [] | 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... | [
"@LysandreJik any update on this?",
"@yaysummeriscoming To get sub words instead of numbers, you can call `tokenizer.gpt2_tokenizer.decode(tokens)`. Please take a look at [our code](https://github.com/huggingface/transformers/blob/52c9e842854a701a7d1b608600a614278b4407d3/src/transformers/tokenization_deberta.py#... | 1,606 | 1,608 | 1,608 | NONE | null | ## Environment info
- `transformers` version: 4.0.0
- Platform: Linux
- Python version: 3.8
- PyTorch version (GPU?): 1.7
### Who can help
@BigBird01 @LysandreJik
## Information
I'd like to use the new deberta model, but it seems that the tokens aren't mapped correctly?
```
from transformers import... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8872/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8871/comments | https://api.github.com/repos/huggingface/transformers/issues/8871/events | https://github.com/huggingface/transformers/issues/8871 | 754,363,857 | MDU6SXNzdWU3NTQzNjM4NTc= | 8,871 | Decrease Longformer window size / computational cost | {
"login": "iliaschalkidis",
"id": 1626984,
"node_id": "MDQ6VXNlcjE2MjY5ODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1626984?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iliaschalkidis",
"html_url": "https://github.com/iliaschalkidis",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hey @iliaschalkidis,\r\n\r\nthanks for your issue! The memory usage in Longformer does not decrease linearly when reducing the attention_window...but I'm a bit surprised that you are experiencing OOM in your set-up...Does the same happen for your in eager mode? I'll try to look into it a bit next week. One thing t... | 1,606 | 1,619 | 1,619 | NONE | null | Hi there,
I would like to use Longformer instead of BERT or ROBERTA for longer documents, e.g., 1024 subword units. My goal is to fit a batch of equal size in the same GPU card for all models. In my understanding, this cannot happen with the default configuration, which used windows of 512 subword-units for local at... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8871/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8870/comments | https://api.github.com/repos/huggingface/transformers/issues/8870/events | https://github.com/huggingface/transformers/issues/8870 | 754,361,611 | MDU6SXNzdWU3NTQzNjE2MTE= | 8,870 | Token classification example only returns labels as -100 for longformer | {
"login": "JakeCowton",
"id": 4622202,
"node_id": "MDQ6VXNlcjQ2MjIyMDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4622202?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JakeCowton",
"html_url": "https://github.com/JakeCowton",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,606 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0
- Platform: Linux-5.4.0-1029-aws-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8870/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8869/comments | https://api.github.com/repos/huggingface/transformers/issues/8869/events | https://github.com/huggingface/transformers/issues/8869 | 754,322,396 | MDU6SXNzdWU3NTQzMjIzOTY= | 8,869 | Exporting ALBERT model to onnx increases model size by 7x | {
"login": "unography",
"id": 5240449,
"node_id": "MDQ6VXNlcjUyNDA0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5240449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/unography",
"html_url": "https://github.com/unography",
"followers_url": "https://api.github.com/users/un... | [] | closed | false | null | [] | [
"@mfuntowicz might have an idea. I'm guessing that what it does is copy each layer, while all the layers have shared weights and should point to the same tensor.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please commen... | 1,606 | 1,619 | 1,619 | CONTRIBUTOR | null | I'm trying to export `albert-base-v2` model to onnx using
`python -m transformers.convert_graph_to_onnx --framework pt --model albert-base-v2 --quantize albert.onnx --opset 12`
The original pytorch model size is around 45 MB (https://huggingface.co/albert-base-v2), but the exported model size is around 340 MB.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8869/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8868/comments | https://api.github.com/repos/huggingface/transformers/issues/8868/events | https://github.com/huggingface/transformers/pull/8868 | 754,254,006 | MDExOlB1bGxSZXF1ZXN0NTMwMTg1NDcy | 8,868 | Transfoxl seq classification | {
"login": "spatil6",
"id": 6419011,
"node_id": "MDQ6VXNlcjY0MTkwMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6419011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spatil6",
"html_url": "https://github.com/spatil6",
"followers_url": "https://api.github.com/users/spatil6/... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | This PR implements Sequence classification for Transformer XL model
TransfoxlForSequenceClassification uses the last token in order to do the classification, as other causal models (e.g. GPT-1,GPT-2) do.
Fixes #7623 (Partially)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8868/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8868/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8868",
"html_url": "https://github.com/huggingface/transformers/pull/8868",
"diff_url": "https://github.com/huggingface/transformers/pull/8868.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8868.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8867/comments | https://api.github.com/repos/huggingface/transformers/issues/8867/events | https://github.com/huggingface/transformers/issues/8867 | 754,246,229 | MDU6SXNzdWU3NTQyNDYyMjk= | 8,867 | length_penalty not influencing results (Bart, Pegasus) | {
"login": "marcoabrate",
"id": 43387597,
"node_id": "MDQ6VXNlcjQzMzg3NTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/43387597?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcoabrate",
"html_url": "https://github.com/marcoabrate",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,606 | 1,606 | 1,606 | NONE | null | Hello,
I am experimenting with the generative parameters of the two models Bart and Pegasus. In particular, I am having trouble with the `length_penalty` parameter, since changing it does not change the output of the model.
I am summarizing two different chapters of a book (# tokens around 1k) and this is the cod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8867/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8867/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8866/comments | https://api.github.com/repos/huggingface/transformers/issues/8866/events | https://github.com/huggingface/transformers/issues/8866 | 754,230,561 | MDU6SXNzdWU3NTQyMzA1NjE= | 8,866 | different embedding weights for base-uncased with different transformers versions | {
"login": "aleksandra-sp",
"id": 69455636,
"node_id": "MDQ6VXNlcjY5NDU1NjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/69455636?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aleksandra-sp",
"html_url": "https://github.com/aleksandra-sp",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Facing the same issue. A reply on this is highly appreciated.",
"can [this](https://github.com/huggingface/transformers/issues/8524#issuecomment-753876838) be your solution? Hope it helps...",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still nee... | 1,606 | 1,639 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0, 3.4.0 and 2.9.0
- Platform:
- Python version: 3.7.0
- PyTorch version: 1.4.0
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8866/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/8866/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8865/comments | https://api.github.com/repos/huggingface/transformers/issues/8865/events | https://github.com/huggingface/transformers/issues/8865 | 754,213,092 | MDU6SXNzdWU3NTQyMTMwOTI= | 8,865 | can the BertModel convert to onnx? whether any one had done sucessfully ? | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"2 resources in the thread linked by valhalla: https://discuss.huggingface.co/t/how-to-apply-pruning-on-a-bert-model/1658/5",
"> 2 resources in the thread linked by valhalla: https://discuss.huggingface.co/t/how-to-apply-pruning-on-a-bert-model/1658/5\r\n\r\nThank you very much for your warm reply, I will study i... | 1,606 | 1,606 | 1,606 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8865/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/8864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8864/comments | https://api.github.com/repos/huggingface/transformers/issues/8864/events | https://github.com/huggingface/transformers/issues/8864 | 753,939,081 | MDU6SXNzdWU3NTM5MzkwODE= | 8,864 | AttributeError: 'NoneType' object has no attribute 'from_pretrained' | {
"login": "louisabraham",
"id": 13174805,
"node_id": "MDQ6VXNlcjEzMTc0ODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/13174805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/louisabraham",
"html_url": "https://github.com/louisabraham",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Same here a couple of hours ago",
"1. Hi, could you please provide the information related to your environment? \r\n\r\n2. When you say it was working yesterday but was working before, do you mean to say you've upgraded to version v4.0.0 released yesterday? If this is so, you may be obtaining the following error... | 1,606 | 1,606 | 1,606 | NONE | null | This code was working yesterday but doesn't work today:
```py
from transformers import AutoTokenizer
AutoTokenizer("Helsinki-NLP/opus-mt-en-fr")
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8864/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 3,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8864/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8863/comments | https://api.github.com/repos/huggingface/transformers/issues/8863/events | https://github.com/huggingface/transformers/issues/8863 | 753,867,035 | MDU6SXNzdWU3NTM4NjcwMzU= | 8,863 | Unwanted left shift of target tokens in `get_nll` | {
"login": "JamesDeAntonis",
"id": 33379057,
"node_id": "MDQ6VXNlcjMzMzc5MDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/33379057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesDeAntonis",
"html_url": "https://github.com/JamesDeAntonis",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@patrickvonplaten or @lhoestq might have an idea.",
"Hey @JamesDeAntonis yes this is expected. The same behavior would occur for GPT2 if only one token is provided as the labels. You should at least add an EOS token at the end to `labels` (so that you have two labels tokens) to make sure the loss is not zero.\r\... | 1,606 | 1,614 | 1,614 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.4
- Platform: ubuntu
- Python version: 3.8
- PyTorch version (GPU?): 1.6
- Tensorflow version (GPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8863/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8862/comments | https://api.github.com/repos/huggingface/transformers/issues/8862/events | https://github.com/huggingface/transformers/issues/8862 | 753,854,438 | MDU6SXNzdWU3NTM4NTQ0Mzg= | 8,862 | TypeError: forward() got an unexpected keyword argument 'past' | {
"login": "BigSalmon2",
"id": 61605789,
"node_id": "MDQ6VXNlcjYxNjA1Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BigSalmon2",
"html_url": "https://github.com/BigSalmon2",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hello, it seems you've upgraded your library from a 3.x version to 4.0.0. I invite you to consult the migration guide [here (deprecated attributes)](https://huggingface.co/transformers/migration.html#removed-some-deprecated-attributes) or to pin your `transformers` on version 3: `transformers==3`.",
"Thank you!"... | 1,606 | 1,606 | 1,606 | NONE | null | TypeError: forward() got an unexpected keyword argument 'past'
```
text1 = request.form['rawtext']
m = text1
text = tokenizer.encode(text1)
myinput, past = torch.tensor([text]), None
logits, past = model(myinput, past = past)
logits = logits[0,-1]
probab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8861/comments | https://api.github.com/repos/huggingface/transformers/issues/8861/events | https://github.com/huggingface/transformers/pull/8861 | 753,852,672 | MDExOlB1bGxSZXF1ZXN0NTI5ODUwODMz | 8,861 | Add warnings for incompatible generation parameters | {
"login": "jsrozner",
"id": 1113285,
"node_id": "MDQ6VXNlcjExMTMyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1113285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsrozner",
"html_url": "https://github.com/jsrozner",
"followers_url": "https://api.github.com/users/jsroz... | [
{
"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 | [] | [
"Question: the `generate()` documentation says that `topk` etc params will default to values in the `pretrainedconfig`, but `top_k`, for example is never read from the config file. This differs from, e.g., `num_beams, max_length` which are read from config if they are not passed in as params to the generate functio... | 1,606 | 1,614 | 1,614 | CONTRIBUTOR | null | # What does this PR do?
While testing various generation configurations, I got confused when beam_sample's outputs (i.e. `num_beams > 1, do_sample=True`) failed to change with different settings of `top_k, top_p, temperature`. Then I realized that in my call to `generate()`, `do_sample` was still set to false even tho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8861/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8861",
"html_url": "https://github.com/huggingface/transformers/pull/8861",
"diff_url": "https://github.com/huggingface/transformers/pull/8861.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8861.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8860/comments | https://api.github.com/repos/huggingface/transformers/issues/8860/events | https://github.com/huggingface/transformers/pull/8860 | 753,838,073 | MDExOlB1bGxSZXF1ZXN0NTI5ODM4ODMy | 8,860 | Prevent BatchEncoding from blindly passing casts down to the tensors it contains | {
"login": "Craigacp",
"id": 729696,
"node_id": "MDQ6VXNlcjcyOTY5Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/729696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Craigacp",
"html_url": "https://github.com/Craigacp",
"followers_url": "https://api.github.com/users/Craigac... | [] | closed | false | null | [] | [
"black complained about the style after the update, so I fixed it and squashed the commits again.",
"Thank you @Craigacp!"
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
This PR prevents `BatchEncoding.to` from passing down things which aren't devices to the tensors it contains. Previously it would pass down all the arguments, and as the `to` method in pytorch can also cast the arguments to different types it's used blindly by other packages (e.g. Nvidia's Ap... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8860",
"html_url": "https://github.com/huggingface/transformers/pull/8860",
"diff_url": "https://github.com/huggingface/transformers/pull/8860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8860.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8859/comments | https://api.github.com/repos/huggingface/transformers/issues/8859/events | https://github.com/huggingface/transformers/issues/8859 | 753,820,280 | MDU6SXNzdWU3NTM4MjAyODA= | 8,859 | transformers/trainer.py stops after some iterations for iterative dataloaders. | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"could you tell me please how should be the format of iterative dataloaders for the trainer funtion? I mean in the current implementation, this just goes till the end of length of dataloader and then it terminates, it does not loop again, could you explain how I can use trainer.py with iterative dataloaders please?... | 1,606 | 1,652 | 1,606 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.5.1
- Platform: linux
- Python version: 3.7
- PyTorch version (GPU?): yes
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8859/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8858/comments | https://api.github.com/repos/huggingface/transformers/issues/8858/events | https://github.com/huggingface/transformers/issues/8858 | 753,808,192 | MDU6SXNzdWU3NTM4MDgxOTI= | 8,858 | [trainer] add distributed_env to TrainingArguments | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | As discussed in https://github.com/huggingface/transformers/pull/8823 it's not simple to check whether the downstream code is running under distributed mode or not (currently requires checking `self.args.local_rank != -1` which is far from obvious.
So we were discussing about adding a flag like `distributed_env` so ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8858/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8857/comments | https://api.github.com/repos/huggingface/transformers/issues/8857/events | https://github.com/huggingface/transformers/pull/8857 | 753,794,573 | MDExOlB1bGxSZXF1ZXN0NTI5ODA0OTY2 | 8,857 | keys_to_ignore_at_inference -> output_keys_to_ignore_at_inference | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"Not sure this is really worth the hassle then.",
"> Not sure this is really worth the hassle then.\r\n\r\nAgree, let's leave it. It's just a personal cosmetic change, so not worth the change."
] | 1,606 | 1,651 | 1,606 | COLLABORATOR | null | # What does this PR do?
@patrickvonplaten mentioned in #8633 he was not happy with a name I picked, so I changed it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8857/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/8857/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8857",
"html_url": "https://github.com/huggingface/transformers/pull/8857",
"diff_url": "https://github.com/huggingface/transformers/pull/8857.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8857.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8856/comments | https://api.github.com/repos/huggingface/transformers/issues/8856/events | https://github.com/huggingface/transformers/pull/8856 | 753,791,456 | MDExOlB1bGxSZXF1ZXN0NTI5ODAyNTU5 | 8,856 | Make the big table creation/check platform independent | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | COLLABORATOR | null | # What does this PR do?
As @jplu mentioned in #8813, the check that the big table of models/tokenziers is up-to-date (done in `make quality`) requires all three backends installed (plus tokenizers and sentencepiece). This PR amends the script to use the objects in the init (that are always there, thanks to the dummi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8856/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8856",
"html_url": "https://github.com/huggingface/transformers/pull/8856",
"diff_url": "https://github.com/huggingface/transformers/pull/8856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8856.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8855/comments | https://api.github.com/repos/huggingface/transformers/issues/8855/events | https://github.com/huggingface/transformers/issues/8855 | 753,773,533 | MDU6SXNzdWU3NTM3NzM1MzM= | 8,855 | KeyError: 'labels' in training_step in transformers/trainer.py | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"This happens in fact after the first epoch, could you think of the reason why this is the case? I tested the dataloader alone and it generates the epochs properly for any number of epochs.",
"during the first epoch my batches have all info\r\n`batch inside multitask dict_keys(['input_ids', 'attention_mask', 'de... | 1,606 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform:
- Python version: 2.7
- PyTorch version (GPU?): GPU
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
T5: @patrickvo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8855/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8854/comments | https://api.github.com/repos/huggingface/transformers/issues/8854/events | https://github.com/huggingface/transformers/pull/8854 | 753,721,647 | MDExOlB1bGxSZXF1ZXN0NTI5NzQ1Mzcy | 8,854 | Fix interaction of return_token_type_ids and add_special_tokens | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,606 | 1,607 | 1,607 | MEMBER | null | Fix https://github.com/huggingface/transformers/issues/8578
It shouldn't raise a warning if `return_token_type_ids` is set to `False`. @thomwolf am I missing something here? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8854/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8854/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8854",
"html_url": "https://github.com/huggingface/transformers/pull/8854",
"diff_url": "https://github.com/huggingface/transformers/pull/8854.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8854.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8853/comments | https://api.github.com/repos/huggingface/transformers/issues/8853/events | https://github.com/huggingface/transformers/pull/8853 | 753,663,433 | MDExOlB1bGxSZXF1ZXN0NTI5Njk3OTIw | 8,853 | [CI] skip docs-only jobs take #2 | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Github actions decided to be down right at the moment where I wanted to monitor :disappointed: ",
"Github actions? We are only doing this on circleCI - so far all seems to be working fine.",
"Hah, was so disappointed I let it blind me and think it was all CI. Will continue.",
"I'm pretty sure the CI should h... | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | So we discovered CircleCI has a problem and `pipeline.git.base_revision` is unreliable - not always set - breaking the test. https://github.com/huggingface/transformers/pull/8826#issuecomment-735972196
We had a few PRs incorrectly skipping the jobs, as in this example: https://app.circleci.com/pipelines/github/huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8853/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8853",
"html_url": "https://github.com/huggingface/transformers/pull/8853",
"diff_url": "https://github.com/huggingface/transformers/pull/8853.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8853.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8852/comments | https://api.github.com/repos/huggingface/transformers/issues/8852/events | https://github.com/huggingface/transformers/pull/8852 | 753,586,376 | MDExOlB1bGxSZXF1ZXN0NTI5NjM1NjEy | 8,852 | Remove deprecated `evalutate_during_training` | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"Merging this because we need it for the v4.0.0, pinging @jplu so he's aware of the changes made to the TFTrainer."
] | 1,606 | 1,606 | 1,606 | COLLABORATOR | null | # What does this PR do?
Replaces the `evaluate_during_training` in examples using the `Trainer` (as well as integrations and tf_trainer) by the new `evaluation_strategy`.
Fixes #8792 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8852/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/8852/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8852",
"html_url": "https://github.com/huggingface/transformers/pull/8852",
"diff_url": "https://github.com/huggingface/transformers/pull/8852.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8852.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8851/comments | https://api.github.com/repos/huggingface/transformers/issues/8851/events | https://github.com/huggingface/transformers/pull/8851 | 753,583,495 | MDExOlB1bGxSZXF1ZXN0NTI5NjMzMjc4 | 8,851 | Transfoxl sequence classification | {
"login": "spatil6",
"id": 6419011,
"node_id": "MDQ6VXNlcjY0MTkwMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6419011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spatil6",
"html_url": "https://github.com/spatil6",
"followers_url": "https://api.github.com/users/spatil6/... | [] | closed | false | null | [] | [
"Same as GPT-2, this would benefit from also handling padding on the left; I'll work on this in another PR.",
"@LysandreJik , I'll raise new PR, there was some conflicts in it. "
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | This PR implements Sequence classification for Transformer XL model
TransfoxlForSequenceClassification uses the last token in order to do the classification, as other causal models (e.g. GPT-1,GPT-2) do.
Fixes #7623 (Partially)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dism... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8851",
"html_url": "https://github.com/huggingface/transformers/pull/8851",
"diff_url": "https://github.com/huggingface/transformers/pull/8851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8851.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8850/comments | https://api.github.com/repos/huggingface/transformers/issues/8850/events | https://github.com/huggingface/transformers/pull/8850 | 753,570,943 | MDExOlB1bGxSZXF1ZXN0NTI5NjIzMzQy | 8,850 | Add a direct link to the big table | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | COLLABORATOR | null | # What does this PR do?
This PR adds an anchor to the big table of models/tokenizers to be able to generate a direct link to it, and it adds that link in the README. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8850/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8850",
"html_url": "https://github.com/huggingface/transformers/pull/8850",
"diff_url": "https://github.com/huggingface/transformers/pull/8850.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8850.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8849/comments | https://api.github.com/repos/huggingface/transformers/issues/8849/events | https://github.com/huggingface/transformers/issues/8849 | 753,336,432 | MDU6SXNzdWU3NTMzMzY0MzI= | 8,849 | Some unintended things happen in Seq2SeqTrainer example | {
"login": "forest1988",
"id": 2755894,
"node_id": "MDQ6VXNlcjI3NTU4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forest1988",
"html_url": "https://github.com/forest1988",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I have never looked at the `finetune_trainer.py` script so I can't reply for the number of examples part.\r\nFor the MLFlow problem, I don't understand how the value of this parameter could be longer than 250 (if interpreted has a string) could you print it out for debugging?",
"Thank you for your quick response... | 1,606 | 1,661 | 1,612 | CONTRIBUTOR | null | I posted this report in the HuggingFace Forum at first, but @BramVanroy kindly told me to post the report here instead of the forum.
The link to the post in the forum: https://discuss.huggingface.co/t/some-unintended-things-happen-in-seq2seqtrainer-example/2361
## Environment info
- `transformers` version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8849/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8848/comments | https://api.github.com/repos/huggingface/transformers/issues/8848/events | https://github.com/huggingface/transformers/pull/8848 | 753,285,965 | MDExOlB1bGxSZXF1ZXN0NTI5Mzk1MTk3 | 8,848 | Fix docstring for language code in mBart | {
"login": "RQuispeC",
"id": 28014561,
"node_id": "MDQ6VXNlcjI4MDE0NTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/28014561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RQuispeC",
"html_url": "https://github.com/RQuispeC",
"followers_url": "https://api.github.com/users/RQu... | [] | closed | false | null | [] | [
"This is great thank you!"
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
Fixes #8534
## Before submitting
- [X] This PR fixes a typo or improves the docs.
## Who can review?
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8848/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8848",
"html_url": "https://github.com/huggingface/transformers/pull/8848",
"diff_url": "https://github.com/huggingface/transformers/pull/8848.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8848.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8847/comments | https://api.github.com/repos/huggingface/transformers/issues/8847/events | https://github.com/huggingface/transformers/issues/8847 | 753,272,532 | MDU6SXNzdWU3NTMyNzI1MzI= | 8,847 | KeyError: 'mt5' | {
"login": "astakara48",
"id": 58538112,
"node_id": "MDQ6VXNlcjU4NTM4MTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/58538112?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astakara48",
"html_url": "https://github.com/astakara48",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"pip install transformers==4.0.0rc1 sentencepiece\r\n",
"> pip install transformers==4.0.0rc1 sentencepiece\r\n\r\nThank you! You are my hero"
] | 1,606 | 1,606 | 1,606 | NONE | null | I am trying to use the google/mt5 model, but I get KeyError: 'mt5'. How do I fix this?
KeyError Traceback (most recent call last)
<ipython-input-2-207aa15555f1> in <module>
----> 1 tokenizer = AutoTokenizer.from_pretrained("google/mt5-small")
/usr/local/lib/python3.8/dist-packag... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8847/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8846/comments | https://api.github.com/repos/huggingface/transformers/issues/8846/events | https://github.com/huggingface/transformers/issues/8846 | 753,270,206 | MDU6SXNzdWU3NTMyNzAyMDY= | 8,846 | How to globally change the PYTORCH_PRETRAINED_BERT_CACHE path | {
"login": "jzhoubu",
"id": 20299401,
"node_id": "MDQ6VXNlcjIwMjk5NDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/20299401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jzhoubu",
"html_url": "https://github.com/jzhoubu",
"followers_url": "https://api.github.com/users/jzhoub... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello! You can set the environment variable `TRANSFORMERS_CACHE` to define which location should be used to store weights.",
"@LysandreJik Thanks. \r\nJust to make sure I understand your point correctly. If I run `TRANSFORMERS_CACHE=ELSE_WHERE train.sh` in cmd, are all the downloaded pretrained cache files store... | 1,606 | 1,614 | 1,614 | NONE | null | Hi, all. I don't have enough disk space under `~/` to download the pre-trained model. When I run others' experiments, I always need to change their code from
```
model = BertForQuestionAnswering.from_pretrained(args.bert_model, \
cache_dir=PYTORCH_PRETRAINED_BERT_CACHE'distributed_{}'.for... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8846/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8845/comments | https://api.github.com/repos/huggingface/transformers/issues/8845/events | https://github.com/huggingface/transformers/pull/8845 | 753,226,767 | MDExOlB1bGxSZXF1ZXN0NTI5MzQ3NzEw | 8,845 | Correct docstring. | {
"login": "Fraser-Greenlee",
"id": 8402500,
"node_id": "MDQ6VXNlcjg0MDI1MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8402500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fraser-Greenlee",
"html_url": "https://github.com/Fraser-Greenlee",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [] | 1,606 | 1,607 | 1,606 | CONTRIBUTOR | null | Related issue: https://github.com/huggingface/transformers/issues/8837
# What does this PR do?
Updating the PreTrainedTokenizerBase.pad argument default value docstring to show the correct default value.
**Current**
docstring:
https://github.com/huggingface/transformers/blob/d5b3e56de5376aa85ef46e7f0325139d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8845/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8845",
"html_url": "https://github.com/huggingface/transformers/pull/8845",
"diff_url": "https://github.com/huggingface/transformers/pull/8845.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8845.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8844/comments | https://api.github.com/repos/huggingface/transformers/issues/8844/events | https://github.com/huggingface/transformers/issues/8844 | 753,145,983 | MDU6SXNzdWU3NTMxNDU5ODM= | 8,844 | mT5 fine-tuned model generate wrong answer | {
"login": "JejuWayfarer",
"id": 49282663,
"node_id": "MDQ6VXNlcjQ5MjgyNjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/49282663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JejuWayfarer",
"html_url": "https://github.com/JejuWayfarer",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @JejuWayfarer, \r\n\r\nit would be awesome if you could post such a question on the forum since it's not really a specific bug report, but more a question/problem on a case-specific training script. Could you maybe post your question on this thread - I'm sure you'll have more luck of getting a good answer ther... | 1,606 | 1,633 | 1,607 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0-rc-1
- Platform: Linux
- Python version: 3.7.9
- PyTorch version (GPU?): 1.4.0
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8844/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8844/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8843/comments | https://api.github.com/repos/huggingface/transformers/issues/8843/events | https://github.com/huggingface/transformers/issues/8843 | 753,098,335 | MDU6SXNzdWU3NTMwOTgzMzU= | 8,843 | "BertForMaskedLM - pretrained model" cannot resize vocab output size | {
"login": "HenryPaik1",
"id": 42961175,
"node_id": "MDQ6VXNlcjQyOTYxMTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/42961175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HenryPaik1",
"html_url": "https://github.com/HenryPaik1",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I solved it by following code:\r\n```\r\nwith torch.no_grad():\r\n replace_linear = torch.nn.Linear(in_features=768, out_features=len(tokenizer))\r\n replace_linear.weight[:30522,:].copy_(model.cls.predictions.decoder.weight)\r\n model.cls.predictions.decoder = replace_linear\r\n model.cls.predictions.... | 1,606 | 1,606 | 1,606 | NONE | null |
### Who can help
albert, bert, GPT2, XLM: @LysandreJik
## Information
Model I am using (Bert)
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [0] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an official GLUE/SQUaD task: (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8843/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8842/comments | https://api.github.com/repos/huggingface/transformers/issues/8842/events | https://github.com/huggingface/transformers/issues/8842 | 753,088,379 | MDU6SXNzdWU3NTMwODgzNzk= | 8,842 | T5 generations for pretraining objective degenerate | {
"login": "alexisjihyeross",
"id": 22248925,
"node_id": "MDQ6VXNlcjIyMjQ4OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22248925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexisjihyeross",
"html_url": "https://github.com/alexisjihyeross",
"followers_url": "https://api... | [
{
"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 guess it's quite normal that the quality degenerates the longer the sequence gets, especially since the output comes from `generate()`...I don't really think that this poses a problem here",
"The model for some reason does not want to generate anything after <extra_id_27>, and the same behavior (i.e. problems ... | 1,606 | 1,614 | 1,614 | NONE | null | ## The issue
I am using a pretrained T5 model to generate missing spans as in the pretraining objective. However, I'm finding that these generations deteriorate for longer sequences (usually after around the 25th span or so). Below is an example of this deterioration on a sequence (from the IMDB dataset) where 15% o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8842/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8841/comments | https://api.github.com/repos/huggingface/transformers/issues/8841/events | https://github.com/huggingface/transformers/pull/8841 | 753,067,396 | MDExOlB1bGxSZXF1ZXN0NTI5MjE4MDA4 | 8,841 | Don't warn that models aren't available if Flax is available. | {
"login": "skye",
"id": 88808,
"node_id": "MDQ6VXNlcjg4ODA4",
"avatar_url": "https://avatars.githubusercontent.com/u/88808?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skye",
"html_url": "https://github.com/skye",
"followers_url": "https://api.github.com/users/skye/followers",
"follo... | [] | closed | false | null | [] | [] | 1,606 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Disables the "Neither PyTorch nor TensorFlow >= 2.0 have been found" warning if Flax has been found.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8841/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8841",
"html_url": "https://github.com/huggingface/transformers/pull/8841",
"diff_url": "https://github.com/huggingface/transformers/pull/8841.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8841.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8840/comments | https://api.github.com/repos/huggingface/transformers/issues/8840/events | https://github.com/huggingface/transformers/pull/8840 | 753,004,889 | MDExOlB1bGxSZXF1ZXN0NTI5MTcwMzg5 | 8,840 | Diverse number of return sequences for greedy search and sampling generation | {
"login": "LSinev",
"id": 12072891,
"node_id": "MDQ6VXNlcjEyMDcyODkx",
"avatar_url": "https://avatars.githubusercontent.com/u/12072891?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LSinev",
"html_url": "https://github.com/LSinev",
"followers_url": "https://api.github.com/users/LSinev/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 | [] | [
"Hey @LSinev, \r\n\r\nthanks for your PR! Since the `generate()` refactor we are really trying to not add any use-case specific code anymore to the individual `generate()` methods. This quickly led to an unmaintainable code previously (especially if start adding lots of those `if` statements) again, so we can't mer... | 1,606 | 1,619 | 1,614 | CONTRIBUTOR | null | # What does this PR do?
A new option proposed, `diverse_sequences`, for cases, when one wants really different sequences to be generated (conversational bot, for example). For greedy search, it starts generating new sequences from top `num_return_sequences` tokens (as first tokens in sequences). For sample generatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8840/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8840",
"html_url": "https://github.com/huggingface/transformers/pull/8840",
"diff_url": "https://github.com/huggingface/transformers/pull/8840.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8840.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8839/comments | https://api.github.com/repos/huggingface/transformers/issues/8839/events | https://github.com/huggingface/transformers/pull/8839 | 752,946,912 | MDExOlB1bGxSZXF1ZXN0NTI5MTMwNjgx | 8,839 | [Needs Discussion] [WIP] [Docs] Clean tokenizer doc api and add fast tokenizers | {
"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 | [] | [
"Yes, the person that added the fast sentencepiece tokenizers did not document them in the same PR...\r\nAs for the `__call__` method (and the `encode` one), the idea was to refer to the doc of the superclass, but it makes sense to have them directly accessible for each tokenizer. If we add it, we should also add `... | 1,606 | 1,607 | 1,607 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8839/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8839",
"html_url": "https://github.com/huggingface/transformers/pull/8839",
"diff_url": "https://github.com/huggingface/transformers/pull/8839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8839.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8838/comments | https://api.github.com/repos/huggingface/transformers/issues/8838/events | https://github.com/huggingface/transformers/issues/8838 | 752,938,629 | MDU6SXNzdWU3NTI5Mzg2Mjk= | 8,838 | RuntimeError: found torch.cuda.HalfTensor expected torch.cuda.FloatTensor while fine-tuning RAGSequence-base with custom data | {
"login": "ritvik1512",
"id": 3297869,
"node_id": "MDQ6VXNlcjMyOTc4Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3297869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ritvik1512",
"html_url": "https://github.com/ritvik1512",
"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 | [] | [
"I cannot really reproduce when just running the fine-tuning script @ritvik1512 could you provide us maybe with a complete code example to reproduce the error? A short colab would also be very helpful! \r\n\r\nAlso pinging @lhoestq here since he knows more about RAG fine-tuning",
"I haven't experienced issues usi... | 1,606 | 1,614 | 1,614 | NONE | null | ## Environment info
- `transformers` version: 4.0.0-rc-1 (master)
- Platform: Linux-3.10.0-862.el7.x86_64-x86_64-with-centos-7.5.1804-Core
- Python version: 3.6.5
- PyTorch version (GPU?): 1.5.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or paral... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8837/comments | https://api.github.com/repos/huggingface/transformers/issues/8837/events | https://github.com/huggingface/transformers/issues/8837 | 752,933,166 | MDU6SXNzdWU3NTI5MzMxNjY= | 8,837 | Inconsistent PreTrainedTokenizerBase.pad argument default value & docstring | {
"login": "Fraser-Greenlee",
"id": 8402500,
"node_id": "MDQ6VXNlcjg0MDI1MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8402500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fraser-Greenlee",
"html_url": "https://github.com/Fraser-Greenlee",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"Seems to have been added in this commit: \r\nhttps://github.com/huggingface/transformers/commit/f3065abdb8805f5beaed9ff1e92ce874e655f5c9#diff-85b29486a884f445b1014a26fecfb189141f2e6b09f4ae701ee758a754fddcc1R2146-R2168\r\nAs part of merge https://github.com/huggingface/transformers/pull/6110",
"Hi, indeed! The do... | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | The docstring states the argument `padding` has a default of `False` but its default is `True`
docstring:
https://github.com/huggingface/transformers/blob/d5b3e56de5376aa85ef46e7f0325139d9e299a41/src/transformers/tokenization_utils_base.py#L2469-L2470
arg:
https://github.com/huggingface/transformers/blob/d5b3e56... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8837/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8836/comments | https://api.github.com/repos/huggingface/transformers/issues/8836/events | https://github.com/huggingface/transformers/pull/8836 | 752,918,160 | MDExOlB1bGxSZXF1ZXN0NTI5MTEwMzE3 | 8,836 | Add utility function for retrieving locally cached models | {
"login": "cdpierse",
"id": 8831892,
"node_id": "MDQ6VXNlcjg4MzE4OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8831892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cdpierse",
"html_url": "https://github.com/cdpierse",
"followers_url": "https://api.github.com/users/cdpie... | [] | closed | false | null | [] | [
"No problem just pushed the fix now. ",
"@LysandreJik Not sure what exactly caused the flax test suite on this to crash. It looks like the docker image crashed.",
"I think you need to run the `make style` command on your branch to fix the styling issues. The other test failures seem spurious.",
"Thanks!"
] | 1,606 | 1,609 | 1,609 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8836",
"html_url": "https://github.com/huggingface/transformers/pull/8836",
"diff_url": "https://github.com/huggingface/transformers/pull/8836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8836.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8835/comments | https://api.github.com/repos/huggingface/transformers/issues/8835/events | https://github.com/huggingface/transformers/issues/8835 | 752,898,496 | MDU6SXNzdWU3NTI4OTg0OTY= | 8,835 | cannot run "examples/language-modeling/run_mlm.py" | {
"login": "HenryPaik1",
"id": 42961175,
"node_id": "MDQ6VXNlcjQyOTYxMTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/42961175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HenryPaik1",
"html_url": "https://github.com/HenryPaik1",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You need to install datasets library: https://github.com/huggingface/datasets\r\n```\r\npip install datasets\r\n```",
"Thanks!"
] | 1,606 | 1,606 | 1,606 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform: cmd
- Python version: 3.7
- PyTorch version (GPU?): 1.6.0
- Tensorflow version (GPU?):
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8835/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8834/comments | https://api.github.com/repos/huggingface/transformers/issues/8834/events | https://github.com/huggingface/transformers/pull/8834 | 752,823,933 | MDExOlB1bGxSZXF1ZXN0NTI5MDQ3MTg3 | 8,834 | Allow none-tensor fields in BatchEncoding | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/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 and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,606 | 1,614 | 1,614 | CONTRIBUTOR | null | # What does this PR do?
This PR allows BatchEncoding to have non-tensor fields. This is useful for example when doing multi-task learning, I can add a task name (str) in the batch, and use it to decide the computation later on.
Without this PR, I cannot use `.to('cuda')` if there is str in the batch.
I don't kn... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8834/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8834",
"html_url": "https://github.com/huggingface/transformers/pull/8834",
"diff_url": "https://github.com/huggingface/transformers/pull/8834.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8834.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8833/comments | https://api.github.com/repos/huggingface/transformers/issues/8833/events | https://github.com/huggingface/transformers/issues/8833 | 752,800,518 | MDU6SXNzdWU3NTI4MDA1MTg= | 8,833 | AutoTokenizer can't find model/tokenizer config.json | {
"login": "abarbosa94",
"id": 6608232,
"node_id": "MDQ6VXNlcjY2MDgyMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6608232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abarbosa94",
"html_url": "https://github.com/abarbosa94",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hello! Do you have a notebook handy so that we can see and try to reproduce the error?",
"Thanks for the quick reply! \r\n\r\nI'm doing it in a private repo, I'll try to reproduce it and export it to a public repo asap :)",
"I just checked it again and it seems to work smoothly now 🤔 \r\n\r\nI'm closing this ... | 1,606 | 1,608 | 1,608 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.4.0
- Platform: Linux-4.19.0-8-amd64-x86_64-with-debian-10.3
- Python version: 3.7.3
- PyTorch versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8833/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8832/comments | https://api.github.com/repos/huggingface/transformers/issues/8832/events | https://github.com/huggingface/transformers/pull/8832 | 752,740,879 | MDExOlB1bGxSZXF1ZXN0NTI4OTkyMjA2 | 8,832 | [MT5] Add use_cache to config | {
"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,606 | 1,606 | 1,606 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8832/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8832",
"html_url": "https://github.com/huggingface/transformers/pull/8832",
"diff_url": "https://github.com/huggingface/transformers/pull/8832.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8832.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8831/comments | https://api.github.com/repos/huggingface/transformers/issues/8831/events | https://github.com/huggingface/transformers/issues/8831 | 752,697,658 | MDU6SXNzdWU3NTI2OTc2NTg= | 8,831 | logging.set_verbosity_error() displays dict instead of NotebookTrainingTracker | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"Hi there, I'm afraid this is not a bug bu how the default of `disable_tqdm` behaves. As shown in the [docs](https://huggingface.co/transformers/main_classes/trainer.html#trainingarguments), it defaults to `False` if your verbosity level is at warn or lower, `True` otherwise. So you need to pass along `disabel_tqm=... | 1,606 | 1,608 | 1,608 | MEMBER | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.0.0-rc-1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8831/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8830/comments | https://api.github.com/repos/huggingface/transformers/issues/8830/events | https://github.com/huggingface/transformers/issues/8830 | 752,678,395 | MDU6SXNzdWU3NTI2NzgzOTU= | 8,830 | Longform QA demo breaks after clearing cache | {
"login": "huu4ontocord",
"id": 8900094,
"node_id": "MDQ6VXNlcjg5MDAwOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8900094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huu4ontocord",
"html_url": "https://github.com/huu4ontocord",
"followers_url": "https://api.github.com... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This seems to be an out-of-memory error! @yjernite might know what's up.",
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,606 | 1,614 | 1,614 | NONE | null | ## Environment info
Browser: Chrome, running on windows.
Running demo at: http://35.226.96.115:8080/
Linked from https://github.com/huggingface/transformers/tree/master/examples/longform-qa
### Who can help
@sgugger
## Information
I had clicked "Clear Cache" in the app and when I did another search er... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8830/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8829/comments | https://api.github.com/repos/huggingface/transformers/issues/8829/events | https://github.com/huggingface/transformers/pull/8829 | 752,658,946 | MDExOlB1bGxSZXF1ZXN0NTI4OTM2MDQ5 | 8,829 | Attempt to fix Flax CI error(s) | {
"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,606 | 1,606 | 1,606 | MEMBER | null | - Increased the tolerance when comparing Flax et PyTorch output (_~0.00058 on my dev box_)
- Removed the `jit` parametrization when running `test_multiple_sentences` because it leads to instabilities
- Introduced subtests expliciting what we're doing by enabling / disabling JIT. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8829/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8829",
"html_url": "https://github.com/huggingface/transformers/pull/8829",
"diff_url": "https://github.com/huggingface/transformers/pull/8829.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8829.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8828/comments | https://api.github.com/repos/huggingface/transformers/issues/8828/events | https://github.com/huggingface/transformers/pull/8828 | 752,523,682 | MDExOlB1bGxSZXF1ZXN0NTI4ODI2NTgw | 8,828 | token-classification: use is_world_process_zero instead of is_world_master() | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"/cc @sgugger :hugs: "
] | 1,606 | 1,606 | 1,606 | COLLABORATOR | null | Hi,
I just found some leftovers of the `is_world_master()` function in the token classification example.
As this method has been removed, the following error message is thrown when using the `do_prediction` option:
```bash
Traceback (most recent call last):
File "run_ner.py", line 394, in <module>
mai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8828/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8828",
"html_url": "https://github.com/huggingface/transformers/pull/8828",
"diff_url": "https://github.com/huggingface/transformers/pull/8828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8828.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8827/comments | https://api.github.com/repos/huggingface/transformers/issues/8827/events | https://github.com/huggingface/transformers/issues/8827 | 752,482,863 | MDU6SXNzdWU3NTI0ODI4NjM= | 8,827 | error: sentencepiece 0.1.94 is installed but sentencepiece==0.1.91 is required by {'transformers'} | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [
{
"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 | [] | [
"The error tells you it wants SentencePiece 0.1.91, can you install that version instead?\r\n```\r\npip install -U sentencepiece==0.1.91\r\n```\r\nWe should update the requirements.txt file to reflect this. Do you want to open a PR?",
"This issue has been automatically marked as stale and been closed because it h... | 1,606 | 1,614 | 1,614 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: google cloud
- Python version: 3.7
- PyTorch version (GPU?): TPU, 1.6
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8827/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8826/comments | https://api.github.com/repos/huggingface/transformers/issues/8826/events | https://github.com/huggingface/transformers/pull/8826 | 752,481,173 | MDExOlB1bGxSZXF1ZXN0NTI4Nzk1MTgx | 8,826 | [CI] implement job skipping for doc-only PRs | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"That's a great idea!",
"Btw this is why GitHub Actions are so cool: this is built-in",
"ok, this is good now.",
"> Btw this is why GitHub Actions are so cool: this is built-in\r\n\r\nThis among others :) the only pain point is the lack of anchors, which would be a godsend given our current YAML files.",
"T... | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | Let's save some time and money. This PR:
* [x] skips most jobs when the only change is in `\.(md|rst)$` files.
I tested this with various types of files and it seems to do the right thing. But if we merge let's monitor that I didn't miss some use case and we end up with broken master if some CI jobs didn't run.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8826/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/8826/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8826",
"html_url": "https://github.com/huggingface/transformers/pull/8826",
"diff_url": "https://github.com/huggingface/transformers/pull/8826.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8826.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.