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

Insusty
/
on-device-models

Token Classification
ONNX
GLiNER2
Transformers.js
pii
ner
redaction
Model card Files Files and versions
xet
Community

Instructions to use Insusty/on-device-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • GLiNER2

    How to use Insusty/on-device-models with GLiNER2:

    from gliner2 import AutoExtractor
    
    extractor = AutoExtractor.from_pretrained("Insusty/on-device-models")
    
    # Extract entities
    text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."
    result = extractor.extract_entities(text, ["company", "person", "product", "location"])
    
    print(result)
  • Transformers.js

    How to use Insusty/on-device-models with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('token-classification', 'Insusty/on-device-models');
  • Notebooks
  • Google Colab
  • Kaggle
on-device-models
892 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
marsot54's picture
marsot54
Add the GLiNER2 on-device exports and the model card
c981626 verified 27 days ago
  • gliner2-multi-v1
    Add the GLiNER2 on-device exports and the model card 27 days ago
  • gliner2-pii-multi-v1
    Add the GLiNER2 on-device exports and the model card 27 days ago
  • .gitattributes
    1.66 kB
    Add the GLiNER2 on-device exports and the model card 27 days ago
  • README.md
    6.47 kB
    Add the GLiNER2 on-device exports and the model card 27 days ago