Instructions to use AmrBelal021/CodeGuard-7B-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AmrBelal021/CodeGuard-7B-v1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/meta-llama-3.1-8b-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "AmrBelal021/CodeGuard-7B-v1") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signatureadf0c5c -
Upload adapter_config.json
Verified signature744e04c -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster7d5f913 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterf88949d -
Upload README.md with huggingface_hub
Verified signaturecc292c6 -
initial commit
Verified signaturef930f78