An AI enabled human online model for human-robot collaboration