flairNLP / flair

A very simple framework for state-of-the-art Natural Language Processing (NLP)
https://flairnlp.github.io/flair/
Other
13.95k stars 2.1k forks source link

[Question]: Regarding few shot multi label text classification #3406

Open Abhaysharma53 opened 9 months ago

Abhaysharma53 commented 9 months ago

Question

I am trying to built a model for few shot text classification for a multilabel problem. I am facing some issues while trying to import the TARSClassifier

from flair.models import TARSClassifier from flair.data import Sentence

Attribute Error: Module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'

can anyone help me to understand why i might be facing this issue and how can i further troubleshoot this.

helpmefindaname commented 9 months ago

Hi @Abhaysharma53 I suppose this thread on stackoverflow will help you.