Downloads · 30 days
20
17% of all-time downloads
narukijima/thinker-mini-v1
thinker-mini-v1 is a text generation model from narukijima. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
20
17% of all-time downloads
All-time downloads
118
Public
Parameters
20.9B
41.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors41.8 GB · 100%
From the Hugging Face model README
Overview
This is a test model.
Technical notes
openai/gpt-oss-20b (bf16)concept_vec_v15k.pt, shape [24, 6, 2880], gain=0.5narukijima/thinker → T_instruction_pairs_en.jsonl, T_instruction_pairs_ja.jsonlQuick inference
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
M = "narukijima/thinker-mini-v1"
tok = AutoTokenizer.from_pretrained(M, trust_remote_code=True)
mdl = AutoModelForCausalLM.from_pretrained(
M, torch_dtype=torch.bfloat16, device_map='auto', trust_remote_code=True
)
msgs = [{"role":"user","content":"test"}]
p = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
out = mdl.generate(**tok(p, return_tensors='pt').to(mdl.device),
max_new_tokens=64, do_sample=True, temperature=0.7)
print(tok.decode(out[0], skip_special_tokens=True))