Models of representations of general linear groups over p-adic fields