[dev]refactor elastic model transformer