Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add equivalence testing between transformers pipelines + huggingface.js tasks #33452

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

Rocketknight1
Copy link
Member

@Rocketknight1 Rocketknight1 commented Sep 12, 2024

This PR sets up a basic testing framework for equivalence testing. Right now basically none of the pipelines are equivalent, but as the PR progresses we'll hopefully bring them into alignment and add them to the testing list.

UPDATE: This is now mostly ready!

TODO:

  • FeatureExtractionPipeline not yet in sync
  • TranslationPipeline not yet in sync
  • TextGenerationPipeline not yet in sync
  • ImageFeatureExtractionPipeline has no spec
  • ZeroShotAudioClassificationPipeline has no spec
  • MaskGenerationPipeline has no spec
  • ImageToImagePipeline is totally divergent
  • Find a proper home for the test that's not test_modeling_gpt2.py

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants