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

microsoft
/
unixcoder-base

Feature Extraction
Transformers
PyTorch
English
roberta
Model card Files Files and versions
xet
Community
8

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

  • Libraries
  • Transformers

    How to use microsoft/unixcoder-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="microsoft/unixcoder-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("microsoft/unixcoder-base")
    model = AutoModel.from_pretrained("microsoft/unixcoder-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
unixcoder-base
1.18 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
codebert's picture
codebert
initial commit
3f22c47 about 4 years ago
  • .gitattributes
    1.18 kB
    initial commit about 4 years ago