OpenMed-ZeroShot-NER-Genomic-Medium-209M
7
1 language
license:apache-2.0
by
OpenMed
Other
OTHER
New
7 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
Specialized model for Gene Entity Recognition - Gene-related entities [](https://opensource.
Code Examples
You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)You can specify custom entity types for zero-shot recognition - for instance:python
# You can specify custom entity types for zero-shot recognition - for instance:
custom_entities = ["MISC", "Cell-line-name", "PERSON", "LOCATION", "MEDICATION", "PROCEDURE"]
entities = model.predict_entities(text, custom_entities, flat_ner=True, threshold=0.1)
for entity in entities:
print(entity)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.