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 optimizer.pt from MuhammedYahia/CodeGen_2B_Security: direct link, hf CLI and curl.
- Browser
- Download file 298 MB
-
https://huggingface.co/MuhammedYahia/CodeGen_2B_Security/resolve/main/optimizer.pt
- Command line
-
hf download hf://MuhammedYahia/CodeGen_2B_Security/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/MuhammedYahia/CodeGen_2B_Security/resolve/main/optimizer.pt
298 MB
- Xet hash:
- 27fe8b053f6f917bea0b60980cfc6741338497f04b265489452911fb6206d7c7
- Size of remote file:
- 298 MB
- SHA256:
- f8c8a12611ad512b5c9e057d76443f1c78de6a6bfb4dfdd2319790bdda267728
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.