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

  • Log In
  • Sign Up

Salesforce
/
codet5-base-codexglue-defect

Transformers
PyTorch
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
4

Instructions to use Salesforce/codet5-base-codexglue-defect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Salesforce/codet5-base-codexglue-defect with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Salesforce/codet5-base-codexglue-defect")
    model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-base-codexglue-defect")
  • Notebooks
  • Google Colab
  • Kaggle
codet5-base-codexglue-defect
Ctrl+K
Ctrl+K
  • 3 contributors
History: 4 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
58da9e4 verified about 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    706 Bytes
    Update Readme.md with ethical considerations (#3) about 1 year ago
  • config.json
    828 Bytes
    Upload 2 files about 3 years ago
  • model.safetensors
    892 MB
    xet
    Adding `safetensors` variant of this model about 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    892 MB
    xet
    Upload 2 files about 3 years ago