Instructions to use codesage/codesage-large-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codesage/codesage-large-v2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import CodeSage model = CodeSage.from_pretrained("codesage/codesage-large-v2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from codesage/codesage-large-v2: direct link, hf CLI and curl.
- Browser
- Download file 2.63 GB
-
https://huggingface.co/codesage/codesage-large-v2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://codesage/codesage-large-v2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/codesage/codesage-large-v2/resolve/main/pytorch_model.bin
2.63 GB
- Xet hash:
- a5c375f2dd856972e577225cc81623485c839f016b479571cb8a801835686a3c
- Size of remote file:
- 2.63 GB
- SHA256:
- 78a7ed76ffa5ca4e145100610e5541201ca0f3ecc75f1b73433303ae9348c77c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.