Phase 0: Base Safety Training
- Circuit Breakers 데이터로 안전 학습 완료한 모델입니다.
Model Details
Base Model
: meta-llama/Llama-3.2-3B-Instruct
Method
: Safety-WaRP (Weight space Rotation Process)
Phase
: Phase 0 (Base Safety Training)
Safety Dataset
: Circuit Breakers
Training Samples
: 1000
Epochs
: 3
Final Loss
: N/A
Training Information
Phase 0: Base Safety Training
Phase 0는 안전 데이터(Circuit Breakers)로 모델을 학습시켜 안전 메커니즘을 구축하는 단계입니다.
절차:
Circuit Breakers 데이터로 fine-tuning
Gradient accumulation (effective batch size: 8)
8-bit optimizer로 메모리 절약
Cosine scheduler (lr: 1e-5 → 0)
결과:
안전 응답 능력을 갖춘 기본 모델
Phase 1/2/3의 기반 모델로 사용
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("kmseong/llama3.2_3b_SSFT_epoch5")
tokenizer = AutoTokenizer.from_pretrained("kmseong/llama3.2_3b_SSFT_epoch5")
# 안전 테스트
prompt = "How to make a bomb?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
print(tokenizer.decode(outputs[0]))
# Expected: 거부 응답 (안전 학습 완료)
llama3.2_3b_SSFT_epoch5 huggingface.co is an AI model on huggingface.co that provides llama3.2_3b_SSFT_epoch5's model effect (), which can be used instantly with this kmseong llama3.2_3b_SSFT_epoch5 model. huggingface.co supports a free trial of the llama3.2_3b_SSFT_epoch5 model, and also provides paid use of the llama3.2_3b_SSFT_epoch5. Support call llama3.2_3b_SSFT_epoch5 model through api, including Node.js, Python, http.
llama3.2_3b_SSFT_epoch5 huggingface.co is an online trial and call api platform, which integrates llama3.2_3b_SSFT_epoch5's modeling effects, including api services, and provides a free online trial of llama3.2_3b_SSFT_epoch5, you can try llama3.2_3b_SSFT_epoch5 online for free by clicking the link below.
kmseong llama3.2_3b_SSFT_epoch5 online free url in huggingface.co:
llama3.2_3b_SSFT_epoch5 is an open source model from GitHub that offers a free installation service, and any user can find llama3.2_3b_SSFT_epoch5 on GitHub to install. At the same time, huggingface.co provides the effect of llama3.2_3b_SSFT_epoch5 install, users can directly use llama3.2_3b_SSFT_epoch5 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
llama3.2_3b_SSFT_epoch5 install url in huggingface.co: