Instructions to use MuhammedYahia/CodeGen2_1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MuhammedYahia/CodeGen2_1B 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/CodeGen2_1B") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from MuhammedYahia/CodeGen2_1B: direct link, hf CLI and curl.
- Browser
- Download file 568 MB
-
https://huggingface.co/MuhammedYahia/CodeGen2_1B/resolve/main/adapter_model.bin
- Command line
-
hf download hf://MuhammedYahia/CodeGen2_1B/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/MuhammedYahia/CodeGen2_1B/resolve/main/adapter_model.bin
568 MB
- Xet hash:
- 7bb623fba3cb32cef266c69267e48540a6c2f146f554ba293b83054ae8ee9148
- Size of remote file:
- 568 MB
- SHA256:
- 058023c6d446be56337b5379fea35ff634d781426bb95efb30d231ae6b694ef6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.