CoolFace
Apppublic

cng420/gliner2-schema-extraction

sourceHugging Faceapache-2.0updated 22h agoView on Hugging Face
0likes
App README

GLiNER2 schema-driven extraction

Interactive demo of GLiNER2 with the fastino/gliner2.5-base-v1 checkpoint. One small encoder performs all four tasks:

TabTaskGLiNER2 API
EntitiesNamed entity recognition with zero-shot labels and descriptionsSchema.entities
ClassificationSingle- and multi-label text classificationSchema.classification
RelationsRelation extraction with typed endpointsJointIE
Structured dataJSON records from a field::type::description schemaSchema.structure
S8 knowledge-graph schemaAll four at once with the schema used to build the s8kb Neo4j graphall of the above

The default labels come from s8kb, a knowledge base of NSW Schedule 8 medicines regulation (Qdrant hybrid retrieval plus a Neo4j knowledge graph built from GLiNER2 output). The entity and relation types are aligned with the s8d ontology.

Every tab is also an API endpoint and an MCP tool (demo.launch(mcp_server=True)). Runs on ZeroGPU.