Instructions to use TheTharindu/c-vulnerability-explain-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TheTharindu/c-vulnerability-explain-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/deepseek-r1-distill-llama-8b-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "TheTharindu/c-vulnerability-explain-model") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 128000, | |
| "do_sample": true, | |
| "eos_token_id": 128001, | |
| "max_length": 131072, | |
| "pad_token_id": 128004, | |
| "temperature": 0.6, | |
| "top_p": 0.95, | |
| "transformers_version": "4.52.4" | |
| } | |