Pulsar Coder
Collection
3 items • Updated
Pulsar Coder from Exo — кодовый ассистент компании Exo, trained from scratch by Exo (1.5B параметров, архитектура Qwen2).
chat_template по умолчанию: идентичность Pulsar вшивается даже без system-сообщения.from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("Exo/pulsar-coder-v1", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("Exo/pulsar-coder-v1", trust_remote_code=True)
prompt = tok.apply_chat_template([{"role": "user", "content": "кто ты?"}], tokenize=False, add_generation_prompt=True)
temperature: 0.3-0.7, top_p: 0.9, repetition_penalty: 1.1-1.2, max_tokens: 300-800