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

aufklarer
/
GLiNER2.5-Decide-340M-MLX

Text Classification
MLX
GLiNER
GLiNER2
English
extractor
deberta-v3
token-classification
named-entity-recognition
apple-silicon
decision-model
Model card Files Files and versions
xet
Community
1

Instructions to use aufklarer/GLiNER2.5-Decide-340M-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use aufklarer/GLiNER2.5-Decide-340M-MLX with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    hf download aufklarer/GLiNER2.5-Decide-340M-MLX --local-dir GLiNER2.5-Decide-340M-MLX
  • GLiNER

    How to use aufklarer/GLiNER2.5-Decide-340M-MLX with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("aufklarer/GLiNER2.5-Decide-340M-MLX")
    
    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"])
  • GLiNER2

    How to use aufklarer/GLiNER2.5-Decide-340M-MLX with GLiNER2:

    from gliner2 import AutoExtractor
    
    extractor = AutoExtractor.from_pretrained("aufklarer/GLiNER2.5-Decide-340M-MLX")
    
    # Extract entities
    text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."
    result = extractor.extract_entities(text, ["company", "person", "product", "location"])
    
    print(result)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
GLiNER2.5-Decide-340M-MLX
1.95 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
aufklarer's picture
aufklarer
mishig's picture
mishig HF Staff
Add decision-model tag (#1)
38219b3 21 days ago
  • encoder_config
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • LICENSE
    11.4 kB
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • LICENSE-gliner2-mlx
    1.06 kB
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • README.md
    3.68 kB
    Add decision-model tag (#1) 21 days ago
  • UPSTREAM_README.md
    16.9 kB
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • config.json
    594 Bytes
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • export.json
    394 Bytes
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • special_tokens_map.json
    2.41 kB
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • tokenizer.json
    8.33 MB
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • tokenizer_config.json
    3.36 kB
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago
  • weights.safetensors
    1.95 GB
    xet
    Add MLX conversion of fastino/GLiNER2.5-Decide at 7ee5da4c about 1 month ago