BattleTag/GeneratedBy_GPT4o
Viewer โข Updated โข 2.73k โข 16
How to use BattleTag/SoC with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
model = PeftModel.from_pretrained(base_model, "BattleTag/SoC")from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
model = PeftModel.from_pretrained(base_model, "BattleTag/SoC")This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on an unknown dataset. It achieves the following results on the evaluation set:
A fine tuning verision of mistral 7b for better understanding of cybersecurity knowledge
SFT for cybersecurity usage
Self-Generated dataset
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.3597 | 0.3656 | 100 | 1.2926 |
| 1.3164 | 0.7313 | 200 | 1.2820 |
| 1.2334 | 1.0969 | 300 | 1.2783 |
| 1.2667 | 1.4625 | 400 | 1.2748 |
| 1.1905 | 1.8282 | 500 | 1.2719 |
Base model
mistralai/Mistral-7B-v0.1
# Gated model: Login with a HF token with gated access permission hf auth login