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

Updated Hugging Face chat and magics processing with new APIs, clients #784

Merged
merged 7 commits into from
May 16, 2024

Commits on May 15, 2024

  1. Updated HF chat processing

    (1) The API has changed and uses the HuggingFaceClient class instead of HuggingFaceHub, which is deprecated.
    (2) InferenceClient replaces InferenceAPI
    (3) Removed legacy code that does not work with the new APIs/
    srdas committed May 15, 2024
    Configuration menu
    Copy the full SHA
    5b6291c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14dadff View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Handle text gen and text_to_image tasks

    Added logic to branch to one of text-gen or text-to-image tasks based on the type of response received.
    srdas committed May 16, 2024
    Configuration menu
    Copy the full SHA
    ebc0eec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8023b4 View commit details
    Browse the repository at this point in the history
  3. Reworking conditional branching for text vs image

    Used a different approach to check for task type
    srdas committed May 16, 2024
    Configuration menu
    Copy the full SHA
    044841a View commit details
    Browse the repository at this point in the history
  4. Merge branch 'change_HF_client' of https:/srdas/jupyter-ai

    …into change_HF_client
    srdas committed May 16, 2024
    Configuration menu
    Copy the full SHA
    e5b9034 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e253d6 View commit details
    Browse the repository at this point in the history