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

gretelai
/
gretel-gliner-bi-small-v1.0

Token Classification
GLiNER
PyTorch
English
PII
PHI
GLiNER
information extraction
encoder
entity recognition
privacy
Model card Files Files and versions
xet
Community
1

Instructions to use gretelai/gretel-gliner-bi-small-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • GLiNER

    How to use gretelai/gretel-gliner-bi-small-v1.0 with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("gretelai/gretel-gliner-bi-small-v1.0")
    
    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
gretel-gliner-bi-small-v1.0
768 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mvansegbroeck's picture
mvansegbroeck
Update README.md
ef9ca0d verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    5.44 kB
    Update README.md almost 2 years ago
  • added_tokens.json
    23 Bytes
    Push model using huggingface_hub. about 2 years ago
  • gliner_config.json
    5.94 kB
    Push model using huggingface_hub. about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    757 MB
    xet
    Push model using huggingface_hub. about 2 years ago
  • special_tokens_map.json
    970 Bytes
    Push model using huggingface_hub. about 2 years ago
  • spm.model
    2.46 MB
    xet
    Push model using huggingface_hub. about 2 years ago
  • tokenizer.json
    8.65 MB
    Push model using huggingface_hub. about 2 years ago
  • tokenizer_config.json
    1.39 kB
    Push model using huggingface_hub. about 2 years ago