Instructions to use shukdevdatta123/sql_injection_classifier_DeepSeek_R1_fine_tuned_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shukdevdatta123/sql_injection_classifier_DeepSeek_R1_fine_tuned_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, "shukdevdatta123/sql_injection_classifier_DeepSeek_R1_fine_tuned_model") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ from unsloth import FastLanguageModel
|
|
| 44 |
from transformers import AutoTokenizer
|
| 45 |
|
| 46 |
# Load the model and tokenizer
|
| 47 |
-
model_name = "
|
| 48 |
hf_token = "your hf tokens"
|
| 49 |
|
| 50 |
model, tokenizer = FastLanguageModel.from_pretrained(
|
|
|
|
| 44 |
from transformers import AutoTokenizer
|
| 45 |
|
| 46 |
# Load the model and tokenizer
|
| 47 |
+
model_name = "shukdevdatta123/sql_injection_classifier_DeepSeek_R1_fine_tuned_model"
|
| 48 |
hf_token = "your hf tokens"
|
| 49 |
|
| 50 |
model, tokenizer = FastLanguageModel.from_pretrained(
|