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: Notebook for custom model api #829

Merged

Conversation

chakravarthik27
Copy link
Collaborator

@chakravarthik27 chakravarthik27 commented Oct 18, 2023

Description

This pull request implements a significant enhancement in the notebook functionality, introducing support for a custom hub. The addition of this feature enables users to seamlessly integrate and leverage personalized nlp models within the notebook environment.


➤ Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Usage

Let's do with Langtest

harness = Harness(task="text-classification",
                  model={'model': model, "hub": "custom"}, data={'data_source': 'path/to/data/imdb.csv'})

Checklist:

  • I've added Google style docstrings to my code.
  • I've used pydantic for typing when/where necessary.
  • I have linted my code
  • I have added tests to cover my changes.

Screenshots (if appropriate):

@chakravarthik27 chakravarthik27 merged commit 2d21aef into release/1.7.0 Oct 18, 2023
3 checks passed
@ArshaanNazir ArshaanNazir deleted the feature/custom-model-api-endpoint-support branch November 1, 2023 06:54
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.

None yet

2 participants