Skip to content

Add: Notebook for custom model api#829

Merged
chakravarthik27 merged 1 commit intorelease/1.7.0from
feature/custom-model-api-endpoint-support
Oct 18, 2023
Merged

Add: Notebook for custom model api#829
chakravarthik27 merged 1 commit intorelease/1.7.0from
feature/custom-model-api-endpoint-support

Conversation

@chakravarthik27
Copy link
Copy Markdown
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
@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.

2 participants