Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

xberg-io
/
gliner-models

Token Classification
GLiNER
ONNX
named-entity-recognition
ner
Model card Files Files and versions
xet
Community

Instructions to use xberg-io/gliner-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • GLiNER

    How to use xberg-io/gliner-models with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("xberg-io/gliner-models")
    
    text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal."
    labels = ["person", "date", "location"]
    
    entities = model.predict_entities(text, labels)
    for entity in entities:
        print(entity["text"], "=>", entity["label"])
  • Notebooks
  • Google Colab
  • Kaggle
gliner-models / models
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
naamanhirschfeld's picture
naamanhirschfeld
Upload folder using huggingface_hub
afb0faa verified 3 months ago
  • gliner_large-v2.5
    Upload folder using huggingface_hub 3 months ago
  • gliner_medium-v2.5
    Upload folder using huggingface_hub 3 months ago
  • gliner_small-v2.5
    Upload folder using huggingface_hub 3 months ago