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 Fine-Tuning Feature Skeleton #14

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

uniAIDevs
Copy link

Description

This pull request introduces a new feature that allows for fine-tuning of transformer models from HuggingFace within our LLM (Large Language Models) gateway. It includes backend implementations for initiating fine-tuning and checking the status of these operations, as well as frontend adjustments to enable this functionality within our studio app.

Summary

  • Added backend API endpoints in gateway/internal/api/v1/finetune.go for:
    • Initiating fine-tuning of models with HuggingFace (InitiateFineTuning)
    • Checking the status of fine-tuning operations (CheckFineTuningStatus)
  • Implemented a new provider in gateway/internal/provider/huggingface/huggingface.go to interact with HuggingFace's API for model fine-tuning.
  • Updated the frontend component modelselector.tsx in playgrounds/apps/studio/app/(llm)/playground/components to include a toggle for selecting models specifically for fine-tuning.
  • Modified the useModelFetch.tsx hook in playgrounds/apps/studio/app/(llm)/playground/hooks to support fetching models based on whether fine-tuning is enabled or not.

These changes collectively introduce the capability to fine-tune transformer models from HuggingFace, enhancing the flexibility and power of MissingStudios LLM offerings.

🎉 Unity AI Development Trusts Sweep For Quick Development!

    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

    1 participant