Instructions to use Salesforce/codet5-base-codexglue-translate-cs-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/codet5-base-codexglue-translate-cs-java with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Salesforce/codet5-base-codexglue-translate-cs-java") model = AutoModelForSeq2SeqLM.from_pretrained("Salesforce/codet5-base-codexglue-translate-cs-java", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Salesforce/codet5-base-codexglue-translate-cs-java: direct link, hf CLI and curl.
- Browser
- Download file 892 MB
-
https://huggingface.co/Salesforce/codet5-base-codexglue-translate-cs-java/resolve/c2017eaf9cf78fd7145629b1674d2a4e67cfecd1/pytorch_model.bin
- Command line
-
hf download hf://Salesforce/codet5-base-codexglue-translate-cs-java@c2017eaf9cf78fd7145629b1674d2a4e67cfecd1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Salesforce/codet5-base-codexglue-translate-cs-java/resolve/c2017eaf9cf78fd7145629b1674d2a4e67cfecd1/pytorch_model.bin
892 MB
- Xet hash:
- d9cd3a9b2094b644697c91f7aab552f19903b6f765e4ca9f4b1489c8c1600897
- Size of remote file:
- 892 MB
- SHA256:
- 87ae61e09fc73db5f3882894081cfae558cd6dc1d4713440f38e83980487db0d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.