Instructions to use MuhammedYahia/CodeGen_2B_Security with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MuhammedYahia/CodeGen_2B_Security with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-1B") model = PeftModel.from_pretrained(base_model, "MuhammedYahia/CodeGen_2B_Security") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from MuhammedYahia/CodeGen_2B_Security: direct link, hf CLI and curl.
- Browser
- Download file 568 MB
-
https://huggingface.co/MuhammedYahia/CodeGen_2B_Security/resolve/main/adapter_model.bin
- Command line
-
hf download hf://MuhammedYahia/CodeGen_2B_Security/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/MuhammedYahia/CodeGen_2B_Security/resolve/main/adapter_model.bin
568 MB
- Xet hash:
- 9ca27e51d02f66edb15575eb6291a403aaf4e70e1b06d3b5cf0c2916090982d9
- Size of remote file:
- 568 MB
- SHA256:
- e1ba896be8b1b798f7ec7ce55dbc48c2d340cbc00383c0ee95c11cdddca4f3a0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.