[minor] added models to examples
[minor] added models to examples
[optimization] implemented sparse input to save memory.