Instructions to use rootxhacker/CodeAstra-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rootxhacker/CodeAstra-7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2") model = PeftModel.from_pretrained(base_model, "rootxhacker/CodeAstra-7B") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
4d73568 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1c1ff255263febc6c054fbee53a8da9b08f4ef55f1ca6ac0f3b6319900051a5b
size 13648432
|