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

  • Log In
  • Sign Up

Salesforce
/
codet5-base-codexglue-refine-small

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

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

  • Libraries
  • Transformers

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

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Salesforce/codet5-base-codexglue-refine-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-base-codexglue-refine-small")
  • Notebooks
  • Google Colab
  • Kaggle
codet5-base-codexglue-refine-small
1.78 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 4 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
1b513d2 verified 6 months ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    705 Bytes
    Update Readme.md with ethical considerations (#3) over 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 6 months ago
  • pytorch_model.bin
    892 MB
    xet
    Upload 2 files about 3 years ago