How to leverage Custom Models in UnifyApps?
Users can leverage the power of LLM Models using our UnifyApps Platform to build efficient agents and workflows. You'll learn two primary methods for incorporating tailored models: fine-tuning an existing base model and integrating your entirely custom-built model as an API.
Fine-tuning Your Own Base Model
Fine-tuning is the process of taking a pre-trained base model and training it further on a smaller, specific dataset to adapt its capabilities to a particular task or domain. This allows the model to generate more relevant and accurate outputs for your unique use case without building a model from scratch.
Prerequisites
A Base Model: UnifyApps supports various popular base LLMs that can be fine-tuned.
A Labeled Dataset: A high-quality dataset relevant to your specific task. The more aligned and cleaner your data, the better the fine-tuning results.
UnifyApps Account: Access to the UnifyApps platform with appropriate permissions.
Steps for Fine-tuning
In the UnifyApps AI platform choose Custom Models and click on Add Custom Model
Enter your Custom Model’s Name and Description according to your use case and requirements.
Now, Add and Configure Base Model details, dataset, configure Hyper Parameters like epoch, batch size, learning rate, and much more to fine-tune your model to fit your specific use case and data.
Customise Parameter Efficient Fine Tuning parameters like bias, LoRa dropout, etc
Integrate Your Own Custom Model by Importing It to UnifyApps
If you have already developed and trained a custom LLM outside of UnifyApps (e.g., using frameworks like TensorFlow, PyTorch, or Hugging Face Transformers), you can import it directly into the platform. This is ideal for models with unique architectures, specialized training, or proprietary data.
Prerequisites
A Fully Trained Custom Model: Your model should be stable and ready for deployment.
Model Artifacts: The model files (e.g., weights, configuration, tokenizer files) in a compatible format (e.g., ONNX, SavedModel, PyTorch state dict, Hugging Face format).
UnifyApps Account: Access to the UnifyApps platform with appropriate permissions.
Steps for Integrating your own Custom Model:
In the UnifyApps AI platform, head over to the Models Tab and click on Add Model
Choose the option “
Import Model
” and give your custom model a Name.Now Configure the custom model by adding a base URL, path of the API endpoint, Auth time, headers and Query Parameters to finish integration of your model with UnifyApps