create decoder for Katie Hoffman's encoder