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

UHH-CI
/
GermanPolitical-Gelectra-base

Text Classification
Transformers
google-tensorflow TensorFlow
German
electra
Model card Files Files and versions
xet
Community

Instructions to use UHH-CI/GermanPolitical-Gelectra-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use UHH-CI/GermanPolitical-Gelectra-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="UHH-CI/GermanPolitical-Gelectra-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("UHH-CI/GermanPolitical-Gelectra-base")
    model = AutoModelForSequenceClassification.from_pretrained("UHH-CI/GermanPolitical-Gelectra-base")
  • Notebooks
  • Google Colab
  • Kaggle
GermanPolitical-Gelectra-base
446 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 91 commits
UHH-CI's picture
UHH-CI
Upload tf_model.h5
d4d5959 about 4 years ago
  • .gitattributes
    1.17 kB
    initial commit about 4 years ago
  • Method.png
    65.9 kB
    Upload Method.png about 4 years ago
  • README.md
    1.64 kB
    Update README.md about 4 years ago
  • config.json
    770 Bytes
    Upload config.json about 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json about 4 years ago
  • tf_model.h5
    445 MB
    xet
    Upload tf_model.h5 about 4 years ago
  • tf_model.preproc
    2.56 kB
    Upload tf_model.preproc about 4 years ago
  • tokenizer.json
    528 kB
    Upload tokenizer.json about 4 years ago
  • tokenizer_config.json
    420 Bytes
    Upload tokenizer_config.json about 4 years ago
  • vocab.txt
    276 kB
    Upload vocab.txt about 4 years ago