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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ai4data
/
datause-extraction-v2

PEFT
Safetensors
Transformers
GLiNER2
lora
dataset-extraction
data-use
Model card Files Files and versions
xet
Community

Instructions to use ai4data/datause-extraction-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use ai4data/datause-extraction-v2 with PEFT:

    Task type is invalid.
  • Transformers

    How to use ai4data/datause-extraction-v2 with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("ai4data/datause-extraction-v2", dtype="auto")
  • GLiNER2

    How to use ai4data/datause-extraction-v2 with GLiNER2:

    from gliner2 import GLiNER2
    
    model = GLiNER2.from_pretrained("ai4data/datause-extraction-v2")
    
    # 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
datause-extraction-v2
30.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
rafmacalaba's picture
rafmacalaba
Upload README.md with huggingface_hub
8948590 verified 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    3.85 kB
    Upload README.md with huggingface_hub 1 day ago
  • adapter_config.json
    1.33 kB
    Upload folder using huggingface_hub 1 day ago
  • adapter_model.safetensors
    30.7 MB
    xet
    Upload folder using huggingface_hub 1 day ago