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
Download adapter_model.safetensors from rootxhacker/CodeAstra-7B: direct link, hf CLI and curl.
- Browser
- Download file 13.6 MB
-
https://huggingface.co/rootxhacker/CodeAstra-7B/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://rootxhacker/CodeAstra-7B/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/rootxhacker/CodeAstra-7B/resolve/main/adapter_model.safetensors
13.6 MB
- Xet hash:
- 7bde9baf9ed260a5a40b1f5ef3979c99ac0b72ffd25152a694475aeb3ac8db0a
- Size of remote file:
- 13.6 MB
- SHA256:
- 1c1ff255263febc6c054fbee53a8da9b08f4ef55f1ca6ac0f3b6319900051a5b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.