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

Bebish
/
codebro-gpt2

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

Instructions to use Bebish/codebro-gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Bebish/codebro-gpt2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Bebish/codebro-gpt2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Bebish/codebro-gpt2")
    model = AutoModelForSequenceClassification.from_pretrained("Bebish/codebro-gpt2")
  • Notebooks
  • Google Colab
  • Kaggle
codebro-gpt2
500 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Bebish's picture
Bebish
Upload tokenizer
58528da verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    5.17 kB
    Upload GPT2ForSequenceClassification almost 2 years ago
  • config.json
    11.2 kB
    Upload GPT2ForSequenceClassification almost 2 years ago
  • merges.txt
    456 kB
    Upload tokenizer almost 2 years ago
  • model.safetensors
    498 MB
    xet
    Upload GPT2ForSequenceClassification almost 2 years ago
  • special_tokens_map.json
    470 Bytes
    Upload tokenizer almost 2 years ago
  • tokenizer_config.json
    525 Bytes
    Upload tokenizer almost 2 years ago
  • vocab.json
    999 kB
    Upload tokenizer almost 2 years ago