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
Update README.md
Browse files
README.md
CHANGED
|
@@ -111,7 +111,7 @@ If you use CodeAstra-7b in your research or project, please cite it as follows:
|
|
| 111 |
author = {Harish Santhanalakshmi Ganesan},
|
| 112 |
title = {CodeAstra-7b: State-of-the-Art Vulnerability Detection Model},
|
| 113 |
year = {2024},
|
| 114 |
-
howpublished = {\url{https://huggingface.co/
|
| 115 |
}
|
| 116 |
```
|
| 117 |
|
|
|
|
| 111 |
author = {Harish Santhanalakshmi Ganesan},
|
| 112 |
title = {CodeAstra-7b: State-of-the-Art Vulnerability Detection Model},
|
| 113 |
year = {2024},
|
| 114 |
+
howpublished = {\url{https://huggingface.co/rootxhacker/CodeAstra-7b}}
|
| 115 |
}
|
| 116 |
```
|
| 117 |
|