Ported to TEXT ids, pipeline run end-to-end, learn bad weights