Instructions to use Imbjddd/codegen-lora-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Imbjddd/codegen-lora-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-350M-mono") model = PeftModel.from_pretrained(base_model, "Imbjddd/codegen-lora-adapter") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Imbjddd/codegen-lora-adapter: direct link, hf CLI and curl.
- Browser
- Download file 798 kB
-
https://huggingface.co/Imbjddd/codegen-lora-adapter/resolve/main/vocab.json
- Command line
-
hf download hf://Imbjddd/codegen-lora-adapter/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Imbjddd/codegen-lora-adapter/resolve/main/vocab.json
798 kB
File too large to display, you can check the raw version instead.