if i doing prefer_gpu() before the nlp vraible i got error the he need get numpy array in the head_ner in line 42. How do I overcome this problem?