text
**Some updates on GLiNER**
**Some updates on GLiNER**
new_line
new_line
text
🆕 A new commercially permissible multilingual version is available urchade/gliner_multiv2.1
🆕 A new commercially permissible multilingual version is available urchade/gliner_multiv2.1
new_line
new_line
text
🐛 A subtle bug that causes performance degradation on some models has been corrected. Thanks to 
🐛 A subtle bug that causes performance degradation on some models has been corrected. Thanks to 
mention
@yyDing1
yyDing1
text
 for raising the issue.
 for raising the issue.
new_line
new_line
code_fence
```
from gliner import GLiNER

# Initialize GLiNER
model = GLiNER.from_pretrained("urchade/gliner_multiv2.1")

text = "This is a text about Bill Gates and Microsoft."

# Labels for entity prediction
labels = ["person", "organization", "email"]

entities = model.predict_entities(text, labels, threshold=0.5)

for entity in entities:
    print(entity["text"], "=>", entity["label"])
```
from gliner import GLiNER

# Initialize GLiNER
model = GLiNER.from_pretrained("urchade/gliner_multiv2.1")

text = "This is a text about Bill Gates and Microsoft."

# Labels for entity prediction
labels = ["person", "organization", "email"]

entities = model.predict_entities(text, labels, threshold=0.5)

for entity in entities:
    print(entity["text"], "=>", entity["label"])
**Some updates on GLiNER**

🆕 A new commercially permissible multilingual version is available urchade/gliner_multiv2.1

🐛 A subtle bug that causes performance degradation on some models has been corrected. Thanks to @yyDing1 for raising the issue.

```
from gliner import GLiNER

# Initialize GLiNER
model = GLiNER.from_pretrained("urchade/gliner_multiv2.1")

text = "This is a text about Bill Gates and Microsoft."

# Labels for entity prediction
labels = ["person", "organization", "email"]

entities = model.predict_entities(text, labels, threshold=0.5)

for entity in entities:
    print(entity["text"], "=>", entity["label"])
```
❤️
tomaarsen osanseviero aari1995 Bailefan erickdp mrdbourke
🔥
osanseviero tomaarsen som781
https://cdn-avatars.huggingface.co/v1/production/uploads/6317233cc92fd6fee317e030/cJHSvvimr1kqgQfHOjO5n.png
Tom Aarsen
tomaarsen
user
/avatars/87a827f22fd65236378820e838828101.svg
weiguosun
chuangxinlezhi
user
/avatars/e13985712c72cb9dbc517a4a293ad006.svg
abdata
abdar1925
user
https://cdn-avatars.huggingface.co/v1/production/uploads/62111fdbe1d974ee5bcbfa27/YUzX6lBvW8pbxDorx1kgV.png
Urchade Zaratiana
urchade
user
/avatars/f6e6a24f7d3068fedfbaff75493e4daf.svg
Krishna Meduri
meduri30
user
/avatars/91672c1354c7eb06d4b3f83a4f6d3458.svg
Rahul
Rjp97
user