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

ynklab
/
XCodeBERT

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

Instructions to use ynklab/XCodeBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ynklab/XCodeBERT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ynklab/XCodeBERT")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("ynklab/XCodeBERT")
    model = AutoModelForMaskedLM.from_pretrained("ynklab/XCodeBERT")
  • Notebooks
  • Google Colab
  • Kaggle
XCodeBERT
3.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Ryo Sekizawa
Upload 6 files
28d0a4b about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit about 3 years ago
  • README.md
    46 Bytes
    link to arxiv about 3 years ago
  • config.json
    783 Bytes
    Upload 6 files about 3 years ago
  • idx_file.txt
    2 Bytes
    Upload 6 files about 3 years ago
  • optimizer.pt
    2.23 GB
    xet
    Upload 6 files about 3 years ago
  • pytorch_model.bin
    1.11 GB
    xet
    Upload 6 files about 3 years ago
  • scheduler.pt
    623 Bytes
    xet
    Upload 6 files about 3 years ago
  • step_file.txt
    7 Bytes
    Upload 6 files about 3 years ago