Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2024

Bumps @xenova/transformers from 2.17.1 to 2.17.2.

Release notes

Sourced from @​xenova/transformers's releases.

2.17.2

🚀 What's new?

  • Add support for MobileViTv2 in xenova/transformers.js#721

    import { pipeline } from '@xenova/transformers';
    // Create an image classification pipeline
    const classifier = await pipeline('image-classification', 'Xenova/mobilevitv2-1.0-imagenet1k-256', {
    quantized: false,
    });
    // Classify an image
    const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/tiger.jpg';
    const output = await classifier(url);
    // [{ label: 'tiger, Panthera tigris', score: 0.6491137742996216 }]

    See here for the full list of supported models.

  • Add support for FastViT in xenova/transformers.js#749

    import { pipeline } from '@xenova/transformers';
    // Create an image classification pipeline
    const classifier = await pipeline('image-classification', 'Xenova/fastvit_t12.apple_in1k', {
    quantized: false
    });
    // Classify an image
    const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/tiger.jpg';
    const output = await classifier(url, { topk: 5 });
    // [
    //   { label: 'tiger, Panthera tigris', score: 0.6649345755577087 },
    //   { label: 'tiger cat', score: 0.12454754114151001 },
    //   { label: 'lynx, catamount', score: 0.0010689536575227976 },
    //   { label: 'dhole, Cuon alpinus', score: 0.0010422508930787444 },
    //   { label: 'silky terrier, Sydney silky', score: 0.0009548701345920563 }
    // ]

    See here for the full list of supported models.

  • Optimize FFT in xenova/transformers.js#766

  • Auto rotate image by @​KTibow in xenova/transformers.js#737

  • Support reading data from blob URI by @​hans00 in xenova/transformers.js#645

  • Add sequence post processor in xenova/transformers.js#771

  • Add model file name by @​NawarA in xenova/transformers.js#594

  • Update pipelines.js to allow for token_embeddings as well by @​NikhilVerma in xenova/transformers.js#770

  • Remove old import from stream/web for ReadableStream in xenova/transformers.js#752

  • Update tokenizer playground by @​xenova in xenova/transformers.js#717

  • Use ungated version of mistral tokenizer by @​xenova in xenova/transformers.js#718

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2024
Bumps [@xenova/transformers](https://github.com/xenova/transformers.js) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/xenova/transformers.js/releases)
- [Commits](huggingface/transformers.js@2.17.1...2.17.2)

---
updated-dependencies:
- dependency-name: "@xenova/transformers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/xenova/transformers-2.17.2 branch from b08cff7 to 92f5718 Compare June 20, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants