models and adapters