Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Update transformers requirement from <2.11,>=2.9 to >=2.9,<2.12 #4315

Merged
merged 2 commits into from
Jun 3, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on transformers to permit the latest version.

Release notes

Sourced from transformers's releases.

Longformer

New community notebooks!

URLs to model weights are not hardcoded anymore (@julien-c)

Archive maps were dictionaries linking pre-trained models to their S3 URLs. Since the arrival of the model hub, these have become obsolete.

⚠️ This PR is breaking for the following models: BART, Flaubert, bert-japanese, bert-base-finnish, bert-base-dutch. ⚠️ Those models now have to be instantiated with their full model id:

"cl-tohoku/bert-base-japanese" "cl-tohoku/bert-base-japanese-whole-word-masking" "cl-tohoku/bert-base-japanese-char" "cl-tohoku/bert-base-japanese-char-whole-word-masking" "TurkuNLP/bert-base-finnish-cased-v1" "TurkuNLP/bert-base-finnish-uncased-v1" "wietsedv/bert-base-dutch-cased" "flaubert/flaubert_small_cased" "flaubert/flaubert_base_uncased" "flaubert/flaubert_base_cased" "flaubert/flaubert_large_cased"

all variants of "facebook/bart"

Fixes and improvements

  • Fix convert_token_type_ids_from_sequences for fast tokenizers (@n1t0, #4503)
  • Fixed the default tokenizer of the summarization pipeline (@sshleifer, #4506)
  • The max_len attribute is now more robust, and warns the user about deprecation (@mfuntowicz, #4528)
  • Added type hints to modeling_utils.py (@bglearning, #3911)
  • MMBT model now has nn.Module as a superclass (@shoarora, #4533)
  • Fixing tokenization of extra_id symbols in the T5 tokenizer (@mansimov, #4353)
... (truncated)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [transformers](https://github.com/huggingface/transformers) to permit the latest version.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v2.9.0...v2.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 3, 2020
@epwalsh epwalsh merged commit a038c01 into master Jun 3, 2020
@epwalsh epwalsh deleted the dependabot/pip/transformers-gte-2.9-and-lt-2.12 branch June 3, 2020 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant