Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

neulab
/
codebert-cpp

Fill-Mask
Transformers
PyTorch
roberta
Model card Files Files and versions
xet
Community
3

Instructions to use neulab/codebert-cpp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use neulab/codebert-cpp with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="neulab/codebert-cpp")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("neulab/codebert-cpp")
    model = AutoModelForMaskedLM.from_pretrained("neulab/codebert-cpp")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
codebert-cpp
1.38 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
urialon's picture
urialon
initial commit
f7f36c9 over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago