Create a python class that is the only thing the end user should interact with
the creation of an instance of this class should be: model = Robin('agi-collective/[model_name]')
Base LLM, VE type... can be found in the model config.json
There should be optional arguments like temperature, conversation type...
There should be a .predict('[text]', '[image_path/URL]') function
Any other standard or useful arguments are welcome!
The forward pass of training and LlavaMistralPipeline can be good inspiration.
The aim is to simplify the overly complex serve folder, remove all the redundant code in cli, pipeline..., do the same in eval, and have a simple Robin.predict([text], [image]) call
Create a python class that is the only thing the end user should interact with
the creation of an instance of this class should be:
model = Robin('agi-collective/[model_name]')
Base LLM, VE type... can be found in the model
config.json
There should be optional arguments like temperature, conversation type...
There should be a
.predict('[text]', '[image_path/URL]')
functionAny other standard or useful arguments are welcome!
The forward pass of training and LlavaMistralPipeline can be good inspiration.
The aim is to simplify the overly complex serve folder, remove all the redundant code in cli, pipeline..., do the same in eval, and have a simple
Robin.predict([text], [image])
call