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

SinclairSchneider
/
german_politic_direction_gemma-2-2b

Text Classification
Transformers
Safetensors
German
gemma2
German
Politics
Prediction
Model card Files Files and versions
xet
Community

Instructions to use SinclairSchneider/german_politic_direction_gemma-2-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use SinclairSchneider/german_politic_direction_gemma-2-2b with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="SinclairSchneider/german_politic_direction_gemma-2-2b")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("SinclairSchneider/german_politic_direction_gemma-2-2b")
    model = AutoModelForSequenceClassification.from_pretrained("SinclairSchneider/german_politic_direction_gemma-2-2b", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
german_politic_direction_gemma-2-2b
10.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
SinclairSchneider's picture
SinclairSchneider
Update README.md
9796e73 verified 11 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 11 months ago
  • README.md
    3.14 kB
    Update README.md 11 months ago
  • config.json
    1.83 kB
    Upload Gemma2ForSequenceClassification 11 months ago
  • model-00001-of-00003.safetensors
    4.99 GB
    xet
    Upload Gemma2ForSequenceClassification 11 months ago
  • model-00002-of-00003.safetensors
    4.98 GB
    xet
    Upload Gemma2ForSequenceClassification 11 months ago
  • model-00003-of-00003.safetensors
    481 MB
    xet
    Upload Gemma2ForSequenceClassification 11 months ago
  • model.safetensors.index.json
    24.3 kB
    Upload Gemma2ForSequenceClassification 11 months ago
  • special_tokens_map.json
    636 Bytes
    Upload tokenizer 11 months ago
  • tokenizer.json
    34.4 MB
    xet
    Upload tokenizer 11 months ago
  • tokenizer_config.json
    46.5 kB
    Upload tokenizer 11 months ago