Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

inference4j
/
gliner-small-v2.1

Token Classification
ONNX
GLiNER
ner
zero-shot
inference4j
Model card Files Files and versions
xet
Community

Instructions to use inference4j/gliner-small-v2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • GLiNER

    How to use inference4j/gliner-small-v2.1 with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("inference4j/gliner-small-v2.1")
    
    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-small-v2.1
620 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
vccarvalho11's picture
vccarvalho11
Upload gliner-small-v2.1 ONNX model
cd2fe3b verified 24 days ago
  • .gitattributes
    1.52 kB
    initial commit 25 days ago
  • README.md
    12.8 kB
    Upload gliner-small-v2.1 ONNX model 24 days ago
  • added_tokens.json
    86 Bytes
    Upload gliner-small-v2.1 ONNX model 24 days ago
  • gliner_config.json
    731 Bytes
    Upload gliner-small-v2.1 ONNX model 24 days ago
  • model.onnx
    611 MB
    xet
    Upload gliner-small-v2.1 ONNX model 24 days ago
  • special_tokens_map.json
    286 Bytes
    Upload gliner-small-v2.1 ONNX model 24 days ago
  • tokenizer.json
    8.66 MB
    Upload gliner-small-v2.1 ONNX model 24 days ago
  • tokenizer_config.json
    1.81 kB
    Upload gliner-small-v2.1 ONNX model 24 days ago