Instructions to use codesage/codesage-small-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codesage/codesage-small-v2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import CodeSage model = CodeSage.from_pretrained("codesage/codesage-small-v2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature4844c2f -
Update README.md
Verified signature049fe3e -
Update README.md
Verified signature8858deb -
Update README.md
Verified signature14f5ea1 -
Update README.md
Verified signature939b2d8
-
Create 1_Pooling/config.json
Verified signaturec4a6531 -
Create modules.json
Verified signature7122b9b -
Create sentence_bert_config.json
Verified signature78561f0
-
updated readme
Dejiao Za6e23d1 -
remove redundant file
Dejiao Zb1e924c -
update readme
Dejiao Zc273c0d -
fixed tokenizer
Dejiao Z2228afc -
remove redundant file
Dejiao Za53aec6 -
add complete files
Dejiao Zd5b4bcf -
init push
Dejiao Z55bfc22
-
initial commit
Verified signatureb63560b