add example code to build and convert models