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
File size: 129 Bytes
e041f29 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3a42eddfda998181178334a60565a0cd9795ffe7e98012b9d5dd07327498ccf7
size 4079
|