Views
No views yet
UBERONParcellationspeciespreparationTypetechniquebiologicalSex1from gliner import GLiNER
2
3LABELS = ['UBERONParcellation', 'species', 'preparationType', 'technique', 'biologicalSex']
4THRESHOLD = xxx # choose your threshold
5
6model = GLiNER.from_pretrained('SIRIS-Lab/SciLake-Neuroscience-GLiNER-large')
7entities = model.predict_entities(to_tag, labels=LABELS, threshold=THRESHOLD)