[Droid] Add Truss Example for Databricks DBRX-Instruct Model #264
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This PR introduces a new Truss example for the Databricks DBRX-Instruct model. The new example includes a directory structure, a populated config.yaml file, implemented model loading and prediction code, and a README file. The config.yaml file specifies the model name, Python version, required Python packages, and resource requirements. The model.py file includes the Model class with methods for loading the model, preprocessing input, generating predictions, and postprocessing output. The README provides an overview of the model, deployment instructions, API documentation, and example usage. All changes have been validated and all unit tests have passed.
Fixes BT-10525
Tips