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