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

  • Log In
  • Sign Up

microsoft
/
graphcodebert-base

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
roberta
Model card Files Files and versions
xet
Community
8

Instructions to use microsoft/graphcodebert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use microsoft/graphcodebert-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="microsoft/graphcodebert-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("microsoft/graphcodebert-base")
    model = AutoModelForMaskedLM.from_pretrained("microsoft/graphcodebert-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
graphcodebert-base / openvino
126 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 1 commit
buelfhood's picture
buelfhood
Add exported openvino model 'openvino_model_qint8_quantized.xml'
712a756 verified over 1 year ago
  • openvino_model_qint8_quantized.bin
    125 MB
    xet
    Add exported openvino model 'openvino_model_qint8_quantized.xml' over 1 year ago
  • openvino_model_qint8_quantized.xml
    668 kB
    Add exported openvino model 'openvino_model_qint8_quantized.xml' over 1 year ago