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 training_args.bin from MuhammedYahia/CodeGen2_1B: direct link, hf CLI and curl.
- Browser
- Download file 4.08 kB
-
https://huggingface.co/MuhammedYahia/CodeGen2_1B/resolve/main/training_args.bin
- Command line
-
hf download hf://MuhammedYahia/CodeGen2_1B/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/MuhammedYahia/CodeGen2_1B/resolve/main/training_args.bin
4.08 kB
- Xet hash:
- d3214c21d6830b775b178ee76e087050c403a69f2eb2bc2c53391519dfa7ada4
- Size of remote file:
- 4.08 kB
- SHA256:
- 3a42eddfda998181178334a60565a0cd9795ffe7e98012b9d5dd07327498ccf7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.