DARWIN-Family
Collection
비드래프트 • 57 items • Updated • 28
How to use FINAL-Bench/Darwin-28B-NEG with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="FINAL-Bench/Darwin-28B-NEG")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("FINAL-Bench/Darwin-28B-NEG")
model = AutoModelForCausalLM.from_pretrained("FINAL-Bench/Darwin-28B-NEG", device_map="auto")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))How to use FINAL-Bench/Darwin-28B-NEG with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "FINAL-Bench/Darwin-28B-NEG"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "FINAL-Bench/Darwin-28B-NEG",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/FINAL-Bench/Darwin-28B-NEG
How to use FINAL-Bench/Darwin-28B-NEG with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "FINAL-Bench/Darwin-28B-NEG" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "FINAL-Bench/Darwin-28B-NEG",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "FINAL-Bench/Darwin-28B-NEG" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "FINAL-Bench/Darwin-28B-NEG",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use FINAL-Bench/Darwin-28B-NEG with Docker Model Runner:
docker model run hf.co/FINAL-Bench/Darwin-28B-NEG
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("FINAL-Bench/Darwin-28B-NEG")
model = AutoModelForCausalLM.from_pretrained("FINAL-Bench/Darwin-28B-NEG", device_map="auto")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))FINAL-Bench/Darwin-28B-Opus 권장
이 모델은 사용을 권장하지 않습니다. 대안:
FINAL-Bench/Darwin-28B-Opus를 사용하세요.
이 모델은 Darwin V8 NEG(Native Entropy Gating) 기술의 28B 스케일 적용 실험의 산출물입니다. 내부 평가 결과, NEG는 27B 이상 대형 모델에서 성능 향상이 없거나 오히려 역효과를 내는 것으로 확인되어 공식 배포본에서 제외되었습니다.
| 모델 | 정확도 | Δ vs Darwin-28B-Opus |
|---|---|---|
| Darwin-28B-Opus (권장) | 148/198 = 74.75% | 기준값 |
| Darwin-28B-NEG (이 모델, 9B-tuned) | 147/198 = 74.24% | −0.51 pp |
| Darwin-28B-NEG (logit-shift penalty=2) | 14/24 = 58.33% | −20.84 pp |
≤ 9B → NEG 적용 (검증: Darwin-9B-NEG에서 +15%p 개선)
9B~27B → 실험적 (추가 검증 필요)
≥ 27B → NEG 금지 (28B에서 역효과 검증됨)
Darwin 28B 추론 모델을 찾으신다면 아래를 사용하세요:
9B급 NEG 모델을 찾으신다면:
이 저장소는 연구 기록 및 reproducibility 목적으로 private 상태로 보존됩니다. 기술 보고서 reference_darwin_v8_neg.md에 상세 실패 분석이 기록되어 있습니다.
Apache 2.0
Deprecated: 2026-04-24 Maintainer: FINAL-Bench
Base model
FINAL-Bench/Darwin-28B-Opus
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FINAL-Bench/Darwin-28B-NEG") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)