Views
No views yet
naver-hyperclovax/HyperCLOVAX-SEED-Think-32B를 기반으로, 사후(weight editing) 방식으로 과잉 거부(refusal) 성향을 완화하는 방향의 수정이 적용된 변형 모델입니다.naver-hyperclovax/HyperCLOVAX-SEED-Think-32Bnaver-hyperclovax/HyperCLOVAX-SEED-Think-32Bdirection_index = 42.77attn.o_proj.max_weight = 1.13attn.o_proj.max_weight_position = 67.44attn.o_proj.min_weight = 0.46attn.o_proj.min_weight_distance = 25.36mlp.down_proj.max_weight = 1.49mlp.down_proj.max_weight_position = 43.36mlp.down_proj.min_weight = 0.97mlp.down_proj.min_weight_distance = 26.08Note: these values depend on your prompt set and refusal criterion.
If you can disclose the evaluation slice (even roughly), add it in the section below.
[benign / borderline / policy-sensitive]100[private/internal or 공개 가능하면 설명]gguf/, intended for running with llama.cpp.llama-server (Thinking ON)This command enables the model's "thinking" behavior via--chat-template-kwargs.
1./llama-server \
2 -m {PATH}/HyperCLOVAX-SEED-Think-32B-heretic2.f16.gguf \
3 --host 0.0.0.0 --port 10000 \
4 --jinja \
5 --chat-template-kwargs '{"thinking":true,"enable_thinking":true}' \
6 -cb -fa on
7
8---
9
10## How to Use
11
12### Transformers (example)
13
14```python
15from transformers import AutoTokenizer, AutoModelForCausalLM
16import torch
17
18model_id = "hostkimjang/HyperCLOVAX-SEED-Think-32B-heretic" # <- your repo id
19
20tok = AutoTokenizer.from_pretrained(model_id, use_fast=True)
21model = AutoModelForCausalLM.from_pretrained(
22 model_id,
23 torch_dtype=torch.bfloat16,
24 device_map="auto",
25)
26
27messages = [
28 {"role": "system", "content": "You are a helpful assistant."},
29 {"role": "user", "content": "Explain KL divergence in simple terms."},
30]
31
32# If the tokenizer provides a chat template:
33prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
34
35inputs = tok(prompt, return_tensors="pt").to(model.device)
36out = model.generate(
37 **inputs,
38 max_new_tokens=512,
39 temperature=0.7,
40 top_p=0.95,
41 do_sample=True,
42)
43print(tok.decode(out[0], skip_special_tokens=True))