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

rocker417
/
gemma-2-2b-pii-token-classifier

Token Classification
Transformers
Safetensors
gemma2
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use rocker417/gemma-2-2b-pii-token-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use rocker417/gemma-2-2b-pii-token-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="rocker417/gemma-2-2b-pii-token-classifier")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("rocker417/gemma-2-2b-pii-token-classifier")
    model = AutoModelForTokenClassification.from_pretrained("rocker417/gemma-2-2b-pii-token-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • .gitattributes
    1.57 kB
    Upload tokenizer about 1 year ago
  • README.md
    5.17 kB
    Upload GemmaForTokenClassification over 1 year ago
  • config.json
    8.31 kB
    Upload GemmaForTokenClassification over 1 year ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Upload GemmaForTokenClassification about 1 year ago
  • model-00002-of-00002.safetensors
    241 MB
    xet
    Upload GemmaForTokenClassification about 1 year ago
  • model.safetensors.index.json
    24.4 kB
    Upload GemmaForTokenClassification over 1 year ago
  • special_tokens_map.json
    636 Bytes
    Upload tokenizer about 1 year ago
  • tokenizer.json
    34.4 MB
    xet
    Upload tokenizer about 1 year ago
  • tokenizer.model
    4.24 MB
    xet
    Upload tokenizer about 1 year ago
  • tokenizer_config.json
    46.4 kB
    Upload tokenizer about 1 year ago