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

chargoddard
/
gpt2-small-chai-multiobjective

Text Classification
Transformers
Safetensors
gpt2
Model card Files Files and versions
xet
Community

Instructions to use chargoddard/gpt2-small-chai-multiobjective with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chargoddard/gpt2-small-chai-multiobjective with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="chargoddard/gpt2-small-chai-multiobjective")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("chargoddard/gpt2-small-chai-multiobjective")
    model = AutoModelForSequenceClassification.from_pretrained("chargoddard/gpt2-small-chai-multiobjective")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2-small-chai-multiobjective
196 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
chargoddard's picture
chargoddard
Update special_tokens_map.json
b36c20a over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • added_tokens.json
    29 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • config.json
    983 Bytes
    Update config.json over 2 years ago
  • merges.txt
    456 kB
    Upload folder using huggingface_hub over 2 years ago
  • model-00001-of-00001.safetensors
    192 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model.safetensors.index.json
    7.08 kB
    Upload folder using huggingface_hub over 2 years ago
  • special_tokens_map.json
    189 Bytes
    Update special_tokens_map.json over 2 years ago
  • tokenizer.json
    2.11 MB
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer_config.json
    503 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • vocab.json
    798 kB
    Upload folder using huggingface_hub over 2 years ago